On Tue, May 18, 2010 at 11:07:43AM +0930, Will Robertson wrote:
> 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?
Donno, but I'm unlikely to have time for luaotfload in the near future,
so it is up to Elie to decide.
Regards,
Khaled
--
Khaled Hosny
Arabic localiser and member of Arabeyes.org team
Free font developer