• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
very different width for space character when not using screen fonts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

PNG image



And the exact same text when screen fonts are disabled: [layoutManager setUsesScreenFonts:NO]

Attachment: without.png
Description: application/applefile

PNG image



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

  • Follow-Ups:
    • Re: very different width for space character when not using screen fonts
      • From: Ross Carter <email@hidden>
    • Re: very different width for space character when not using screen fonts
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: ???&amp ??? in ICARegisterForEventNotification Apple Code Sample
  • Next by Date: Hide / show password in NSTextField / NSSecureTextField
  • Previous by thread: Re: Help on Sparkle
  • Next by thread: Re: very different width for space character when not using screen fonts
  • Index(es):
    • Date
    • Thread