📄 ttf2bdf.man
字号:
.\".\" $Id: ttf2bdf.man,v 1.1.1.1 2000/04/14 17:53:50 davidT Exp $.\".TH TTF2BDF 1 "10 February 2000" "X Version 11".SH NAME ttf2bdf \- TrueType to BDF font converter.SH SYNOPSIS.B ttf2bdf[\fIoptions\fP] [\fIfont.ttf\fP].SH DESCRIPTION.I ttf2bdfwill convert a TrueType font to a BDF font using the FreeType renderer..SH OPTIONS.I ttf2bdfaccepts the following command line arguments:.PP.TP 8.I -vprint warning messages when the font is converted..PP.TP 8.I -p nset the desired point size (see default value by running the program with the-h option)..PP.TP 8.I -r nset both the horizontal and the vertical resolution (see default value byrunning the program with the -h option). The minimum is 10dpi and the maximumis 1200dpi..PP.TP 8.I -rh nset the horizontal resolution (see default value by running the program withthe -h option). The minimum is 10dpi and the maximum is 1200dpi..PP.TP 8.I -rv nset the vertical resolution (see default value by running the program withthe -h option). The minimum is 10dpi and the maximum is 1200dpi..PP.TP 8.I -o outfilesets the output filename (default output is to stdout)..PP.TP 8.I -pid idset the platform id for selecting the character map (see default value byrunning the program with the -h option)..PP.TP 8.I -eid idset the encoding id for selecting the character map (see default value byrunning the program with the -h option)..PP.TP 8.I -c cset the character spacing. This should be one of `P' for proportional,`M' for monospace, or `C' for character cell. By default, the spacingof a font will be automatically determined to be either `M' or `P'according to values provided in the font..PP.TP 8.I -f nameset the foundry name used in the XLFD name. The default value is`Freetype'..PP.TP 8.I -t nameset the typeface name used in the XLFD name. By default,.I ttf2bdfwill attempt to get a name from the font first and then it will use thename supplied with this command line option, and if all else fails, itwill use the name `Unknown'..PP.TP 8.I -w nameset the weight name used in the XLFD name. If this value is notsupplied, the default value is assumed to be `Medium'. Some commonvalues for this are `Thin', `Delicate', `ExtraLight', `Light', `Normal',`Medium', `SemiCondensed', `Condensed', `SemiBold', `Bold', `Heavy',`ExtraBold', and `ExtraHeavy'..PP.TP 8.I -s nameset the slant name used in the XLFD name. If this value is notsupplied, the default value is assumed to be `R', for Roman. Some commonvalues for this are `R' for Roman, `I' for Italic, `O' for Oblique, `RI'for Reverse Italic, and `RO' for Reverse Oblique..PP.TP 8.I -k nameset the width name used in the XLFD name. The default is `Normal'..PP.TP 8.I -d nameset the additional style name used in the XLFD name. The default is an emptystring..PP.TP 8.I -u charset the character used to replace the dashes/spaces in a font name. Thedefault is the space character..PP.TP 8.I -l subsetdefine a list of character codes which will be used to select a subsetof glyphs from the font. The syntax of the subset string is the sameas the syntax for selecting subsets in X11 XLFD font names. Example:.sp% ttf2bdf -l '60 70 80_90' font.ttf -o font.bdf.spThe command above will only generate the glyphs for codes 60, 70, and 80through 90 inclusive. Glyphs that are not in the subset are notgenerated..PP.TP 8.I -m mapfilespecifies a mapping file which will reencode the BDF font when it isgenerated. Any glyphs with codes that do not have a mapping will notbe generated..spThe remapping file should begin with two lines, one which starts withREGISTRY followed by the character set registry and one which startswith ENCODING followed by the encoding. An example from theiso8859.2 file:.spREGISTRY ISO8859.brENCODING 2.spThe remapping data should be two columns of hexadecimal numbers, separated byspaces or tabs. The first column should have the code which should be used inthe BDF font. The second column should be the hexadecimal code of the glyphin the "cmap" table ttf2bdf is using. An example mapping file is providedwhich will map fonts from Unicode (the default "cmap" table) to ISO8859-2..spUnicode is not the only option. If you choose another platform andencoding ID on the command line, then the remapping is assumed to mapfrom the chosen platform and encoding to some other character set..PP.TP 8.I -nturn off glyph hinting..SH "SEE ALSO"xmbdfed(1), xfed(1), bdftopcf(1), bdftosnf(1).br\fIGlyph Bitmap Distribution Format (BDF) Specification\fP, ApplicationNote 5005, Adobe System Inc, 1993.br\fIX Logical Font Description Conventions\fP, X Consortium.SH ACKNOWLEDGMENTSThe FreeType project for providing the renderer!.brRobert Wilhelm <robert@physiol.med.tu-muenchen.de> for pointing out acrucial problem with the pre-1.0 code..brLho Li-Da <ollie@ms1.hinet.net> for problem reports..brAdrian Havill <havill@threeweb.ad.jp> for unintentionally pointing out amissing feature..brRichard Verhoeven <rcb5@win.tue.nl> for problem reports and patches..brChoi Jun Ho <junker@jazz.snu.ac.kr> whose implementation provided somenice new features..brPavel Kankovsky <peak@kerberos.troja.mff.cuni.cz> for providing somecritical metrics fixes and other improvements..brMatti Koskinen <mjkoskin@sci.fi> for pointing out a problem..brEugene Bobin <gene@ftim.ustu.ru> for mapping tables and shell scripts..brOleg N. Yakovlev <yashka@optima.dnepropetrovsk.ua> for pointing out a problem..brBertrand Petit <elrond@phoe.frmug.org> for additional functionality..brRoman Czyborra <czyborra@cs.tu-berlin.de> for pointing out some problems..brMike Blazer <blazer@mail.nevalink.ru> for some Window's compilation advice..brSolofo Ramangalahy <solofo@mpi-sb.mpg.de> for contributing some mappingtables..brAntoine Leca <Antoine.Leca@renault.fr> for mapping table suggestions..brLuo Jyi-Jiin <jjluo@nwu.edu> for pointing out the need to use embedded bitmapswhen available..SH AUTHORMark Leisher.brComputing Research Lab.brNew Mexico State University.brEmail: mleisher@crl.nmsu.edu
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -