OTF2BDF(1) | General Commands Manual | OTF2BDF(1) |
otf2bdf - OpenType to BDF font converter
otf2bdf [options] font.{ttf,otf}
otf2bdf will convert an OpenType font to a BDF font using the Freetype2 renderer (http://www.freetype.org).
otf2bdf accepts the following command line arguments:
% otf2bdf -l '60 70 80_90' font.ttf -o font.bdf
The command above will only generate the glyphs for codes 60, 70, and 80 through 90 inclusive. Glyphs that are not in the subset are not generated.
The remapping file should begin with two lines, one which starts with REGISTRY followed by the character set registry and one which starts with ENCODING followed by the encoding. An example from the iso8859.2 file:
REGISTRY ISO8859
ENCODING 2
The remapping data should be two columns of hexadecimal numbers, separated by spaces or tabs. The first column should have the code which should be used in the BDF font. The second column should be the hexadecimal code of the glyph in the "cmap" table otf2bdf is using. An example mapping file is provided which will map fonts from Unicode (the default "cmap" table) to ISO8859-2.
Unicode is not the only option. If you choose another platform and encoding ID on the command line, then the remapping is assumed to map from the chosen platform and encoding to some other character set.
gbdfed(1), xfed(1), bdftopcf(1), bdftosnf(1), bdfresize(1)
Glyph Bitmap Distribution Format (BDF) Specification, Application Note
5005, Adobe System Inc, 1993
X Logical Font Description Conventions, X Consortium
The FreeType project for providing the renderer!
Robert Wilhelm <robert@physiol.med.tu-muenchen.de> for pointing out a
crucial problem with the pre-1.0 code.
Lho Li-Da <ollie@ms1.hinet.net> for problem reports.
Adrian Havill <havill@threeweb.ad.jp> for unintentionally pointing out a
missing feature.
Richard Verhoeven <rcb5@win.tue.nl> for problem reports and patches.
Choi Jun Ho <junker@jazz.snu.ac.kr> whose implementation provided some
nice new features.
Pavel Kankovsky <peak@kerberos.troja.mff.cuni.cz> for providing some
critical metrics fixes and other improvements.
Matti Koskinen <mjkoskin@sci.fi> for pointing out a problem.
Eugene Bobin <gene@ftim.ustu.ru> for mapping tables.
Oleg N. Yakovlev <yashka@optima.dnepropetrovsk.ua> for pointing out a
problem.
Bertrand Petit <elrond@phoe.frmug.org> for additional functionality.
Roman Czyborra <czyborra@cs.tu-berlin.de> for pointing out some
problems.
Mike Blazer <blazer@mail.nevalink.ru> for some Window's compilation
advice.
Solofo Ramangalahy <solofo@mpi-sb.mpg.de> for contributing some mapping
tables.
Antoine Leca <Antoine.Leca@renault.fr> for mapping table suggestions.
Patrick Hagglund <patrik.hagglund@bredband.net> for Freetype2 patches.
Christos Tountas <cvt@sprynet.com> for finding problems.
Nelson Beebe <beebe@math.utah.edu> for finding problems.
"Prophet of the Way" <afu@wta.att.ne.jp> for finding a
problem.
Mark Leisher
Computing Research Lab
New Mexico State University
Email: mleisher@crl.nmsu.edu
22 May 2008 | Freetype Version 2 |