very different width for space character when not using screen fonts
very different width for space character when not using screen fonts
- Subject: very different width for space character when not using screen fonts
- From: Martin Wierschin <email@hidden>
- Date: Tue, 2 Dec 2008 06:06:19 -0800
Hi everyone,
I've a small mystery on my hands. When displaying text in the Italic
Garamond font via an NSLayoutManager that has screen fonts disabled
the horizontal space allocated for a normal space (good old 0x20) is
too large.
Here's a screenshot with screen fonts are enabled: [layoutManager
setUsesScreenFonts:YES]
Attachment:
with.png
Description: application/applefile
And the exact same text when screen fonts are disabled:
[layoutManager setUsesScreenFonts:NO]
Attachment:
without.png
Description: application/applefile
Hopefully the images come through and you can see the space grows to
nearly double the width.
I don't expect this is something I'll be able to work around, but
even if I just wanted to report it to Apple, is this a problem with
the font itself or the layout system? Any thoughts?
~Martin
_______________________________________________
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