• 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
Re: advancementForGlyph problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: advancementForGlyph problem


  • Subject: Re: advancementForGlyph problem
  • From: steven Hooley <email@hidden>
  • Date: Tue, 4 May 2010 11:33:26 +0100

On 3 May 2010 02:00, David F. <email@hidden> wrote:
>
>> How on earth are you determining that it "looks like the advancement
>> should only be ~23.2" ?
>
> By counting pixels.
>

You mean, for example, the distance from the leftmost pixel of the 'A'
to the leftmost pixel in the following glyph? My current thinking is
that given the string 'AB' this distance would be the advance of 'A' -
the x-offset of 'A' + the x-offset of 'B' + tracking + kerning +/- the
inscrutable effect of hinting A&B +/- the anti-aliasing of A&B. OK the
kerning is probably zero in this case and you could examine the font
to find out. The tracking could well be zero but we don't really have
a way of knowing - but assuming for now that it is zero - the effects
of hinting and anti-aliasing alone would make it difficult to
determine the advance by eye at 36pt, especially to a sub-pixel
accuracy.

How are you drawing the glyphs?

Steve
_______________________________________________

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

References: 
 >Re: advancementForGlyph problem (From: "David F." <email@hidden>)

  • Prev by Date: custom view as a menu item
  • Next by Date: Re: Core Data Versioning: Non-trivial Value Expressions?
  • Previous by thread: Re: advancementForGlyph problem
  • Next by thread: Re: advancementForGlyph problem
  • Index(es):
    • Date
    • Thread