Debian Codegraph @

texmf-dist/doc/fonts/rit-fonts/rit-fonts-doc.tex

raw
1 \documentclass[onecolumn,final]{ltugboat}
2
3 %% Notes to the editor
4 %% -------------------
5 %% 1. LuaTeX is required to compile this article.
6 %% 2. Following fonts are required:
7 %% 2.1. RIT Rachana (https:/rachana.org.in)
8 %% 3. The fonts directory has required fonts.
9 %%
10
11 % \usepackage[p]{rit-doc}
12 \usepackage[w,doc]{rit-doc}
13 \usepackage{ragged2e,makecell,shortvrb,array,multirow}
14 \MakeShortVerb{\|}
15 \usepackage{microtype}
16 \usepackage{unicodefonttable}
17
18 \makeatletter
19 \newenvironment{exbox}[1][-\listparindent]
20 {\par\smallskip\hspace*{#1}}
21 {\par\smallskip}
22 \newdimen\xmpwd
23 \newdimen\lshift
24 \if@twocolumn
25 \setlength\xmpwd{\dimexpr(\linewidth+1.5\leftmargin)}
26 \setlength\lshift{-2.5\leftmargin}
27 \else
28 \setlength\xmpwd{.75\linewidth}
29 \setlength\lshift{-2\listparindent}
30 \fi
31 \setcounter{bottomnumber}{2}
32 \setcounter{topnumber}{4}
33 \def\sectionautorefname{Section}
34 \def\subsectionautorefname{Section}
35 \def\subsubsectionautorefname{Section}
36 \def\tsm{\small}
37 \def\pdf{\PDF\xspace}
38 \def\cmap{{\tsm CM}ap\xspace}
39 \def\rit{{\tsm RIT}\xspace}
40 \def\otf{{\tsm OTF}\xspace}
41 \def\ttf{{\tsm TTF}\xspace}
42 \def\woff{{\tsm WOFF2}\xspace}
43 \def\ofl{{\tsm OFL}\xspace}
44 \def\ctan{\CTAN\xspace}
45
46 \makeatother
47
48 \begin{document}
49
50 \setcounter{page}{1}
51
52 \title{Fonts in Malayalam script by Rachana Institute of Typography}
53
54 \author{C.\,V.~Radhakrishnan}
55 \netaddress{cvr(at)river-valley(dot)org}
56 \ORCID{0000-0001-7511-2910}
57 \address{River Valley Technologies, River Valley Campus, Malayinkeezh,
58 Trivandrum 695571, India}
59 \personalURL{http://river-valley.com}
60
61 \author{K.\,V.~Rajeesh}
62 \address{Rachana Institute of Typography}
63 \netaddress{rajeesh(at)rachana(dot)org(dot)in}
64 \personalURL{https://rachana.org.in/}
65
66 \author{K.\,H.~Hussain}
67 \address{Rachana Institute of Typography}
68 \netaddress{hussain(at)rachana(dot)org(dot)in}
69 \personalURL{https://rachana.org.in/}
70
71 \maketitle
72
73 \begin{abstract}
74 This article describes about all the fonts published by Rachana
75 Institute of Typography (\rit), a not-for-profit organization, engaged
76 in developing, publishing and promoting OpenType fonts under
77 the terms of Open Fonts License. It further tells about the
78 \LaTeX{} package, |rit-fonts.sty| that accompanies the bundle of
79 \rit fonts released at \CTAN.
80 \end{abstract}
81
82 \section{The background}
83
84 The \rit is a not-for-profitprofit digital foundry in Kerala, India,
85 that had released ten families of Indic script fonts in different
86 formats---\otf, \ttf, \woff under the terms of Open Font License
87 (\ofl) \cite{ofl}. The following are the technical objectives behind
88 the setting up of \rit:
89 \begin{enumerate}
90 \item to resurrect the original script of Malayalam that was diluted
91 by dropping hundreds of conjuncts and ligatures when reformed script
92 for the language was introduced by the government of Kerala to fit
93 the keyboad of typewriters.
94 \item to develop fonts that completely adhere to the definitive
95 character set prevalent through ages.
96 \item to completely revamp the OpenType layout {\tsm (GSUB)} of \rit
97 fonts to uphold the right spirit of comprehensive character set and
98 to replace all previous modifications.
99 \item to redesign all the glyphs in the flagship font, \rit Rachana.
100 \item to freshly redesign \rit Rachana Italic, Bold and BoldItalic and
101 to generate respective font variants.
102 \item to encourage the usage of code-driven font development models by
103 employing character description languages like \MF\ and \MP.
104 \end{enumerate}
105
106 \section{The \rit fonts}
107
108 The \rit has published the following fonts till date by striving to
109 meet the aforesaid objectives :
110 \begin{description}
111 \item[Serif] \mbox{}
112 \begin{enumerate}
113 \item \rit Rachana (regular, bold, italic, bold-italic)
114 \begin{exbox}[\lshift]
115 \includegraphics[width=\xmpwd,page=1]{font-example.pdf}
116 \end{exbox}
117 \item \rit Panamana (regular)
118 \begin{exbox}[\lshift]
119 \includegraphics[width=\xmpwd,page=2]{font-example.pdf}
120 \end{exbox}
121 \item \rit Lekha (regular)
122 \begin{exbox}[\lshift]
123 \includegraphics[width=\xmpwd,page=3]{font-example.pdf}
124 \end{exbox}
125 \end{enumerate}
126 \item[Sans-serif] \mbox{}\par
127 \begin{enumerate}
128 \item \rit MeeraNew (regular)
129 \begin{exbox}[\lshift]
130 \includegraphics[width=\xmpwd,page=3]{font-example.pdf}
131 \end{exbox}
132 \item \rit TN Joy (regular, bold, extra-bold)
133 \begin{exbox}[\lshift]
134 \includegraphics[width=\xmpwd,page=4]{font-example.pdf}
135 \end{exbox}
136 \end{enumerate}
137 \item[Display] \mbox{}\par
138 \begin{enumerate}
139 \item \rit Keraleeyam (regular, italic)
140 \item \rit Sundar (bold)
141 \item \rit Uroob (regular)
142 \item \rit Karuna (bold)
143 \item \rit Chingam (regular)
144 \item \rit Keram (bold)
145 \item \rit Indira (bold)
146 \end{enumerate}
147 \item[Handwriting] \mbox{}\par
148 \begin{enumerate}
149 \item \rit Ezhuthu (regular)
150 \item \rit Kutty (regular)
151 \item \rit Lasya (regular)
152 \end{enumerate}
153 \item[Calligraphy] \mbox{}\par
154 \begin{enumerate}
155 \item \rit Thaara (regular)
156 \end{enumerate}
157 \end{description}
158 The font samples of display and handwriting fonts and the variants of
159 serif and sans-serif fonts are available separately, see
160 \cite{font-samples}.
161
162 \section{The package, \texttt{rit-fonts.sty}} \label{sec:rit-fonts}
163
164 The package, |rit-fonts.sty| has been developed to assist seamless
165 usage of the fonts in \LaTeX{} documents. The package needs
166 |fontspec.sty| (to load the fonts and to access OpenType font
167 features) and |polyglossia| (for language switching and hyphernation)
168 \cite{fontspec,polyglossia}, both these packages are available in any
169 standard \TeX\ distribution. The fonts become accessible to the
170 typesetting engine employed when you load the package with the
171 following command:
172
173 \begin{lstlisting}[xleftmargin=1.5\leftmargin]
174 \usepackage[...options...]{rit-fonts}
175 \end{lstlisting}
176
177 \subsection{The options}
178
179 The package has the following options:
180 \begin{description}[itemsep=6pt]
181 \item[path] specify the location of fonts, if the user prefers to keep
182 the fonts in a custom path, the default being |empty|.
183 \begin{lstlisting}[xleftmargin=\leftmargin]
184 \usepackage[path=./ml-fonts/,<options>]{rit-fonts}
185 \end{lstlisting}
186 The usage of |path| option will look like above, if you keep the
187 \rit fonts in a subdirectory by name, |./ml-fonts/|, in your working
188 directory.
189
190 \item[extn] specify the extension of fonts, if the user prefers to use
191 a specific font format like |.otf| or |.ttf|, default being |.ttf|.
192 \begin{lstlisting}[xleftmargin=\leftmargin]
193 \usepackage[extn=.otf,<options>]{rit-fonts}
194 \end{lstlisting}
195
196 \item[RM] set the |\rmdefault| by providing the font name.
197 \begin{lstlisting}[xleftmargin=\leftmargin]
198 \usepackage[RM=RIT-Rachana,<options>]{rit-fonts}
199 \end{lstlisting}
200 \rit-Rachana will be set as the default |\rmfamily| font.
201
202 \item[SF] set the |\sfdefault| by providing the font name.
203 \begin{lstlisting}[xleftmargin=\leftmargin]
204 \usepackage[SF=RIT-MeeraNew,<options>]{rit-fonts}
205 \end{lstlisting}
206 \rit MeeraNew will be set as the default |\sffamily| font.
207
208 \item[ScaleRM] scale the |\rmdefault| font by providing the value.
209 \begin{lstlisting}[xleftmargin=\leftmargin]
210 \usepackage[ScaleRM=1.5,<options>]{rit-fonts}
211 \end{lstlisting}
212 The default value is |1|. Assuming that we have chosen |RIT Rachana| as
213 the |\rmdefault|, then by applying |Scale=1.5|, we get,
214 \begin{exbox}
215 \includegraphics[width=\xmpwd,page=6]{font-example.pdf}
216 \end{exbox}
217
218 \item[ScaleSF] scale the |\sfdefault| font by providing the value.
219 \begin{lstlisting}[xleftmargin=\leftmargin]
220 \usepackage[ScaleSF=.8,<options>]{rit-fonts}
221 \end{lstlisting}
222 The default value is |1|.
223
224 \item[ScaleDS, ScaleHW] as in the previous cases, scale factor can be provided
225 for display and handwriting fonts respectively. The value of
226 |ScaleDS| applies to the fonts categorized as |Display| fonts while
227 that of |ScaleHW| applies to |RIT Ezhuthu| and |RIT Kutty| fonts.
228
229 \item[osf, oldstyle] uses |oldstyle| numbers, if the font has oldstyle
230 numbers available. In this bundle of fonts, only \rit Rachana has
231 oldstyle numbers.
232 \medskip
233
234 \begin{exbox}
235 \includegraphics[width=\xmpwd,page=7]{font-example.pdf}
236 \end{exbox}
237
238 \item[lf, lining] this is the default style of numbers in all the
239 fonts.
240
241 \item[df] add more font features available in |fontspec| package that
242 you want to add to the |\defaultfontfeatures|.
243 \end{description}
244
245 Further, individual fonts can be tailored to suit the user requirement
246 by making use of |\defaultfontfeatures+| command which will append the
247 features to the defaults. The usage shall be:
248 \begin{lstlisting}[xleftmargin=\leftmargin]
249 \defaultfontfeatures+{<font name>}{<font features>}
250 \end{lstlisting}
251
252 Various {\tsm NFSS} commands like |\fontsize{..}{...}\selectfont|,
253 |\bfseries|, |\itshape|, |\upshape|, |\scshape|, etc., will work
254 seamlessly. For more information on various font features provided by
255 |fontspec|, kindly go through the package documentation at
256 \cite{fontspec}.
257
258 \section{Sources, downloads and license}
259
260 \begin{enumerate}
261 \item The sources of all the fonts, font making scripts, shaping
262 features, kern tables, etc., are available at
263 \url{https://gitlab.com/rit-fonts/}.
264 \item All the fonts can be downloaded by visiting the \rit website:
265 \url{https://rachana.org.in/downloads.html}.
266 \item All the fonts are shared under the terms of Open Font License
267 (\url{https://scripts.sil.org/ofl}).
268 \end{enumerate}
269
270 \section{The glyph list}
271
272 The entire glyph list of \rit Rachana is provided below by making use
273 of the package |unicodefonttable| \cite{unicodefonttable}. Only the
274 glyph list of regular variant alone is provided as an example, while
275 others can be downloaded from the \rit website \cite{rit-home}.
276
277 \ifprint
278 \displayfonttable[range-end=F033F]{RIT-Rachana-Regular}
279 \else
280 \displayfonttable[range-end=F033F]{RIT-Rachana-Regular}
281 \fi
282
283
284 \RaggedRight\small
285 \bibliographystyle{tugboat}
286 \bibliography{ml}
287
288 \makesignature
289
290 \end{document}
291
292 %%% Local Variables:
293 %%% mode: latex
294 %%% TeX-master: t
295 %%% End: