[lltx] \textit changes font size with LM fonts

Stephan Hennig mailing_list at arcor.de
Fri May 13 23:28:04 CEST 2011


schrieb Ulrike Fischer:
> Am Tue, 10 May 2011 20:56:25 +0200 schrieb Stephan Hennig:
>
>> I'm observing an odd behaviour with the Latin Modern Roman and Sans
>> fonts.  In the attached example the second instance of italic text is
>> typeset at a smaller font size than the surrounding text.
> 
> Yes. It has obviously to do with the fact that the fonts exist in
> more than one size. lualatex reloads the fonts after a newpage and
> then sometimes gets the wrong size (I could reproduce it with 10pt
> and 12pt class options but not with 11pt).
> 
> 
> I suspect a fontspec bug as one can trigger the wrong font size by
> using \textsl. (fontspec handles slanted and italic in a specific
> way):

Thanks for the analysis!  I've added a tracker item to luaotfload,
<URL:https://github.com/khaledhosny/luaotfload/issues/30>.

Best regards,
Stephan Hennig


More information about the lualatex-dev mailing list