[lltx] fontspec CTAN release

Khaled Hosny khaledhosny at eglug.org
Sun Feb 14 08:17:13 CET 2010

On Sun, Feb 14, 2010 at 05:07:59PM +1030, Will Robertson wrote:
> On 13/02/2010, at 10:16 PM, Khaled Hosny wrote:
> > AFAIC, luaotfload can now load system fonts (which is different from
> > cached fonts that is yet to be implemented), currently the font
> > database generating script is too memory consuming (on my system with
> > ~3000 fonts installed, it eats no less than 1GB of memory), luatex is
> > leaking memory here and this need to be fixed. What is missing is the
> > ability to launch the script from fontspec if no font database is
> > available or if the asked font is missing from the database, this
> > shouldn't be hard to implement, but I guess we can release fontspec 2.0
> > without it.
> Sorry for my terminology confusion.
> Let me just clarify... in LuaTeX one can access system fonts if you have ConTeXt installed and run
>     mtxrun --script font --reload
> right?
Yes, but we don't use that any more (it will not even work), instead one
can use the luaotfload-fonts.lua script from git, it'll generate and
install a font database with all the needed info (names, styles and
optical sizes).

> But until then something like this will still fail:
>     \font\1="TeX Gyre Termes" at 10pt\1

And even \font\1="TeX Gyre Termes/B/S=10" (you can use any arbitrary
style name too, "DeJaVu Sans/ExtraLight").

This is already working, but not throughly tested (I did my best, but
with font names you can expect all weired things).

> I think the roadmap right now should be
> 1. Release fontspec with LuaTeX support & only "external" fonts
> 2. Improve the tools in LuaLaTeX to access system fonts
> 3. Add system font support to fontspec
> W

 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer

More information about the lualatex-dev mailing list