3

I want to change the "line height" of a font, that is the space between lines when the font is typed. I'd like to increase the space. (I need to use several fonts font in a text app with a fixed (non editable) line spacing).

I'm not very experienced with fonts. I do have Fontographer, and I tried several things like changing the "base point" but it seems to have no effect.

7
  • Why would you want to mess with font files when you can set the fixed line-height (in pixels) right in your app?
    – Const
    Commented Mar 9, 2013 at 11:48
  • 1
    @Const That is just it, I cannot set the line height in the app. That is why I am asking the question. Thanks.
    – OWolf
    Commented Mar 9, 2013 at 11:53
  • What app can you not change line-height in? Commented Mar 9, 2013 at 13:42
  • 3
    graphicdesign.stackexchange.com/a/4069/5489 - see if this thread helps you at all. Any glyph in a font is set in an invisible square called an "em-square" or "em-height" by people who answered. Increasing that might increase your leading (line height).
    – Brendan
    Commented Mar 9, 2013 at 13:54
  • 1
    If you're developing the app, it should be simple to set the leading: android:lineSpacingExtra, and for iOS: UITexTView. Commented Mar 9, 2013 at 22:45

2 Answers 2

2

Note: This answer is a transliteration of my comment above for the sake of having an answer. MrWolfy noted that changing the UPM size in Fontographer was the equivalent of what I was speculating.

Any glyph in a font is set in an invisible square called an "em-square" or "em-height".

Increasing that might increase your leading (line height).

0

You can use this tiny js script https://github.com/norflin321/font-lh-changer

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.