I'm defining my mainfont using fontspec, providing an additional option for the italic fontshape:
\setmainfont[Path=C:/fonts/SabonNext/, ItalicFont = SabonNextLT-ItalicOsF.otf]{SabonNextLT-RegularOsF.otf} % Sabon next
It works perfectly, with the italic shape being the right one
However as soon as i try to define the BoldFont I run into troubles, and get the font-not-found error. I tried changing the filename to something simple and it didnt work, I tried the same for other fonts and got the same problem, defining italic font works perfectly, but boldfont is not possible to define:
preamble:
\setmainfont[Path=C:/fonts/SabonNext/, ItalicFont = SabonNextLT-ItalicOsF.otf, BoldFont = SabonNextLT-DemiOsF.otf]{SabonNextLT-RegularOsF.otf} % Sabon next
part of my log:
\g_fontspec_family_SabonNextLT-RegularOsF.otf_int=\count318
fontspec info: Defining font family 'SabonNextLT-RegularOsF.otf(0)' for font '
SabonNextLT-RegularOsF.otf' with options [Path=C:/fonts/SabonNext/, ItalicFont
= SabonNextLT-ItalicOsF.otf, BoldFont = SabonNextLT-DemiOsF.otf].
\g_fontspec_SabonNextLT-RegularOsF.otf(0)_prop=\toks58
fontspec info: Defining shape 'normal' with NFSS spec.:
(fontspec) <->"[C:/fonts/SabonNext/SabonNextLT-RegularOsF.otf]/ICU:script=latn
;language=DFLT;"
fontspec info: Defining shape 'bold' with NFSS spec.:
(fontspec) <->"[C:/fonts/SabonNext/SabonNextLT-DemiOsF.otf]/ICU:script=latn;la
nguage=DFLT;"
fontspec info: Defining shape 'italic' with NFSS spec.:
(fontspec) <->"[C:/fonts/SabonNext/SabonNextLT-ItalicOsF.otf]/ICU:script=latn;
language=DFLT;"
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "SabonNextLT-DemiOsF.otf/I" cannot be found.
!
! See the fontspec documentation for further information.
! For immediate help type H <return>.
!...............................................
l.42 ...T-DemiOsF.otf]{SabonNextLT-RegularOsF.otf}
% Sabon next
|'''''''''''''''''''''''''''''''''''''''''''''''
| A font might not be found for many reasons.
| Check the spelling, where the font is installed etc. etc.
|
| When in doubt, ask someone for help!
|...............................................
Perhaps somebody could try and reproduce the error (with their own installed fonts?)