Re: Symbol font
Re: Symbol font
- Subject: Re: Symbol font
- From: Mike Ferris <email@hidden>
- Date: Thu, 2 Jan 2003 08:45:10 -0800
The Cocoa text system's "font fixing" will look for a font that has
visual properties similar to the font assigned to a character if it has
to find a different font. It takes into account such things as weight,
italics, serif/sans-serif, etc... Obviously this is a slightly fuzzy
process. So if you have 5 fonts with the Kappa character, you should
get the one that is closest in appearance to the font that was assigned
to the character.
Mike
Begin forwarded message:
From: Chris Ridd <email@hidden>
Date: Wed Jan 1, 2003 12:49:13 AM US/Pacific
To: Andreas Mayer <email@hidden>, <email@hidden>
Subject: Re: Symbol font
On 31/12/02 11:41 pm, Andreas Mayer <email@hidden> wrote:
Am Dienstag, 31.12.02 um 21:57 Uhr schrieb Charles Brokaw:
What do I need to do to draw a character with Symbol font ?
You need to use the right character.
"Greek Small Letter Kappa" is 0x03BA
Use the Character Palette or any Unicode table to find the codes you
need.
This is because under the hood, OS X switches fonts for you when it
needs to
display a Unicode character that doesn't exist in the current font. So
you
just use Unicode everywhere and let the OS worry about it for you :-)
What would happen however if you had multiple fonts that supplied Greek
Small Letter Kappas (or whatever)? Which font would the OS choose?
Cheers,
Chris
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.