home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: SysTools
/
SysTools.zip
/
ft-beta.zip
/
freetype
/
tools
/
ttf2bdf
/
README
< prev
next >
Wrap
Text File
|
1997-10-06
|
5KB
|
147 lines
#
# $Id: README,v 1.2 1997/10/01 18:24:55 mleisher Exp $
#
#
# Copyright 1996, 1997 Computing Research Labs, New Mexico State University
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE COMPUTING RESEARCH LAB OR NEW MEXICO STATE UNIVERSITY BE LIABLE FOR ANY
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
# OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
# THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
This is version 1.4 of a program to convert TrueType fonts to BDF fonts using
the FreeType renderer.
There are still some problems with metrics calculations, but the incorrect
values can be fixed by loading the BDF font into the XmBDFEditor and saving it
again.
The XmBDFEditor is available from (replace the <version> with the most current
version number):
[Sources]
ftp://crl.nmsu.edu/CLR/multiling/General/xmbdfed.tar.gz
[Binaries: Linux/Pentium, Solaris, SunOS]
ftp://crl.nmsu.edu/CLR/multiling/General/xmbdfed-<version>-ELF.tar.gz
ftp://crl.nmsu.edu/CLR/multiling/General/xmbdfed-<version>-SOLARIS.tar.gz
ftp://crl.nmsu.edu/CLR/multiling/General/xmbdfed-<version>-SUNOS.tar.gz
COMPILING ttf2bdf
-----------------
1. Pick up the latest FreeType distribution from:
ftp://ftp.physiol.med.tu-muenchen.de/pub/freetype/devel/freetype-beta.tar.gz
2. Unpack FreeType and build it.
3. Go into the "tools/ttf2bdf/" directory and type "make" to build "ttf2bdf".
RUNNING ttf2bdf
---------------
Type the following to get a list of command line options:
% ttf2bdf -h
ACKNOWLEDGEMENTS
----------------
Thanks go to the following people:
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 pointing out a problem with Big5 and
GB2312 encoding ids being documented incorrectly in the TT docs and a
problem with glyphs that are height 1 or width 1, and a font name problem.
Adrian Havill <havill@threeweb.ad.jp> for unintentionally pointing out a
missing feature.
Richard Verhoeven <rcb5@win.tue.nl> for pointing out a font names problem,
problem with bitmaps missing their last byte in each row, and an invalid
FONT_DESCENT property value.
Choi Jun Ho <junker@jazz.snu.ac.kr> for his inspiration from his
implementation that changed some character set names, and added a
number of new command line parameters.
CHANGES
-------
Version 1.4
===========
1. Changed the names of two MS encodings (Wansung and Johab) to
KSC5601.1987 and KSC5601.1992.
2. Added the '-n' command line flag to turn hinting off.
3. Added the '-c' command line flag to set the font spacing.
4. Added the '-t', '-w', and '-s' command line options to override the
default typeface, weight and slant names.
Version 1.3
===========
1. Converted to use the new FreeType API.
2. Added the '-rh' and '-rv' command line parameters to allow both the
horizontal and vertical resolutions to be set individually.
3. Fixed a problem with ignoring undefined glyphs. All undefined were
being rendered which caused missing glyphs on the end.
4. Fixed a problem with offset calculations needed to render glyph
bitmaps.
Version 1.2
===========
1. Fixed a problem with dashes that appear in the font family name causing
parse problems with the XLFD font names.
2. Fixed a problem with certain bitmaps missing their final byte on each
row.
3. Fixed an incorrect FONT_DESCENT value.
4. Changed things around so names can be retrieved in a more general way.
5. Fixed a problem with bitmaps not being generated after a certain point.
Version 1.1
===========
1. Fixed the actual glyph count for the CHARS line.
2. Swapped the Big5 and GB2312 XLFD encoding strings because of incorrect TT
specifications.
3. Fixed a problem with bitmap generation for glyphs that are width 1 or
height 1.
4. Added command line parameters to set the font and render pool memory
sizes in Kilobytes from the command line.
Version 1.0
===========
1. Initial release.
mleisher@crl.nmsu.edu (Mark Leisher)
01 October 1997