Restructure chapters, delete a bunch of words, add more words, do some things, panic...
[ipdf/sam.git] / chapters / Background / Rendering / Fonts.tex
1 \begin{figure}[H]
2 \begin{minipage}[t]{0.5\textwidth}
3 \begin{figure}[H]
4         \centering
5         \includegraphics[width=0.7\textwidth]{figures/z.pdf}
6 \end{figure}
7 \end{minipage}
8 \begin{minipage}[t]{0.5\textwidth}
9 \begin{figure}[H]
10         \centering
11         \includegraphics[width=0.7\textwidth]{figures/z.png}
12 \end{figure}
13 \end{minipage}
14         \caption{a) Vector glyph for the letter Z b) Screenshot showing B{\'e}zier control points in Inkscape}\label{zglyph}
15 \end{figure}
16
17 A the term ``font'' refers to a set of images used to represent text on a graphical display. In 1983, Donald Knuth published ``The METAFONT Book'' which described a vector approach to specifying fonts and a program for creating these fonts\cite{knuth1983metafont}. Previously, only rasterised font images (glyphs) were popular; as can be seen from the zooming in Figure \ref{vector-vs-raster-scaled} this can be problematic given the prevelance of textual information at different scales and on different resolution displays. 
18
19 Knuth used B{\'e}zier Cubic Splines to define ``pleasing'' curves in METAFONT, and this approach is still used in modern vector fonts. Since the paths used to render an individual glyph are used far more commonly than general curves, document formats do not require such curves to be specified in situ, but allow for a choice between a number of internal fonts or externally specified fonts. In the case of Knuth's typesetting language \TeX, fonts were intended to be created using METAFONT\cite{knuth1983metafont}. Figure \ref{zglyph} shows a $\mathscr{Z}$ (script Z) produced by {\LaTeX} with B{\'e}zier cubics identified.
20
21

UCC git Repository :: git.ucc.asn.au