| 1 |
\cleardoublepage |
| 2 |
|
| 3 |
\pagestyle{empty} |
| 4 |
|
| 5 |
\pdfbookmark[0]{Substitutions}{pdf.features} |
| 6 |
|
| 7 |
\makeatletter |
| 8 |
\let\UCS@mincodepoint\@empty |
| 9 |
\let\UCS@maxcodepoint\@empty |
| 10 |
\def\UCS@blockname{OpenType Language Systems and Features} |
| 11 |
\makeatother |
| 12 |
|
| 13 |
\begingroup |
| 14 |
|
| 15 |
\def\tablestrut{\rule[-3pt]{0pt}{13pt}} |
| 16 |
|
| 17 |
\UCStextfont |
| 18 |
|
| 19 |
\section{OpenType Language Systems and Features} |
| 20 |
|
| 21 |
See |
| 22 |
the \href{https://docs.microsoft.com/en-us/typography/opentype/spec/featurelist}{OpenType |
| 23 |
Specification} for a description of the following features. |
| 24 |
|
| 25 |
\medskip |
| 26 |
|
| 27 |
\begingroup |
| 28 |
\parindent 0pt |
| 29 |
\begin{tabular*}{.8\textwidth}{@{}|l@{\extracolsep{\fill}}l*{6}{c}|@{}} |
| 30 |
\multicolumn{1}{l}{Script}&\multicolumn{1}{l}{Language}&c2sc&case&ccmp&dnom&frac&\multicolumn{1}{c}{liga}\\[2pt] |
| 31 |
\hline |
| 32 |
\tablestrut \textsc{dflt} |
| 33 |
& \textsc{default}&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$\\ |
| 34 |
\hline |
| 35 |
\tablestrut cyrl |
| 36 |
& \textsc{default}&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$&\\ |
| 37 |
\hline |
| 38 |
\tablestrut grek |
| 39 |
& \textsc{default}&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$&\\ |
| 40 |
\hline |
| 41 |
\tablestrut latn |
| 42 |
& \textsc{default}&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$\\ |
| 43 |
& \textsc{lth }&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$\\ |
| 44 |
& \textsc{rom }&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$\\ |
| 45 |
& \textsc{trk }&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$\\ |
| 46 |
\hline |
| 47 |
\end{tabular*} |
| 48 |
|
| 49 |
\bigskip |
| 50 |
|
| 51 |
\begin{tabular*}{.8\textwidth}{@{}|l@{\extracolsep{\fill}}l*{6}{c}|@{}} |
| 52 |
\multicolumn{1}{l}{Script}&\multicolumn{1}{l}{Language}&numr&onum&pnum&smcp&subs&\multicolumn{1}{c}{sups}\\[2pt] |
| 53 |
\hline |
| 54 |
\tablestrut \textsc{dflt} |
| 55 |
& \textsc{default}&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$\\ |
| 56 |
\hline |
| 57 |
\tablestrut cyrl |
| 58 |
& \textsc{default}&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$\\ |
| 59 |
\hline |
| 60 |
\tablestrut grek |
| 61 |
& \textsc{default}&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$\\ |
| 62 |
\hline |
| 63 |
\tablestrut latn |
| 64 |
& \textsc{default}&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$\\ |
| 65 |
& \textsc{lth }&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$\\ |
| 66 |
& \textsc{rom }&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$\\ |
| 67 |
& \textsc{trk }&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$&$\checkmark$\\ |
| 68 |
\hline |
| 69 |
\end{tabular*} |
| 70 |
|
| 71 |
\endgroup |
| 72 |
|
| 73 |
\medskip |
| 74 |
|
| 75 |
\subsection{The locl feature} |
| 76 |
|
| 77 |
\smallskip |
| 78 |
|
| 79 |
\begingroup |
| 80 |
\large |
| 81 |
\begin{tabular}{@{}ll>{\UCSchartfont}c@{${}\to{}$}>{\UCSchartfont}cl@{}} |
| 82 |
\textsc{rom} & U+015E &\char"015E & \char"0218 &U+0218\\ |
| 83 |
& U+015F &\char"015F & \char"0219 &U+0219\\ |
| 84 |
& U+0162 &\char"0162 & \char"021A &U+021A\\ |
| 85 |
& U+0163 &\char"0163 & \char"021B &U+021B\\[\jot] |
| 86 |
\textsc{trk} & U+0069 &\textsc{i} & \addfontfeature{Script=Latin,Language=Turkish}\textsc{i} |
| 87 |
& small caps `i' |
| 88 |
\end{tabular} |
| 89 |
\endgroup |
| 90 |
|
| 91 |
\smallskip |
| 92 |
|
| 93 |
\section{Character Variants} |
| 94 |
|
| 95 |
\begin{tabular}{@{}|ll*{3}{c}|@{}} |
| 96 |
\multicolumn{1}{l}{Script}&\multicolumn{1}{l}{Language}&cv01&cv02&\multicolumn{1}{c}{cv03}\\[2pt] |
| 97 |
\hline |
| 98 |
\tablestrut \textsc{dflt} |
| 99 |
& \textsc{default}&$\checkmark$&$\checkmark$&$\checkmark$\\ |
| 100 |
\hline |
| 101 |
\tablestrut cyrl |
| 102 |
& \textsc{default}&&&$\checkmark$\\ |
| 103 |
\hline |
| 104 |
\tablestrut grek |
| 105 |
& \textsc{default}&&&$\checkmark$\\ |
| 106 |
\hline |
| 107 |
\tablestrut latn |
| 108 |
& \textsc{default}&$\checkmark$&$\checkmark$&$\checkmark$\\ |
| 109 |
& \textsc{lth }&$\checkmark$&$\checkmark$&$\checkmark$\\ |
| 110 |
& \textsc{rom }&$\checkmark$&$\checkmark$&$\checkmark$\\ |
| 111 |
& \textsc{trk }&$\checkmark$&$\checkmark$&$\checkmark$\\ |
| 112 |
\hline |
| 113 |
\end{tabular} |
| 114 |
|
| 115 |
\bigskip |
| 116 |
|
| 117 |
\begingroup |
| 118 |
\large |
| 119 |
\noindent |
| 120 |
\begin{tabular}{@{}l>{\UCSchartfont}l@{${}\to{}$}>{\UCSchartfont}ll@{}} |
| 121 |
cv01 |
| 122 |
& \char"019B |
| 123 |
& \addfontfeature{CharacterVariant=1}\char"019B |
| 124 |
& U+019B LATIN SMALL LETTER LAMBDA WITH STROKE |
| 125 |
\\ |
| 126 |
cv02 |
| 127 |
& \char"0264 |
| 128 |
& \addfontfeature{CharacterVariant=2}\char"0264 |
| 129 |
& U+0264 LATIN SMALL LETTER RAMS HORN |
| 130 |
\\ |
| 131 |
cv03 |
| 132 |
& \char"2423 |
| 133 |
& \addfontfeature{CharacterVariant=3}\char"2423 |
| 134 |
& U+2423 OPEN BOX |
| 135 |
\end{tabular} |
| 136 |
\endgroup |
| 137 |
|
| 138 |
\clearpage |
| 139 |
|
| 140 |
\section{Substitutions} |
| 141 |
|
| 142 |
The following pages list all ``interesting'' glyph substitutions by |
| 143 |
feature. A listing such as |
| 144 |
|
| 145 |
\smallskip |
| 146 |
\begin{substitutions*} |
| 147 |
U+0024 \char36\\ |
| 148 |
\quad \texttt{c2sc} $\to$ \XeTeXglyph 1913 |
| 149 |
\end{substitutions*} |
| 150 |
|
| 151 |
\smallskip |
| 152 |
\noindent means that the c2sc feature applies to all scripts and |
| 153 |
language systems. A listing such as |
| 154 |
|
| 155 |
\smallskip |
| 156 |
|
| 157 |
\begin{substitutions*} |
| 158 |
\UCSchartfont |
| 159 |
U+0162 \char354\\ |
| 160 |
\quad \texttt{c2sc.\textsc{dflt}} $\to$ \XeTeXglyph 873\\ |
| 161 |
\quad \texttt{c2sc.latn} $\to$ \XeTeXglyph 873\\ |
| 162 |
\quad \texttt{locl.latn.ROM} $\to$ \XeTeXglyph 198 |
| 163 |
\end{substitutions*} |
| 164 |
|
| 165 |
\smallskip |
| 166 |
|
| 167 |
\noindent means that the c2sc substitution is only active for |
| 168 |
the \textsc{dflt} and latn scripts, but not for the cyrl or grek |
| 169 |
scripts, and the locl substitution is only active in the ROM language |
| 170 |
system of the latn script. |
| 171 |
|
| 172 |
\endgroup |
| 173 |
|
| 174 |
\endinput |