Dump characters (glyphs) from TrueType font (TTF) into bitmaps
Posted
by jpatokal
on Stack Overflow
See other posts from Stack Overflow
or by jpatokal
Published on 2010-04-20T02:19:24Z
Indexed on
2010/04/20
2:23 UTC
Read the original article
Hit count: 449
I have a custom TrueType font (TTF) that consists of a bunch of icons, which I'd like to render as individual bitmaps (GIF, PNG, whatever) for use on the Web. You'd think this is a simple task, but apparently not? There is a huge slew of TTF-related software here:
http://cg.scs.carleton.ca/~luc/ttsoftware.html
But it's all varying levels of "not quite what I want", broken links and/or hard to impossible to compile on a modern Ubuntu box -- eg. dumpglyphs (C++) and ttfgif (C) both fail to compile due to obscure missing dependencies. Any ideas?
© Stack Overflow or respective owner