9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: andrey mirtchovski <mirtchov@cpsc.ucalgary.ca>
To: 9fans@cse.psu.edu
Subject: [9fans] ttf2subf changes
Date: Fri, 13 Feb 2004 14:16:30 -0700	[thread overview]
Message-ID: <4ac03d521d7f802fa70c6a33cb729dc8@plan9.ucalgary.ca> (raw)

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



             reply	other threads:[~2004-02-13 21:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-13 21:16 andrey mirtchovski [this message]
2004-02-14  7:03 ` Chris Hollis-Locke
2004-02-14 23:07   ` andrey mirtchovski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ac03d521d7f802fa70c6a33cb729dc8@plan9.ucalgary.ca \
    --to=mirtchov@cpsc.ucalgary.ca \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).