9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Skip Tavakkolian" <fst@centurytel.net>
To: 9fans@cse.psu.edu
Subject: [9fans] bdf2subf
Date: Mon, 23 Sep 2002 12:26:53 -0400	[thread overview]
Message-ID: <8b14daa8147b4ded2a490eb65f853a73@centurytel.net> (raw)

I finished my attempt at bdf2subf.  I've run it against several bdf
files I found on the net, and feel comfortable enough to put it out
for limited testing.  It has correctly handled well formed files, and
has caught syntax problems in a few files that were in error based on
my reading of the specifications.  If anybody is interested email me
for the sources.  If there is enough interest, I will mail to the list.

pseudo man page:

usage: bdf2subf [-r] -f bdfile [hex-hex]

-r	prints the contiguous ranges in the BDF file (for later input to
	itself).  The printed ranges represent the value of the ENCODING
	keyword in the BDF file.
hex-hex is the range of chars to extract in hex.  (values of the
	ENCODING keyword).

to convert a whole bdf file use something like:

	for (i in `{bdf2subf -r -f infile.bdf}) {
		bdf2subf -f infile.bdf $i > 'U+'^$i
	}
to generate a range of Subfont files.

Format of the BDF file needs to conform to the "Glyph Bitmap
Distribution Format (BDF) Specification", Version 2.2 (22 March 1993)
by Adobe Systems Inc.



                 reply	other threads:[~2002-09-23 16:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=8b14daa8147b4ded2a490eb65f853a73@centurytel.net \
    --to=fst@centurytel.net \
    --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).