summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/droid/droid.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/fonts/droid/droid.tex')
-rw-r--r--Master/texmf-dist/doc/fonts/droid/droid.tex121
1 files changed, 74 insertions, 47 deletions
diff --git a/Master/texmf-dist/doc/fonts/droid/droid.tex b/Master/texmf-dist/doc/fonts/droid/droid.tex
index 6bdfe019021..b1f7f42185d 100644
--- a/Master/texmf-dist/doc/fonts/droid/droid.tex
+++ b/Master/texmf-dist/doc/fonts/droid/droid.tex
@@ -18,11 +18,10 @@
\usepackage[american]{babel}
\usepackage{booktabs}
\usepackage{droid}
-\usepackage[utf8x]{inputenc}
\usepackage{microtype}
\usepackage{multirow}
\usepackage{path}
-\usepackage{relsize}
+\usepackage{varioref}
\usepackage[colorlinks]{hyperref}
\hypersetup{%
@@ -39,7 +38,7 @@
\newcommand{\parameter}[1]{\textnormal{\textit{#1}}}
\newcommand{\program}{}
-\title{\LaTeX{} support for Droid\\\relsize{-1}Version~1.3}
+\title{\LaTeX{} support for Droid\\Version~2.0}
\author{Mohamed \name{El~Morabity}\\\email{melmorabity@fedoraproject.org}}
@@ -56,9 +55,31 @@ The Droid typeface family was designed in the fall of 2006 by Ascender's Steve
its Android platform. The goal was to provide optimal quality and comfort on a
mobile handset when rendered in application menus, web browsers and for other
screen text. The Droid family of fonts consists of {\fdrfamily Droid Serif},
-{\fdsfamily Droid Sans} and {\fdmfamily Droid Sans Mono}, licensed under the
-Apache License version~2.0, and available in the Android \program{Git}
-tree~\cite{droid} as TrueType files.
+{\fdsfamily Droid Sans} and {\fdmfamily Droid Sans Mono} (see
+figure~\vref{styles}), licensed under the Apache License version~2.0, and
+available in the Android \program{Git} tree~\cite{droid} as TrueType files.
+
+\begin{figure}
+ \centering
+ {%
+ \fdrfamily%
+ Droid Serif Regular\\
+ {\itshape Droid Serif Italic}\\
+ {\bfseries Droid Serif Bold}\\
+ {\bfseries\itshape Droid Serif Bold Italic}\\
+ }
+ {%
+ \fdsfamily%
+ Droid Sans Regular\\
+ {\bfseries Droid Sans Bold}\\
+ }
+ {%
+ \fdmfamily%
+ Droid Sans Mono Regular
+ }
+ \caption{Available styles for Droid}
+ \label{styles}
+\end{figure}
This package provides support for this font family in \LaTeX{}. It includes the
original TrueType fonts, as well as Type~1 versions, converted for this package
@@ -91,9 +112,10 @@ work.
\subsection{Calling Droid}
-Several macro packages are provided to use these font
-families with \LaTeX:
-\begin{center}
+Several macro packages, described in table~\vref{packages}, are provided to use these font
+families with \LaTeX.
+\begin{table}
+ \centering
\begin{tabular}{llll}
\toprule
font name&family&package&switch command\\
@@ -103,7 +125,9 @@ families with \LaTeX:
Droid Sans Mono&fdm&\package{droidmono}&\code{\char`\\fdmfamily}\\
\bottomrule
\end{tabular}
-\end{center}
+ \caption{\LaTeX{} style files provided by the droid package}
+ \label{packages}
+\end{table}
For each family package, the provided commands \code{\char`\\fdrfamily},
\code{\char`\\fdsfamily} and \code{\char`\\fdmfamily} will switch the current
font to Droid Serif, Droid Sans and Droid Sans Mono respectively. You need not
@@ -159,17 +183,11 @@ the font according to \parameter{ratio} (1.0 by default), for example:
\subsection{Encodings}
The following encodings are supported:
-\begin{center}
- \begin{tabular}{ll}
- \toprule
- Latin&OT1, T1, TS1 (partial)\\
- \midrule
- Cyrillic&T2A, T2B, T2C, X2\\
- \midrule
- Greek&LGR\\
- \bottomrule
- \end{tabular}
-\end{center}
+\begin{description}
+\item[Latin] OT1, T1, TS1 (partial)
+\item[Cyrillic] T2A, T2B, T2C, X2
+\item[Greek] LGR (monotonic only)
+\end{description}
To use one or another encoding, give the \LaTeX{} name to the \package{fontenc}
package as usual, as in
\begin{verbatim}
@@ -178,52 +196,61 @@ package as usual, as in
\end{verbatim}
Note that, as usual with OT1 encoded fonts, kerning with accented characters is
-treated poorly, if at all. Note difference in kerning between e.g.
-\begin{center}
+treated poorly, if at all. Note difference in kerning between these two encoding
+in table~\vref{kerning}.
+\begin{table}
+\centering
\begin{tabular}{ll}
\toprule
- OT1-encoded&{\fdsfamily To Ta Té}\\
+ OT1-encoded&{\fdsfamily Te T\'e}\\
\midrule
- T1-encoded&{\fdsfamily\fontencoding{T1}\selectfont To Ta Té}\\
+ T1-encoded&{\fdsfamily\fontencoding{T1}\selectfont Te T\'e}\\
\bottomrule
\end{tabular}
-\end{center}
+ \caption{Kerning with OT1 and T1 encodings}
+ \label{kerning}
+\end{table}
It is therefore advised to always use the Droid fonts in any encoding than OT1
when typing diacritics.
\subsection{Available weights and variants}
-The following table lists the available font series and shapes with their
+Table~\vref{nfss} lists the available font series and shapes with their
\acronym{NFSS} classification. Parenthesized combinations are provided via
substitutions.
-\begin{center}
+\begin{table}
+ \centering
\begin{tabular}{llll}
\toprule
family&encoding&series&shape\\
- \midrule
- \multirow{4}{*}{fdr}&OT1, T1,&\multirow{3}{*}{m, b (bx)}&\multirow{2}{*}{n, it, sl, up}\\
- &T2A, T2B, T2C, X2,&&\multirow{2}{*}{sc, scit, scsl, scup}\\
+ \midrule
+ \multirow{4}{*}{fdr}&OT1,T1,&\multirow{4}{*}{m, b (bx)}&\multirow{3}{*}{n, it, sl, ui, sc, scit, scsl, scui}\\
+ &T2A, T2B, T2C, X2,&&\\
&LGR&&\\
- \cmidrule{2-4}
- &TS1&m, b (bx)&n, it, sl, up\\
- \midrule
- \multirow{4}{*}{fds}&OT1, T1,&\multirow{3}{*}{m, b (bx)}&\multirow{2}{*}{n, sl (it)}\\
- &T2A, T2B, T2C, X2,&&\multirow{2}{*}{sc, scsl (scit)}\\
+ \cmidrule{2-2}
+ \cmidrule{4-4}
+ &TS1&&n, it, sl, ui\\
+ \midrule
+ \multirow{4}{*}{fds}&OT1,T1,&\multirow{4}{*}{m, b (bx)}&\multirow{3}{*}{n, sl (it), sc, scsl (scit)}\\
+ &T2A, T2B, T2C, X2,&&\\
&LGR&&\\
- \cmidrule{2-4}
- &TS1&m, b (bx)&n, sl (it)\\
- \midrule
- \multirow{4}{*}{fdm}&OT1, T1,&\multirow{3}{*}{m}&\multirow{2}{*}{n, sl (it)}\\
- &T2A, T2B, T2C, X2,&&\multirow{2}{*}{sc, scsl (scit)}\\
+ \cmidrule{2-2}
+ \cmidrule{4-4}
+ &TS1&&n, sl (it)\\
+ \midrule
+ \multirow{4}{*}{fdm}&OT1,T1,&\multirow{4}{*}{m}&\multirow{3}{*}{n, sl (it), sc, scsl (scit)}\\
+ &T2A, T2B, T2C, X2,&&\\
&LGR&&\\
- \cmidrule{2-4}
- &TS1&m&n, sl (it)\\
+ \cmidrule{2-2}
+ \cmidrule{4-4}
+ &TS1&&n, sl (it)\\
\bottomrule
\end{tabular}
-\end{center}
-Notice that the slanted shapes are faked ones for Droid Sans and Droid Sans
-Mono, as well as the upright shape for Droid Serif and the small capitals for
-all the families (reduced to 80\%).
+ \caption{Available font series and shapes for Droid}
+ \label{nfss}
+\end{table}
+Notice that the slanted shapes are faked ones, as well as the small capitals
+(reduced to 80\%).
\section{Known bugs and improvements}