[luatex] on lualatex

Will Robertson wspr81 at gmail.com
Sat Jun 5 20:32:19 CEST 2010


On 2010-06-06 03:15:09 +0930, Pablo Rodríguez 
<oinos at web.de> said:

> Writing my own .fd files could be more difficult (I don't think this 
> would be so complicated [I had to do that for Lambda, although I 
> completely forgot how to do it ;-)]), but it won't take longer than 
> downloading and updating.

You're probably right :)
If you've got a template then .fd files are easy to replicate.

> I have solved it by copying eu2lmr.fd to the same directory where I 
> compile the LuaLaTeX file and changing the following:
> 
> \DeclareFontShape{EU2}{lmr}{m}{n}%
>       {<-10000>    "TheanoDidot-Regular:+tlig;+tsub;+liga;+rlig;"
>        }{}
> 
> I have two questions:
> 
> How could I avoid the <-10000> in fonts that don't have optical sizes?

`texdoc fntguide` tells all.
In this case, just write <->.

> This only works if I have a copy of the font in the directory where I 
> compile the LuaLaTeX document. Is there no way to specify the directory 
> where the font is located or isn't it possible to instruct LuaLaTeX to 
> find in an external directory (outside the texmf tree)?

Using luatex-fonts.tex? I think the fonts have to be in a proper texmf 
location, but perhaps absolute paths work as well.

Cheers,
Will




More information about the luatex mailing list