Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fonts



On 28. Jun 2004, at 12:27, Rick Bischoff wrote:

Ok so this may sound reasonable-- maybe Monaco just doesn't have the ability to display bold or weighted characters? Wrong-- my terminal is set to use Monaco 10pt and it shows Monaco in bold all the time. What am I doing wrong?

To me it seems that only ATSUI has the ability to synthesize bold or italic for fonts where a drawn version doesn't exist. Although with Panther, AppKit did get the ability to sheer the fonts using NSObliquenessAttributeName (with which you can then synthesize your own italic).

If you enable anti alias for the Terminal you should be able to see that the same glyph (letter) can be rendered differently (depending on position), which should not happen with text drawn by Cocoa (NSLayoutManager) -- this is because ATSUI uses the fractional glyph dimensions (and thus rely heavily on sub-pixel rendering), where NSLayoutManager rounds them to integral values -- I take this to imply, that Terminal is in fact using ATSUI to layout (and render) the text, and not NSLayoutManager.
_______________________________________________
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.


References: 
 >Fonts (From: Rick Bischoff <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.