One of the annoying aspects of LaTeX is the limited number of fonts that come by default, and the pain involved in making new fonts 'LaTeX' ready. I have a collection of truetype fonts that I'd like to prepare for use, and I definitely want to make sure I have vector versions of these fonts (i.e not type 3/bitmapped versions). Is there a relatively painless way to do this ?
|
One solution is to use XeLaTeX, which lets you use system fonts (mostly) hassle-free. |
|||||||||||||
|
|
The easiest way is with XeTeX or LuaTeX and the To use the fonts you simply have to load the
Then compile the the document with The only drawbacks (as far as I am aware) are that you can only generate .pdf files and that you need a sufficiently new TeX distribution (TeX Live 2009 should work for XeTeX and Tex Live 2010 for LuaTeX). |
||||
|
|
The process for PdfTeX is something like this (depends a little bit on your distribution):
You can do the whole process manually as well (autoinst.pl is nothing but a smart wrapper):
My ruby script for running the commands looks like this:
You can find more details about the manual way in: http://www.radamir.com/tex/ttf-tex.htm P.S.:
|
||||
|
|
See the same question I posted on superuser |
|||||||||||
|
|
LuaTeX brings TTF-support, but I have no Idea how mature it is right now. |
|||||||
|
latexengine is a must, or any engine capable of processing LaTeX syntax is fit for the answer. Also it hasn't been specified which type of output is expected: dvi, ps, pdf, svg, or all of the above. – Dima Jul 27 '10 at 12:38