Re: Compressing glyphs programmatically
Re: Compressing glyphs programmatically
- Subject: Re: Compressing glyphs programmatically
- From: Lee Ann Rucker <email@hidden>
- Date: Tue, 30 Sep 2014 20:00:51 +0000
- Thread-topic: Compressing glyphs programmatically
On Sep 30, 2014, at 1:04 AM, Hado Hein <email@hidden> wrote:
> Hoi.
> I have a project with a custom font of my customer. Whyever the client wants theirs font in some typos (strings/labels/buttons on screen) to be compressed by 20%.
>
> Compressing in this case means that the glyph/character (Latin1) should be 20% smaller in width than it is in the font.
>
> I digged into the docs and found attributes for kerning and so on - but not for compressing the font. Are there any attributes to achieve this or do I need to compress an image of the text to get the desired result?
>
Making an image out of text is counter to the spirit of accessibility - screen readers will go “huh?” - and would also make it hard to fix those typos. For that matter, screen readers aren’t going to notice the compression so if the goal is to draw attention to them, it’s not going to happen there.
If they have a custom font, could they also make a compressed version of that font?
_______________________________________________
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