9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] ttf2subf changes
@ 2004-02-13 21:16 andrey mirtchovski
  2004-02-14  7:03 ` Chris Hollis-Locke
  0 siblings, 1 reply; 3+ messages in thread
From: andrey mirtchovski @ 2004-02-13 21:16 UTC (permalink / raw)
  To: 9fans

for all of you who care about using ttf fonts in Plan 9:

i've updated Latchezar Ionkov's ttf2subf code to generate more sane
font description files.  the situation before was such that subfonts
were created only for the glyphs that existed resulting in many one-
or two-glyph image files (this has been discussed on 9fans).  the
worst was Cyberbit -- the .font file was 1500+ lines long.

now ttf2subf substitutes the 0x0 glyph whenever it doesn't have a
particular glyph.  for normal fonts containing basic latin/cyrillic
support this results in 12 to 15 subfont files only, which is
reasonable.  Cyberbit, being the behemot of unicode true type fonts
weighs in at 240 subfont files, but that's the upper limit that you
will get.  still useful.

i've updated the web page (including regenerated luxi fonts from the
XFree86 distro):

	http://pages.cpsc.ucalgary.ca/~mirtchov/p9/freetype/

also added a small script for batch conversion of ttf fonts called
"ttfy" (yes, "ttfy" :)

only generated size 14 fonts to save space

andrey



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-02-14 23:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-13 21:16 [9fans] ttf2subf changes andrey mirtchovski
2004-02-14  7:03 ` Chris Hollis-Locke
2004-02-14 23:07   ` andrey mirtchovski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).