[lltx] Regarding fontspec

Will Robertson wspr81 at gmail.com
Tue May 18 03:37:43 CEST 2010


On 18/05/2010, at 1:59 AM, Khaled Hosny wrote:

> I'm not very exited about hardcoding system font directories into the
> code, why OSFONTDIR is there then?

I guess the argument in this particular case is that it's only this *very particular* font that we're trying to ignore. I don't mind ignoring each and every font with filename LastResort.ttf if that makes more sense to you.

But up until now I've been assuming that OSFONTDIR will not have been set. I'll need to do more testing if we're changing texmf.cnf to allocate OSFONTDIR to the system font locations.


> but I've no problem applying your
> patch for now. For TTC and LastResort font, I'm still thinking on a more
> general font blacklisting way, I'm thinking in a special lua file
> containing a simple table with entries that are either font names or
> filenames, and it can be exact matches or pattens, something like:
> 
> blacklist = {
>    {"LastResort", "name"},
>    {".ttc$", "file"},
> }
> 
> What do you think?

Looks good to me.
How do you want me to maintain my fork?
Continue rebasing your changes to HEAD?

-- Will




More information about the lualatex-dev mailing list