Skip navigation.
 
mlRe: NSTextView Font Substitution
FROM : Ken Thomases
DATE : Sun May 18 20:49:39 2008

On May 17, 2008, at 8:36 AM, Gerriet M. Denkmann wrote:

> So: is there a way in Tiger to tell the text system to prefer 
> FixedPitchFonts?


Possibly using NSFontDescriptor.  You can specify NSFontMonoSpaceTrait 
as part of its symbolic traits.

If nothing else, you can specify the list of fonts to fallback on 
explicitly with NSFontCascadeListAttribute.

-Ken

Related mailsAuthorDate
mlNSTextView Font Substitution Gerriet M. Denkman… May 17, 15:36
mlRe: NSTextView Font Substitution Jens Alfke May 18, 18:49
mlRe: NSTextView Font Substitution Ken Thomases May 18, 20:49