From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4ac03d521d7f802fa70c6a33cb729dc8@plan9.ucalgary.ca> To: 9fans@cse.psu.edu From: andrey mirtchovski MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] ttf2subf changes Date: Fri, 13 Feb 2004 14:16:30 -0700 Topicbox-Message-UUID: e3294b6e-eacc-11e9-9e20-41e7f4b1d025 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