[lltx] Re: microtypography

Khaled Hosny khaledhosny at eglug.org
Fri Feb 12 19:15:55 CET 2010

On Sat, Feb 13, 2010 at 04:18:47AM +1030, Will Robertson wrote:
> On 13/02/2010, at 4:07 AM, Khaled Hosny wrote:
> > Expansion and protrusion, as currently implemented in luaotfload, are
> > font features and thus need to be enabled at font definition time and
> > thus naturally fall in fontspec area, doing it separately in any other
> > package will just make things unnecessary complex (if possible at all)
> > for no real gain. And there is OpenType "Opyical Bounds" feature
> > ('opbd') which is used to set protrusion values which need to be
> > supported by luaotfload/fontspec anyway.
> If microtype is already working for LuaTeX I'd prefer to keep separate
> packages, but if it makes things convenient then provide an interface to
> microtype through fontspec itself.

I didn't check how microtype implement it, but in luaotfload it is a
font feature, i.e. \font\test=file:lmroman10-regular:protrusion=default
so should be implemented in fontspec as any other font feature
("default" is a table predefined protrusion values and we should define


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

More information about the lualatex-dev mailing list