• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: 9-X System Font Compatibility
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >9-X System Font Compatibility (From: Gary Lists <email@hidden>)

  • Prev by Date: adding button to toobar
  • Next by Date: Eudora boring header automation
  • Previous by thread: 9-X System Font Compatibility
  • Next by thread: Re: How to list folder contents and show only certain file types ...
  • Index(es):
    • Date
    • Thread