1

Since the last update to the newest TexLive version, a corporate designed scrlttr2-document does not compile anymore.

I always receive errors about a missing font:

Font \TU/lmr/m/n/10=[lmroman10-regular]:+tlig; at 10pt not loadable: metric data not found or bad. ...lt\familydefault\seriesdefault\shapedefault

Package fontspec Error: The font "LinotypeSyntaxCom-Regular" cannot be(fontspec) found.

Font \TU/LinotypeSyntaxCom(0)/m/n/10=[/usr/local/share/fonts/linotype-syntax-cdable: metric data not found or bad.

There are definitely all mentioned Linotype.ttf-fonts stored in /usr/local/share/fonts/linotype-syntax-com/ directory.


Therefore I have tried to recall the fonts in the document by:

\documentclass{article}

\usepackage{fontspec}

\setmainfont[
Path           = /usr/local/share/fonts/linotype-syntax-com/,
Extension      = .ttf ,
UprightFont    = *-Regular,
BoldFont       = *-Bold,
ItalicFont     = *-Italic,
BoldItalicFont = *-BoldIt,
]{LinotypeSyntaxCom}


\begin{document}
    Something is wrong! I am momentarily blinded and confused by moving, overlapping, translucent images that overwhelm my vision of the book I am reading.
\end{document}

But this didn't work.


Any ideas how to solve this?

In LibreOffice all fonts are still available.

3
  • Your first message seems to say that even lmroman10-regular is not found and that would mean that something is really broken. What happens with a hello world example without fontspec and \setmainfont? Jul 19, 2023 at 9:32
  • Did you install TexLive through pacman/pamac or with the perl script from the TUG Website?
    – lukeflo
    Jul 19, 2023 at 16:21
  • If you used pacman, (1) are you using Arch or a derivative? and (2) did you use pacman or a wrapper?
    – cfr
    Dec 20, 2023 at 3:24

1 Answer 1

1

Install texlive-fontsrecommended, it has /usr/share/texmf-dist/fonts/opentype/public/lm/lmroman10-regular.otf. It will vanish the first error.

I do not have own copy for these Linotype Syntax font. Please confirm @Dave.

PS: Looks like a bad practice install over /usr/local (off-topic comment).

2
  • Why are you certain the OP didn't install vanilla TeX Live? Why do you think the location of the fonts shows any kind of installation problem? Arch packages shouldn't install into /usr/local, but there's no reason Arch users shouldn't install stuff there which is not managed by pacman. That is part of the point: to keep the stuff pacman manages separate from stuff installed in other ways. Note that your advice could easily make things worse rather than better if the OP is using vanilla TL. In that case, doing as you suggest will muddle things further.
    – cfr
    Dec 20, 2023 at 3:32
  • Thanks for clarification.
    – Oromion
    Dec 21, 2023 at 23:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .