0

I'm currently studying the fontspec documentation, for a project I'm doing.

I've found an issue, where neither ligatures (all except TeX) work, nor numbers in the OldStyle option work with the Linux Libertine O font. Additionally, quotes in the ‘british’ style, don't work either, although I'm not sure if that has something to do with the font.

MWE:

\documentclass[ngerman]{article}
\usepackage[main=ngerman,british]{babel}
\usepackage{csquotes}
\usepackage{fontspec}

\defaultfontfeatures[Linux Libertine O]{
    UprightFont={*},
    BoldFont= {* Bold},
    ItalicFont={* Italic},
    BoldItalicFont={* Bold Italic},
    Ligatures={Common},
    Numbers={OldStyle},
}
\setmainfont{Linux Libertine O}

\begin{document}
fi fh fl ff tz st ct
    \selectlanguage{british}
\enquote{enquoted text}
\end{document}
12
  • 1
    add \XeTeXtracingfonts=1 and then show the log-file. Commented Dec 1, 2020 at 13:02
  • Hm, lots of warnings. pastebin.com/XZVaTe86
    – Concerto
    Commented Dec 1, 2020 at 13:06
  • Why do you think that this is the relevant part of the log? Commented Dec 1, 2020 at 13:08
  • Because that's the part I understand. Thank you for that rectification, here's the whole log. pastebin.com/Z8tawFcQ
    – Concerto
    Commented Dec 1, 2020 at 13:10
  • 1
    that is not the log file, it is the terminal output. (And just in case: the \XeTeXtracingfonts=1 must be early in the file). Commented Dec 1, 2020 at 13:13

1 Answer 1

2

[Disclaimer: I'm the developer of the VerbTeX app]

You can find a working example at https://en.wikipedia.org/wiki/XeTeX which shows an example including ligatures using the Linux Libertine O Italic font.

Anyway, there seems to be an issue with the normal font. Maybe it has to do with the 85% support for ligatures mentioned at https://fontlibrary.org/en/font/linux-libertine.

In any case: We'll look into that in detail. In the meantime you can use an own font file (.otf or .ttf) which should solve this issue as well.

3
  • Thank you for taking your time to answer this. That means concretely, I'll download the font from the Libertine Project, and then I'll have 100% support, correct? PS: I have infact used Linux Libertine O Italic for the majority of the time, BECAUSE it has these amazing historic ligatures.
    – Concerto
    Commented Dec 1, 2020 at 18:52
  • Yes, that's correct. We just tested it with the downloaded font 'LinLibertine_R.otf' and ligatures and old styles work correctly. Please let us know if you have any questions.
    – Peter
    Commented Dec 2, 2020 at 18:45
  • Peter, it now works for every type of ligature and number style. Thank you very much. Have a wonderful evening.
    – Concerto
    Commented Dec 2, 2020 at 19:01

You must log in to answer this question.

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