I set font in the document so

\setmainfont{Akrobat SemiBold}
\setmainfont{Cormorant Medium}
\setmainfont{Cormorant Garamond SemiBold}

It's all works


Work too, but

\setmainfont{Coval Light} %Book, Medium

etc. get an error. Work only 'Coval Italic'

! fontspec error: "font-not-found"
! The font "Coval Book" cannot be found.
! See the fontspec documentation for further information.
! For immediate help type H <return>.

l.12 ...nt[ItalicFont = {Coval Light}]{Coval Book}
                                                  % Основной шри�...

Where does this problem? Font have I downloaded from https://smartfonts.com/coval.font

It is supposed that I should have these styles.

  • Better use file names instead of font names -- easier to find the correct name. – Ulrike Fischer Jul 25 '18 at 15:57
  • @UlrikeFischer, don't work any variant "\setmainfont[Path=/home/ekkl/.fonts/Coval]{Coval-Light.otf}% Основной шрифт текста" – Игорь Jul 25 '18 at 16:20
  • 1
    Something wrong with the font, maybe? Whatever you manage fonts with, what does it say about it? Can you use it in other applications? What does FontForge say? – cfr Jul 25 '18 at 22:48

The font manager did not correctly display the font name. Instead of the family name and style of the inscription. For all fonts this coincided with the names, but not for these.

If somebody has similar problem, see correct font name in FontForge. Screenshot was added.

enter image description here enter image description here

In Font Viewer names are displayed similar (with spaces), but in FontForge — different:

enter image description here enter image description here

The font names have a "-" instead of a space. Based on the given name in FontForge, I can write for Akrobat:

\setmainfont[]{Akrobat Light}% Correct name
\setmainfont[]{Akrobat-Light}% Also the correct name

But for Coval:

\setmainfont[]{Coval Light}% Incorrect name, missing in FontForge
\setmainfont[]{Coval-Light}% Correct name. So only!

I apologize for the screenshots in Ukrainian, I hope you understand, basis of interfaces

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.