On Sun, Oct 16, 2011 at 07:31:39PM +0200, Patrick Gundlach wrote: > Hi Khaled, > > thanks again very much for your work on luaotfload. It's very useful. > > At least one question remains: are there any changes regarding type1 > fonts? If they are not supported: do you think that a patch will break > the compatibility with Hans' code?
I think it is fairly isolated, you need to define a type1 reader function: fonts.formats.pfb = "pfb" function fonts.readers.pfb(specification) -- process specification -- load the font and process it -- may be apply an afm file return tfmtable end Check otfl-fonts-lua.lua for the simple lua font reader, or otfl-font-otf.lua for the much more complex opentype readers. Regards, Khaled
