Options for pairing Concrete Roman with a .ttf font

Ulrike Fischer news3 at nililand.de
Tue Sep 21 00:53:35 CEST 2021


Am Fri, 17 Sep 2021 16:36:42 -0600 schrieb Karl Berry:

> This seems like a compatibility bug in fontspec. 
> Or somewhere. Since it worked in previous years. Just because all
> ttf/otf fonts are expected to be in TU, no reason to force that
> on other fonts. 

Yes there is. You get nonsense for various non-ascii chars if you
use T1-encoding with the unicode engines, and that has nothing to do
with fontspec or font formats. T1 (or OT1) simply don't fit to the
unicode input. 

Try e.g. this with lualatex or xelatex:

\documentclass{article}
\usepackage[T1]{fontenc}
\begin{document}
Grüße 
\end{document}

hyphenation can be wrong to, as it assumes unicode with the unicode
engines. 


With the unicode engines you should use TU for the text. If you want
to use a T1-encoded font, one should stick to pdflatex. ttf-fonts
can be prepared for this engine too (with a bit more work). 



-- 
Ulrike Fischer 
https://www.troubleshooting-tex.de/



More information about the texhax mailing list.