your client must be very aesthetically oriented to have had a custom font 
created; they would more likely be happier having a compressed cut made, as 
well: algebraic adjustment is just distortion. however, if you would like to 
control compression/expansion algebraically, you may wish to investigate 
vertical scaling of CGContext’s text matrix (CGContextSetTextMatrix).

regards,
edward

On Sep 30, 2014, at 4:04 AM, Hado Hein <macli...@batchmaker.de> 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?
> 
> 
> thx, Hado
> 
> 
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/etaffel%40me.com
> 
> This email sent to etaf...@me.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to