Font not kerning in iOS -


i've created custom font using fontforge use in ios app. when use font in app, kerning not being applied. there known bug kerning not being applied uitextview. i'm using in uilabel , uitextfield, that's not issue. i'm targeting ios 5.0.

i'm able view font in font book , pages , see kerning working. however, kerning doesn't work in word mac. have enabled kerning in word, not work there. i'm not concerned word. want work in ios.

i've created font both .otf , .ttf fonts, variety of fontforge options generating font set. options i've played apple, opentype , ot/old style , ot/dsig. pages apply kerning combinations of font generation options, except when opentype checked. font book show kerning when apple checked , nothing else. i've read comments on other forums getting fonts work word, not specific kerning , ios.

anyone have experience:

1) creating kerned font on os x using fontforge ios app?

or

2) creating kerned font on os x using fontforge works in word? might me closer, if you've not had experience fonts on ios.

i have trial version of glyphs i've played with, don't want have move font program done.

any appreciated.

in ios 6 (and below) uikit controls uilabel, uitextview , uitextfield use webkit under hood render contents. webkit doesn't honor font's built-in kerning. ios 6 introduced attributed text support uikit controls. if set attributedtext property of uilabel instead of regular text property coretext rendering kick in , you'll proper kerning. however, in ios 6 there's bug uitextfield font kerning still wrong if setting attributedtext.

if need proper kerning labels in ios 5 there's lot of great drop-in replacements. use tttattributedlabel ohattributedlabel great.

if need proper kerning uitextfield you're going want use omni's ouieditableframe. downside that's pain integrate project. went through learning process wrote lengthy tutorial if you're interested.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -