[OS X TeX] Incorrect fontsmpl?
Will Robertson
will at guerilla.net.au
Sat Jan 22 22:51:11 EST 2005
On 23 Jan 2005, at 7:03 AM, Peter Dyballa wrote:
> Am 22.01.2005 um 18:36 schrieb Will Robertson:
>
>> Is there a reason that you need to do this conversion?
>
> Yes! Support for non-PDF output. Smaller production output.
You mean the DVI->PS route? I suppose this is valid if you use pstricks
or whatever. I always forget about that :)
If you aren't using pdfTeX, ttf2tex will automatically create bitmap
versions of the fonts for running TeX->DVI->PS.
> Besides this I really don't know how to select a fontsize, shape,
> encoding, and a specific glyph, for example \l. Where come the sty and
> fd files from? Is there more than just: "it works with pdfTeX"? It
> works with a map entry like
>
> tfmname Basefontname <fontfile.ext xx.enc
To copy from the ttf2tex readme:
"ttf2tex is a Bash script which generates all files required to use
Truetype fonts with Tetex from a set of .ttf files. In short, it will
do for Truetype fonts what fontinst's \latinfamily command usually
does for Type 1 Postscript fonts. In addition to that, it creates map
files and installs all files according to the Tex Directory
Structure."
I don't believe that it is as comprehensive or powerful as fontinst,
but it certainly makes life easy. You'll need to write your own .sty
files (not to hard, and often not necessary IMO) but I'm not sure about
.fd files. I haven't used it for a long time -- since XeTeX came along.
I suggest you read the documentation from
<http://www.ctan.org/tex-archive/support/ttf2tex/>
ttf2tex also works with TrueType-based OpenType fonts, although I've
had less luck with this if the font is complex or provided by Apple or
MS (both who seem to cripple the fonts distributed with the OS to
prevent this sort of thing).
Good luck!
Will Robertson
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the MacOSX-TeX
mailing list