When I manually specify the Linux Libertine O font types fontspec
should load, the bold type is significantly bolder than when I load the exact same font family as a system font.
MWE:
\documentclass{article}
\usepackage{fontspec}
\setmainfont % load font from path
[
Path = C:/Windows/Fonts/,
Extension = .otf,
UprightFont = LinLibertine_R,
BoldFont = LinLibertine_RB,
ItalicFont = LinLibertine_RI,
BoldItalicFont = LinLibertine_RBI,
]
{libertine}
\newfontfamily\libertinesystemfont{Linux Libertine O} % load font from system font
\begin{document}
\LARGE{\textbf{A large heading in bold type}}
\textit{ABC\textbf{\underline{V\char"0306}}DE}.
\libertinesystemfont{
\LARGE{\textbf{A large heading in bold type}}
\textit{ABC\textbf{\underline{V\char"0306}}DE}.
}
\end{document}
Peeking into my .log
file, I cannot detect anything that would explain why these font types look different:
.................................................
. fontspec info: "defining-font"
.
. Font family 'libertine(0)' created for font 'libertine' with options [ Path
. = C:/Windows/Fonts/, Extension = .otf, UprightFont = LinLibertine_R,
. BoldFont = LinLibertine_RB, ItalicFont = LinLibertine_RI, BoldItalicFont =
. LinLibertine_RBI, ].
.
. This font family consists of the following shapes:
[...]
. * 'bold' with NFSS spec.:
. <->"[C:/Windows/Fonts/LinLibertine_RB.otf]/ICU:script=latn;language=DFLT;"
[...]
. * 'bold italic' with NFSS spec.:
. <->"[C:/Windows/Fonts/LinLibertine_RBI.otf]/ICU:script=latn;language=DFLT;"
[...]
. Font family 'LinuxLibertineO(0)' created for font 'Linux Libertine O' with
. options [].
.
. This font family consists of the following shapes:
[...]
. * 'bold' with NFSS spec.:
. <->"Linux Libertine O/B/ICU:script=latn;language=DFLT;"
[...]
. * 'bold italic' with NFSS spec.:
. <->"Linux Libertine O/BI/ICU:script=latn;language=DFLT;"
fontspec
might be selecting optical sizes automatically in the second case. What happens if you add the optionOpticalSize=0
to the system font?