Computer Science Canada

Using a certain font

Author:  DeoChomp [ 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")

Author:  Insectoid [ 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.


: