[luatex] the \fontname does not returns the font features

Philipp Gesang Philipp.Gesang at alumni.uni-heidelberg.de
Tue Nov 19 11:25:13 CET 2013


···<date: 2013-11-19, Tuesday>···<from: Petr Olsak>···

> >> I am sure that the same version of luaotfload files are used (from tl2013
> >> tree). The \fontname returns bad string:
> >
> > You may have to update Luaotfload, this issue was fixed months ago.
> > You can check which version is installed by running
> >
> >    luaotfload-tool -V
> >
> > The latest version on CTAN is v2.3b.
> 
> Thanks. After tlmgr update --all I have installed the 2.3b version on 
> my computer and the \fontname returns fontfeatures.
> 
> But there is new problem with \fontname: When user writes the \font 
> parameter in the "quotes" (because fontname can include a space), then 
> these quotes are lost in \fontname output but in XeTeX they are kept. 
> Example:
> 
> \ifx\luatexversion\undefined \else \input luaotfload.sty \fi
> \font\hello="Luxi Mono Regular" at 12pt
> \message{::: \fontname\hello}
> \end
> 
> $ xetex test
> ...
> ::: "Luxi Mono Regular" at 12.0pt
> 
> 
> $ luatex test
> ...
> ::: Luxi Mono Regular at 12.0pt

That shouldn’t happen. Luaotfload auto-quotes the specification
when passing it into a font’s name field.

    https://github.com/lualatex/luaotfload/commit/9cdf846537280dc9661b1ed88a58eb763b237d1d

Could it be you have some old files left that cause interference?

Best,
Philipp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://tug.org/pipermail/luatex/attachments/20131119/4b55d992/attachment.bin>


More information about the luatex mailing list