Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Using a certain font
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
DeoChomp




PostPosted: Tue Feb 28, 2017 10:33 am   Post subject: Using a certain font

so is it possible to use Wingdings as a font? and if so, how do you use it as I have not been able to figure it out. I just assumed that it was like
variable:=Font.New ("Wingdings:22")
Sponsor
Sponsor
Sponsor
sponsor
Insectoid




PostPosted: Wed Mar 01, 2017 1:46 pm   Post subject: RE:Using a certain font

Turing can only display fonts that are installed on the system running the program. If Wingdings is installed, there may be another reason it fails to load. Fortunately, the Turing documentation gives us a method to determine the cause of the failure:
Quote:
If the Font.New call fails, then it returns 0. Also Error.Last will return a non-zero value indicating the reason for the failure. Error.LastMsg will return a string which contains the textual version of the error.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: