Re: font glyphs on different hardware
Re: font glyphs on different hardware
- Subject: Re: font glyphs on different hardware
- From: James Maxwell <email@hidden>
- Date: Mon, 31 May 2010 13:44:04 -0700
I'm sure many here know all this, but just in case anyone's confused about it, in future, I'll post what I've found.
Opening the font on each machine, using Font Examiner (handy software... might have to buy a copy!), I can see that the offset of all the glpyhs on my Macbook is less than on the Mac Pro -- Full Stop is 17 on the Macbook and 46 on the Mac Pro. Weird. The names, however, are consistent, so I guess the idea is to use the names to get the IDs (kind of funny, since the names have nothing to do with the actual characters, in my case). I can run this as an init routine, so no big deal.
J.
On 2010-05-31, at 12:44 PM, James Maxwell wrote:
> I'm having a problem where fonts are mapping differently on different hardware. I have a Mac Pro (early 2008) and a Core i5 Macbook Pro. The Mac Pro handles fonts as expected (it's my main development computer) but the Macbook Pro maps differently. My app doesn't give any errors about missing fonts, it's just that the font glyphs seem to have different values.
>
> Just to be clear, I'm not using the fonts as text, per se, but am using the glyphs themselves, rendered as bezier paths (appendBezierPathWithGlyph:inFont:). It's a music app, and the two fonts in question are the free/shareware Sonora and Toccata fonts.
>
> Any thoughts on how to go about ensuring that mapping is hardware-agnostic would be appreciated.
>
> J.
>
> James B Maxwell
> Composer/Doctoral Student
> School for the Contemporary Arts (SCA)
> School for Interactive Arts + Technology (SIAT)
> Simon Fraser University
> email@hidden
> email@hidden
>
> _______________________________________________
>
> 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
James B Maxwell
Composer/Doctoral Student
School for the Contemporary Arts (SCA)
School for Interactive Arts + Technology (SIAT)
Simon Fraser University
email@hidden
email@hidden
_______________________________________________
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