4

I'm typing Turkish text using Linux Libertine O boldface.

Everything is OK in FreeSerif and Libertine non bold fonts, but it's messed up in Libertine when using \textbf.

It seems similar to Problem with character placement (XeLaTeX, Linux Libertine and Unicode)

Can somebody confirm if this is similar or that I am doing something wrong. Here is a MWE.

%!TEX TS-program = xelatex
%!TEX encoding = UTF-8

\documentclass{scrbook}
\usepackage{fontspec}
\begin{document}

\setmainfont[Mapping=tex-text]{FreeSerif}
freeserif

n’ n' m’ m' sanʼatlarımızda çinʼde sanʼatı

\textbf{textbf n’ n' m’ m' sanʼatlarımızda çinʼde sanʼatı}

\setmainfont[Mapping=tex-text]{Linux Libertine O}
Linux Libertine O

n’ n' m’ m' sanʼatlarımızda çinʼde sanʼatı

\textbf{textbf n’ n' m’ m' sanʼatlarımızda çinʼde sanʼatı}
\end{document}
2
  • 1
    It seems a bug in the Libertine Semibold font, because in the other variants the result is always . Are you sure that U+02BC (MODIFIER LETTER APOSTROPHE) is the right character to use? If I google for sanʼatlarımızda I get no hit other than this question, while san’atlarımızda (with an apostrophe) finds something.
    – egreg
    Jun 11, 2014 at 21:02
  • I used both type of quotes just to show (see for myself) if it would make a difference. Herbert's solution below solves the issue. Jun 12, 2014 at 5:06

1 Answer 1

1

Use

\setmainfont[Mapping=tex-text,
             BoldFont=LinLibertineOB]{Linux Libertine O}

to get the bold libertine. Or in the preamble \usepackage{libertine} if you want it documentwide.

You must log in to answer this question.

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