Small Caps und IBM Plex Fonts Thema ist als GELÖST markiert

Schriftbild, Absätze und Auflistungen einstellen


AaronK
Forum-Fortgeschrittener
Forum-Fortgeschrittener
Beiträge: 77
Registriert: So 2. Mai 2021, 09:29

Small Caps und IBM Plex Fonts

Beitrag von AaronK »

In dem Dokument von Herbert Voss gibt es ein Hinweis wie small caps eingebunden werden können. Das habe ich auch gemacht und ich denke, dass die small caps auch richtig dargestellt werden. In den logfiles bleiben die Fehlermeldungen weiterhin zu sehen.
RM: ; Bold
SS: ; Bold
SS: ; Bold
TT: ; Bold
Using file names for the Plex font
luaotfload | aux : font no 19 (nil) does not define feature smcp for script latn with language dflt
luaotfload | aux : font no 20 (nil) does not define feature smcp for script latn with language dflt
luaotfload | aux : font no 21 (nil) does not define feature smcp for script latn with language dflt
luaotfload | aux : font no 21 (nil) does not define feature smcp for script latn with language dflt
luaotfload | aux : font no 22 (nil) does not define feature smcp for script latn with language dflt
Hier mein Minimalbeispiel:
%!TeX LuaLaTeX
\documentclass{scrartcl}

\usepackage{fontspec}
\usepackage{polyglossia}
\setdefaultlanguage{german}

\usepackage[SS={SmallCapsFont=texgyreheros-regular,
SmallCapsFeatures={Letters=SmallCaps,Scale=MatchUppercase},
ItalicFeatures={ SmallCapsFont=texgyreheros-italic},
BoldFeatures={ SmallCapsFont=texgyreheros-bold},
BoldItalicFeatures={SmallCapsFont=texgyreheros-bolditalic}}]{plex-otf}

\pagestyle{empty}% Damit keine Fonts durch die Seitenzahl dazu kommen.
\begin{document}
\textsc{Kapitälchen bitte}
\end{document}

gast.

Re: Small Caps und IBM Plex Fonts

Beitrag von gast. »

Du hast nur für SansSerif (SS) die Small-Capitals definiert, aber nicht für die im Beispiel verwendete Roman (RM) und nicht für Typewriter (TT) und AFAIK auch nicht für die Condensed-Varianten. In der Anleitung sind deshalb auch weitere Einstellungen mit den jeweiligen Ergebnissen zu finden.

gast.

Re: Small Caps und IBM Plex Fonts

Beitrag von gast. »

Ich denke mal, relativ schnell kommt man weit mit:
%!TeX LuaLaTeX
\documentclass{scrartcl}

\usepackage{fontspec}
\usepackage{polyglossia}
\setdefaultlanguage{german}

%\usepackage[SS={SmallCapsFont=texgyreheros-regular,
%SmallCapsFeatures={Letters=SmallCaps,Scale=MatchUppercase},
%ItalicFeatures={ SmallCapsFont=texgyreheros-italic},
%BoldFeatures={ SmallCapsFont=texgyreheros-bold},
%BoldItalicFeatures={SmallCapsFont=texgyreheros-bolditalic}}]{plex-otf}

\usepackage[DefaultFeatures={Scale=0.94},
RMSCfont=texgyretermes,
SSSCfont=texgyreheros]{plex-otf}

\pagestyle{empty}% Damit keine Fonts durch die Seitenzahl dazu kommen.
\begin{document}
\textsc{Kapitälchen bitte \textit{kusiv} \textbf{fett}}

\textsf{\textsc{Kapitälchen bitte \textit{kusiv} \textbf{fett}}}
\end{document}
Man muss sich aber natürlich im Klaren sein, dass das dann zwar Kapitälchen sind aber kein IBM Plex oder IBM Plex Sans. Die Fonts haben das Feature nach wie vor nicht. Zaubern kann fontspec schließlich nicht.

AaronK
Forum-Fortgeschrittener
Forum-Fortgeschrittener
Beiträge: 77
Registriert: So 2. Mai 2021, 09:29

Re: Small Caps und IBM Plex Fonts

Beitrag von AaronK »

Danke für die Hilfe.

Antworten