
가짜 경사는 글꼴 사양으로 가짜 작은 대문자를 만들기 위해 스케일을 사용하는 것과 잘 어울리지 않습니다. 둘 fontspec
다 지정하면 내 텍스트도 경사를 받는다는 의미 에서 일종의 정의 누출이 있는 것 같습니다 . 예상되는 동작은 작지만 직선이어야 하고 기울어져야 한다는 것입니다. 그러나 아래 예에서 볼 수 있듯이 그렇지 않고, 작고 기울어져 있습니다.SmallCapsFeature
SlantedFeatures
\scshape
\textsc{FOO}
\textsl{FOO}
\textsc{FOO}
\documentclass{memoir}
\usepackage{fontspec}
\begin{document}
\setmainfont[
SmallCapsFont={Linux Libertine O},
SmallCapsFeatures={Scale=0.5},
SlantedFont={Linux Libertine O},
SlantedFeatures={FakeSlant=0.5},
]{Latin Modern Roman}
Small Caps is slanted now: \textsc{FOO} and also slanted is slanted: \textsl{FOO}
\end{document}
답변1
의 버그인 것 같습니다 fontspec
. FakeSlant=0
작은 대문자 글꼴을 지정하여 치료할 수 있습니다 .
\setmainfont{Latin Modern Roman}[
SmallCapsFont={Linux Libertine O},
SmallCapsFeatures={Scale=0.5,FakeSlant=0},
SlantedFont={Linux Libertine O},
SlantedFeatures={FakeSlant=0.5},
]
fontspec
옵션이 지정된 최신 버전을 사용했습니다 .~ 후에글꼴 이름.