[luatex] using fea files in plain TeX

Khaled Hosny khaledhosny at eglug.org
Fri Jul 10 20:05:56 CEST 2009


On Fri, Jul 10, 2009 at 09:40:41PM +0900, Dohyun Kim wrote:
> luatex-fonts-merged.lua has a few bugs.
> The problem raised in this thread is one of them.
> To avoid this bug, I am currently overriding Hans's code as follows:
> 
> 
> local remapper = {
>     otf = "opentype fonts",
>     ttf = "truetype fonts",
>     ttc = "truetype fonts",
>     cid = "cid maps",		-- texlive2009
>     fea = "font feature files",	-- texlive2009
> }
> 
> function resolvers.find_file(name,kind)
>     name = string.gsub(name,"\\","\/")
>     if not kind then
> 	kind = string.match(name,"%.(%a%a%a)$")
>     end
>     if kind then
> 	kind = string.lower(kind)
>     end
>     kind = (kind and kind ~= "" and (remapper[kind] or kind)) or "tex"
>     return kpse.find_file(name,kind)
> end

I'd like to know about other issue (probably with fixes), and we can fix
them for luaotfload until Hans releases another beta.

Regards,
 Khaled


-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://tug.org/pipermail/luatex/attachments/20090710/3c3d517d/attachment.bin>


More information about the luatex mailing list