Typophile

Vertical alignment

new_to_typo

does anyone know if fontlab can automatically vertically center all glyphs in a font? In fact, what I a m trying to do is just center all glyphs both vertically and horizontally, or at least align all of them on the same horizontal baseline.
I now have over 1038 glyphs in my font and can't imagine doing that manually (off course I can, but it is such a waste of time...)

tnx

Is there?!
I need this function too, but it seems that nobody has ever done this before.
Any help or solution in any application will be appreciated.

Thanks

You can set all the widths equal to the Em, rotate all the glyphs 90 degrees, center horizontally, then rotate them back; then presumably [re]space them horizontally.

hhp

Brilliant and clever solution. I wonder why it didn't enter my mind!
Thanks Hrant :)

Ok, the idea was clever but also the implementation was not as straight forward as the idea. Here is a link to a fontlab action set that centers your glyphs vertically:
https://dl.dropbox.com/u/102586488/center_glyph_vertically.prg

Note that you'll lost your original sidebearings (metrics) after running this action set.

Bahman

Well, you can save the sidebearings (and kerning) and re-incorporate them after the vertical centering routine. Although the more things end up shifting up/down the less valid the original lateral spacing will be.

hhp

Captured from web.archive.org on 20 Aug 2013. view this capture