Re: Turn off font hinting?
Re: Turn off font hinting?
- Subject: Re: Turn off font hinting?
- From: Jean-Daniel Dupas <email@hidden>
- Date: Tue, 5 Jan 2010 16:57:46 +0100
Le 5 janv. 2010 à 16:44, Sander Stoks a écrit :
>> I don't think Quartz's text renderer uses hinting in the normal sense;
>> this is part of why text looks different on Mac than on Windows. (Subpixel
>> anti-aliasing largely removes the need for hinting, and makes the hints
>> actually mess up the shape of the glyphs.)
>
> I know, that's why I was so surprised.
>
>> I'm not sure why you're getting this result. Are you just applying a
>> rotation transform to the NSGraphicsContext and then drawing the NSString?
>> Have you tried using the lower-level CG APIs instead (it shouldn't make a
>> difference, but you never know.)
>
> AFAIK, it's always Quartz doing the actual drawing. I wanted to use Cocoa
> here (in my otherwise Quartz-only drawing code) because the Quartz stuff
> is a little low-level for my needs. Things like ligature-substitution
> happen above Quartz.
>
You may also try to use something between Quartz and Cocoa, that is CoreText.
AFAIK it also supports advanced typographic features and will let you place the text wherever you want.
-- Jean-Daniel
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden