[XeTeX] xelatex and the TL2009 portable solution with a usb-stick
Peter Dyballa
Peter_Dyballa at Web.DE
Mon Nov 9 19:08:02 CET 2009
Am 09.11.2009 um 17:49 schrieb M. Niedermair:
> Is there a way, to say Windows or xelatex (no Administratormode and
> no way to change any registry entry) that the Font, that the
> operating system is loading, has to be found in a special directory
> (on the usb-stick)?
> Will Robertson wrote:
>
>> \setmainfont [
>> ExternalLocation=/Users/will/Fonts/Vera/,
>> BoldFont=VeraBd.ttf,
>> ItalicFont=VeraIt.ttf,
>> BoldItalicFont=VeraBI.ttf,
>> ] {Vera.ttf}
Sufficient for the fontspec package...
On UNIX systems you can create (actually kind of prepend) a local
variant (/usr/local/texlive/2009/texmf.cnf) of texmf.cnf (/usr/local/
texlive/2009/texmf/web2c/texmf.cnf) which corrects paths and other
settings. One such path setting is that of a system's font path,
OSFONTDIR. You could also set it as an environment variable and it
could point to the directory with the Libertine fonts.
Before you start thinking that this is the cure, check whether
xdvipdfmx and xetex really work that way. In UNIX a "font service"
provides the necessary font data...
--
Mit evolutionären Grüßen
Pete
"Evolution" o __o _o _
°\___o /0~ -\<, ^\___ /=\\_/-%
oo~_______ /\ /\______/ \_________O/ O_______________o===>-->O--o____
More information about the XeTeX
mailing list