Jump to content
Developer Wiki and Function Reference Links ×

GetFontID


B.Balemi

Recommended Posts

It seems that the integer returned by GetFont has something to do with that particular font's position in the list of active fonts.

I don't know what you are doing, but you could try something like: TextFont(GetFontID('Arial'));

Or you could store the result in a variable: font:= GetFontID('Arial"); and go from there using font instead of a literal.

Either way it won't matter what ID is actually returned by GetFont, as long as arial is present in the system.

If this doesn't help,you should post back with more info on what exactly you're trying to do with your script.An example of how you are using GetFont would be useful.

[ 12-01-2003, 10:24 PM: Message edited by: ccroft ]

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...