Hello,

I'm playing with the XeTeX font syntax, and I found a very strange behaviour on the way \font argument is passed to the callback define_font...

Here is a very small sample with which you will see strange differences between the \font argument and what is passed to define_font.

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\bar="[second-strange]/B:ehaviour"\bar 

\bye
_______________________________________________
dev-luatex mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/dev-luatex

Reply via email to