[lltx] luaotfload update

Khaled Hosny khaledhosny at eglug.org
Mon Oct 17 20:51:23 CEST 2011


On Mon, Oct 17, 2011 at 07:28:08PM +0200, Patrick Gundlach wrote:
> Hi Khaled,
> 
> > I hacked up a quick type1 reader that used the existing opentype reader.
> > Works fine except there is a small bug in the opentype reader which sets
> > the units_per_em to 0 if it is not set.
> 
> can you give an example usage?
> ------------------------------------------
> \input luaotfload.sty
> 
> \font\myfont="file:dollr___.pfb" 
> \myfont hello world
> 
> \bye
> ------------------------------------------

This should work, anyway, my test file is:

\input luaotfload.sty
\font\fpl=file:fplrij8a.pfb
\fpl foo
\bye

> fails here with
> 
> ------------------------------------------
> \myfont world |
> [1{/opt/texlive2011/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] )
> (see the transcript file for additional information)<./dollr___.pfb
> !LuaTeX error (file ./dollr___.pfb): Invalid font type
>  ==> Fatal error occurred, no output PDF file produced!
> ------------------------------------------

Try removing that file cache (I experienced this when I had old cache of
some failed experiment). It means the 'format' key in the returned tfm
table has the wrong value.

Regards,
 Khaled


More information about the lualatex-dev mailing list