Taco Hoekwater a écrit :
The font parser may think this is something in a subdirectory
(I am guessing, can't run the executable from here). You could
try putting the font name in braces for now, that should work
better:
\font\foo={first strage/B:ehaviour} \foo
\font\bar={[second-strange]/B:ehaviour} \bar
I will still need to be fixing the binary though, the quoted
approach should work just as well.
You're right: it works well with braces. Also I forgot to ask in my
first mail: in XeTeX it's possible to declare a font on several lines.
It works well with braces in LuaTeX, but not with quotes... Would it be
possible to add it?
The attachment is a test case for all this, to save you some time...
Thank you in advance,
--
Elie
\directlua0{
function open_font (calledname, size)
texio.write_nl(' ')
texio.write_nl(calledname)
texio.write_nl(' ')
texio.write_nl(' ')
return font.read_tfm("cmr10", size)
end
callback.register('define_font', open_font)
}
\font\foo={first strage/B:ehaviour} \foo
\font\foo="first strage/B:ehaviour" \foo
\font\bar={[second-strange]/B:ehaviour} \bar
\font\bar="[second-strange]/B:ehaviour" \bar
\font\bar={[second-strange]/B:ehaviour=foo
bar=foo} \bar
\font\bar="[second-strange]/B:ehaviour=foo
bar=foo" \bar
\bye
_______________________________________________
dev-luatex mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/dev-luatex