diff options
44 files changed, 1050 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/fonts/rit-fonts/README.md b/Master/texmf-dist/doc/fonts/rit-fonts/README.md new file mode 100644 index 00000000000..6057fa0b529 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/rit-fonts/README.md @@ -0,0 +1,35 @@ +## Malayalam fonts by Rachana Institute of Typography (RIT) ## + +The RIT font collection provides versions of ten font families in +Malayalam (the language spoken in the southern Indian state of Kerala) +script in truetype and WOFF2 formats. The fonts are: + +1. RIT Rachana +2. RIT Panmana +3. RIT MeeraNew +4. RIT TN Joy +5. RIT Karuna +6. RIT Keralayeeam +7. RIT Sundar +8. RIT Uroob +9. RIT Ezhuthu +10. RIT Kutty + +The font sources and development page: https://gitlab.com/rit-fonts/ + +Maintainers: The Rachana Insitute of Typography team <info@rachana.org.in>. + +License: Open Font License (SIL International, https://scripts.sil.org/OFL) + +## LaTeX Package and Documentation ## + +A LaTeX package, `rit-fonts.sty`, that will help users to make use of +these Unicode compliant fonts in LaTeX documents with XeTeX or LuaTeX is +also provided. The documentation for the package and font specimens in +PDF format are also made available. The package and documentation are +released under the terms of LPPL. + +Maintainer: CV Radhakrishnan <cvr@river-valley.org> + +See the manifest.txt for the list of files. + diff --git a/Master/texmf-dist/doc/fonts/rit-fonts/font-example.pdf b/Master/texmf-dist/doc/fonts/rit-fonts/font-example.pdf Binary files differnew file mode 100644 index 00000000000..3b75683a3d4 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/rit-fonts/font-example.pdf diff --git a/Master/texmf-dist/doc/fonts/rit-fonts/font-example.tex b/Master/texmf-dist/doc/fonts/rit-fonts/font-example.tex new file mode 100644 index 00000000000..2539dbbbb38 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/rit-fonts/font-example.tex @@ -0,0 +1,111 @@ +\documentclass[a4paper]{article} + +\usepackage[paperwidth=100mm,margin=.1mm,ignoreall]{geometry} % prose +%\usepackage[paperwidth=62.5mm,margin=.1mm,ignoreall]{geometry} % poem +\usepackage[dvipsnames,svgnames]{xcolor} +\usepackage{graphicx,listings} + +\usepackage[path={./fonts/}]{rit-fonts} +\newfontfamily\en[Path={./fonts/},Extension=.ttf]% + {Linux-Libertine} + [BoldFont=*-Bold] +\def\thesection{\en\arabic{section}} +\def\thesubsection{\en\thesection.\arabic{subsection}} +\def\f#1{\gdef\thef{\en #1}} +\newfontfamily\lstfont[Scale=.8]{MPLUSCodeLatin} +\usepackage{tcolorbox} + +\colorlet{bgcol}{white} +\colorlet{frcol}{black!10} +\def\thetitle{Regular} + +\makeatletter +\def\title#1{\def\next{#1}\xdef\thetitle + {\expandafter\strip@prefix\meaning\next}} +\makeatother + +\newtcolorbox{prosebox}{colback=bgcol,width=99.8mm, %.63\linewidth, + halign title=flush left, + before=, after=\par\newpage, + % before skip=0\baselineskip, after skip=0\baselineskip, + colbacktitle={black!10}, + coltitle=black, + fonttitle=\lstfont\footnotesize, + box align=top, + colframe=frcol, + title={\thetitle}} + +%\addfontfeatures{Scale=2,Color=red,Numbers=Lining} + +\def\myprose{പ്രതിരോധരാഷ്ട്രീയവും ആധുനിക കലാപാരമ്പര്യങ്ങളിലെ + വിനിമയവൈഭവങ്ങളും തമ്മിലിണക്കി, അവരവരുടെ ദേശീയ കലാസാഹിത്യത്തിന്റെ + പരമ്പരാഗത രൂപങ്ങളെ ഭാവുകത്വപരമായി ഉയർത്തി, നീതിയോടു് ആഭിമുഖ്യം വളർത്തി, + ഇങ്ങനെ ഒരു പ്രതിസംസ്കാരത്തിന്റെ ജനകീയവും അഗാധവും സമകാലികവും + ഭൗതികവുമായ ജാഗ്രത പാകി.} + +\def\halfprose{പ്രതിരോധരാഷ്ട്രീയവും ആധുനിക കലാപാരമ്പര്യങ്ങളിലെ + വിനിമയവൈഭവങ്ങളും തമ്മിൽ \dots} + +\usepackage[active,luatex,tightpage]{preview} +\renewcommand\PreviewBbAdjust{0pt -5pt 0pt 0pt} +\PreviewEnvironment{prosebox} + + +\begin{document} +\ifluatex\prehyphenchar="0000\else\defaulthyphenchar="0000\fi +\pagestyle{empty} + +\parindent0pt +\parskip=1\baselineskip plus 2pt minus 2pt + +\hyphenpenalty=0 +\lefthyphenmin=3 +\righthyphenmin=3 +\tolerance=500 +\emergencystretch=1em + +\title{RIT Rachana Regular} +\begin{prosebox} +\Rachana +\myprose +\end{prosebox} + +\title{RIT Panmana Regular} +\begin{prosebox} +\Panmana +\myprose +\end{prosebox} + +\title{RIT MeeraNew} +\begin{prosebox} +\Meera +\myprose +\end{prosebox} + +\title{RIT TN Joy} +\begin{prosebox} +\Joy +\myprose +\end{prosebox} + +\title{\usepackage[ScaleRM=1.5,...]{rit-fonts}} +\begin{prosebox} + \Rachana + \addfontfeatures{Scale=1.5} + \advance\baselineskip 5pt + \ifluatex\prehyphenchar="0000\else\defaulthyphenchar="0000\fi +\halfprose +\end{prosebox} + + +\title{\usepackage[Numbers=OldStyle,...]{rit-fonts}} +\begin{prosebox} + \Rachana \addfontfeatures{Numbers=OldStyle} + \ifluatex\prehyphenchar="0000\else\defaulthyphenchar="0000\fi രചനയിൽ + പഴയരീതിയിലുള്ള അക്കങ്ങളുണ്ടു്. 1234567890. ഇവ സാധാ\-രണ അക്കങ്ങളെ അപേക്ഷിച്ചു് + പാഠവുമായി ഒത്തുപോകുന്നതാണു്. +\end{prosebox} + + +\end{document} + diff --git a/Master/texmf-dist/doc/fonts/rit-fonts/manifest.txt b/Master/texmf-dist/doc/fonts/rit-fonts/manifest.txt new file mode 100644 index 00000000000..a52b17af23b --- /dev/null +++ b/Master/texmf-dist/doc/fonts/rit-fonts/manifest.txt @@ -0,0 +1,57 @@ +.: +doc +fonts +manifest.txt +README.md +tex + +./doc: +font-example.pdf +font-example.tex +rit-doc.sty +rit-fonts-doc.pdf +rit-fonts-doc.tex + +./fonts: +truetype +woff2 + +./fonts/truetype: +RIT-Ezhuthu-Regular.ttf +RIT-Karuna-Bold.ttf +RIT-Keraleeyam-Italic.ttf +RIT-Keraleeyam-Regular.ttf +RIT-Kutty-Bold.ttf +RIT-MeeraNew.ttf +RIT-Panmana-Regular.ttf +RIT-Rachana-BoldItalic.ttf +RIT-Rachana-Bold.ttf +RIT-Rachana-Italic.ttf +RIT-Rachana-Regular.ttf +RIT-Sundar.ttf +RIT-tnjoy-bold.ttf +RIT-tnjoy-extrabold.ttf +RIT-tnjoy-regular.ttf +RIT-Uroob.ttf + +./fonts/woff2: +RIT-Ezhuthu-Regular.woff2 +RIT-Karuna-Bold.woff2 +RIT-Keraleeyam-Italic.woff2 +RIT-Keraleeyam-Regular.woff2 +RIT-Kutty-Bold.woff2 +RIT-MeeraNew.woff2 +RIT-Panmana-Regular.woff2 +RIT-Rachana-BoldItalic.woff2 +RIT-Rachana-Bold.woff2 +RIT-Rachana-Italic.woff2 +RIT-Rachana-Regular.woff2 +RIT-Sundar.woff2 +RIT-tnjoy-bold.woff2 +RIT-tnjoy-extrabold.woff2 +RIT-tnjoy-regular.woff2 +RIT-Uroob.woff2 + +./tex: +rit-fonts.sty + diff --git a/Master/texmf-dist/doc/fonts/rit-fonts/rit-doc.sty b/Master/texmf-dist/doc/fonts/rit-fonts/rit-doc.sty new file mode 100644 index 00000000000..6582ba4e5c4 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/rit-fonts/rit-doc.sty @@ -0,0 +1,284 @@ +%% File: 'rit-doc.sty' +%% (c) 2023, CV Radhakrishnan <cvr@river-valley.org> and +%% Rachana Inst Typography <info@rachana.org.in> +%% +%% This file has the LPPL maintenance status "maintained". +%% +%% The Current Maintainer of this work is the CV Radhakrishnan +%% (cvr@river-valley.org). +%% +%% The list of all files belonging to the distribution is given in +%% the file `manifest.txt'. +%% +%% +\NeedsTeXFormat{LaTeX2e}[1994/12/01] +\ProvidesPackage{rit-doc}[2023-06-01 v0.2 + Extra definitions for TUGboat journal class (CVR)] +\newif\ifprint \printfalse +\newif\ifweb \webfalse +\newif\ifdoc \docfalse +\newif\ifcmr \cmrfalse +\newif\iflibertine \libertinefalse +\DeclareOption{print}{\global\printtrue\global\webfalse} +\DeclareOption{web}{\global\printfalse\global\webtrue} +\DeclareOption{doc}{\global\doctrue} +\DeclareOption{p}{\global\printtrue\global\webfalse} +\DeclareOption{w}{\global\printfalse\global\webtrue} +\DeclareOption{cmr}{\global\cmrtrue\global\libertinefalse} +\DeclareOption{lin}{\global\libertinetrue\global\cmrfalse} +\ExecuteOptions{web} +\ProcessOptions +% +\RequirePackage{acro} +\DeclareRobustCommand\myacro[1]{\FindAcFont\ac{#1}} +\DeclareAcronym{jwra}{short=JWRA, + long=JWRA,short-format=\small} +\DeclareAcronym{xml}{short=XML, + long=Extensible Markup Language,short-format=\small} +\DeclareAcronym{pdf}{short=PDF, + long=Portable Document Format,short-format=\small} +\DeclareAcronym{ctan}{short=CTAN, + long=Comprehensive \TeX{} Archive Network,short-format=\small} + +%\RequirePackage[numbers,sort&compress]{natbib} +\RequirePackage{xspace} +\RequirePackage{enumitem,amsfonts} +\RequirePackage{etoolbox,expl3,xparse} +% +% luatexrenderer=none needed, if not characters +% in the upper planes will not be listed in fonttable +% using unicodefonttable.sty +\RequirePackage[luatexrenderer=none]{polyglossia} +\RequirePackage{xltxtra} +\RequirePackage[svgnames,dvipsnames]{xcolor} +\RequirePackage{booktabs,adjustbox} +%\RequirePackage{tcolobox} +%\tcbuselibrary{listings} +%\tcbset{listing engine=listings} +\ifprint + \colorlet{urlcolor}{black} + \colorlet{filecolor}{black} + \colorlet{linkcolor}{black} + \colorlet{citecolor}{black} + \colorlet{mla}{black} + \colorlet{mlb}{black} + \colorlet{itemcolor}{black} + \colorlet{scolor}{black} + \colorlet{cscolor1}{black} + \colorlet{cscolor2}{black} + \colorlet{cscolor3}{black} + \colorlet{cscolor4}{black} + \colorlet{stringcolor}{black} + \colorlet{idcolor}{black} + \colorlet{commentcolor}{black} + \colorlet{numcolor}{black} + \colorlet{rulecolor}{black} + \colorlet{lstcolor}{black} + \colorlet{lstbgcolor}{white} + \colorlet{strcolor}{black} + \colorlet{kwdcolor1}{black} + \colorlet{kwdcolor2}{black} + \colorlet{verbcolor}{black} + \colorlet{Mahogany}{black} + \colorlet{Blue}{black} + \colorlet{DarkBlue}{black} + \colorlet{black!20!cyan}{black} + \colorlet{blue!70}{black} + \colorlet{ForestGreen}{black} + \colorlet{BrickRed}{black} + \colorlet{DarkSlateGray}{black} + \colorlet{black!50}{black} + \colorlet{magenta}{black} + \colorlet{DarkViolet}{black} + \colorlet{DarkCyan}{black} + \colorlet{DarkGreen}{black} +\else + \colorlet{scolor}{black!60} + \colorlet{urlcolor}{blue!80} + \colorlet{filecolor}{black!70} + \colorlet{linkcolor}{blue!80} + \colorlet{citecolor}{ForestGreen} + \colorlet{mla}{DarkSlateGrey} + \colorlet{mlb}{LightSlateGrey} + \colorlet{itemcolor}{DarkSlateGrey} + \colorlet{cscolor1}{ForestGreen} + \colorlet{cscolor2}{Red!80} + \colorlet{cscolor3}{blue!80} + \colorlet{cscolor4}{black} + \colorlet{strcolor}{black} + \colorlet{idcolor}{brown} + \colorlet{commentcolor}{black!40} + \colorlet{numcolor}{black!80} + \colorlet{rulecolor}{black!30} + \colorlet{lstcolor}{DarkSlateGrey} + \colorlet{lstbgcolor}{white} + \colorlet{stringcolor}{orange} + \colorlet{kwdcolor1}{DarkGreen} + \colorlet{kwdcolor2}{violet} + \colorlet{verbcolor}{violet} +% +\fi +\RequirePackage[colorlinks=true]{hyperref} +\AtBeginDocument{\hypersetup{%xetex, + pdftitle={Metafont/MetaPost and a complex Indic script}, + pdfauthor={CV Radhakrishnan, KV Rajeesh and KH Hussain}, + pdfsubject={Font development using MetaPost}, + pdfkeywords={RIT; Font; Indic Scripts; Malayalam; MetaPost; FontForge}, + bookmarksopen=true, + urlcolor={urlcolor}, + citecolor={citecolor}, + linkcolor={linkcolor}, + filecolor={filecolor}, + pdfcreator={LaTeX, ltugboat, hyperref and fontspec}, + pdfproducer={XeTeX 0.99995 (TeX Live 2023)}}} +\ifprint + \setmonofont[Scale=.85]{LMMono10-Regular} + \tolerance=1000 + \emergencystretch=1em + \hbadness=3500 + \def\lstfont{\ttfamily\fontsize{8.6}{10.0}\selectfont} +\else + \defaultfontfeatures{Extension=.ttf,Path={./fonts/},} + \setmainfont[Script=Latin,Mapping=tex-text, + Ligatures=TeX,Numbers=OldStyle]{Linux-Libertine}[% + BoldFont={*-Bold}, + ItalicFont={*-Italic}, + BoldItalicFont={*-Bold-Italic}, + SmallCapsFont={*}, + UprightFont={*}] + \setmonofont[Ligatures=TeX,Scale=0.85]{MPLUSCodeLatin-Regular} + \newfontfamily\lstfont[Scale=.8]{MPLUSCodeLatin-Regular} + \tolerance=1000 + \emergencystretch=1em + \fi + + \newfontfamily\mlfont[Script=Malayalam,Mapping=tex-text,Color={mla}, + HyphenChar="0000,Numbers=OldStyle]{RIT-Rachana-Regular} + [Extension=.ttf,Path={./fonts/}] + \let\rachana=\mlfont + +\def\pbrk{\ifprint\linebreak\fi} +\def\wbrk{\ifweb\linebreak\fi} +\def\pkg#1{\texttt{#1}\xspace} +\def\verbatim@font{\normalfont\ttfamily\color{verbcolor}} + +% do not use horribly squashed Unicode ellipses. +\ifx\tubdots\undefined \else \let\dots\tubdots \let\ldots\tubdots \fi + +\RequirePackage[procnames]{listings} +\lstdefinestyle{inlinecode}{ + basicstyle=\ttfamily\normalsize, + identifierstyle=\ttfamily\normalsize, + stringstyle=\ttfamily\normalsize, + commentstyle=\ttfamily\normalsize, + numberstyle=\ttfamily\normalsize, + keywordstyle={[0]\ttfamily\normalsize}, + keywordstyle={[1]\ttfamily\normalsize}, + keywordstyle={[2]\ttfamily\normalsize}, + keywordstyle={[3]\ttfamily\normalsize}, + keywordstyle={[4]\ttfamily\normalsize}, + keywordstyle={[5]\ttfamily\normalsize}, +} +\newcommand\inlinecode{\lstinline[style=inlinecode]} + +\def\lstlistingnamestyle{\bfseries} % bold for "Listing 1". + + + \lstset{columns={flexible}, + language={[LaTeX]TeX}, + basicstyle=\lstfont\color{lstcolor}, + % + moretexcs=[1]{bkauthor,bktitle,bktype,cpyear,bkcpright,% + bktitlebgcolor,bktitlefont,bktitleattrib,bktitlecolor,% + bktitlesep,bkauthorfont,bkauthorattrib,bkauthorcolor}, + texcsstyle=[1]\lstfont\color{cscolor1}, + % + moretexcs=[2]{section,remark,proof,begin,end,% + email,title,keywords,xmlpi,eqef,neqef,cite}, + texcsstyle=[2]\lstfont\color{cscolor2}, + % + moretexcs=[3]{colorlet,graphcoor,printcover,printimgcover,printgraphics}, + texcsstyle=[3]\lstfont\color{cscolor3}, + % + identifierstyle=\lstfont\color{idcolor}, + stringstyle=\lstfont\color{strcolor}, + commentstyle=\lstfont\color{commentcolor}, + % + keywordstyle=[1]\lstfont\color{kwdcolor1}, + morekeywords=[1]{document,frontmatter,abstract,keywords,keyword,% + equation,eqnarray,array,defn,thebibliography,} + keywordstyle=[2]{\lstfont\color{kwdcolor2}}, + morekeywords=[2]{}, + % + showstringspaces=false, + backgroundcolor=\color{lstbgcolor}, + frame=single, + framerule=0pt, + framesep=0pt, + belowcaptionskip=12pt, + rulecolor=\color{rulecolor}, + frame=leftline, + stepnumber=1, + numbersep=6pt, + % framesep=8pt, + % numbers=left, + numberstyle=\tiny\selectfont\color{numcolor}, + % frameround=tttt, + % procnamekeys=[1]{}, + % procnamestyle=[1]{\color{Maroon}\small}, + % % + % procnamekeys=[2]{}, + % procnamestyle={\color{blue}\bfseries\small}, + xleftmargin=0pt, + xrightmargin=0in, + } + +\ExplSyntaxOn +\RenewDocumentCommand \descriptionlabel { m } + { + \skip_horizontal:N \labelsep + \normalfont\normalsize\ttfamily\selectfont + \color{itemcolor} #1: + } +\def\tubsechook{\normalsize\color{scolor}} +\ExplSyntaxOff + +% Dependent vowel signs of Malayalam +\def\vlA{\kern1pt\char "0D3E} +\def\vli{\char "0D3F} +\def\vlI{\char "0D40} +\def\vlu{\kern.1pt\char "0D41} +\def\vlU{\char "0D42} +\def\vlr{\char "0D43} +\def\vlR{\char "0D44} +\def\vle{\char "0D46} +\def\vlE{\char "0D47} +\def\vlau{\char "0D57} +\def\mlxx{\char "0D4D} +\def\mlya{\char "0D2F} +\def\mlra{\char "0D30} +\def\mlla{\char "0D32} +\def\mlva{\char "0D35} +\def\zwnj{\char "200C} +\def\zwj{\char "200D} +\def\nbsp{\char "00A0} +\def\dottc{\char "25CC} + +\def\theorgname{Rachana Institute of Typography} +\def\theshortorg{\href{https://rachana.org.in}{rachana.org.in}} +\def\theshortpkg{\url{rachana.org.in}} +\def\orgname#1{\gdef\theorgname{#1}} +\def\shortorg#1{\gdef\theshortorg{#1}} +\def\shortpkg#1{\gdef\theshortpkg{#1}} + +\ifdoc + \let\rtitlenexttopage\theorgname + \let\rtitlex\theshortorg + \let\midrititle\theshortpkg +\fi + +\endinput + +% +% End of file rit-doc.sty' +% diff --git a/Master/texmf-dist/doc/fonts/rit-fonts/rit-fonts-doc.pdf b/Master/texmf-dist/doc/fonts/rit-fonts/rit-fonts-doc.pdf Binary files differnew file mode 100644 index 00000000000..3f9552af8f3 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/rit-fonts/rit-fonts-doc.pdf diff --git a/Master/texmf-dist/doc/fonts/rit-fonts/rit-fonts-doc.tex b/Master/texmf-dist/doc/fonts/rit-fonts/rit-fonts-doc.tex new file mode 100644 index 00000000000..19c6792b262 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/rit-fonts/rit-fonts-doc.tex @@ -0,0 +1,284 @@ +\documentclass[onecolumn,final]{ltugboat} + +%% Notes to the editor +%% ------------------- +%% 1. LuaTeX is required to compile this article. +%% 2. Following fonts are required: +%% 2.1. RIT Rachana (https:/rachana.org.in) +%% 3. The fonts directory has required fonts. +%% + +% \usepackage[p]{rit-doc} + \usepackage[w,doc]{rit-doc} +\usepackage{ragged2e,makecell,shortvrb,array,multirow} +\MakeShortVerb{\|} +\usepackage{microtype} +\usepackage{unicodefonttable} + +\makeatletter +\newenvironment{exbox}[1][-\listparindent] + {\par\smallskip\hspace*{#1}} + {\par\smallskip} +\newdimen\xmpwd +\newdimen\lshift +\if@twocolumn + \setlength\xmpwd{\dimexpr(\linewidth+1.75\leftmargin)} + \setlength\lshift{-2.5\leftmargin} +\else + \setlength\xmpwd{.6\linewidth} + \setlength\lshift{-\listparindent} +\fi +\setcounter{bottomnumber}{2} +\setcounter{topnumber}{4} +\def\sectionautorefname{Section} +\def\subsectionautorefname{Section} +\def\subsubsectionautorefname{Section} +\def\tsm{\small} +\def\pdf{\PDF\xspace} +\def\cmap{{\tsm CM}ap\xspace} +\def\rit{{\tsm RIT}\xspace} +\def\otf{{\tsm OTF}\xspace} +\def\ttf{{\tsm TTF}\xspace} +\def\woff{{\tsm WOFF2}\xspace} +\def\ofl{{\tsm OFL}\xspace} +\def\ctan{\CTAN\xspace} + +\makeatother + +\begin{document} + +\setcounter{page}{1} + +\title{Fonts in Malayalam script by Rachana Institute of Typography} + +\author{C.\,V.~Radhakrishnan} +\netaddress{cvr(at)river-valley(dot)org} +\ORCID{0000-0001-7511-2910} +\address{River Valley Technologies, River Valley Campus, Malayinkeezh, + Trivandrum 695571, India} +\personalURL{http://river-valley.com} + +\author{K.\,V.~Rajeesh} +\address{Rachana Institute of Typography} +\netaddress{rajeesh(at)rachana(dot)org(dot)in} +\personalURL{https://rachana.org.in/} + +\author{K.\,H.~Hussain} +\address{Rachana Institute of Typography} +\netaddress{hussain(at)rachana(dot)org(dot)in} +\personalURL{https://rachana.org.in/} + +\maketitle + +\begin{abstract} + This article describes about all the fonts published by Rachana + Institute of Typography (\rit), a not-for-profit organization, engaged + in developing, publishing and promoting OpenType fonts under + the terms of Open Fonts License. It further tells about the + \LaTeX{} package, |rit-fonts.sty| that accompanies the bundle of + \rit fonts released at \CTAN. +\end{abstract} + +\section{The background} + +The \rit is a not-for-profitprofit digital foundry in Kerala, India, +that had released ten families of Indic script fonts in different +formats---\otf, \ttf, \woff under the terms of Open Font License +(\ofl) \cite{ofl}. The following are the technical objectives behind +the setting up of \rit: +\begin{enumerate} +\item to resurrect the original script of Malayalam that was diluted + by dropping hundreds of conjuncts and ligatures when reformed script + for the language was introduced by the government of Kerala to fit + the keyboad of typewriters. +\item to develop fonts that completely adhere to the definitive + character set prevalent through ages. +\item to completely revamp the OpenType layout {\tsm (GSUB)} of \rit + fonts to uphold the right spirit of comprehensive character set and + to replace all previous modifications. +\item to redesign all the glyphs in the flagship font, \rit Rachana. +\item to freshly redesign \rit Rachana Italic, Bold and BoldItalic and + to generate respective font variants. +\item to encourage the usage of code-driven font development models by + employing character description languages like \MF\ and \MP. +\end{enumerate} + +\section{The \rit fonts} + +The \rit has published the following fonts till date by striving to +meet the aforesaid objectives : +\begin{description} +\item[Serif] \mbox{} + \begin{enumerate} + \item \rit Rachana (regular, bold, italic, bold-italic) + \begin{exbox}[\lshift] + \includegraphics[width=\xmpwd,page=1]{font-example.pdf} + \end{exbox} + \item \rit Panamana (regular) + \begin{exbox}[\lshift] + \includegraphics[width=\xmpwd,page=2]{font-example.pdf} + \end{exbox} + \end{enumerate} +\item[Sans-serif] \mbox{}\par + \begin{enumerate} + \item \rit MeeraNew (regular) + \begin{exbox}[\lshift] + \includegraphics[width=\xmpwd,page=3]{font-example.pdf} + \end{exbox} + \item \rit TN Joy (regular, bold, extra-bold) + \begin{exbox}[\lshift] + \includegraphics[width=\xmpwd,page=4]{font-example.pdf} + \end{exbox} + \end{enumerate} +\item[Display] \mbox{}\par + \begin{enumerate} + \item \rit Keraleeyam (regular, italic) + \item \rit Sundar (regular) + \item \rit Uroob (regular) + \item \rit Karuna (regular) + \item \rit Chingam (regular) + \end{enumerate} +\item[Handwriting] \mbox{}\par + \begin{enumerate} + \item \rit Ezhuthu (regular) + \item \rit Kutty (regular) + \end{enumerate} +\end{description} +The font samples of display and handwriting fonts and the variants of +serif and sans-serif fonts are available separately, see +\cite{font-samples}. + +\section{The package, \texttt{rit-fonts.sty}} \label{sec:rit-fonts} + +The package, |rit-fonts.sty| has been developed to assist seamless +usage of the fonts in \LaTeX{} documents. The package needs +|fontspec.sty| (to load the fonts and to access OpenType font +features) and |polyglossia| (for language switching and hyphernation) +\cite{fontspec,polyglossia}, both these packages are available in any +standard \TeX\ distribution. The fonts become accessible to the +typesetting engine employed when you load the package with the +following command: + +\begin{lstlisting}[xleftmargin=1.5\leftmargin] + \usepackage[...options...]{rit-fonts} +\end{lstlisting} + +\subsection{The options} + +The package has the following options: +\begin{description}[itemsep=6pt] +\item[path] specify the location of fonts, if the user prefers to keep + the fonts in a custom path, the default being |empty|. +\begin{lstlisting}[xleftmargin=\leftmargin] + \usepackage[path=./ml-fonts/,<options>]{rit-fonts} +\end{lstlisting} + The usage of |path| option will look like above, if you keep the + \rit fonts in a subdirectory by name, |./ml-fonts/|, in your working + directory. + +\item[extn] specify the extension of fonts, if the user prefers to use + a specific font format like |.otf| or |.ttf|, default being |.ttf|. +\begin{lstlisting}[xleftmargin=\leftmargin] + \usepackage[extn=.otf,<options>]{rit-fonts} +\end{lstlisting} + +\item[RM] set the |\rmdefault| by providing the font name. +\begin{lstlisting}[xleftmargin=\leftmargin] + \usepackage[RM=RIT-Rachana,<options>]{rit-fonts} +\end{lstlisting} + \rit-Rachana will be set as the default |\rmfamily| font. + +\item[SF] set the |\sfdefault| by providing the font name. +\begin{lstlisting}[xleftmargin=\leftmargin] + \usepackage[SF=RIT-MeeraNew,<options>]{rit-fonts} +\end{lstlisting} + \rit MeeraNew will be set as the default |\sffamily| font. + +\item[ScaleRM] scale the |\rmdefault| font by providing the value. +\begin{lstlisting}[xleftmargin=\leftmargin] + \usepackage[ScaleRM=1.5,<options>]{rit-fonts} +\end{lstlisting} + The default value is |1|. Assuming that we have chosen |RIT Rachana| as + the |\rmdefault|, then by applying |Scale=1.5|, we get, + \begin{exbox} + \includegraphics[width=\xmpwd,page=5]{font-example.pdf} + \end{exbox} + +\item[ScaleSF] scale the |\sfdefault| font by providing the value. +\begin{lstlisting}[xleftmargin=\leftmargin] + \usepackage[ScaleSF=.8,<options>]{rit-fonts} +\end{lstlisting} + The default value is |1|. + +\item[ScaleDS, ScaleHW] as in the previous cases, scale factor can be provided + for display and handwriting fonts respectively. The value of + |ScaleDS| applies to the fonts categorized as |Display| fonts while + that of |ScaleHW| applies to |RIT Ezhuthu| and |RIT Kutty| fonts. + +\item[osf, oldstyle] uses |oldstyle| numbers, if the font has oldstyle + numbers available. In this bundle of fonts, only \rit Rachana has + oldstyle numbers. + \medskip + + \begin{exbox} + \includegraphics[width=\xmpwd,page=6]{font-example.pdf} + \end{exbox} + +\item[lf, lining] this is the default style of numbers in all the + fonts. + +\item[df] add more font features available in |fontspec| package that + you want to add to the |\defaultfontfeatures|. +\end{description} + +Further, individual fonts can be tailored to suit the user requirement +by making use of |\defaultfontfeatures+| command which will append the +features to the defaults. The usage shall be: +\begin{lstlisting}[xleftmargin=\leftmargin] +\defaultfontfeatures+{<font name>}{<font features>} +\end{lstlisting} + +Various {\tsm NFSS} commands like |\fontsize{..}{...}\selectfont|, +|\bfseries|, |\itshape|, |\upshape|, |\scshape|, etc., will work +seamlessly. For more information on various font features provided by +|fontspec|, kindly go through the package documentation at +\cite{fontspec}. + +\section{Sources, downloads and license} + +\begin{enumerate} +\item The sources of all the fonts, font making scripts, shaping + features, kern tables, etc., are available at + \url{https://gitlab.com/rit-fonts/}. +\item All the fonts can be downloaded by visiting the \rit website: + \url{https://rachana.org.in/downloads.html}. +\item All the fonts are shared under the terms of Open Font License + (\url{https://scripts.sil.org/ofl}). +\end{enumerate} + +\section{The glyph list} + +The entire glyph list of \rit Rachana is provided below by making use +of the package |unicodefonttable| \cite{unicodefonttable}. Only the +glyph list of regular variant alone is provided as an example, while +others can be downloaded from the \rit website \cite{rit-home}. + +\ifprint + \displayfonttable[range-end=F033F]{RIT-Rachana-Regular} +\else + \displayfonttable[range-end=F033F]{RIT-Rachana-Regular} +\fi + + +\RaggedRight\small +\bibliographystyle{tugboat} +\bibliography{ml} + +\makesignature + +\end{document} + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: t +%%% End: diff --git a/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Ezhuthu-Regular.woff2 b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Ezhuthu-Regular.woff2 Binary files differnew file mode 100644 index 00000000000..10a9cdd63a6 --- /dev/null +++ b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Ezhuthu-Regular.woff2 diff --git a/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Karuna-Bold.woff2 b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Karuna-Bold.woff2 Binary files differnew file mode 100644 index 00000000000..58239540d71 --- /dev/null +++ b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Karuna-Bold.woff2 diff --git a/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Keraleeyam-Italic.woff2 b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Keraleeyam-Italic.woff2 Binary files differnew file mode 100644 index 00000000000..c383e656567 --- /dev/null +++ b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Keraleeyam-Italic.woff2 diff --git a/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Keraleeyam-Regular.woff2 b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Keraleeyam-Regular.woff2 Binary files differnew file mode 100644 index 00000000000..b7d8db43223 --- /dev/null +++ b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Keraleeyam-Regular.woff2 diff --git a/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Kutty-Bold.woff2 b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Kutty-Bold.woff2 Binary files differnew file mode 100644 index 00000000000..2cc7125d912 --- /dev/null +++ b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Kutty-Bold.woff2 diff --git a/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-MeeraNew.woff2 b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-MeeraNew.woff2 Binary files differnew file mode 100644 index 00000000000..1e6b7256956 --- /dev/null +++ b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-MeeraNew.woff2 diff --git a/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Panmana-Regular.woff2 b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Panmana-Regular.woff2 Binary files differnew file mode 100644 index 00000000000..4aa8f9c628f --- /dev/null +++ b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Panmana-Regular.woff2 diff --git a/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Rachana-Bold.woff2 b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Rachana-Bold.woff2 Binary files differnew file mode 100644 index 00000000000..2cba615b028 --- /dev/null +++ b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Rachana-Bold.woff2 diff --git a/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Rachana-BoldItalic.woff2 b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Rachana-BoldItalic.woff2 Binary files differnew file mode 100644 index 00000000000..fc4dcd7ff33 --- /dev/null +++ b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Rachana-BoldItalic.woff2 diff --git a/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Rachana-Italic.woff2 b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Rachana-Italic.woff2 Binary files differnew file mode 100644 index 00000000000..33afd6e7b20 --- /dev/null +++ b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Rachana-Italic.woff2 diff --git a/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Rachana-Regular.woff2 b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Rachana-Regular.woff2 Binary files differnew file mode 100644 index 00000000000..6f4b3307f66 --- /dev/null +++ b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Rachana-Regular.woff2 diff --git a/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Sundar.woff2 b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Sundar.woff2 Binary files differnew file mode 100644 index 00000000000..242216d61f1 --- /dev/null +++ b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Sundar.woff2 diff --git a/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Uroob.woff2 b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Uroob.woff2 Binary files differnew file mode 100644 index 00000000000..b9b3d8a6ae9 --- /dev/null +++ b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Uroob.woff2 diff --git a/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-tnjoy-bold.woff2 b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-tnjoy-bold.woff2 Binary files differnew file mode 100644 index 00000000000..ad7e99cc2a0 --- /dev/null +++ b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-tnjoy-bold.woff2 diff --git a/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-tnjoy-extrabold.woff2 b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-tnjoy-extrabold.woff2 Binary files differnew file mode 100644 index 00000000000..5d538b202e6 --- /dev/null +++ b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-tnjoy-extrabold.woff2 diff --git a/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-tnjoy-regular.woff2 b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-tnjoy-regular.woff2 Binary files differnew file mode 100644 index 00000000000..765a5cdc0a4 --- /dev/null +++ b/Master/texmf-dist/fonts/opentype/public/rit-fonts/RIT-tnjoy-regular.woff2 diff --git a/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Ezhuthu-Regular.ttf b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Ezhuthu-Regular.ttf Binary files differnew file mode 100644 index 00000000000..337e33a5251 --- /dev/null +++ b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Ezhuthu-Regular.ttf diff --git a/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Karuna-Bold.ttf b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Karuna-Bold.ttf Binary files differnew file mode 100644 index 00000000000..e902c94ccae --- /dev/null +++ b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Karuna-Bold.ttf diff --git a/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Keraleeyam-Italic.ttf b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Keraleeyam-Italic.ttf Binary files differnew file mode 100644 index 00000000000..13e3a9d9123 --- /dev/null +++ b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Keraleeyam-Italic.ttf diff --git a/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Keraleeyam-Regular.ttf b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Keraleeyam-Regular.ttf Binary files differnew file mode 100644 index 00000000000..43089489304 --- /dev/null +++ b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Keraleeyam-Regular.ttf diff --git a/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Kutty-Bold.ttf b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Kutty-Bold.ttf Binary files differnew file mode 100644 index 00000000000..89f9c2048cf --- /dev/null +++ b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Kutty-Bold.ttf diff --git a/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-MeeraNew.ttf b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-MeeraNew.ttf Binary files differnew file mode 100644 index 00000000000..2f8b3f0aa8d --- /dev/null +++ b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-MeeraNew.ttf diff --git a/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Panmana-Regular.ttf b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Panmana-Regular.ttf Binary files differnew file mode 100644 index 00000000000..f511e68249d --- /dev/null +++ b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Panmana-Regular.ttf diff --git a/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Rachana-Bold.ttf b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Rachana-Bold.ttf Binary files differnew file mode 100644 index 00000000000..aaaaf8e764d --- /dev/null +++ b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Rachana-Bold.ttf diff --git a/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Rachana-BoldItalic.ttf b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Rachana-BoldItalic.ttf Binary files differnew file mode 100644 index 00000000000..63cb10b1486 --- /dev/null +++ b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Rachana-BoldItalic.ttf diff --git a/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Rachana-Italic.ttf b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Rachana-Italic.ttf Binary files differnew file mode 100644 index 00000000000..c0046e409ff --- /dev/null +++ b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Rachana-Italic.ttf diff --git a/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Rachana-Regular.ttf b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Rachana-Regular.ttf Binary files differnew file mode 100644 index 00000000000..af09a6ba8a7 --- /dev/null +++ b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Rachana-Regular.ttf diff --git a/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Sundar.ttf b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Sundar.ttf Binary files differnew file mode 100644 index 00000000000..ea5c0b37404 --- /dev/null +++ b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Sundar.ttf diff --git a/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Uroob.ttf b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Uroob.ttf Binary files differnew file mode 100644 index 00000000000..52e20e89916 --- /dev/null +++ b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-Uroob.ttf diff --git a/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-tnjoy-bold.ttf b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-tnjoy-bold.ttf Binary files differnew file mode 100644 index 00000000000..90e0ca59201 --- /dev/null +++ b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-tnjoy-bold.ttf diff --git a/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-tnjoy-extrabold.ttf b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-tnjoy-extrabold.ttf Binary files differnew file mode 100644 index 00000000000..2046c6b8151 --- /dev/null +++ b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-tnjoy-extrabold.ttf diff --git a/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-tnjoy-regular.ttf b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-tnjoy-regular.ttf Binary files differnew file mode 100644 index 00000000000..8c08cfd7f74 --- /dev/null +++ b/Master/texmf-dist/fonts/truetype/public/rit-fonts/RIT-tnjoy-regular.ttf diff --git a/Master/texmf-dist/tex/latex/rit-fonts/rit-fonts.sty b/Master/texmf-dist/tex/latex/rit-fonts/rit-fonts.sty new file mode 100644 index 00000000000..244e3a7e569 --- /dev/null +++ b/Master/texmf-dist/tex/latex/rit-fonts/rit-fonts.sty @@ -0,0 +1,275 @@ +% +% rit-fonts.sty +% +% Copyright (c) 2023, CV Radhakrishnan and +% Rachana Institute of Typography +% JWRA 34, Jagathy, Trivandrum 695014 +% Kerala, India +% http://www.rachana.org.in +% email: <cvr@river-valley.org> +% +% Tel: +91 9495 99 2575 +% +% This work may be distributed and/or modified under the conditions of +% the LaTeX Project Public License, either version 1.3 of this license +% or (at your option) any later version. The latest version of this +% license is in http://www.latex-project.org/lppl.txt and version 1.3 +% or later is part of all distributions of LaTeX version 2005/12/01 or +% later. +% +% This work has the LPPL maintenance status “maintained”. +% +% The Current Maintainer of this work is CV Radhakrishnan. +% +% This work consists of all files listed in manifest.txt. +% +% +\NeedsTeXFormat{LaTeX2e} +\def\Fileversion$#1: #2 ${\gdef\fileversion{#2}} +\def\Filedate$#1: #2 #3 ${\gdef\filedate{#2}} +\Fileversion$Revision: 0.9 $ +\Filedate$Date: 2023/06/12 04:24:22 $ +\ProvidesPackage{rit-fonts} + [\filedate\space\fileversion\space RIT font support for PDF (CVR)] +\PackageWarningNoLine{rit-fonts} + {****************************************\MessageBreak + Package rit-fonts v,\fileversion\space loaded\MessageBreak + [Font support for RIT fonts (CVR)]\MessageBreak + ****************************************} +% +\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} +\newif\ifrit@lining \rit@liningtrue +\let\thefontpath\@empty +\DeclareOptionX{path}{\gdef\thefontpath{#1}} +\DeclareOptionX{extn}{\renewcommand*{\rit@extn}{#1}} +\DeclareOptionX{lining}[true]{\@nameuse{rit@lining#1}} +\DeclareOptionX{lf}[true]{\@nameuse{rit@lining#1}} +\DeclareOptionX{oldstyle}[true]{\@nameuse{if#1}% + \rit@liningfalse\else\rit@liningtrue\fi} +\DeclareOptionX{osf}[true]{\@nameuse{if#1}% + \rit@liningfalse\else\rit@liningtrue\fi} + +\newcommand*\ritRM@scale{1} +\newcommand*\ritDS@scale{1} +\newcommand*\ritSF@scale{1} +\newcommand*\ritHW@scale{1} +\newcommand*\rit@extn{.ttf} + +\DeclareOptionX{ScaleRM}{\renewcommand*{\ritRM@scale}{#1}} +\DeclareOptionX{ScaleSF}{\renewcommand*{\ritSF@scale}{#1}} +\DeclareOptionX{ScaleDS}{\renewcommand*{\ritDS@scale}{#1}} +\DeclareOptionX{ScaleHW}{\renewcommand*{\ritHW@scale}{#1}} + +\DeclareOptionX{RM}{\renewcommand*{\rmdefault}{#1}} +\DeclareOptionX{SF}{\renewcommand*{\sfdefault}{#1}} + +\def\rit@defaultfeatures{Ligatures=TeX} +\DeclareOptionX{df}{% + \edef\rit@defaultfeatures{\rit@defaultfeatures,#1}} +\DeclareOptionX*{\PassOptionsToPackage{\CurrentOption}{fontspec}} + +\ProcessOptionsX \relax +\@ifpackageloaded{polyglossia} + {\PassOptionsToPackage{luatexrenderer=Harfbuzz}{polyglossia} + \setotherlanguage{malayalam}} + {\RequirePackage[luatexrenderer=Harfbuzz]{polyglossia} + \setdefaultlanguage{malayalam}\setotherlanguage{english}} + +\def\FontPath{\ifx\thefontpath\@empty\else Path=\thefontpath\fi} +\def\fontpath#1{\gdef\thefontpath{#1}} + +\ifrit@lining + \def\rit@figurestyle{+lnum} +\else + \def\rit@figurestyle{+onum} +\fi + +\ifxetex + \defaultfontfeatures{Ligatures=TeX} + \iflanguageloaded{malayalam} + {\defaultfontfeatures+{HyphenChar="0000}}{} + \else + \defaultfontfeatures{Ligatures=TeX,Renderer=Harfbuzz} + \AtBeginDocument{\prehyphenchar="0000} +\fi + +\newfontfamily\Rachana[Script=Malayalam]{RIT-Rachana} +[ + RawFeature = {+onum;-lnum}, + \rit@defaultfeatures, + Scale = {\ritRM@scale}, + Extension = \rit@extn, + \FontPath, + UprightFont = *-Regular, + ItalicFont = *-Italic, + BoldFont = *-Bold, + BoldItalicFont = *-BoldItalic, +] + +\newfontfamily\Ezhuthu[Script=Malayalam]{RIT-Ezhuthu} +[ + RawFeature = {-onum;+lnum}, + \rit@defaultfeatures, + Scale = {\ritHW@scale}, + Extension = \rit@extn, + \FontPath, + UprightFont = *-Regular, + ItalicFont = *-Regular, + ItalicFeatures = {FakeSlant=0.2}, + BoldFont = *-Regular, + BoldFeatures = {FakeBold=1.25}, + BoldItalicFont = *-Regular, + BoldItalicFeatures = {FakeBold=1.25,FakeSlant=0.2}, +] + +\newfontfamily\Panmana[Script=Malayalam]{RIT-Panmana} +[ + RawFeature = {-onum;+lnum}, + \rit@defaultfeatures, + Scale = {\ritRM@scale}, + Extension = \rit@extn, + \FontPath, + UprightFont = *-Regular, + ItalicFont = *-Regular, + ItalicFeatures = {FakeSlant=0.2}, + BoldFont = *-Regular, + BoldFeatures = {FakeBold=1.25}, + BoldItalicFont = *-Regular, + BoldItalicFeatures = {FakeBold=1.25,FakeSlant=0.2}, +] + +\newfontfamily\Meera[Script=Malayalam]{RIT-MeeraNew} +[ + RawFeature = {-onum;+lnum}, + \rit@defaultfeatures, + Scale = {\ritSF@scale}, + Extension = \rit@extn, + \FontPath, + UprightFont = *, + ItalicFont = *, + ItalicFeatures = {FakeSlant=0.2}, + BoldFont = *, + BoldFeatures = {FakeBold=1.25}, + BoldItalicFont = *, + BoldItalicFeatures = {FakeBold=1.25,FakeSlant=0.2}, +] + +\newfontfamily\Keraleeyam[Script=Malayalam]{RIT-Keraleeyam} +[ + RawFeature = {-onum;+lnum}, + \rit@defaultfeatures, + Scale = {\ritDS@scale}, + Extension = \rit@extn, + \FontPath, + UprightFont = *-Regular, + ItalicFont = *-Italic, + BoldFont = *-Regular, + BoldFeatures = {FakeBold=1.25}, + BoldItalicFont = *-Italic, + BoldItalicFeatures = {FakeBold=1.25}, +] + +\newfontfamily\Sundar[Script=Malayalam]{RIT-Sundar} +[ + RawFeature = {-onum;+lnum}, + \rit@defaultfeatures, + Scale = {\ritDS@scale}, + Extension = \rit@extn, + \FontPath, + UprightFont = *, + ItalicFont = *, + ItalicFeatures = {FakeSlant=0.2}, + BoldFont = *, + BoldItalicFont = *, + BoldItalicFeatures = {FakeSlant=0.2}, +] + +\newfontfamily\Uroob[Script=Malayalam]{RIT-Uroob} +[ + RawFeature = {-onum;+lnum}, + \rit@defaultfeatures, + Scale = {\ritDS@scale}, + Extension = \rit@extn, + \FontPath, + UprightFont = *, + ItalicFont = *, + ItalicFeatures = {FakeSlant=0.2}, + BoldFont = *, + BoldFeatures = {FakeBold=1.25}, + BoldItalicFont = *, + BoldItalicFeatures = {FakeBold=1.25,FakeSlant=0.2}, +] + +\newfontfamily\Joy[Script=Malayalam]{RIT-tnjoy} +[ + RawFeature = {-onum;+lnum}, + \rit@defaultfeatures, + Scale = {\ritSF@scale}, + Extension = \rit@extn, + \FontPath, + UprightFont = *-regular, + ItalicFont = *-regular, + ItalicFeatures = {FakeSlant=0.2}, + BoldFont = *-bold, + BoldItalicFont = *-extrabold, +] + +\newfontfamily\Karuna[Script=Malayalam]{RIT-Karuna-Bold} +[ + RawFeature = {-onum;+lnum}, + \rit@defaultfeatures, + Scale = {\ritDS@scale}, + Extension = \rit@extn, + \FontPath, + UprightFont = *, + ItalicFont = *, + ItalicFeatures = {FakeSlant=0.2}, + BoldFont = *, + BoldFeatures = {FakeBold=1.35}, + BoldItalicFont = *, + BoldItalicFeatures = {FakeBold=1.35,FakeSlant=0.2}, +] + +\newfontfamily\Kutty[Script=Malayalam]{RIT-Kutty-Bold} +[ + RawFeature = {-onum;+lnum}, + \rit@defaultfeatures, + Scale = {\ritHW@scale}, + Extension = \rit@extn, + \FontPath, + UprightFont = *, + ItalicFont = *, + ItalicFeatures = {FakeSlant=0.2}, + BoldFont = *, + BoldFeatures = {FakeBold=1.35}, + BoldItalicFont = *, + BoldItalicFeatures = {FakeBold=1.35,FakeSlant=0.2}, +] + + +%% +%% not released yet, will be done anytime from now +%% +% \newfontfamily\Chingam[Script=Malayalam]{Chingam} +% [ +% RawFeature = {-onum;+lnum}, +% \rit@defaultfeatures, +% Scale = {\ritDS@scale}, +% Extension = \rit@extn, +% \FontPath, +% UprightFont = *, +% ItalicFont = *, +% ItalicFeatures = {FakeSlant=0.2}, +% BoldFont = *, +% BoldFeatures = {FakeBold=1.35}, +% BoldItalicFont = *, +% BoldItalicFeatures = {FakeBold=1.35,FakeSlant=0.2}, +% ] + +\let\malayalamfont=\Rachana + +\AtBeginDocument{% + \ifluatex\prehyphenchar="0000\else\defaulthyphenchar="0000\fi +} +\endinput + diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index 2d9bc3811d6..a876a581e1e 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -715,7 +715,7 @@ my @TLP_working = qw( reledmac relenc relsize reotex repeatindex repere repltext rerunfilecheck rescansync resmes resolsysteme resphilosophica rest-api resumecls resumemac returntogrid reverxii revquantum revtex revtex4-1 - rgltxdoc ribbonproofs rjlparshap rlepsf rmathbr rmpage + rgltxdoc ribbonproofs rit-fonts rjlparshap rlepsf rmathbr rmpage robotarm roboto robustcommand robustindex rojud romanbar romanbarpagenumber romande romanneg romannum rorlink rosario rotfloat rotpages rouequestions roundbox roundrect diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index b9b64188b01..56f6b70925d 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -1264,6 +1264,7 @@ chomp (my $ctan_root = `tlpkginfo --ctan-root`); 'resume', "die 'skipping, nosell license'", 'revnum', "die 'skipping, obsolete'", 'richtext', "die 'skipping, per author (dps) request'", + 'rit-fonts', "&MAKEflatten", 'rmannot', "die 'skipping, per author (dps) request'", 'rmligs', "die 'skipping, no requests'", 'rojud', "&MAKEflatten", @@ -2389,6 +2390,7 @@ $standardtex 'returntogrid','\.lua|' . $standardtex, 'reverxii', '\.tex', 'revtex', '\.sty|\.cls|\.rtx', + 'rit-fonts', 'rit-fonts\.sty', # not rit-doc.sty 'rlepsf', 'rlepsf.tex', 'rsfs', 'scrload\.tex|' . $standardtex, 'ruhyphen', '\.tex', diff --git a/Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc index 3031fefdc36..4bb398c00f8 100644 --- a/Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc @@ -291,6 +291,7 @@ depend qualitype depend quattrocento depend raleway depend recycle +depend rit-fonts depend roboto depend romande depend rosario diff --git a/Master/tlpkg/tlpsrc/rit-fonts.tlpsrc b/Master/tlpkg/tlpsrc/rit-fonts.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/Master/tlpkg/tlpsrc/rit-fonts.tlpsrc |