[29 Jan 2008] Font handling on win32

Contains all messages from the Hollywood mailing list between 01/2006 and 08/2012
User avatar
Posts: 572
Joined: Thu Feb 24, 2011 11:08 pm

[29 Jan 2008] Font handling on win32

Post by lazi »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Tue, 29 Jan 2008 12:43:00 +0100

It is a shame that I have win32 questions... brrr... :)

So, what should I know about SetFont handling on that particular system?

Setfont ("Guru Menu.font",20) - surely miss the #?.font font descriptor. I have already installed the font by font "prefs" of the system, and its file name is: Guru_remake_menu.ttf The name of the font is: "Guru Menu"

I tried several name combinations, but the script always tells me that it cannot open the desired font.

The SetFont chapter of the guide do not mention anything about the various platforms.

Help is much appreciated!

Maybe it would be a good idea to use some conditional code in the script. The compiler could use the proper code segment and we should not create different scripts. I know it is work by If GetProgramInfo(..., but then all platform specific code included in all of the final executables.


Code: Select all

  fontname= ....
  screenwidth= ...
  screenwidth= ...
Just a quick thought, do not look the syntax...