Re: 9-X System Font Compatibility
Re: 9-X System Font Compatibility
- Subject: Re: 9-X System Font Compatibility
- From: Emmanuel <email@hidden>
- Date: Mon, 2 Jun 2003 19:09:35 +0200
At 12:06 PM -0400 02/06/03, Gary Lists wrote:
>
Using Smile [1], if I create custom dialogs using an OS9 'System font' [2]
>
of either Small or Large variety, do those just automatically transfer to
>
OSX as your Small and Large System font (Lucida Grande 11 and 13?) ?
>
>
How should I handle font metrics in dialogs if the base system font is
>
different across OSes?
>
>
Are the 'traditional' MacOS fonts present in X, and if so, will my selection
>
of one of the OS9 system fonts use that font, if present, in X or will it
>
use an 'equivalent' system font?
>
>
Any pointers or guidance would be much appreciated.
Both in OS9 and OSX one possible value for the "font" property of a dialog component is the record:
{font: -1}
and another possible setting is:
{font: -2}
(note, the "font" property is a record with a "font" label and other optional labels)
Those two settings mean "large system font" and "small system font", and they should work on both OS'.
If you play with {font: something else} you'll see that you can get the other system fonts (New York, Courier, Geneva etc): there has been some conservative programming, and those bizarre system fonts from OS9 still work under OSX (try small positive and negative integer values).
Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.