Fontspec-Error: Optische Schriftgrößen definieren
Verfasst: Di 19. Sep 2017, 23:27
Achtung: Da hier keine Antworten kamen, ist dies ist ein cross-post zu diesem Thread: https://tex.stackexchange.com/questions ... es-xelatex
Ich teile Ergebnisse/Lösungen auf beiden Plattformen
Mit XeLaTeX und fontspec erhalte ich bei der Definition der optischen Größen der Schrift Minion Pro diesen Error nur für den letzten Schnitt SemiboldItalicDisplay. Die Datei ist vorhanden und auch richtig betitelt, ist dies also ein Fontspec-Bug?
Es folgt ein MWE... Für das Kompilieren sind die Schriftschnitte im Verzeichnis /fonts/ (ausgehend von dem Ordner mit der MWE.tex) nötig.
Ich teile Ergebnisse/Lösungen auf beiden Plattformen
Mit XeLaTeX und fontspec erhalte ich bei der Definition der optischen Größen der Schrift Minion Pro diesen Error nur für den letzten Schnitt SemiboldItalicDisplay. Die Datei ist vorhanden und auch richtig betitelt, ist dies also ein Fontspec-Bug?
! fontspec error: "font-not-found" ! ! The font "--" cannot be found. ! ! See the fontspec documentation for further information. ! ! For immediate help type H <return>. !............................................... l.39 ...-, Font = *-SemiboldItalicDisplay}}}] ? H |''''''''''''''''''''''''''''''''''''''''''''''' | 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! |............................................... ?
% !TeX program = xelatex % !TeX encoding = UTF-8 Unicode \documentclass[paper=a4]{scrbook} \usepackage[no-math]{fontspec} \setmainfont{MinionPro}[Path=fonts/,Extension=.otf, UprightFeatures={ SizeFeatures={ {Size = -8.41, Font = *-Caption}, {Size = 8.41-13.01, Font = *}, {Size = 13.01-19.91, Font = *-Subhead}, {Size = 19.91-, Font = *-Display}}}, BoldFeatures={ SizeFeatures={ {Size = -8.41, Font = *-SemiboldCaption}, {Size = 8.41-13.01, Font = *-Semibold}, {Size = 13.01-19.91, Font = *-SemiboldSubhead}, {Size = 19.91-, Font = *-SemiboldDisplay}}}, ItalicFeatures={ SizeFeatures={ {Size = -8.41, Font = *-ItalicCaption}, {Size = 8.41-13.01, Font = *-Italic}, {Size = 13.01-19.91, Font = *-ItalicSubhead}, {Size = 19.91-, Font = *-ItalicDisplay}}}, BoldItalicFeatures={ SizeFeatures={ {Size = -8.41, Font = *-SemiboldItalicCaption}, {Size = 8.41-13.01, Font = *-SemiboldItalic}, {Size = 13.01-19.91, Font = *-SemiboldItalicSubhead}, {Size = 19.91-, Font = *-SemiboldItalicDisplay}}}] \usepackage{blindtext} \begin{document} \chapter{Irrelevante Überschrift} \blindtext[5] \end{document} %%% Local Variables: %%% mode: latex %%% TeX-engine: xetex %%% TeX-PDF-mode: t %%% coding: utf-8 %%% TeX-master: t %%% End: