| 1 |
% \iffalse meta-comment |
| 2 |
% |
| 3 |
% rustic.dtx |
| 4 |
% Copyright 1999 Peter R. Wilson |
| 5 |
% |
| 6 |
% This program is provided under the terms of the |
| 7 |
% LaTeX Project Public License distributed from CTAN |
| 8 |
% archives in directory macros/latex/base/lppl.txt. |
| 9 |
% |
| 10 |
% Author: Peter Wilson (CUA) (now at: [email protected]) |
| 11 |
% |
| 12 |
% If you do not have the docmfp package (available from CTAN in |
| 13 |
% tex-archive/macros/latex/contrib/supported), comment out the |
| 14 |
% \usepackage{docmfp} line below and uncomment the line following it. |
| 15 |
% |
| 16 |
%<*driver> |
| 17 |
\documentclass{ltxdoc} |
| 18 |
\usepackage{docmfp} |
| 19 |
%%%%%% \providecommand{\DescribeVariable}[1]{} \newenvironment{routine}[1]{}{} |
| 20 |
\EnableCrossrefs |
| 21 |
\CodelineIndex |
| 22 |
\setcounter{StandardModuleDepth}{1} |
| 23 |
\begin{document} |
| 24 |
\DocInput{rustic.dtx} |
| 25 |
\end{document} |
| 26 |
%</driver> |
| 27 |
% |
| 28 |
% \fi |
| 29 |
% |
| 30 |
% \CheckSum{137} |
| 31 |
% |
| 32 |
% \DoNotIndex{\',\.,\@M,\@@input,\@addtoreset,\@arabic,\@badmath} |
| 33 |
% \DoNotIndex{\@centercr,\@cite} |
| 34 |
% \DoNotIndex{\@dotsep,\@empty,\@float,\@gobble,\@gobbletwo,\@ignoretrue} |
| 35 |
% \DoNotIndex{\@input,\@ixpt,\@m} |
| 36 |
% \DoNotIndex{\@minus,\@mkboth,\@ne,\@nil,\@nomath,\@plus,\@set@topoint} |
| 37 |
% \DoNotIndex{\@tempboxa,\@tempcnta,\@tempdima,\@tempdimb} |
| 38 |
% \DoNotIndex{\@tempswafalse,\@tempswatrue,\@viipt,\@viiipt,\@vipt} |
| 39 |
% \DoNotIndex{\@vpt,\@warning,\@xiipt,\@xipt,\@xivpt,\@xpt,\@xviipt} |
| 40 |
% \DoNotIndex{\@xxpt,\@xxvpt,\\,\ ,\addpenalty,\addtolength,\addvspace} |
| 41 |
% \DoNotIndex{\advance,\Alph,\alph} |
| 42 |
% \DoNotIndex{\arabic,\ast,\begin,\begingroup,\bfseries,\bgroup,\box} |
| 43 |
% \DoNotIndex{\bullet} |
| 44 |
% \DoNotIndex{\cdot,\cite,\CodelineIndex,\cr,\day,\DeclareOption} |
| 45 |
% \DoNotIndex{\def,\DisableCrossrefs,\divide,\DocInput,\documentclass} |
| 46 |
% \DoNotIndex{\DoNotIndex,\egroup,\ifdim,\else,\fi,\em,\endtrivlist} |
| 47 |
% \DoNotIndex{\EnableCrossrefs,\end,\end@dblfloat,\end@float,\endgroup} |
| 48 |
% \DoNotIndex{\endlist,\everycr,\everypar,\ExecuteOptions,\expandafter} |
| 49 |
% \DoNotIndex{\fbox} |
| 50 |
% \DoNotIndex{\filedate,\filename,\fileversion,\fontsize,\framebox,\gdef} |
| 51 |
% \DoNotIndex{\global,\halign,\hangindent,\hbox,\hfil,\hfill,\hrule} |
| 52 |
% \DoNotIndex{\hsize,\hskip,\hspace,\hss,\if@tempswa,\ifcase,\or,\fi,\fi} |
| 53 |
% \DoNotIndex{\ifhmode,\ifvmode,\ifnum,\iftrue,\ifx,\fi,\fi,\fi,\fi,\fi} |
| 54 |
% \DoNotIndex{\input} |
| 55 |
% \DoNotIndex{\jobname,\kern,\leavevmode,\let,\leftmark} |
| 56 |
% \DoNotIndex{\list,\llap,\long,\m@ne,\m@th,\mark,\markboth,\markright} |
| 57 |
% \DoNotIndex{\month,\newcommand,\newcounter,\newenvironment} |
| 58 |
% \DoNotIndex{\NeedsTeXFormat,\newdimen} |
| 59 |
% \DoNotIndex{\newlength,\newpage,\nobreak,\noindent,\null,\number} |
| 60 |
% \DoNotIndex{\numberline,\OldMakeindex,\OnlyDescription,\p@} |
| 61 |
% \DoNotIndex{\pagestyle,\par,\paragraph,\paragraphmark,\parfillskip} |
| 62 |
% \DoNotIndex{\penalty,\PrintChanges,\PrintIndex,\ProcessOptions} |
| 63 |
% \DoNotIndex{\protect,\ProvidesClass,\raggedbottom,\raggedright} |
| 64 |
% \DoNotIndex{\refstepcounter,\relax,\renewcommand,\reset@font} |
| 65 |
% \DoNotIndex{\rightmargin,\rightmark,\rightskip,\rlap,\rmfamily,\roman} |
| 66 |
% \DoNotIndex{\roman,\secdef,\selectfont,\setbox,\setcounter,\setlength} |
| 67 |
% \DoNotIndex{\settowidth,\sfcode,\skip,\sloppy,\slshape,\space} |
| 68 |
% \DoNotIndex{\symbol,\the,\trivlist,\typeout,\tw@,\undefined,\uppercase} |
| 69 |
% \DoNotIndex{\usecounter,\usefont,\usepackage,\vfil,\vfill,\viiipt} |
| 70 |
% \DoNotIndex{\viipt,\vipt,\vskip,\vspace} |
| 71 |
% \DoNotIndex{\wd,\xiipt,\year,\z@} |
| 72 |
% |
| 73 |
% \changes{v1.0}{1999/05/01}{First public release} |
| 74 |
% \changes{v1.0a}{2001/01/02}{Fixed missing * in .fd files} |
| 75 |
% |
| 76 |
% ^^A \def\fileversion{v1.0} |
| 77 |
% ^^A \def\filedate{1999/05/01} |
| 78 |
% \def\fileversion{v1.0a} |
| 79 |
% \def\filedate{2001/01/02} |
| 80 |
% \newcommand*{\Lpack}[1]{\textsf {#1}} ^^A typeset a package |
| 81 |
% \newcommand*{\Lopt}[1]{\textsf {#1}} ^^A typeset an option |
| 82 |
% \newcommand*{\file}[1]{\texttt {#1}} ^^A typeset a file |
| 83 |
% \newcommand*{\Lcount}[1]{\textsl {\small#1}} ^^A typeset a counter |
| 84 |
% \newcommand*{\pstyle}[1]{\textsl {#1}} ^^A typeset a pagestyle |
| 85 |
% \newcommand*{\Lenv}[1]{\texttt {#1}} ^^A typeset an environment |
| 86 |
% \newcommand*{\AD}{\textsc{ad}} |
| 87 |
% |
| 88 |
% \title{The \Lpack{rustic} fonts\thanks{This |
| 89 |
% file has version number \fileversion, last revised |
| 90 |
% \filedate.}} |
| 91 |
% |
| 92 |
% \author{% |
| 93 |
% Peter Wilson\\ |
| 94 |
% Catholic University of America \\ |
| 95 |
% Now at \texttt{[email protected]} |
| 96 |
% } |
| 97 |
% \date{\filedate} |
| 98 |
% \maketitle |
| 99 |
% \begin{abstract} |
| 100 |
% The \Lpack{rustic} and \Lpack{allrust} packages provide a set of |
| 101 |
% Metafont Roman Rustic book-hands |
| 102 |
% as used |
| 103 |
% for manuscripts in the 1st to the 6th century. This is one in a series |
| 104 |
% of manuscript fonts. |
| 105 |
% \end{abstract} |
| 106 |
% \tableofcontents |
| 107 |
% |
| 108 |
% \StopEventually{} |
| 109 |
% |
| 110 |
% |
| 111 |
% |
| 112 |
% \section{Introduction} |
| 113 |
% |
| 114 |
% The \Lpack{rustic} and \Lpack{allrust} packages provide |
| 115 |
% a Metafont~\cite{METAFONT} version |
| 116 |
% of the Roman Rustic manuscript book-hand that was in use between about the |
| 117 |
% first and sixth centuries~\AD. It is part of a project to provide fonts |
| 118 |
% covering the major manuscript hands between the first century~\AD{} and |
| 119 |
% the invention of printing. The principal resources used in this project |
| 120 |
% are listed in the Bibliography. |
| 121 |
% |
| 122 |
% This manual is typeset according to the conventions of the |
| 123 |
% \LaTeX{} \textsc{docstrip} utility which enables the automatic |
| 124 |
% extraction of the \LaTeX{} macro source files~\cite{GOOSSENS94}. |
| 125 |
% The \Lpack{docmfp} package is used for documenting the Metafont portions |
| 126 |
% of the distribution~\cite{DOCMFP}. |
| 127 |
% |
| 128 |
% Section~\ref{sec:usc} describes the usage of the package. |
| 129 |
% Commented code for the fonts is in Sections~\ref{sec:mf} and~\ref{sec:fd} |
| 130 |
% and source code for the packages is in Section~\ref{sec:code}. |
| 131 |
% |
| 132 |
% \subsection{Manuscript book-hands} |
| 133 |
% |
| 134 |
% Before the invention of printing all books were written by hand. The book-hands |
| 135 |
% used by the scribes and copyists for the manuscripts changed as time |
| 136 |
% went on. Table~\ref{tab:1} lists some of the common book-hands which were used |
| 137 |
% between the 1st and 15th centuries. The later book-hands formed the basis of the |
| 138 |
% fonts used by the early printers, which in turn form the basis of the printing |
| 139 |
% fonts in use today. |
| 140 |
% |
| 141 |
% The manuscript book-hands were written with a broad nibbed reed or quill |
| 142 |
% pen. Among the distinguishing characteristics of a hand, apart from the |
| 143 |
% actual shape of the letters, are the angle of the pen (which controls the |
| 144 |
% variation between thick and thin strokes) and the height of a letter compared |
| 145 |
% to the width of the nib. The lower the ratio of the letter height to nib |
| 146 |
% width, the more condensed is the script. The scripts also varied in their |
| 147 |
% typical height. |
| 148 |
% |
| 149 |
% Table~\ref{tab:1} gives an `average' x-height for each |
| 150 |
% script, which I obtained by measuring a sample of photographs of |
| 151 |
% manuscripts written in the various hands. About a dozen examples |
| 152 |
% of each book-hand were measured. This figure should not be taken too |
| 153 |
% seriously. |
| 154 |
% |
| 155 |
% There was not a sharp division between the use of one hand and another. |
| 156 |
% Many manuscripts exhibit a variety of hands in the same document. For example, |
| 157 |
% the scribe writing in an Uncial hand may have used Roman Rustic letters |
| 158 |
% for capitals. Usually the same pen was used for the two different scripts. |
| 159 |
% |
| 160 |
% Generally speaking, as a hand got older it became more embelished and |
| 161 |
% calligraphic, and |
| 162 |
% therefore took longer to write. As this happened a new hand would appear that |
| 163 |
% was faster, and which would eventually make the earlier one obsolete. |
| 164 |
% |
| 165 |
% Many of the book-hands were single-cased; that is, they did not have an |
| 166 |
% upper- and lower-case as we do nowadays in Western scripts. On the other |
| 167 |
% hand, a script might be majuscule or minuscule. A \textit{majuscule} script |
| 168 |
% is one, like our upper-case, where the letters are drawn between two lines |
| 169 |
% and are of a uniform height with no ascenders or descenders. |
| 170 |
% A \textit{minuscule} script, like our lower-case, is drawn between four lines |
| 171 |
% and has ascenders and descenders. |
| 172 |
% |
| 173 |
% \begin{table} |
| 174 |
% \centering |
| 175 |
% \caption{The main manuscript book-hands} \label{tab:1} |
| 176 |
% \begin{tabular}{lccccc} \hline |
| 177 |
% Name & Century & x-height & Height & Pen & Normalised \\ |
| 178 |
% & & (mm) & (nib widths) & angle & height \\ \hline |
| 179 |
% Roman Rustic & 1--6 & 5.7 & 4--6 & 45 & 1.90 \\ |
| 180 |
% Uncial & 3--6 & 4.1 & 4--5 & 30 & 1.37 \\ |
| 181 |
% Artificial Uncial & 6--10 & 4.2 & 3--6 & 10 & 1.40 \\ |
| 182 |
% Half Uncial & 3--9 & 3.2 & 3--6 & 20--30 & 1.07 \\ |
| 183 |
% Insular majuscule & 6--9 & 4.2 & 5 & 0--20 & 1.40 \\ |
| 184 |
% Insular minuscule & 6 onward & 4.1 & 5--6 & 45--70 & 1.37 \\ |
| 185 |
% Carolingian minuscule & 8--12 & 3.0 & 3--5 & 45 & 1.00 \\ |
| 186 |
% Early Gothic & 11--12 & 3.8 & 4--6 & 20--45 & 1.27 \\ |
| 187 |
% Gothic Textura & 13--15 & 3.9 & 3--5 & 30--45 & 1.30 \\ |
| 188 |
% Gothic Prescius & 13 onward & 3.3 & 4--5 & 45 & 1.10 \\ |
| 189 |
% Rotunda & 13--15 & 3.2 & 4--6 & 30 & 1.07 \\ |
| 190 |
% Humanist minuscule & 14 onward & 3.0 & 4--5 & 30--40 & 1.00 \\ \hline |
| 191 |
% \end{tabular} |
| 192 |
% \end{table} |
| 193 |
% |
| 194 |
% During the period under consideration arabic numerals were effectively |
| 195 |
% not used. At the beginning they were unknown and even though some knew of |
| 196 |
% them towards the end, the glyphs used for them are not recognisable --- |
| 197 |
% to me they look somewhat like cryllic letters --- and each locality and time |
| 198 |
% had its own highly individualistic rendering. The general rule when using |
| 199 |
% one of these book-hands is to write all numbers using roman numerals. |
| 200 |
% |
| 201 |
% In the first century punctuation was virtually unknown, and typically there |
| 202 |
% would not even be any additional space between individual words, never mind |
| 203 |
% denoting ends of sentences. Sometimes a dot at mid-height would be used as |
| 204 |
% a word seperator, or to mark off the end of a paragraph. Effectively a text |
| 205 |
% was a continuous stream of letters. By the time that printing was invented, |
| 206 |
% though, all of our modern punctuation marks were being used. |
| 207 |
% |
| 208 |
% Among all these manuscript hands, the Carolingian minuscule is the |
| 209 |
% most important as our modern fonts are based on its letter shapes, and it is |
| 210 |
% also at this point in time where the division occured between the black letter |
| 211 |
% scripts as used even today in Germany, and the lighter fonts used elesewhere. |
| 212 |
% The Rotunda and Humanist minuscule hands were developed in Italy and were |
| 213 |
% essentially a rediscovery of the Carolingian minusucle. Guthenberg took the |
| 214 |
% Gothic scripts as the model for his types. Later printers, |
| 215 |
% such as Nicholas Jenson of Venice, |
| 216 |
% took the Humanist scripts as their models. |
| 217 |
% |
| 218 |
% |
| 219 |
% \subsection{The Roman Rustic script} |
| 220 |
% |
| 221 |
% The Roman Rustic hand, which is a majuscule script, was in use for some five |
| 222 |
% centuries until it was suceeded by the Uncial book-hands. Usually the |
| 223 |
% lettering in a manuscript was all one size. If the scribe felt the need |
| 224 |
% for `capital' letters then, using the same pen, would write a slightly larger |
| 225 |
% letter. |
| 226 |
% During the period when the |
| 227 |
% script was used the alphabet only had 23 letters. I have included |
| 228 |
% the missing J, U and W. |
| 229 |
% |
| 230 |
% Arabic numerals were unknown at this time, so all numbers were written |
| 231 |
% using the roman numbering system. I have provided Roman Rustic versions of |
| 232 |
% the arabic digits. |
| 233 |
% |
| 234 |
% Punctuation was non-existant. A dot at mid-height might be used as |
| 235 |
% a word seperator, but that was all. Paragraphs had no indentation, neither |
| 236 |
% was there any extra vertical space between paragraphs. Essentially, the |
| 237 |
% script ran continuously with no spaces, even between words. |
| 238 |
% |
| 239 |
% The `leading' --- the amount of white space between lines --- was about |
| 240 |
% the same height as the letters. |
| 241 |
% |
| 242 |
% |
| 243 |
% \section{The \Lpack{rustic} and \Lpack{allrust} package} \label{sec:usc} |
| 244 |
% |
| 245 |
% The Roman Rustic font family is called |rust|. The font is supplied in both |
| 246 |
% OT1 and T1 encodings. |
| 247 |
% |
| 248 |
% \subsection{The \Lpack{rustic} package} |
| 249 |
% |
| 250 |
% This is intended for the occasions when some short pieces of text have to be |
| 251 |
% written in Roman Rustic while the majority of the document is in another font. |
| 252 |
% The normal baselineskips are used. |
| 253 |
% |
| 254 |
% \DescribeMacro{\rustfamily} |
| 255 |
% The |\rustfamily| declaration starts typesetting with the Roman Rustic fonts. |
| 256 |
% Use of the Rustic font will continue until either there is another |\...family| |
| 257 |
% declaration or the current group (e.g., environment) is closed. |
| 258 |
% |
| 259 |
% \DescribeMacro{\textrust} |
| 260 |
% The command |\textrust{|\meta{text}|}| will typeset \meta{text} using the |
| 261 |
% Roman Rustic fonts. |
| 262 |
% |
| 263 |
% \subsection{The \Lpack{allrust} package} |
| 264 |
% |
| 265 |
% This package is for when the entire document will be typeset with the |
| 266 |
% Roman Rustic font. The baselineskips are set to those appropriate to the |
| 267 |
% book-hand. |
| 268 |
% |
| 269 |
% This is a minimalist package. Apart from declaring Roman Rustic to be the |
| 270 |
% default font and setting the baselineskips appropriately, it makes no other |
| 271 |
% alterations. |
| 272 |
% Vertical spacing |
| 273 |
% before and after section titles and before and after lists, etc., will be |
| 274 |
% too small as the \LaTeX{} design assumes a font comparable in size to |
| 275 |
% normal printing fonts, and the book-hand is much taller. |
| 276 |
% To capture more of the flavour of the time, all numbers |
| 277 |
% should be written using roman numerals. |
| 278 |
% The \Lpack{romannum} package~\cite{ROMANNUM} |
| 279 |
% can be used so that \LaTeX{} will typeset the numbers that it generates, |
| 280 |
% like sectioning or caption numbers, using roman numerals instead of arabic |
| 281 |
% digits. |
| 282 |
% |
| 283 |
% \DescribeMacro{\cmrfamily} |
| 284 |
% \DescribeMacro{\textcmr} |
| 285 |
% \DescribeMacro{\cmssfamily} |
| 286 |
% \DescribeMacro{\textcmss} |
| 287 |
% \DescribeMacro{\cmttfamily} |
| 288 |
% \DescribeMacro{\textcmtt} |
| 289 |
% The |...family| declarations start typesetting with the Computer Modern Roman |
| 290 |
% (|\cmrfamily|), the Computer Modern Sans (|\cmssfamily|), and the Computer |
| 291 |
% Modern Typewriter (|\cmttfamily|) font families. The |\textcm..{|\meta{text}|}| |
| 292 |
% commands will typeset \meta{text} in the corresponding Computer Modern font. |
| 293 |
% |
| 294 |
% The \Lpack{allrust} package automatically loads the \Lpack{rustic} package, |
| 295 |
% so the rustic font commands are available if necessary. |
| 296 |
% |
| 297 |
% |
| 298 |
% |
| 299 |
% \section{The Metafont code} \label{sec:mf} |
| 300 |
% |
| 301 |
% |
| 302 |
% As previously noted, this work is part of a larger project to provide |
| 303 |
% fonts covering the main manuscript book-hands. As such, one of the |
| 304 |
% aims is to produce a coordinated set of fonts, especially as multiple |
| 305 |
% hands might be used in a single document. |
| 306 |
% |
| 307 |
% Noting that the hands tend to be somewhat larger than the typical 10pt |
| 308 |
% size (where the x-height is approximately 1.5mm) used for modern books, |
| 309 |
% I have also designed the fonts |
| 310 |
% at a larger than normal size, then applied some non-linear factors when reducing |
| 311 |
% them down to a 10pt size. |
| 312 |
% Further, I have used the height of the Carolingian minuscule as a |
| 313 |
% normalising factor when deciding on the absolute height of any particular |
| 314 |
% script. The x-height of the Carolingian font is made equal to the |
| 315 |
% x-height of the Computer Modern Roman (CMR) font. |
| 316 |
% |
| 317 |
% Modern fonts are effectively drawn. That is, the outline of the letter is |
| 318 |
% drawn carefully and the center is filled with ink. This is shown to good |
| 319 |
% effect in the Metafont code for the Computer Modern fonts~\cite{CM}. |
| 320 |
% In contrast, the manuscript letters were inked by single pen strokes in |
| 321 |
% a calligraphic manner. I have tried to repeat this calligraphic style |
| 322 |
% in the Metafont code. |
| 323 |
% |
| 324 |
% As much as possible I have tried to use parameter values from the |
| 325 |
% Computer Modern Roman (CMR) fonts in order to reduce possible |
| 326 |
% infelicities if the CM and manuscript fonts are used together. However, |
| 327 |
% few of the CMR parameters are applicable to the calligraphic style. |
| 328 |
% |
| 329 |
% |
| 330 |
% \subsection{The parameter file} |
| 331 |
% |
| 332 |
% We deal with the parameter files first, and start by announcing |
| 333 |
% what they are for. The Rustic font comes in three sizes and also as a normal |
| 334 |
% and a bold font. |
| 335 |
% \begin{macrocode} |
| 336 |
%<*base7|base10|base17|base7b|base10b|base17b> |
| 337 |
%<base7>%%% RUST7.MF Roman Rustic at 7 point design size. |
| 338 |
%<base10>%%% RUST10.MF Roman Rustic at 10 point design size. |
| 339 |
%<base17>%%% RUST17.MF Roman Rustic at 17 point design size. |
| 340 |
%<base7b>%%% RUSTB7.MF Roman Rustic Bold at 7 point design size. |
| 341 |
%<base10b>%%% RUSTB10.MF Roman Rustic Bold at 10 point design size. |
| 342 |
%<base17b>%%% RUSTB17.MF Roman Rustic Bold at 17 point design size. |
| 343 |
% |
| 344 |
% \end{macrocode} |
| 345 |
% Parameters from CMR are used as much as possible. We also |
| 346 |
% make sure that \Lpack{cmbase} is loaded as well as plain Metafont. |
| 347 |
% \begin{macrocode} |
| 348 |
if unknown cmbase: input cmbase fi |
| 349 |
|
| 350 |
%<base7>font_identifier:="RUST"; font_size 7pt#; |
| 351 |
%<base10>font_identifier:="RUST"; font_size 10pt#; |
| 352 |
%<base17>font_identifier:="RUST"; font_size 17.28pt#; |
| 353 |
%<base7b>font_identifier:="RUSTB"; font_size 7pt#; |
| 354 |
%<base10b>font_identifier:="RUSTB"; font_size 10pt#; |
| 355 |
%<base17b>font_identifier:="RUSTB"; font_size 17.28pt#; |
| 356 |
|
| 357 |
% \end{macrocode} |
| 358 |
% |
| 359 |
% \DescribeVariable{jutstretch} |
| 360 |
% The scaling for minuscule serifs wrt 17pt size. |
| 361 |
% \begin{macrocode} |
| 362 |
%<base7|base7b> jutstretch:=1.19; |
| 363 |
%<base10|base10b> jutstretch:=1.152; |
| 364 |
%<base17|base17b> jutstretch:=1.0; |
| 365 |
% \end{macrocode} |
| 366 |
% |
| 367 |
% \DescribeVariable{stemstretch} |
| 368 |
% The scaling for minuscule stem widths wrt 17pt size. |
| 369 |
% \begin{macrocode} |
| 370 |
%<base7|base7b> stemstretch:=1.50; |
| 371 |
%<base10|base10b> stemstretch:=1.31; |
| 372 |
%<base17|base17b> stemstretch:=1.0; |
| 373 |
% \end{macrocode} |
| 374 |
% |
| 375 |
% \DescribeVariable{caprat} |
| 376 |
% The scaling for `capitals' wrt `lowercase'. This is pretty much a guess. |
| 377 |
% \begin{macrocode} |
| 378 |
caprat:=1.2; % ratio of capital height to minuscule height |
| 379 |
% \end{macrocode} |
| 380 |
% |
| 381 |
% \DescribeVariable{cap_jutstretch} |
| 382 |
% Scaling for majuscule serifs wrt 17pt size. |
| 383 |
% \begin{macrocode} |
| 384 |
%<base7|base7b> cap_jutstretch:=1.3; |
| 385 |
%<base10|base10b> cap_jutstretch:=1.2; |
| 386 |
%<base17|base17b> cap_jutstretch:=1.0; |
| 387 |
% \end{macrocode} |
| 388 |
% |
| 389 |
% \DescribeVariable{cap_stemstretch} |
| 390 |
% Scaling for majuscule stem width wrt 17pt size. |
| 391 |
% \begin{macrocode} |
| 392 |
%<base7|base7b> cap_stemstretch:=1.45; |
| 393 |
%<base10|base10b> cap_stemstretch:=1.31; |
| 394 |
%<base17|base17b> cap_stemstretch:=1.0; |
| 395 |
% \end{macrocode} |
| 396 |
% |
| 397 |
% \DescribeVariable{bfudge} |
| 398 |
% Letter width scaling for bold font wrt normal font. |
| 399 |
% \begin{macrocode} |
| 400 |
%<base7|base10|base17> bfudge:=1.0; |
| 401 |
%<base7b|base10b|base17b> bfudge:=1.2; |
| 402 |
% \end{macrocode} |
| 403 |
% |
| 404 |
% \DescribeVariable{szfudge} |
| 405 |
% Width scaling wrt 17pt size letter width. |
| 406 |
% \begin{macrocode} |
| 407 |
%<base7|base7b> szfudge:=1.18; |
| 408 |
%<base10|base10b> szfudge:=1.0; |
| 409 |
%<base17|base17b> szfudge:=1.0; |
| 410 |
% \end{macrocode} |
| 411 |
% |
| 412 |
% \DescribeVariable{hstretch} |
| 413 |
% Horizontal stretching factor. |
| 414 |
% \begin{macrocode} |
| 415 |
hstretch:=szfudge*bfudge; |
| 416 |
% \end{macrocode} |
| 417 |
% |
| 418 |
% \DescribeVariable{carol_height} |
| 419 |
% The x-height of the Carolingian minuscule font. |
| 420 |
% \begin{macrocode} |
| 421 |
%<base7|base7b> carol_height#:=108.5/36pt#; |
| 422 |
%<base10|base10b> carol_height#:=155/36pt#; |
| 423 |
%<base17|base17b> carol_height#:=268/36pt#; |
| 424 |
% \end{macrocode} |
| 425 |
% |
| 426 |
% \DescribeVariable{vstretch} |
| 427 |
% The height of this font wrt the Carolingian font. |
| 428 |
% \begin{macrocode} |
| 429 |
vstretch:=1.9; |
| 430 |
|
| 431 |
% \end{macrocode} |
| 432 |
% |
| 433 |
% \DescribeVariable{x_height} |
| 434 |
% The x-height of lower case letters. Scaled from the Carolingian font. |
| 435 |
% \begin{macrocode} |
| 436 |
x_height#:=vstretch*carol_height#; |
| 437 |
% \end{macrocode} |
| 438 |
% |
| 439 |
% \DescribeVariable{thickfudge} |
| 440 |
% The reciprocal of the font height in nib widths. Normal font height |
| 441 |
% is 6 nib widths and the bold font height is 4.5 nib widths. |
| 442 |
% \begin{macrocode} |
| 443 |
%<base7|base10|base17> thickfudge:=1/6; |
| 444 |
%<base7b|base10b|base17b> thickfudge:=1/4.5; |
| 445 |
% \end{macrocode} |
| 446 |
% |
| 447 |
% \DescribeVariable{thinfudge} |
| 448 |
% The nib sharpness. |
| 449 |
% \begin{macrocode} |
| 450 |
thinfudge:=1/6; |
| 451 |
% \end{macrocode} |
| 452 |
% |
| 453 |
% \DescribeVariable{thick} |
| 454 |
% The maximum nib width. |
| 455 |
% That is, the width of the thickest line that can be penned. |
| 456 |
% \begin{macrocode} |
| 457 |
thick#:=stemstretch*thickfudge*x_height#; % max pen breadth |
| 458 |
% \end{macrocode} |
| 459 |
% |
| 460 |
% \DescribeVariable{thin} |
| 461 |
% The nib thinness. |
| 462 |
% That is, the width of the thinnest line that can be penned. |
| 463 |
% \begin{macrocode} |
| 464 |
thin#:=thinfudge*thick#; |
| 465 |
% \end{macrocode} |
| 466 |
% |
| 467 |
% \DescribeVariable{pangle} |
| 468 |
% The pen angle (in degrees). |
| 469 |
% \begin{macrocode} |
| 470 |
pangle:=45; % pen angle |
| 471 |
% \end{macrocode} |
| 472 |
% |
| 473 |
% \DescribeVariable{u} |
| 474 |
% The unit width. The CMR values are used. |
| 475 |
% \begin{macrocode} |
| 476 |
%<base7> u#:=15.5/36pt#; |
| 477 |
%<base7b> u#:=17.9/36pt#; |
| 478 |
%<base10> u#:=20/36pt#; |
| 479 |
%<base10b> u#:=23/36pt#; |
| 480 |
%<base17> u#:=32.5/36pt#; |
| 481 |
%<base17b> u#:=37/36pt#; |
| 482 |
% \end{macrocode} |
| 483 |
% |
| 484 |
% \DescribeVariable{width_adj} |
| 485 |
% \DescribeVariable{serif_fit} |
| 486 |
% \DescribeVariable{cap_serif_fit} |
| 487 |
% \DescribeVariable{letter_fit} |
| 488 |
% The majority of these parameters and values are constant. |
| 489 |
% They are for fine adjustements of characters. The CM values are used. |
| 490 |
% \begin{macrocode} |
| 491 |
width_adj#:=0pt#; % width adjustment for certain characters |
| 492 |
serif_fit#:=0pt#; % extra sidebar near lowercase serifs |
| 493 |
%<base7|base7b> cap_serif_fit#:=3.5/36pt#; % extra sidebar near uppercase serifs |
| 494 |
%<base10|base10b> cap_serif_fit#:=5/36pt#; % extra sidebar near uppercase serifs |
| 495 |
%<base17|base17b> cap_serif_fit#:=8/36pt#; % extra sidebar near uppercase serifs |
| 496 |
%<base7|base7b> letter_fit#:=0pt#; % extra space added to all sidebars |
| 497 |
%<base10|base10b> letter_fit#:=0pt#; % extra space added to all sidebars |
| 498 |
%<base17|base17b> letter_fit#:=-0.1pt#; % extra space added to all sidebars |
| 499 |
|
| 500 |
% \end{macrocode} |
| 501 |
% |
| 502 |
% |
| 503 |
% \DescribeVariable{asc_height} |
| 504 |
% The height of lower case ascenders. |
| 505 |
% \begin{macrocode} |
| 506 |
asc_height#:=6/5x_height#; |
| 507 |
% \end{macrocode} |
| 508 |
% |
| 509 |
% \DescribeVariable{desc_depth} |
| 510 |
% The depth of lower case descenders (the tail of the Q). |
| 511 |
% \begin{macrocode} |
| 512 |
desc_depth#:=2/3thick#; |
| 513 |
% \end{macrocode} |
| 514 |
% |
| 515 |
% \DescribeVariable{fig_height} |
| 516 |
% The height of numerals. Make these midway between normal and capital |
| 517 |
% letters. |
| 518 |
% \begin{macrocode} |
| 519 |
fig_height#:=(0.5[1,caprat])*x_height#; |
| 520 |
% \end{macrocode} |
| 521 |
% |
| 522 |
% \DescribeVariable{fig_width} |
| 523 |
% The width of numerals. All numerals are the same width. |
| 524 |
% \begin{macrocode} |
| 525 |
fig_width#:=hstretch*(3/5x_height#); |
| 526 |
% \end{macrocode} |
| 527 |
% |
| 528 |
% \DescribeVariable{cap_height} |
| 529 |
% The height of capital letters. |
| 530 |
% \begin{macrocode} |
| 531 |
cap_height#:=caprat*asc_height#; % height of caps |
| 532 |
% \end{macrocode} |
| 533 |
% |
| 534 |
% \DescribeVariable{body_height} |
| 535 |
% The height of the tallest character. |
| 536 |
% \begin{macrocode} |
| 537 |
body_height#:=caprat*asc_height#; |
| 538 |
% \end{macrocode} |
| 539 |
% |
| 540 |
% \DescribeVariable{body_depth} |
| 541 |
% The depth of the lowest character. |
| 542 |
% \begin{macrocode} |
| 543 |
body_depth#:=caprat*desc_depth#; |
| 544 |
% \end{macrocode} |
| 545 |
% |
| 546 |
% \DescribeVariable{half_height} |
| 547 |
% Half the normal letter height. |
| 548 |
% \begin{macrocode} |
| 549 |
half_height#:=1/2x_height#; % half the height of x height letters |
| 550 |
|
| 551 |
% \end{macrocode} |
| 552 |
% |
| 553 |
% \DescribeVariable{side} |
| 554 |
% We might be using a square for the character design. |
| 555 |
% \begin{macrocode} |
| 556 |
side#:=x_height#; |
| 557 |
% \end{macrocode} |
| 558 |
% |
| 559 |
% |
| 560 |
% \DescribeVariable{rule_thickness} |
| 561 |
% Thickness of rules (in math symbols). The CMR values are used. |
| 562 |
% \begin{macrocode} |
| 563 |
%<base7|base7b> rule_thickness#:=.34pt#; |
| 564 |
%<base10|base10b> rule_thickness#:=.4pt#; |
| 565 |
%<base17|base17b> rule_thickness#:=.6pt#; |
| 566 |
|
| 567 |
% \end{macrocode} |
| 568 |
% |
| 569 |
% \DescribeVariable{jutfudge} |
| 570 |
% Controls the protrusion of serifs. |
| 571 |
% \begin{macrocode} |
| 572 |
jutfudge:= 5/8; |
| 573 |
% \end{macrocode} |
| 574 |
% |
| 575 |
% \DescribeVariable{jut} |
| 576 |
% The lowercase serif protrusion. |
| 577 |
% \begin{macrocode} |
| 578 |
jut#:=jutstretch*jutfudge*thick#; |
| 579 |
% \end{macrocode} |
| 580 |
% |
| 581 |
% \DescribeVariable{hookjut} |
| 582 |
% The horizontal protrusion of hook serifs. |
| 583 |
% \begin{macrocode} |
| 584 |
hookjut#:=1/2jut#; |
| 585 |
% \end{macrocode} |
| 586 |
% |
| 587 |
% \DescribeVariable{footjut} |
| 588 |
% Half the horizontal width of a foot stroke, assuming vertical ends. |
| 589 |
% \begin{macrocode} |
| 590 |
footjut#:=2/20x_height#; |
| 591 |
% \end{macrocode} |
| 592 |
% |
| 593 |
% \DescribeVariable{extra_fhjut} |
| 594 |
% Half the extra horizontal width of a foot or head stroke, taking sloped |
| 595 |
% ends into account. Thus the maximum overall horizontal width is |
| 596 |
% |2(footjut+extra_fhjut)|. |
| 597 |
% \begin{macrocode} |
| 598 |
extra_fhjut#:=1/3thick#; |
| 599 |
% \end{macrocode} |
| 600 |
% |
| 601 |
% \DescribeVariable{stem_offset} |
| 602 |
% The x offset of the center of a left (stem + foot) from the left of the |
| 603 |
% character box. |
| 604 |
% \begin{macrocode} |
| 605 |
stem_offset#:=8/12thick#+thin#; |
| 606 |
% \end{macrocode} |
| 607 |
% |
| 608 |
% \DescribeVariable{srad} |
| 609 |
% |srad| with |0 < srad < 1| controls the serif radius. |
| 610 |
% \begin{macrocode} |
| 611 |
srad:=0.5; |
| 612 |
% \end{macrocode} |
| 613 |
% |
| 614 |
% \DescribeVariable{wiggle} |
| 615 |
% Controls the amount of wiggle in a |squiggle|, with |0 <= wiggle <1|. |
| 616 |
% \begin{macrocode} |
| 617 |
wiggle:= 0.05; |
| 618 |
% \end{macrocode} |
| 619 |
% |
| 620 |
% \DescribeVariable{bowoff} |
| 621 |
% Controls the amount of bow in a |bow|, with |0 <= bowoff <1|. |
| 622 |
% \begin{macrocode} |
| 623 |
bowoff:= 0.05; |
| 624 |
% \end{macrocode} |
| 625 |
% |
| 626 |
% \DescribeVariable{o} |
| 627 |
% Amount of overshoot for curves (as in an `o'). Use CMR values. |
| 628 |
% \begin{macrocode} |
| 629 |
%<base7|base7b> o#:=5/36pt#; |
| 630 |
%<base10|base10b> o#:=8/36pt#; |
| 631 |
%<base17|base17b> o#:=10/36pt#; |
| 632 |
|
| 633 |
% \end{macrocode} |
| 634 |
% |
| 635 |
% \DescribeVariable{thick_tltobr} |
| 636 |
% A vector of the slope of thick diagonals from the top left point to the |
| 637 |
% bottom right point. Use as: |
| 638 |
% |ztl-zbr = whatever*thick_tltobr|. |
| 639 |
% \begin{macrocode} |
| 640 |
pair thick_tltobr; |
| 641 |
thick_tltobr:=(-2,5); |
| 642 |
|
| 643 |
% \end{macrocode} |
| 644 |
% |
| 645 |
% \DescribeVariable{slant} |
| 646 |
% |slant| is the amount the font slopes to the right. |
| 647 |
% \begin{macrocode} |
| 648 |
slant:=0; % tilt ratio $(\Delta x/\Delta y)$ |
| 649 |
|
| 650 |
% \end{macrocode} |
| 651 |
% |
| 652 |
% \DescribeVariable{monospace} |
| 653 |
% We are generating a variable-width font. |
| 654 |
% \begin{macrocode} |
| 655 |
monospace:=false; % should all characters have the same width? |
| 656 |
|
| 657 |
% \end{macrocode} |
| 658 |
% |
| 659 |
% \DescribeVariable{dot_size} |
| 660 |
% The size of (punctuation) dots. |
| 661 |
% \begin{macrocode} |
| 662 |
dot_size#:=5thin#; % size of dots |
| 663 |
% \end{macrocode} |
| 664 |
% |
| 665 |
% \DescribeVariable{comma_width} |
| 666 |
% The horizontal width of a comma. |
| 667 |
% \begin{macrocode} |
| 668 |
comma_width#:=2.5dot_size#; |
| 669 |
|
| 670 |
% \end{macrocode} |
| 671 |
% |
| 672 |
% Finally, call the driver file for the font. |
| 673 |
% \begin{macrocode} |
| 674 |
generate rusttitle %% switch to the driver file |
| 675 |
|
| 676 |
% \end{macrocode} |
| 677 |
% |
| 678 |
% The end of this code section. |
| 679 |
% \begin{macrocode} |
| 680 |
%</base7|base10|base17|base7b|base10b|base17b> |
| 681 |
% \end{macrocode} |
| 682 |
% |
| 683 |
% |
| 684 |
% \subsection{The driver file} |
| 685 |
% |
| 686 |
% The driver file sets up the font parameters and also contains |
| 687 |
% the macros used in the definition of the characters. |
| 688 |
% |
| 689 |
% \begin{macrocode} |
| 690 |
%<*mfd> |
| 691 |
% This is RUSTTITLE.MF for the Roman Rustic font. |
| 692 |
% This makes a short font. |
| 693 |
% This file also contains special macros universally needed in the |
| 694 |
% font but either not in the cmbase.mf file or modifications of these. |
| 695 |
% |
| 696 |
% \end{macrocode} |
| 697 |
% |
| 698 |
% \begin{routine}{makebox} |
| 699 |
% This is a new version of the \Lpack{cmbase.mf} |makebox| macro. |
| 700 |
% Essentially, as we are only generating a single case font, we don't |
| 701 |
% need all the horizontals for the CMR characters. |
| 702 |
% |
| 703 |
% \begin{macrocode} |
| 704 |
% A new version of cmbase.mf makebox macro |
| 705 |
def makebox(text rule) = |
| 706 |
for y=0,half_height,cap_height,body_height,x_height,-desc_depth,-body_depth: |
| 707 |
rule((l,y)t_,(r,y)t_); endfor % horizontals |
| 708 |
for x=l,r: rule((x,-body_depth)t_,(x,body_height)t_); endfor % verticals |
| 709 |
for x=u*(1+floor(1/u)) step u until r-1: |
| 710 |
rule((x,-body_depth)t_,(x,body_height)t_); endfor % more verticals |
| 711 |
if charic<>0: |
| 712 |
rule((r+charic*pt,h.o_),(r+charic*pt,.5h.o_)); fi % italic correction |
| 713 |
enddef; |
| 714 |
|
| 715 |
% \end{macrocode} |
| 716 |
% \end{routine} |
| 717 |
% |
| 718 |
% \begin{routine}{proofpcbb} |
| 719 |
% The macro |proofpcbb(S, xoff, yoff)| draws crosses at the corners of the |
| 720 |
% square, and at the bottom and top midpoints, where the point |zS| is at |
| 721 |
% position |(xoff,yoff)| in the square. |
| 722 |
% \begin{macrocode} |
| 723 |
|
| 724 |
% A macro to delineate a letter's bounding square in proof mode. |
| 725 |
% Point z$ is at (xoff,yoff) in the bounding square. |
| 726 |
def proofpcbb(suffix $)(expr xoff, yoff) = |
| 727 |
if proofing > 0: |
| 728 |
x$bl = x$ - xoff; y$bl = y$ - yoff; % Bottom Left Hand Corner |
| 729 |
z$br = (x$bl+side, y$bl); % BRHC |
| 730 |
z$tr = (x$bl+side, y$bl+side); % TRHC |
| 731 |
z$tl = (x$bl, y$bl+side); % TLHC |
| 732 |
z$bc = 1/2[z$bl,z$br]; z$tc = 1/2[z$tl,z$tr]; % horizontal mid points |
| 733 |
pair hc, vc; |
| 734 |
hc = (2u,0); vc = (0,2u); |
| 735 |
pickup pensquare scaled 2; |
| 736 |
for s = z$bl, z$br, z$tr, z$tl, z$bc, z$tc: |
| 737 |
draw s-hc--s+hc; |
| 738 |
draw s-vc--s+vc; |
| 739 |
endfor |
| 740 |
fi |
| 741 |
enddef; |
| 742 |
|
| 743 |
% \end{macrocode} |
| 744 |
% \end{routine} |
| 745 |
% |
| 746 |
% |
| 747 |
% |
| 748 |
% \begin{routine}{rustic_font_setup} |
| 749 |
% This macro contains the set up for the fonts. |
| 750 |
% \begin{macrocode} |
| 751 |
|
| 752 |
def rustic_font_setup= |
| 753 |
define_pixels(side,half_height,carol_height,comma_width); |
| 754 |
define_pixels(u,dot_size,letter_size,cap_height,width_adj,serif_fit, |
| 755 |
cap_serif_fit,jut,cap_jut); |
| 756 |
define_pixels(hookjut,footjut,stem_offset,extra_fhjut,fig_width); |
| 757 |
define_whole_pixels(letter_fit); |
| 758 |
define_whole_vertical_pixels(body_height,asc_height,cap_height,x_height, |
| 759 |
desc_depth,body_depth,fig_height); |
| 760 |
define_corrected_pixels(o); |
| 761 |
define_blacker_pixels(thick,thin); |
| 762 |
let adjust_fit = normal_adjust_fit; |
| 763 |
% \end{macrocode} |
| 764 |
% \DescribeVariable{stylus} |
| 765 |
% The pen for drawing the thinnest lines is |stylus|. |
| 766 |
% \begin{macrocode} |
| 767 |
pickup pencircle scaled thin; |
| 768 |
stylus:=savepen; |
| 769 |
% \end{macrocode} |
| 770 |
% \DescribeVariable{quill} |
| 771 |
% The normal calligraphic pen is |quill|. |
| 772 |
% \begin{macrocode} |
| 773 |
pickup pencircle xscaled thick yscaled thin rotated pangle; |
| 774 |
quill:=savepen; |
| 775 |
% \end{macrocode} |
| 776 |
% \DescribeVariable{bowpen} |
| 777 |
% The pen for drawing a bow is |bowpen|. |
| 778 |
% \begin{macrocode} |
| 779 |
pickup pencircle xscaled thick yscaled thin rotated ((1/2(pangle+90))); |
| 780 |
bowpen:=savepen; |
| 781 |
numeric pcshiftx#; % x value of LHS of box wrt origin of char box |
| 782 |
define_pixels(pcshiftx); |
| 783 |
numeric sqxside#; % x size of the square |
| 784 |
numeric sqyside#; % y size of the square |
| 785 |
define_pixels(sqxside,sqyside); |
| 786 |
|
| 787 |
enddef; % end of rustic_font_setup |
| 788 |
|
| 789 |
% \end{macrocode} |
| 790 |
% \end{routine} |
| 791 |
% |
| 792 |
% |
| 793 |
% \DescribeVariable{ductus} |
| 794 |
% A boolean to control drawing the ductus (TRUE) or the full letter (FALSE). |
| 795 |
% \begin{macrocode} |
| 796 |
boolean ductus; |
| 797 |
ductus:=false; |
| 798 |
% \end{macrocode} |
| 799 |
% |
| 800 |
% \DescribeVariable{pdir} |
| 801 |
% The vector corresponding to the pen angle. |
| 802 |
% \begin{macrocode} |
| 803 |
pair pdir; pdir=dir(pangle); |
| 804 |
% \end{macrocode} |
| 805 |
% |
| 806 |
% \DescribeVariable{ppdir} |
| 807 |
% The vector that is perpendicular (anticlockwise) to the pen angle. |
| 808 |
% \begin{macrocode} |
| 809 |
pair ppdir; ppdir=dir(pangle+90); |
| 810 |
% \end{macrocode} |
| 811 |
% |
| 812 |
% \begin{routine}{draw_rusticstem} |
| 813 |
% A macro to draw a rustic thin vertical stem. |
| 814 |
% |draw_rusticstem(1,2)| draws the stem with top at |z1| and bottom at |z2|. |
| 815 |
% \begin{macrocode} |
| 816 |
|
| 817 |
def draw_rusticstem(suffix $, $$)= |
| 818 |
numeric alpha, beta; alpha:=0.5thick; |
| 819 |
beta:=60; % the ending angle |
| 820 |
pair rustic[]; |
| 821 |
xpart rustic1=x$$; ypart rustic1=y$$+alpha*sind(beta); |
| 822 |
z$a=1/2[z$,rustic1]; |
| 823 |
z$b=2/3[z$,rustic1]; |
| 824 |
z$c=5/6[z$,rustic1]; |
| 825 |
z$d=rustic1; |
| 826 |
z$ar=z$a shifted (alpha*up); z$al=z$a shifted (alpha*down); |
| 827 |
|
| 828 |
rustic2:=z$b shifted (alpha*right); |
| 829 |
z$br=rustic2 rotatedaround(z$b,1/4[90,beta]); z$bl=z$br rotatedaround(z$b,180); |
| 830 |
|
| 831 |
rustic2:=z$c shifted (alpha*right); |
| 832 |
z$cr=rustic2 rotatedaround(z$c,1/2[90,beta]); z$cl=z$cr rotatedaround(z$c,180); |
| 833 |
|
| 834 |
rustic2:=z$d shifted (alpha*right); |
| 835 |
%% z$dr=rustic2 rotatedaround(z$d,60); z$dl=z$dr rotatedaround(z$d,180); |
| 836 |
rustic3=rustic2 rotatedaround(z$d,beta); |
| 837 |
x$dr=xpart rustic3; y$dr=ypart rustic3 - thin; |
| 838 |
z$dl=z$dr rotatedaround(z$d,180); |
| 839 |
pen oldpen; oldpen:=currentpen; |
| 840 |
pickup stylus; |
| 841 |
draw z$--z$al; |
| 842 |
%% filldraw z$ar..z$br..z$cr..z$dr--z$dl..z$cl..z$bl..z$al--cycle; |
| 843 |
filldraw z$ar..z$br..z$cr..z$dr--z$dl..z$bl..z$al--cycle; |
| 844 |
pickup oldpen; |
| 845 |
%% labels($a,$al,$ar,$b,$bl,$br,$c,$cl,$cr,$dl,$dr); |
| 846 |
labels($a,$b,$c,$d,$dl,$dr); |
| 847 |
enddef; % end of draw_rusticstem |
| 848 |
|
| 849 |
% \end{macrocode} |
| 850 |
% \end{routine} |
| 851 |
% |
| 852 |
% \begin{routine}{draw_hserif} |
| 853 |
% A macro to draw a hooked serif. |draw_hserif(1,2,f)| uses the |stylus| pen to |
| 854 |
% draw a serif of extent |hookjut| at |z1| to the left of the line from |z2| |
| 855 |
% to |z1|. The |
| 856 |
% radius is controlled by |f|, where $0<f<1$. The `stem' from |z1| to |z2| |
| 857 |
% starts at the point |z1a|. |
| 858 |
% \begin{macrocode} |
| 859 |
|
| 860 |
def draw_hserif(suffix $, $$)(expr fr)= |
| 861 |
pen oldpen; oldpen:=currentpen; |
| 862 |
numeric beta, ajut, bjut; |
| 863 |
% \end{macrocode} |
| 864 |
% |fr| and |beta| control the serif radius. |
| 865 |
% \begin{macrocode} |
| 866 |
beta=1-fr; |
| 867 |
ajut=fr*jut; bjut=beta*jut; |
| 868 |
% \end{macrocode} |
| 869 |
% |
| 870 |
% |
| 871 |
% |
| 872 |
% |
| 873 |
% |
| 874 |
% \begin{macrocode} |
| 875 |
pair rustic; |
| 876 |
numeric tn, ang; ang:=70; |
| 877 |
tn:=(sind ang)/(cosd ang); |
| 878 |
x$g=x$-hookjut; y$g=y$-(hookjut*tn); % the tip |
| 879 |
x$f=x$; y$f=y$g; % on the stem |
| 880 |
pickup stylus; |
| 881 |
%% filldraw z$g{dir(ang)}..{down}z$f--z$--cycle; |
| 882 |
draw z$g--z$; |
| 883 |
pickup oldpen; |
| 884 |
labels($f,$g); |
| 885 |
enddef; % end of draw_hserif |
| 886 |
|
| 887 |
% \end{macrocode} |
| 888 |
% \end{routine} |
| 889 |
% |
| 890 |
% \begin{routine}{draw_footstem} |
| 891 |
% A macro to draw a rustic stem and its foot. |
| 892 |
% |draw_footstem(1,2)| uses the current pen to draw |
| 893 |
% the rustic stem with its top at |z1| and a foot at the point |z2|, |
| 894 |
% where |z2| is at the bottom of the foot. |
| 895 |
% The width of the foot is twice the (global) value of |footjut|. |
| 896 |
% \begin{macrocode} |
| 897 |
|
| 898 |
def draw_footstem(suffix $, $$)= |
| 899 |
draw_rusticstem($, $$); |
| 900 |
x$$fl=x$dl; bot y$$fl= y$$; |
| 901 |
x$$fr=x$$fl+2footjut; y$$fr=y$$fl; |
| 902 |
draw_squiggle($$fl,$$fr,wiggle,srad); |
| 903 |
labels($$fl,$$fr); |
| 904 |
enddef; % end of draw_footstem |
| 905 |
|
| 906 |
% \end{macrocode} |
| 907 |
% \end{routine} |
| 908 |
% |
| 909 |
% \begin{routine}{draw_foot} |
| 910 |
% A macro to draw a foot. |draw_foot(1)| uses the current pen to draw |
| 911 |
% a foot at the point |z1|, where |z1| is at the bottom center of the foot. |
| 912 |
% The width of the foot is twice the (global) value of |footjut|. |
| 913 |
% \begin{macrocode} |
| 914 |
|
| 915 |
def draw_foot(suffix $)= |
| 916 |
x$fl=x$-footjut; bot y$fl= y$; |
| 917 |
x$fr-x$=x$-x$fl; y$fr=y$fl; |
| 918 |
draw_squiggle($fl,$fr,wiggle,srad); |
| 919 |
labels($fl,$fr); |
| 920 |
enddef; % end of draw_foot |
| 921 |
|
| 922 |
% \end{macocode} |
| 923 |
% \end{routine} |
| 924 |
% |
| 925 |
% \begin{routine}{draw_head} |
| 926 |
% A macro to draw a head squiggle. |draw_head(1)| uses the current pen to draw |
| 927 |
% a head at the point |z1|, where |z1| is at the top center of the head. |
| 928 |
% The width of the head is twice the (global) value of |footjut|. |
| 929 |
% \begin{macrocode} |
| 930 |
|
| 931 |
def draw_head(suffix $)= |
| 932 |
x$hl=x$-footjut; top y$hl= y$; |
| 933 |
x$hr-x$=x$-x$hl; y$hr=y$hl; |
| 934 |
draw_squiggle($hl,$hr,wiggle,srad); |
| 935 |
labels($hl,$hr); |
| 936 |
enddef; % end of draw_head |
| 937 |
|
| 938 |
% \end{macrocode} |
| 939 |
% \end{routine} |
| 940 |
% |
| 941 |
% \begin{routine}{draw_bow} |
| 942 |
% A macro to draw a bow. |draw_bow(1,2,f)| uses the |bowpen| to draw a bowed |
| 943 |
% line from |z1| to |z2|. The midpoint of the bowed line is offest by an |
| 944 |
% amount |f*l| perpendicular to the line joining |z1| to |z2|, where |l| |
| 945 |
% is the distance between |z1| and |z2|. |
| 946 |
% \begin{macrocode} |
| 947 |
|
| 948 |
def draw_bow(suffix $, $$)(expr fr)= |
| 949 |
pen oldpen; oldpen:=currentpen; |
| 950 |
z$bm=1/2[z$,z$$]; |
| 951 |
l:=length(z$-z$$); |
| 952 |
bdir:=angle(z$-z$$); |
| 953 |
%% z$bo=z$bm shifted (fr*l*dir(bdir+90)); |
| 954 |
z$bo=z$bm shifted (fr*l*dir(bdir-90)); |
| 955 |
pickup bowpen; |
| 956 |
draw z$..z$bo..z$$; |
| 957 |
pickup oldpen; |
| 958 |
labels($bm,$bo); |
| 959 |
enddef; % end of draw_bow |
| 960 |
|
| 961 |
% \end{macrocode} |
| 962 |
% \end{routine} |
| 963 |
% |
| 964 |
% \begin{routine}{draw_squiggle} |
| 965 |
% A macro to draw a squiggle. |draw_squiggle(1,2,w,f)| draws a squiggle from |
| 966 |
% |z1| to |z2| (z1 assumed to be at the left of z2), with |w| amount of |
| 967 |
% wiggle and |f| controlling the serif radius. |
| 968 |
% \begin{macrocode} |
| 969 |
|
| 970 |
def draw_squiggle(suffix $, $$)(expr w, fr)= |
| 971 |
z$si=1/4[z$,z$$]; z$sii=3/4[z$,z$$]; |
| 972 |
l:=length(z$-z$$); |
| 973 |
bdir:=angle(z$-z$$); |
| 974 |
%% z$sio=z$si shifted (w*l*dir(bdir+90)); |
| 975 |
%% z$siio=z$sii shifted (w*l*dir(bdir-90)); |
| 976 |
z$sio=z$si shifted (w*l*dir(bdir-90)); |
| 977 |
z$siio=z$sii shifted (w*l*dir(bdir+90)); |
| 978 |
draw z$..z$sio..z$siio..z$$; % the squiggle |
| 979 |
%% draw_serif($,$$,fr); |
| 980 |
%% draw_serif($$,$,fr); |
| 981 |
labels($sio,$siio); |
| 982 |
enddef; % end of draw_squiggle |
| 983 |
|
| 984 |
% \end{macrocode} |
| 985 |
% \end{routine} |
| 986 |
% |
| 987 |
% \begin{routine}{draw_serif} |
| 988 |
% A macro to draw a serif. |draw_serif(1,2,f)| uses the current pen to |
| 989 |
% draw a serif of extent |jut| at |z1| to the left of the line from |z2| |
| 990 |
% to |z1|. The |
| 991 |
% radius is controlled by |f|, where $0<f<1$. The `stem' from |z1| to |z2| |
| 992 |
% starts at the point |z1a|. |
| 993 |
% \begin{macrocode} |
| 994 |
|
| 995 |
def draw_serif(suffix $, $$)(expr fr)= |
| 996 |
numeric beta, ajut, bjut; |
| 997 |
% \end{macrocode} |
| 998 |
% |fr| and |beta| control the serif radius. |
| 999 |
% \begin{macrocode} |
| 1000 |
beta=1-fr; |
| 1001 |
ajut=fr*jut; bjut=beta*jut; |
| 1002 |
% \end{macrocode} |
| 1003 |
% The points |$c|, |$b| and |$a| define the serif. For a top (bottom) serif |
| 1004 |
% the leftmost (rightmost) point is |
| 1005 |
% |$c| and |$a| is on the stem. |$a| is moved from |$| towards |$$| by the |
| 1006 |
% distance |ajut|, and the other points are calculated from this. If the stem |
| 1007 |
% is not vertical, then we have to rotate |$b| to match. |
| 1008 |
% \begin{macrocode} |
| 1009 |
pair vec[]; vec1=unitvector(z$$-z$); |
| 1010 |
vec2=ajut*vec1; |
| 1011 |
z$a=z$ shifted vec2; |
| 1012 |
z$b=z$a rotatedaround (z$,-90); |
| 1013 |
boolean top_serif; |
| 1014 |
if y$>y$$: |
| 1015 |
top_serif := true; |
| 1016 |
z$c=z$b shifted (-bjut*pdir); |
| 1017 |
else: |
| 1018 |
if y$=y$$: |
| 1019 |
if x$<x$$: |
| 1020 |
top_serif := true; |
| 1021 |
z$c=z$b shifted (-bjut*pdir); |
| 1022 |
else: |
| 1023 |
top_serif := false; |
| 1024 |
z$c=z$b shifted (bjut*pdir); |
| 1025 |
fi |
| 1026 |
else: |
| 1027 |
top_serif:=false; |
| 1028 |
z$c=z$b shifted (bjut*pdir); |
| 1029 |
fi |
| 1030 |
fi |
| 1031 |
% \end{macrocode} |
| 1032 |
% Draw the parts, and finish off. |
| 1033 |
% \begin{macrocode} |
| 1034 |
if top_serif: |
| 1035 |
draw z$c--z$b{pdir}..{z$$-z$}z$a; % the serif |
| 1036 |
else: |
| 1037 |
draw z$c--z$b{-pdir}..{z$$-z$}z$a; |
| 1038 |
fi |
| 1039 |
labels($a,$b,$c); |
| 1040 |
enddef; % end of draw_serif |
| 1041 |
|
| 1042 |
% \end{macrocode} |
| 1043 |
% \end{routine} |
| 1044 |
% |
| 1045 |
% \begin{routine}{draw_istem} |
| 1046 |
% A macro to draw the shape of an i. |draw_istem(1,2,f)| draws a stem whose |
| 1047 |
% top is at |z1| and bottom at |z2|. It draws with the current pen and the serifs |
| 1048 |
% are of extent |jut|. The serif radius is controlled by |f|, with $0<f<1$. |
| 1049 |
% \begin{macrocode} |
| 1050 |
|
| 1051 |
def draw_istem(suffix $, $$)(expr fr)= |
| 1052 |
draw_serif($, $$, fr); % top serif |
| 1053 |
draw_serif($$, $, fr); % bottom serif |
| 1054 |
draw z$a--z$$a; % the stem |
| 1055 |
enddef; % end of draw_istem |
| 1056 |
|
| 1057 |
% \end{macrocode} |
| 1058 |
% \end{routine} |
| 1059 |
% |
| 1060 |
% \begin{routine}{draw_tlserif} |
| 1061 |
% A macro to draw a top left serif. |draw_tlserif(1,2,f)| draws a serif on top |
| 1062 |
% of a stem whose absolute |
| 1063 |
% top is at |z1| and bottom at |z2|. It draws with the current pen and the serif |
| 1064 |
% is of extent |jut|. It also draws the stem to the point |z2|. The serif |
| 1065 |
% radius is controlled by |f|, with $0<f<1$. |
| 1066 |
% \begin{macrocode} |
| 1067 |
|
| 1068 |
def draw_tlserif(suffix $, $$)(expr fr)= |
| 1069 |
draw_serif($, $$, fr); % the serif |
| 1070 |
draw z$a--z$$; % the stem |
| 1071 |
enddef; % end of draw_tlserif |
| 1072 |
|
| 1073 |
% \end{macrocode} |
| 1074 |
% \end{routine} |
| 1075 |
% |
| 1076 |
% |
| 1077 |
% |
| 1078 |
% |
| 1079 |
% \begin{routine}{draw_pdot} |
| 1080 |
% A macro to draw a period dot. |
| 1081 |
% |draw_pdot(1,sz)| uses |stylus| to draw a dot centered at |z1| of overall size |sz|. |
| 1082 |
% \begin{macrocode} |
| 1083 |
|
| 1084 |
def draw_pdot(suffix $)(expr sz)= |
| 1085 |
% \end{macrocode} |
| 1086 |
% Draw a square rotated 45 degrees. |
| 1087 |
% \begin{macrocode} |
| 1088 |
z$s = z$ shifted (0.5sz*left); |
| 1089 |
z$t = z$ shifted (0.5sz*up); |
| 1090 |
z$u = z$s shifted (sz*right); |
| 1091 |
z$v = z$t shifted (sz*down); |
| 1092 |
pickup stylus; |
| 1093 |
filldraw z$s--z$t--z$u--z$v--cycle; |
| 1094 |
labels($s,$t,$u,$v); |
| 1095 |
enddef; % end of draw_pdot |
| 1096 |
|
| 1097 |
% \end{macrocode} |
| 1098 |
% \end{routine} |
| 1099 |
% |
| 1100 |
% \begin{routine}{draw_pcomma} |
| 1101 |
% A macro to draw a period comma. |
| 1102 |
% |draw_pcomma(1,t,w)| draws a comma placed at |z1| (the top), line width is |t| |
| 1103 |
% and bottom of line is |w| horizontally from |z1|. The pen is |stylus|. |
| 1104 |
% \begin{macrocode} |
| 1105 |
|
| 1106 |
def draw_pcomma(suffix $)(expr sz, ar)= |
| 1107 |
% \end{macrocode} |
| 1108 |
% Draw a line of at |z$| of width |sz| sloping back and down at 45 degrees |
| 1109 |
% for a total width of |ar|. |
| 1110 |
% \begin{macrocode} |
| 1111 |
z$s = z$ shifted (0.5sz*left); |
| 1112 |
z$t = z$s shifted (sz*right); |
| 1113 |
x$v=x$s-ar; y$v=y$s-ar; |
| 1114 |
z$u = z$v shifted (sz*right); |
| 1115 |
pickup stylus; |
| 1116 |
filldraw z$s--z$t--z$u--z$v--cycle; |
| 1117 |
labels($s,$t,$u,$v); |
| 1118 |
enddef; % end of draw_pcomma |
| 1119 |
|
| 1120 |
% \end{macrocode} |
| 1121 |
% \end{routine} |
| 1122 |
% |
| 1123 |
% \begin{routine}{draw_plq} |
| 1124 |
% A macro to draw a period left quote. |
| 1125 |
% |draw_pcomma(1,t,w)| draws a left quote placed at |z1| (the top), line width is |t| |
| 1126 |
% and bottom of line is |w| horizontally from |z1|. |
| 1127 |
% \begin{macrocode} |
| 1128 |
|
| 1129 |
def draw_plq(suffix $)(expr sz, ar)= |
| 1130 |
% \end{macrocode} |
| 1131 |
% Draw a line of at |z$| of width |sz| sloping forward and down at 45 degrees |
| 1132 |
% for a total width of |ar|. |
| 1133 |
% \begin{macrocode} |
| 1134 |
z$s = z$ shifted (0.5sz*left); |
| 1135 |
z$t = z$s shifted (sz*right); |
| 1136 |
x$v=x$s+ar; y$v=y$s-ar; |
| 1137 |
z$u = z$v shifted (sz*right); |
| 1138 |
pickup stylus; |
| 1139 |
filldraw z$s--z$t--z$u--z$v--cycle; |
| 1140 |
labels($s,$t,$u,$v); |
| 1141 |
enddef; % end of draw_plq |
| 1142 |
|
| 1143 |
% \end{macrocode} |
| 1144 |
% \end{routine} |
| 1145 |
% |
| 1146 |
% |
| 1147 |
% Set the mode and font setup. |
| 1148 |
% \begin{macrocode} |
| 1149 |
|
| 1150 |
font_coding_scheme:="ASCII minuscules and punctuation"; |
| 1151 |
mode_setup; |
| 1152 |
rustic_font_setup; |
| 1153 |
|
| 1154 |
% \end{macrocode} |
| 1155 |
% |
| 1156 |
% |
| 1157 |
% We generate letters, together with some punctuation and |
| 1158 |
% analphabetics. |
| 1159 |
% \begin{macrocode} |
| 1160 |
|
| 1161 |
input rustl; % normal letters |
| 1162 |
input rustu; % capital letters |
| 1163 |
input rustdig; % arabic digits |
| 1164 |
input rustpunct; % punctuation |
| 1165 |
input rustlig; % the several dashes |
| 1166 |
%%%%input rustp; % ampersand and ?mark |
| 1167 |
|
| 1168 |
% \end{macrocode} |
| 1169 |
% |
| 1170 |
% Finally, do the uppercase ligtable. |
| 1171 |
% |
| 1172 |
% \begin{macrocode} |
| 1173 |
|
| 1174 |
font_slant slant; font_x_height x_height#; |
| 1175 |
if monospace: font_normal_space 9u#; % no stretching or shrinking |
| 1176 |
font_quad 18u#; |
| 1177 |
font_extra_space 9u#; |
| 1178 |
else: font_normal_space 6u#+2letter_fit#; |
| 1179 |
font_normal_stretch 3u#; font_normal_shrink 2u#; |
| 1180 |
font_quad 18u#+4letter_fit#; |
| 1181 |
font_extra_space 2u#; |
| 1182 |
k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; % three degrees of kerning |
| 1183 |
%% ligtable "P": "T": "Y": "A" kern kk#; |
| 1184 |
%% ligtable "F": "V": "W": "A" kern if serifs: kkk# else: kk#fi, |
| 1185 |
%% "K": "X": "O" kern k#, "C" kern k#, "G" kern k#, "Q" kern k#; |
| 1186 |
%% ligtable "O": "D": "X" kern k#, "W" kern k#, "A" kern k#, |
| 1187 |
%% "V" kern k#, "Y" kern k#; |
| 1188 |
%% ligtable "A": if serifs: "R": fi |
| 1189 |
%% "C" kern k#, "O" kern k#, "G" kern k#, "U" kern k#, "Q" kern k#, |
| 1190 |
%% "L": "T" kern kk#, "Y" kern kkk#, "V" kern kk#, "W" kern kkk#; |
| 1191 |
%%ligtable "I": "I" kern -k#; % Richard III |
| 1192 |
fi |
| 1193 |
|
| 1194 |
bye. |
| 1195 |
|
| 1196 |
%</mfd> |
| 1197 |
% \end{macrocode} |
| 1198 |
% |
| 1199 |
% \subsection{The code for normal letters} |
| 1200 |
% |
| 1201 |
% The following code is for the normal alphabetic characters. |
| 1202 |
% |
| 1203 |
% \begin{macrocode} |
| 1204 |
%<*min> |
| 1205 |
% RUSTL.MF Program file for normal rustic letters |
| 1206 |
% |
| 1207 |
|
| 1208 |
|
| 1209 |
% \end{macrocode} |
| 1210 |
% |
| 1211 |
% |
| 1212 |
% \begin{routine}{a} |
| 1213 |
% The letter `a'. |
| 1214 |
% \begin{macrocode} |
| 1215 |
cmchar "Rustic letter a"; |
| 1216 |
beginchar("a", 2u#+hstretch*(4/5x_height#+jut#), x_height#, 0); |
| 1217 |
adjust_fit(0,0); |
| 1218 |
pcshiftx := u; |
| 1219 |
pickup quill; |
| 1220 |
% right leg |
| 1221 |
z1-z2=whatever*thick_tltobr; |
| 1222 |
top y1=h; |
| 1223 |
rt x2=w-pcshiftx-jut; bot y2=0; |
| 1224 |
% for the left leg |
| 1225 |
z3=9/10[z2,z1]; |
| 1226 |
x4=pcshiftx+footjut+extra_fhjut; bot y4=0; |
| 1227 |
% code for foot |
| 1228 |
x7=x4; y7=0; |
| 1229 |
%%ductus:=true; |
| 1230 |
if ductus: |
| 1231 |
pickup stylus; |
| 1232 |
fi |
| 1233 |
draw_istem(1,2,srad); % right leg |
| 1234 |
draw_bow(3,4,bowoff); % left leg |
| 1235 |
draw_foot(7); % left leg foot |
| 1236 |
ductus:=false; |
| 1237 |
penlabels(1,2,3,4,5,6,100); |
| 1238 |
endchar; % end "a" |
| 1239 |
|
| 1240 |
% \end{macrocode} |
| 1241 |
% \end{routine} |
| 1242 |
% |
| 1243 |
% \begin{routine}{b} |
| 1244 |
% The letter `b'. This is a tall letter |
| 1245 |
% \begin{macrocode} |
| 1246 |
cmchar "Rustic letter b"; |
| 1247 |
beginchar("b", 2u#+hstretch*(7/10x_height#), 11/10x_height#, 0); |
| 1248 |
adjust_fit(0,0); |
| 1249 |
pcshiftx := u+hookjut+thin; |
| 1250 |
pickup quill; |
| 1251 |
% stem |
| 1252 |
x1=x2=pcshiftx; |
| 1253 |
y1=h; y2=0; |
| 1254 |
% bottom bowl |
| 1255 |
rt x3=x1; bot y3=thin; |
| 1256 |
rt x5=w-u; y5 = 1/6h; |
| 1257 |
x4=0.4[x2,x5]; y4=0; |
| 1258 |
lft x6=x2; y6=2/3h; |
| 1259 |
% top bowl |
| 1260 |
z7=z6; |
| 1261 |
x8=0.25[x4,x5]; top y8=y1; |
| 1262 |
x9=0.5[x1,x8]; bot y9=h; |
| 1263 |
z10=z1; |
| 1264 |
%%ductus:=true; |
| 1265 |
if ductus: |
| 1266 |
pickup stylus; |
| 1267 |
fi |
| 1268 |
draw_rusticstem(1,2); % the stem |
| 1269 |
draw z3..z4{right}..z5..{dir(pangle+90)}z6; % bottom bowl |
| 1270 |
draw z7{pdir}..z8{up}..z9{left}..z10; % top bowl |
| 1271 |
ductus:=false; |
| 1272 |
penlabels(1,2,3,4,5,6,7,8,9,10,100); |
| 1273 |
endchar; % end "b" |
| 1274 |
|
| 1275 |
% \end{macrocode} |
| 1276 |
% \end{routine} |
| 1277 |
% |
| 1278 |
% |
| 1279 |
% \begin{routine}{c} |
| 1280 |
% The letter `c'. |
| 1281 |
% \begin{macrocode} |
| 1282 |
cmchar "Rustic letter c"; |
| 1283 |
beginchar("c", 2u#+hstretch*(3/5x_height#), x_height#, 0); |
| 1284 |
adjust_fit(0,0); |
| 1285 |
pcshiftx := u; |
| 1286 |
pickup quill; |
| 1287 |
lft x1=pcshiftx; rt x3=pcshiftx+sqxside; y1=y3=h/2; |
| 1288 |
x2=x4=w/2; top y2=h; bot y4=0; |
| 1289 |
rt x5= rt x6=w-pcshiftx; |
| 1290 |
top y5=1/5h; |
| 1291 |
top y6=4/5h; |
| 1292 |
%%ductus:=true; |
| 1293 |
if ductus: |
| 1294 |
pickup stylus; |
| 1295 |
fi |
| 1296 |
draw z5{-pdir}..{left}z4..z1..z2..z6; |
| 1297 |
ductus:=false; |
| 1298 |
penlabels(1,2,3,4,5,6,100); |
| 1299 |
endchar; % end "c" |
| 1300 |
|
| 1301 |
% \end{macrocode} |
| 1302 |
% \end{routine} |
| 1303 |
% |
| 1304 |
% \begin{routine}{d} |
| 1305 |
% The letter `d'. |
| 1306 |
% \begin{macrocode} |
| 1307 |
cmchar "Rustic letter d"; |
| 1308 |
beginchar("d", 2u#+hstretch*(3/5x_height#), x_height#, 0); |
| 1309 |
adjust_fit(0,0); |
| 1310 |
pcshiftx := u; |
| 1311 |
pickup quill; |
| 1312 |
x1=x2=pcshiftx+hookjut+thin; |
| 1313 |
top y1=h; y2=0; |
| 1314 |
% bowl |
| 1315 |
rt x3=x1; bot y3=thin; |
| 1316 |
rt x5=w-u; y5 = 2/5h; |
| 1317 |
x4=0.4[x2,x5]; y4=0; |
| 1318 |
x6=x1; top y6=h; |
| 1319 |
%%ductus:=true; |
| 1320 |
if ductus: |
| 1321 |
pickup stylus; |
| 1322 |
fi |
| 1323 |
draw_rusticstem(1,2); % stem |
| 1324 |
draw z3..z4{right}..z5{up}..z6; % bowl |
| 1325 |
ductus:=false; |
| 1326 |
penlabels(0,1,2,3,4,5,6,100); |
| 1327 |
endchar; % end "d" |
| 1328 |
|
| 1329 |
% \end{macrocode} |
| 1330 |
% \end{routine} |
| 1331 |
% |
| 1332 |
% \begin{routine}{e} |
| 1333 |
% The letter `e'. |
| 1334 |
% \begin{macrocode} |
| 1335 |
cmchar "Rustic letter e"; |
| 1336 |
beginchar("e", 2u#+hstretch*(4/10x_height#), x_height#, 0); |
| 1337 |
adjust_fit(0,0); |
| 1338 |
pcshiftx := u; |
| 1339 |
pickup quill; |
| 1340 |
% stem |
| 1341 |
x1=x2=pcshiftx+stem_offset; |
| 1342 |
top y1=h; y2=0; |
| 1343 |
% top bar |
| 1344 |
rt x3=x1; x4=w-u; |
| 1345 |
top y3=top y4=h; |
| 1346 |
% middle bar |
| 1347 |
x5=x3; x6=x4; |
| 1348 |
y5=y6=3/5h; |
| 1349 |
% foot |
| 1350 |
x7=x3; x8=x4; |
| 1351 |
bot y7= bot y8=0; |
| 1352 |
%%ductus:=true; |
| 1353 |
if ductus: |
| 1354 |
pickup stylus; |
| 1355 |
fi |
| 1356 |
draw_rusticstem(1,2); % stem |
| 1357 |
draw_squiggle(3,4,wiggle,srad); % top bar |
| 1358 |
draw_squiggle(5,6,wiggle,srad); % middle bar |
| 1359 |
draw_squiggle(7,8,wiggle,srad); % bottom bar |
| 1360 |
ductus:=false; |
| 1361 |
penlabels(1,2,3,4,5,6,7,8,100); |
| 1362 |
endchar; % end "e" |
| 1363 |
|
| 1364 |
% \end{macrocode} |
| 1365 |
% \end{routine} |
| 1366 |
% |
| 1367 |
% \begin{routine}{f} |
| 1368 |
% The letter `f'. This is a tall letter |
| 1369 |
% \begin{macrocode} |
| 1370 |
cmchar "Rustic letter f"; |
| 1371 |
beginchar("f", 2u#+hstretch*(4/10x_height#), 6/5x_height#, 0); |
| 1372 |
adjust_fit(0,0); |
| 1373 |
pcshiftx := u +stem_offset; |
| 1374 |
pickup quill; |
| 1375 |
% stem |
| 1376 |
x1=x2=pcshiftx; |
| 1377 |
top y1=h; y2=0; |
| 1378 |
% top bar |
| 1379 |
x3=x1; x4=w-u; |
| 1380 |
top y3=top y4=h; |
| 1381 |
% middle bar |
| 1382 |
x5=x3; x6=x4; |
| 1383 |
y5=y6=2/3h; |
| 1384 |
% foot |
| 1385 |
x7=x3; x8=x4; |
| 1386 |
bot y7= bot y8=0; |
| 1387 |
%%ductus:=true; |
| 1388 |
if ductus: |
| 1389 |
pickup stylus; |
| 1390 |
fi |
| 1391 |
draw_footstem(1,2); % stem |
| 1392 |
draw_squiggle(3,4,wiggle,srad); % top bar |
| 1393 |
draw_squiggle(5,6,wiggle,srad); % middle bar |
| 1394 |
ductus:=false; |
| 1395 |
penlabels(1,2,3,4,5,6,7,8,100); |
| 1396 |
endchar; % end "f" |
| 1397 |
|
| 1398 |
% \end{macrocode} |
| 1399 |
% \end{routine} |
| 1400 |
% |
| 1401 |
% |
| 1402 |
% \begin{routine}{g} |
| 1403 |
% The letter `g'. Like a `c' but bottom curls inwards. |
| 1404 |
% \begin{macrocode} |
| 1405 |
cmchar "Rustic letter g"; |
| 1406 |
beginchar("g", 2u#+hstretch*(3/5x_height#), x_height#, 0); |
| 1407 |
adjust_fit(0,0); |
| 1408 |
pcshiftx := u; |
| 1409 |
pickup quill; |
| 1410 |
lft x1=pcshiftx; rt x3=pcshiftx+sqxside; y1=y3=h/2; |
| 1411 |
x2=x4=w/2; top y2=h; bot y4=0; |
| 1412 |
rt x5= rt x6=w-pcshiftx; |
| 1413 |
top y5=1/5h; |
| 1414 |
top y6=4/5h; |
| 1415 |
lft x7=w/2; y7=h/2; |
| 1416 |
%%ductus:=true; |
| 1417 |
if ductus: |
| 1418 |
pickup stylus; |
| 1419 |
fi |
| 1420 |
draw z7..z5{down}..{left}z4..z1..z2..z6; % the bowl |
| 1421 |
ductus:=false; |
| 1422 |
penlabels(1,2,3,4,5,6,7,100); |
| 1423 |
endchar; % end "g" |
| 1424 |
|
| 1425 |
% \end{macrocode} |
| 1426 |
% \end{routine} |
| 1427 |
% |
| 1428 |
% \begin{routine}{h} |
| 1429 |
% The letter `h'. |
| 1430 |
% \begin{macrocode} |
| 1431 |
cmchar "Rustic letter h"; |
| 1432 |
beginchar("h", 2u#+hstretch*(4/5x_height#), x_height#, 0); |
| 1433 |
adjust_fit(0,0); |
| 1434 |
pcshiftx := u; |
| 1435 |
y100 = sqyside/2; x100 = pcshiftx+y100; % square center |
| 1436 |
pickup quill; |
| 1437 |
% left stem and foot |
| 1438 |
x1=x2=pcshiftx+stem_offset; |
| 1439 |
y1=h; y2=0; |
| 1440 |
% bar |
| 1441 |
y5=y6=7/10h; |
| 1442 |
lft x5=pcshiftx; rt x6=w-pcshiftx; |
| 1443 |
% right stem |
| 1444 |
rt x7=w-pcshiftx; top y7=h; |
| 1445 |
x8=x7; bot y8=0; |
| 1446 |
x9=x8-2thin; y9=0.5[y8,y7]; |
| 1447 |
%%ductus:=true; |
| 1448 |
if ductus: |
| 1449 |
pickup stylus; |
| 1450 |
fi |
| 1451 |
draw_footstem(1,2); % left stem |
| 1452 |
draw_hserif(1,2,srad); % its serif |
| 1453 |
draw_squiggle(5,6,wiggle,srad); % the bar |
| 1454 |
draw z7..z9..z8; % right stem |
| 1455 |
ductus:=false; |
| 1456 |
penlabels(1,1',2,2',3,4,5,6,7,7',8,8',99,99',100); |
| 1457 |
endchar; % end "h" |
| 1458 |
|
| 1459 |
% \end{macrocode} |
| 1460 |
% \end{routine} |
| 1461 |
% |
| 1462 |
% \begin{routine}{i} |
| 1463 |
% The letter i. |
| 1464 |
% \begin{macrocode} |
| 1465 |
cmchar "Rustic letter i"; |
| 1466 |
beginchar("i", 2u#+hstretch*(2footjut#+hookjut#), x_height#, 0); |
| 1467 |
adjust_fit(0,0); |
| 1468 |
pcshiftx := u; |
| 1469 |
pickup quill; |
| 1470 |
x1=x2=pcshiftx+stem_offset; |
| 1471 |
y1=h; y2=0; |
| 1472 |
%%ductus:=true; |
| 1473 |
if ductus: |
| 1474 |
pickup stylus; |
| 1475 |
fi |
| 1476 |
draw_footstem(1,2); % stem and foot |
| 1477 |
draw_hserif(1,2,srad); % serif |
| 1478 |
ductus:=false; |
| 1479 |
penlabels(1,2,3,4,100); |
| 1480 |
endchar; % end "i" |
| 1481 |
|
| 1482 |
% \end{macrocode} |
| 1483 |
% \end{routine} |
| 1484 |
% |
| 1485 |
% \begin{routine}{j} |
| 1486 |
% The letter `j'. This letter was not in the script, it being a later invention. |
| 1487 |
% \begin{macrocode} |
| 1488 |
cmchar "Rustic letter j"; |
| 1489 |
beginchar("j", 4u#+hstretch*(3/5x_height#), x_height#, 0); |
| 1490 |
adjust_fit(0,0); |
| 1491 |
pcshiftx := 3u; |
| 1492 |
pickup quill; |
| 1493 |
% stem |
| 1494 |
x1=x2=pcshiftx+2/3(w-4u); |
| 1495 |
y1=h; y2=0; |
| 1496 |
% top bar |
| 1497 |
rt x4=w-u; top y4=h; |
| 1498 |
x1-x3 = x4-x1; y3=y4; |
| 1499 |
% bowl |
| 1500 |
rt x5 = lft x3; |
| 1501 |
top y5=2/5h; |
| 1502 |
x7=x2; bot y7=0; |
| 1503 |
%%ductus:=true; |
| 1504 |
if ductus: |
| 1505 |
pickup stylus; |
| 1506 |
fi |
| 1507 |
draw_rusticstem(1,2); % stem |
| 1508 |
draw_squiggle(3,4,wiggle,srad); % top bar |
| 1509 |
draw z7{left}..{pdir}z5; % bowl |
| 1510 |
ductus:=false; |
| 1511 |
penlabels(1,2,3,4,5,6,7,100); |
| 1512 |
endchar; % end "j" |
| 1513 |
|
| 1514 |
% \end{macrocode} |
| 1515 |
% \end{routine} |
| 1516 |
% |
| 1517 |
% \begin{routine}{k} |
| 1518 |
% The letter `k'. |
| 1519 |
% \begin{macrocode} |
| 1520 |
cmchar "Rustic letter k"; |
| 1521 |
beginchar("k", 2u#+hstretch*(x_height#), x_height#, 0); |
| 1522 |
adjust_fit(0,0); |
| 1523 |
pcshiftx := u; |
| 1524 |
pickup quill; |
| 1525 |
% the stem and its foot |
| 1526 |
x1=x2=pcshiftx+stem_offset; |
| 1527 |
y1=h; y2=0; |
| 1528 |
lft x13=pcshiftx; bot y13=0; |
| 1529 |
x2-x13=x14-x2; y14=y13; |
| 1530 |
% upper diagonal and its top |
| 1531 |
x3=x1; y3=h/2; |
| 1532 |
x4=x1+y3; top y4=h; |
| 1533 |
x5=x4-jut; x6-x4=x4-x5; |
| 1534 |
top y5=top y6=h; |
| 1535 |
x24=x4; y24=h; |
| 1536 |
% bottom leg |
| 1537 |
lft x7=x3; bot y7=y3; |
| 1538 |
rt x9=w-pcshiftx; bot y9=0; |
| 1539 |
x8=0.5[x7,x9]; y8=0.7[y7,y9]; |
| 1540 |
%%ductus:=true; |
| 1541 |
if ductus: |
| 1542 |
pickup stylus; |
| 1543 |
fi |
| 1544 |
draw_footstem(1,2); % the stem |
| 1545 |
draw_hserif(1,2,srad); % its serif |
| 1546 |
draw z3--z4; % upper diagonal |
| 1547 |
draw_head(24); |
| 1548 |
draw z7..z8..z9; % bottom leg |
| 1549 |
ductus:=false; |
| 1550 |
penlabels(1,2,3,4,5,6,7,8,9,100); |
| 1551 |
endchar; % end "k" |
| 1552 |
|
| 1553 |
% \end{macrocode} |
| 1554 |
% \end{routine} |
| 1555 |
% |
| 1556 |
% \begin{routine}{l} |
| 1557 |
% The letter `l'. This is a tall letter. |
| 1558 |
% \begin{macrocode} |
| 1559 |
cmchar "Rustic letter l"; |
| 1560 |
beginchar("l", 2u#+hstretch*(1/2x_height#), 6/5x_height#, 0); |
| 1561 |
adjust_fit(0,0); |
| 1562 |
pcshiftx := u+hookjut; |
| 1563 |
pickup quill; |
| 1564 |
x1=x2=pcshiftx+thin+hookjut; |
| 1565 |
y1=h; y2=0; |
| 1566 |
rt x3=x1; rt x4=w-u; |
| 1567 |
bot y3= bot y4=0; |
| 1568 |
%%ductus:=true; |
| 1569 |
if ductus: |
| 1570 |
pickup stylus; |
| 1571 |
fi |
| 1572 |
draw_rusticstem(1,2); % stem |
| 1573 |
draw_hserif(1,2,srad); % serif |
| 1574 |
draw_squiggle(3,4,wiggle,srad); % foot |
| 1575 |
ductus:=false; |
| 1576 |
penlabels(1,2,3,4,100); |
| 1577 |
endchar; % end "l" |
| 1578 |
|
| 1579 |
% \end{macrocode} |
| 1580 |
% \end{routine} |
| 1581 |
% |
| 1582 |
% \begin{routine}{m} |
| 1583 |
% The letter `m'. Like 2 As stuck together. |
| 1584 |
% \begin{macrocode} |
| 1585 |
cmchar "Rustic letter m"; |
| 1586 |
beginchar("m", 2u#+hstretch*(6/5x_height#+jut#), x_height#, 0); |
| 1587 |
adjust_fit(0,0); |
| 1588 |
pcshiftx := u; |
| 1589 |
pickup quill; |
| 1590 |
% right a thick diag |
| 1591 |
z11-z12=whatever*thick_tltobr; |
| 1592 |
rt x12=w-pcshiftx-jut; bot y12=0; |
| 1593 |
top y11=h; |
| 1594 |
% left a thin diag |
| 1595 |
pickup bowpen; |
| 1596 |
x4=pcshiftx+footjut+extra_fhjut; bot y4=thin; |
| 1597 |
z3=9/10[z2,z1]; |
| 1598 |
pickup quill; |
| 1599 |
x7=x4; y7=0; % for the foot |
| 1600 |
% the two thin diags are parallel, and just shifted horizontally |
| 1601 |
z13=9/10[z12,z11]; |
| 1602 |
z3-z4=z13-z14; y4=y14; |
| 1603 |
% similarly for the two thick diags |
| 1604 |
z1-z2=z11-z12; % y2=y12; |
| 1605 |
x12-x2=1/3w; |
| 1606 |
%%ductus:=true; |
| 1607 |
if ductus: |
| 1608 |
pickup stylus; |
| 1609 |
fi |
| 1610 |
% draw left a |
| 1611 |
draw_istem(1,2,srad); % right leg |
| 1612 |
draw_bow(3,4,bowoff); % left leg |
| 1613 |
draw_foot(7); % left leg foot |
| 1614 |
% draw right a |
| 1615 |
draw_istem(11,12,srad); |
| 1616 |
draw_bow(13,14,bowoff); |
| 1617 |
ductus:=false; |
| 1618 |
penlabels(1,2,3,4,5,6,11,12,13,14,100); |
| 1619 |
endchar; % end "m" |
| 1620 |
|
| 1621 |
% \end{macrocode} |
| 1622 |
% \end{routine} |
| 1623 |
% |
| 1624 |
% \begin{routine}{n} |
| 1625 |
% The letter `n'. |
| 1626 |
% \begin{macrocode} |
| 1627 |
cmchar "Rustic letter n"; |
| 1628 |
beginchar("n", 2u#+hstretch*(9/10x_height#), x_height#, 0); |
| 1629 |
adjust_fit(0,0); |
| 1630 |
pcshiftx := u; |
| 1631 |
pickup quill; |
| 1632 |
% left stem and foot |
| 1633 |
x1=x2=pcshiftx+stem_offset; |
| 1634 |
y1=h; y2=0; |
| 1635 |
% right stem |
| 1636 |
x5=x6=w-u-hookjut-thin; |
| 1637 |
y5=y1; y6=y2; |
| 1638 |
% diagonal |
| 1639 |
x7=x1; y7=h; |
| 1640 |
x9=x6; bot y9=0; |
| 1641 |
x8=0.5[x7,x9]; y8=0.6[y7,y9]; |
| 1642 |
%%ductus:=true; |
| 1643 |
if ductus: |
| 1644 |
pickup stylus; |
| 1645 |
fi |
| 1646 |
draw_footstem(1,2); % left stem |
| 1647 |
draw_rusticstem(5,6); % right stem |
| 1648 |
draw_hserif(5,6,srad); % its serif |
| 1649 |
draw z7..z8..z9; % diagonal |
| 1650 |
draw_serif(9,8,srad); % its bottom serif |
| 1651 |
ductus:=false; |
| 1652 |
penlabels(1,2,5,6,7,8,9,100); |
| 1653 |
endchar; % end "n" |
| 1654 |
|
| 1655 |
% \end{macrocode} |
| 1656 |
% \end{routine} |
| 1657 |
% |
| 1658 |
% \begin{routine}{o} |
| 1659 |
% The letter `o'. |
| 1660 |
% \begin{macrocode} |
| 1661 |
cmchar "Rustic letter o"; |
| 1662 |
beginchar("o", 2u#+hstretch*(3/5x_height#), x_height#, 0); |
| 1663 |
adjust_fit(0,0); |
| 1664 |
pcshiftx := u; |
| 1665 |
pickup quill; |
| 1666 |
lft x1=pcshiftx; rt x3=w-pcshiftx; y1=y3=h/2; |
| 1667 |
x2=x4=w/2; top y2=h+o; bot y4=-o; |
| 1668 |
%%ductus:=true; |
| 1669 |
if ductus: |
| 1670 |
pickup stylus; |
| 1671 |
fi |
| 1672 |
draw z1..z2..z3..z4..cycle; |
| 1673 |
ductus:=false; |
| 1674 |
penlabels(1,2,3,4,100); |
| 1675 |
endchar; % end "o" |
| 1676 |
|
| 1677 |
% \end{macrocode} |
| 1678 |
% \end{routine} |
| 1679 |
% |
| 1680 |
% \begin{routine}{p} |
| 1681 |
% The letter `p'. |
| 1682 |
% \begin{macrocode} |
| 1683 |
cmchar "Rustic letter p"; |
| 1684 |
beginchar("p", 2u#+hstretch*(5/10x_height#), x_height#, 0); |
| 1685 |
adjust_fit(0,0); |
| 1686 |
pcshiftx := u; |
| 1687 |
pickup quill; |
| 1688 |
% stem and foot |
| 1689 |
x1=x2=pcshiftx+stem_offset; |
| 1690 |
top y1=h; y2=0; |
| 1691 |
% bowl |
| 1692 |
lft x7=x2; y7=1/2h; % y7=2/3h; |
| 1693 |
rt x8=w-pcshiftx; top y8=y1; |
| 1694 |
z10=z1; |
| 1695 |
x9=0.5[x1,x8]; y9=h; |
| 1696 |
%%ductus:=true; |
| 1697 |
if ductus: |
| 1698 |
pickup stylus; |
| 1699 |
fi |
| 1700 |
draw_footstem(1,2); % stem |
| 1701 |
draw z7{pdir}..z8{up}..z9{left}..z10; % top bowl |
| 1702 |
ductus:=false; |
| 1703 |
penlabels(1,2,7,8,9,10,100); |
| 1704 |
endchar; % end "p" |
| 1705 |
|
| 1706 |
% \end{macrocode} |
| 1707 |
% \end{routine} |
| 1708 |
% |
| 1709 |
% \begin{routine}{q} |
| 1710 |
% The letter `q'. |
| 1711 |
% \begin{macrocode} |
| 1712 |
cmchar "Rustic letter q"; |
| 1713 |
beginchar("q", 2u#+hstretch*(3/5x_height#), x_height#, 2/3thick#); |
| 1714 |
adjust_fit(0,0); |
| 1715 |
pcshiftx := u; |
| 1716 |
pickup quill; |
| 1717 |
% the O shape |
| 1718 |
lft x1=pcshiftx; rt x3=w-pcshiftx; y1=y3=h/2; |
| 1719 |
x2=x4=w/2; top y2=h+o; bot y4=-o; |
| 1720 |
% the tail |
| 1721 |
path p; |
| 1722 |
p = z4{right}..{up}z3; |
| 1723 |
z5 = directionpoint pdir of p; |
| 1724 |
x7= x4+w/2; top y7=0; |
| 1725 |
x6=0.5[x5,x7]; y6=y7; |
| 1726 |
%%ductus:=true; |
| 1727 |
if ductus: |
| 1728 |
pickup stylus; |
| 1729 |
fi |
| 1730 |
draw z1..z2..z3..z4..cycle; % O shape |
| 1731 |
draw z5..z6..z7; % the tail |
| 1732 |
ductus:=false; |
| 1733 |
penlabels(0,1,2,3,4,5,6,6',7,100); |
| 1734 |
endchar; % end "q" |
| 1735 |
|
| 1736 |
% \end{macrocode} |
| 1737 |
% \end{routine} |
| 1738 |
% |
| 1739 |
% \begin{routine}{r} |
| 1740 |
% The letter `r'. |
| 1741 |
% \begin{macrocode} |
| 1742 |
cmchar "Rustic letter r"; |
| 1743 |
beginchar("r", 2u#+hstretch*(4/5x_height#), x_height#, 0); |
| 1744 |
adjust_fit(0,0); |
| 1745 |
pcshiftx := u; |
| 1746 |
numeric alpha, beta; |
| 1747 |
alpha:=thin*(xpart pdir); beta:=thin*(ypart pdir); |
| 1748 |
pickup quill; |
| 1749 |
% stem |
| 1750 |
x1=x2=pcshiftx+stem_offset; |
| 1751 |
top y1=h; y2=0; |
| 1752 |
% bowl |
| 1753 |
lft x7=x2; bot y7=1/2h; |
| 1754 |
rt x8=5/8w; top y8=y1; |
| 1755 |
z10=z1; |
| 1756 |
x9=0.5[x1,x8]; y9=h; |
| 1757 |
% leg |
| 1758 |
z11=z7 shifted (thin*pdir); |
| 1759 |
rt x13=w-pcshiftx; bot y13=0; |
| 1760 |
x12=0.5[x11,x13]; y12=0.7[y11,y13]; |
| 1761 |
% points defining the leg profile |
| 1762 |
x11l=lft x11 + alpha; y11l=bot y11 + beta; |
| 1763 |
x11r= rt x11 - alpha; y11r=top y11 - beta; |
| 1764 |
x12l=0.6[lft x12, x12]; y12l=0.6[bot y12, y12]; |
| 1765 |
x12r=0.6[rt x12, x12]; y12r=0.6[top y12, y12]; |
| 1766 |
x14=w-pcshiftx-thin; y14=thin; |
| 1767 |
%%ductus:=true; |
| 1768 |
if ductus: |
| 1769 |
pickup stylus; |
| 1770 |
fi |
| 1771 |
draw_footstem(1,2); % stem and foot |
| 1772 |
draw z7{pdir}..z8{up}..z9{left}..z10; % bowl |
| 1773 |
pickup stylus; % drawing the leg |
| 1774 |
filldraw z11l..z12l..{right}z14 & z14{left}..z12r..z11r--cycle; |
| 1775 |
ductus:=false; |
| 1776 |
penlabels(1,2,7,8,9,10,11,12,14,100); |
| 1777 |
endchar; % end "r" |
| 1778 |
|
| 1779 |
% \end{macrocode} |
| 1780 |
% \end{routine} |
| 1781 |
% |
| 1782 |
% \begin{routine}{s} |
| 1783 |
% The letter `s'. |
| 1784 |
% \begin{macrocode} |
| 1785 |
cmchar "Rustic letter s"; |
| 1786 |
beginchar("s", 2u#+hstretch*(3/5x_height#), x_height#, 0); |
| 1787 |
adjust_fit(0,0); |
| 1788 |
pcshiftx := u; |
| 1789 |
pickup quill; |
| 1790 |
% for the foot |
| 1791 |
lft x7=pcshiftx+extra_fhjut; bot y7=0; |
| 1792 |
% the S curve |
| 1793 |
rt x1=w-pcshiftx; top y1=h-thin; |
| 1794 |
lft x3=pcshiftx+extra_fhjut; y3=0.75h; |
| 1795 |
x4=0.5[x1,x3]; y4=0.5[y3,y5]; |
| 1796 |
x2=x4; top y2=h; |
| 1797 |
x5=x1; y5=0.3h; |
| 1798 |
x6=0.75w; bot y6=0; |
| 1799 |
%%ductus:=true; |
| 1800 |
if ductus: |
| 1801 |
pickup stylus; |
| 1802 |
fi |
| 1803 |
draw z1..z2{left}..z3{down}..z4..z5{down}..{-pdir}z6; % S curve |
| 1804 |
draw_squiggle(7,6,wiggle,srad); % base |
| 1805 |
ductus:=false; |
| 1806 |
penlabels(1,2,3,4,5,6,7,100); |
| 1807 |
endchar; % end "s" |
| 1808 |
|
| 1809 |
% \end{macrocode} |
| 1810 |
% \end{routine} |
| 1811 |
% |
| 1812 |
% \begin{routine}{t} |
| 1813 |
% The letter `t'. |
| 1814 |
% \begin{macrocode} |
| 1815 |
cmchar "Rustic letter t"; |
| 1816 |
beginchar("t", 2u#+hstretch*(2/5x_height#), x_height#, 0); |
| 1817 |
adjust_fit(0,0); |
| 1818 |
pcshiftx := u; |
| 1819 |
pickup quill; |
| 1820 |
x1=x2=w/2; |
| 1821 |
y1=h; y2=0; |
| 1822 |
lft x3=pcshiftx; top y3=h; |
| 1823 |
rt x4=w-pcshiftx; y4=y3; |
| 1824 |
rt x5=x2; bot y5= bot y6=0; |
| 1825 |
rt x6=w-pcshiftx; |
| 1826 |
%%ductus:=true; |
| 1827 |
if ductus: |
| 1828 |
pickup stylus; |
| 1829 |
fi |
| 1830 |
draw_footstem(1,2); % the stem |
| 1831 |
draw_squiggle(3,4,wiggle,srad); % the top crossbar |
| 1832 |
ductus:=false; |
| 1833 |
penlabels(1,2,3,4,5,6,100); |
| 1834 |
endchar; % end "t" |
| 1835 |
|
| 1836 |
% \end{macrocode} |
| 1837 |
% \end{routine} |
| 1838 |
% |
| 1839 |
% \begin{routine}{u} |
| 1840 |
% The letter `u'. This is a modern version as the font did not have a U. |
| 1841 |
% \begin{macrocode} |
| 1842 |
cmchar "Rustic letter u"; |
| 1843 |
beginchar("u", 2u#+hstretch*(4/5x_height#), x_height#, 0); |
| 1844 |
adjust_fit(0,0); |
| 1845 |
pcshiftx := u; |
| 1846 |
pickup quill; |
| 1847 |
% the right stem |
| 1848 |
x5=x6=w-pcshiftx-hookjut-thin; y5=h; y6=-thin; |
| 1849 |
% left stem and bowl |
| 1850 |
lft x1= lft x2=pcshiftx+jut; |
| 1851 |
top y1=h; y2=2thick; |
| 1852 |
x3=0.5[x1,x5]; bot y3=0; |
| 1853 |
rt x4=x5; bot y4=0.25thick; |
| 1854 |
%%ductus:=true; |
| 1855 |
if ductus: |
| 1856 |
pickup stylus; |
| 1857 |
fi |
| 1858 |
draw_rusticstem(5,6); % right stem |
| 1859 |
draw_hserif(5,6,srad); % its serif |
| 1860 |
draw_tlserif(1,2,srad); % left stem and serif |
| 1861 |
draw z2{down}..z3{right}..{pdir}z4; % the bowl |
| 1862 |
ductus:=false; |
| 1863 |
penlabels(1,2,3,4,5,6,7,8,9,11,16,100); |
| 1864 |
endchar; % end "u" |
| 1865 |
|
| 1866 |
% \end{macrocode} |
| 1867 |
% \end{routine} |
| 1868 |
% |
| 1869 |
% \begin{routine}{v} |
| 1870 |
% The letter `v'. |
| 1871 |
% if you prefer). |
| 1872 |
% \begin{macrocode} |
| 1873 |
cmchar "Rustic letter v"; |
| 1874 |
beginchar("v", 2u#+hstretch*(x_height#), x_height#, 0); |
| 1875 |
adjust_fit(0,0); |
| 1876 |
pcshiftx := u; |
| 1877 |
pickup quill; |
| 1878 |
% left side |
| 1879 |
z1-z2=whatever*thick_tltobr; |
| 1880 |
lft x1=pcshiftx+jut; top y1=h; |
| 1881 |
bot y2=0; |
| 1882 |
% right side |
| 1883 |
pickup bowpen; |
| 1884 |
x3=w-pcshiftx-footjut-extra_fhjut; top y3=h; |
| 1885 |
pickup quill; |
| 1886 |
x4=lft x2; y4=0; |
| 1887 |
x5=x3; y5=h; |
| 1888 |
%%ductus:=true; |
| 1889 |
if ductus: |
| 1890 |
pickup stylus; |
| 1891 |
fi |
| 1892 |
draw_istem(1,2,srad); % left part |
| 1893 |
draw_bow(3,4,bowoff); % right part |
| 1894 |
draw_head(5); % and its head |
| 1895 |
ductus:=false; |
| 1896 |
penlabels(1,2,3,4,5,100); |
| 1897 |
endchar; % end "v" |
| 1898 |
|
| 1899 |
% \end{macrocode} |
| 1900 |
% \end{routine} |
| 1901 |
% |
| 1902 |
% \begin{routine}{w} |
| 1903 |
% The letter `w'. This is a modern version as the font did not have a W. |
| 1904 |
% \begin{macrocode} |
| 1905 |
cmchar "Rustic letter w"; |
| 1906 |
beginchar("w", 2u#+hstretch*(8/5x_height#), x_height#, 0); |
| 1907 |
adjust_fit(0,0); |
| 1908 |
pcshiftx := u; |
| 1909 |
pickup quill; |
| 1910 |
% left thick diagonal |
| 1911 |
z1-z2=whatever*thick_tltobr; |
| 1912 |
lft x1=pcshiftx+jut; top y1=h; bot y2=0; |
| 1913 |
% right thin diagonal |
| 1914 |
pickup bowpen; |
| 1915 |
x13=w-pcshiftx-footjut-extra_fhjut; top y13=h-thin; |
| 1916 |
x23=x13; y23=h; % for the head |
| 1917 |
bot y14=thin; |
| 1918 |
pickup quill; |
| 1919 |
% right thick diagonal |
| 1920 |
z11-z12=z1-z2; |
| 1921 |
x12-x2=1/3w; y12=y2; |
| 1922 |
% left thin diagonal |
| 1923 |
z3-z4=z13-z14; |
| 1924 |
x4=x2; |
| 1925 |
x14=x12; |
| 1926 |
y3=y13; |
| 1927 |
|
| 1928 |
%%ductus:=true; |
| 1929 |
if ductus: |
| 1930 |
pickup stylus; |
| 1931 |
fi |
| 1932 |
draw_istem(1,2,srad); % left and right thick diags |
| 1933 |
draw_istem(11,12,srad); |
| 1934 |
draw_bow(3,4,bowoff); % left thin diag |
| 1935 |
draw_bow(13,14,bowoff); % right thin diag |
| 1936 |
draw_head(23); % its head |
| 1937 |
ductus:=false; |
| 1938 |
penlabels(1,2,3,4,11,12,13,14,23,100); |
| 1939 |
endchar; % end "w" |
| 1940 |
|
| 1941 |
% \end{macrocode} |
| 1942 |
% \end{routine} |
| 1943 |
% |
| 1944 |
% \begin{routine}{x} |
| 1945 |
% The letter `x'. |
| 1946 |
% \begin{macrocode} |
| 1947 |
cmchar "Rustic letter x"; |
| 1948 |
beginchar("x", 2u#+hstretch*(9/10x_height#), x_height#, 0); |
| 1949 |
adjust_fit(0,0); |
| 1950 |
pcshiftx := u; |
| 1951 |
pickup quill; |
| 1952 |
% thick diagonal |
| 1953 |
lft x1=pcshiftx+jut; top y1=h; |
| 1954 |
rt x2= w-pcshiftx-jut; bot y2=0; |
| 1955 |
% thin diagonal |
| 1956 |
pickup bowpen; |
| 1957 |
x3=w-pcshiftx-footjut-extra_fhjut-thin; top y3=h; |
| 1958 |
x4=pcshiftx+footjut+extra_fhjut+thin; bot y4=0; |
| 1959 |
x7=x3; y7=h; |
| 1960 |
x8=x4; y8=0; |
| 1961 |
pickup quill; |
| 1962 |
%%ductus:=true; |
| 1963 |
if ductus: |
| 1964 |
pickup stylus; |
| 1965 |
fi |
| 1966 |
draw_istem(1,2,srad); % thick diagonal |
| 1967 |
draw_bow(3,4,bowoff); % thin diagonal |
| 1968 |
draw_head(7); % its head |
| 1969 |
draw_foot(8); % its foot |
| 1970 |
ductus:=false; |
| 1971 |
penlabels(1,2,3,4,5,6,7,8,100); |
| 1972 |
endchar; % end "x" |
| 1973 |
|
| 1974 |
% \end{macrocode} |
| 1975 |
% \end{routine} |
| 1976 |
% |
| 1977 |
% \begin{routine}{y} |
| 1978 |
% The letter `y'. |
| 1979 |
% \begin{macrocode} |
| 1980 |
cmchar "Rustic letter y"; |
| 1981 |
beginchar("y", 2u#+hstretch*(4/5x_height#), x_height#, 0); |
| 1982 |
adjust_fit(0,0); |
| 1983 |
pcshiftx := u; |
| 1984 |
pickup quill; |
| 1985 |
% left side |
| 1986 |
lft x1=pcshiftx+jut; top y1=h; |
| 1987 |
x2=1/2w; bot y2=1/3h; |
| 1988 |
% right side |
| 1989 |
pickup bowpen; |
| 1990 |
x3=w-pcshiftx-footjut-extra_fhjut; top y3=h; |
| 1991 |
lft x4=x2; bot y4=y2; |
| 1992 |
pickup quill; |
| 1993 |
x5=x3; y5=h; |
| 1994 |
% leg |
| 1995 |
x7=x2; y7=y2; |
| 1996 |
x8=x7; y8=0; |
| 1997 |
pickup bowpen; |
| 1998 |
x10=lft x8; x11=rt x8; |
| 1999 |
pickup stylus; |
| 2000 |
bot y10= bot y11=thin; |
| 2001 |
pickup quill; |
| 2002 |
%% ductus:=true; |
| 2003 |
if ductus: |
| 2004 |
pickup stylus; |
| 2005 |
fi |
| 2006 |
draw_istem(1,2,srad); % left stroke |
| 2007 |
draw_bow(3,4,bowoff); % right stroke |
| 2008 |
draw_head(5); % its head |
| 2009 |
draw_foot(8); % the foot |
| 2010 |
pickup stylus; % the leg |
| 2011 |
filldraw z7--z10--z11--cycle; |
| 2012 |
ductus:=false; |
| 2013 |
penlabels(1,2,3,4,5,7,8,9,100); |
| 2014 |
endchar; % end "y" |
| 2015 |
|
| 2016 |
% \end{macrocode} |
| 2017 |
% \end{routine} |
| 2018 |
% |
| 2019 |
% |
| 2020 |
% \begin{routine}{z} |
| 2021 |
% The letter `z'. |
| 2022 |
% \begin{macrocode} |
| 2023 |
cmchar "Rustic letter z"; |
| 2024 |
beginchar("z", 2u#+hstretch*(4/5x_height#), x_height#, 0); |
| 2025 |
adjust_fit(0,0); |
| 2026 |
pcshiftx := u; |
| 2027 |
pickup quill; |
| 2028 |
% bottom stroke |
| 2029 |
lft x4=pcshiftx; bot y4=0; |
| 2030 |
rt x6=w-pcshiftx; y6=y4; |
| 2031 |
% top stroke |
| 2032 |
x1=x4; top y1=h; |
| 2033 |
rt x3 =7/8w-pcshiftx; y3=y1; |
| 2034 |
%%ductus:=true; |
| 2035 |
if ductus: |
| 2036 |
pickup stylus; |
| 2037 |
fi |
| 2038 |
draw_squiggle(1,3,1/2wiggle,srad); % top stroke |
| 2039 |
draw_squiggle(4,6,1/2wiggle,srad); % bottom stroke |
| 2040 |
% the diagonal |
| 2041 |
pickup stylus; |
| 2042 |
draw z4--z3; |
| 2043 |
ductus:=false; |
| 2044 |
penlabels(1,2,3,4,5,6,100); |
| 2045 |
endchar; % end "z" |
| 2046 |
|
| 2047 |
% \end{macrocode} |
| 2048 |
% \end{routine} |
| 2049 |
% |
| 2050 |
% |
| 2051 |
% The end of this file |
| 2052 |
% \begin{macrocode} |
| 2053 |
%</min> |
| 2054 |
% \end{macrocode} |
| 2055 |
% |
| 2056 |
% |
| 2057 |
% \subsection{The code for capitals} |
| 2058 |
% |
| 2059 |
% Roman Rustic `capitals' were drawn with the same pen as for the normal |
| 2060 |
% text, the letters were merely drawn slightly larger. |
| 2061 |
% |
| 2062 |
% \begin{macrocode} |
| 2063 |
%<*maj> |
| 2064 |
% RUSTU.MF Program file for Roman Rustic `capitals' |
| 2065 |
% |
| 2066 |
|
| 2067 |
% \end{macrocode} |
| 2068 |
% |
| 2069 |
% |
| 2070 |
% \begin{routine}{A} |
| 2071 |
% The letter `A'. |
| 2072 |
% \begin{macrocode} |
| 2073 |
cmchar "Rustic letter A"; |
| 2074 |
beginchar("A", 2u#+caprat*hstretch*(4/5x_height#+jut#), caprat*x_height#, 0); |
| 2075 |
adjust_fit(0,0); |
| 2076 |
pcshiftx := u; |
| 2077 |
pickup quill; |
| 2078 |
% right leg |
| 2079 |
z1-z2=whatever*thick_tltobr; |
| 2080 |
top y1=h; |
| 2081 |
rt x2=w-pcshiftx-jut; bot y2=0; |
| 2082 |
% for the left leg |
| 2083 |
z3=9/10[z2,z1]; |
| 2084 |
x4=pcshiftx+footjut+extra_fhjut; bot y4=0; |
| 2085 |
% code for foot |
| 2086 |
x7=x4; y7=0; |
| 2087 |
%%ductus:=true; |
| 2088 |
if ductus: |
| 2089 |
pickup stylus; |
| 2090 |
fi |
| 2091 |
draw_istem(1,2,srad); % right leg |
| 2092 |
draw_bow(3,4,bowoff); % left leg |
| 2093 |
draw_foot(7); % left leg foot |
| 2094 |
ductus:=false; |
| 2095 |
penlabels(1,2,3,4,5,6,100); |
| 2096 |
endchar; % end "A" |
| 2097 |
|
| 2098 |
% \end{macrocode} |
| 2099 |
% \end{routine} |
| 2100 |
% |
| 2101 |
% \begin{routine}{B} |
| 2102 |
% The letter `B'. This is a tall letter |
| 2103 |
% \begin{macrocode} |
| 2104 |
cmchar "Rustic letter B"; |
| 2105 |
beginchar("B", 2u#+caprat*hstretch*(7/10x_height#), caprat*(11/10x_height#), 0); |
| 2106 |
adjust_fit(0,0); |
| 2107 |
pcshiftx := u+hookjut+thin; |
| 2108 |
pickup quill; |
| 2109 |
% stem |
| 2110 |
x1=x2=pcshiftx; |
| 2111 |
y1=h; y2=0; |
| 2112 |
% bottom bowl |
| 2113 |
rt x3=x1; bot y3=thin; |
| 2114 |
rt x5=w-u; y5 = 1/6h; |
| 2115 |
x4=0.4[x2,x5]; y4=0; |
| 2116 |
lft x6=x2; y6=2/3h; |
| 2117 |
% top bowl |
| 2118 |
z7=z6; |
| 2119 |
x8=0.25[x4,x5]; top y8=y1; |
| 2120 |
x9=0.5[x1,x8]; bot y9=h; |
| 2121 |
z10=z1; |
| 2122 |
%%ductus:=true; |
| 2123 |
if ductus: |
| 2124 |
pickup stylus; |
| 2125 |
fi |
| 2126 |
draw_rusticstem(1,2); % the stem |
| 2127 |
draw z3..z4{right}..z5..{dir(pangle+90)}z6; % bottom bowl |
| 2128 |
draw z7{pdir}..z8{up}..z9{left}..z10; % top bowl |
| 2129 |
ductus:=false; |
| 2130 |
penlabels(1,2,3,4,5,6,7,8,9,10,100); |
| 2131 |
endchar; % end "B" |
| 2132 |
|
| 2133 |
% \end{macrocode} |
| 2134 |
% \end{routine} |
| 2135 |
% |
| 2136 |
% |
| 2137 |
% \begin{routine}{C} |
| 2138 |
% The letter `C'. |
| 2139 |
% \begin{macrocode} |
| 2140 |
cmchar "Rustic letter C"; |
| 2141 |
beginchar("C", 2u#+caprat*hstretch*(3/5x_height#), caprat*x_height#, 0); |
| 2142 |
adjust_fit(0,0); |
| 2143 |
pcshiftx := u; |
| 2144 |
pickup quill; |
| 2145 |
lft x1=pcshiftx; rt x3=pcshiftx+sqxside; y1=y3=h/2; |
| 2146 |
x2=x4=w/2; top y2=h; bot y4=0; |
| 2147 |
rt x5= rt x6=w-pcshiftx; |
| 2148 |
top y5=1/5h; |
| 2149 |
top y6=4/5h; |
| 2150 |
%%ductus:=true; |
| 2151 |
if ductus: |
| 2152 |
pickup stylus; |
| 2153 |
fi |
| 2154 |
draw z5{-pdir}..{left}z4..z1..z2..z6; |
| 2155 |
ductus:=false; |
| 2156 |
penlabels(1,2,3,4,5,6,100); |
| 2157 |
endchar; % end "C" |
| 2158 |
|
| 2159 |
% \end{macrocode} |
| 2160 |
% \end{routine} |
| 2161 |
% |
| 2162 |
% \begin{routine}{D} |
| 2163 |
% The letter `D'. |
| 2164 |
% \begin{macrocode} |
| 2165 |
cmchar "Rustic letter D"; |
| 2166 |
beginchar("D", 2u#+caprat*hstretch*(3/5x_height#), caprat*x_height#, 0); |
| 2167 |
adjust_fit(0,0); |
| 2168 |
pcshiftx := u; |
| 2169 |
pickup quill; |
| 2170 |
x1=x2=pcshiftx+hookjut+thin; |
| 2171 |
top y1=h; y2=0; |
| 2172 |
% bowl |
| 2173 |
rt x3=x1; bot y3=thin; |
| 2174 |
rt x5=w-u; y5 = 2/5h; |
| 2175 |
x4=0.4[x2,x5]; y4=0; |
| 2176 |
x6=x1; top y6=h; |
| 2177 |
%%ductus:=true; |
| 2178 |
if ductus: |
| 2179 |
pickup stylus; |
| 2180 |
fi |
| 2181 |
draw_rusticstem(1,2); % stem |
| 2182 |
draw z3..z4{right}..z5{up}..z6; % bowl |
| 2183 |
ductus:=false; |
| 2184 |
penlabels(0,1,2,3,4,5,6,100); |
| 2185 |
endchar; % end "D" |
| 2186 |
|
| 2187 |
% \end{macrocode} |
| 2188 |
% \end{routine} |
| 2189 |
% |
| 2190 |
% \begin{routine}{E} |
| 2191 |
% The letter `E'. |
| 2192 |
% \begin{macrocode} |
| 2193 |
cmchar "Rustic letter E"; |
| 2194 |
beginchar("E", 2u#+caprat*hstretch*(4/10x_height#), caprat*x_height#, 0); |
| 2195 |
adjust_fit(0,0); |
| 2196 |
pcshiftx := u; |
| 2197 |
pickup quill; |
| 2198 |
% stem |
| 2199 |
x1=x2=pcshiftx+stem_offset; |
| 2200 |
top y1=h; y2=0; |
| 2201 |
% top bar |
| 2202 |
rt x3=x1; x4=w-u; |
| 2203 |
top y3=top y4=h; |
| 2204 |
% middle bar |
| 2205 |
x5=x3; x6=x4; |
| 2206 |
y5=y6=3/5h; |
| 2207 |
% foot |
| 2208 |
x7=x3; x8=x4; |
| 2209 |
bot y7= bot y8=0; |
| 2210 |
%%ductus:=true; |
| 2211 |
if ductus: |
| 2212 |
pickup stylus; |
| 2213 |
fi |
| 2214 |
draw_rusticstem(1,2); % stem |
| 2215 |
draw_squiggle(3,4,wiggle,srad); % top bar |
| 2216 |
draw_squiggle(5,6,wiggle,srad); % middle bar |
| 2217 |
draw_squiggle(7,8,wiggle,srad); % bottom bar |
| 2218 |
ductus:=false; |
| 2219 |
penlabels(1,2,3,4,5,6,7,8,100); |
| 2220 |
endchar; % end "E" |
| 2221 |
|
| 2222 |
% \end{macrocode} |
| 2223 |
% \end{routine} |
| 2224 |
% |
| 2225 |
% \begin{routine}{F} |
| 2226 |
% The letter `F'. This is a tall letter |
| 2227 |
% \begin{macrocode} |
| 2228 |
cmchar "Rustic letter F"; |
| 2229 |
beginchar("F", 2u#+caprat*hstretch*(4/10x_height#), caprat*(6/5x_height#), 0); |
| 2230 |
adjust_fit(0,0); |
| 2231 |
pcshiftx := u +stem_offset; |
| 2232 |
pickup quill; |
| 2233 |
% stem |
| 2234 |
x1=x2=pcshiftx; |
| 2235 |
top y1=h; y2=0; |
| 2236 |
% top bar |
| 2237 |
x3=x1; x4=w-u; |
| 2238 |
top y3=top y4=h; |
| 2239 |
% middle bar |
| 2240 |
x5=x3; x6=x4; |
| 2241 |
y5=y6=2/3h; |
| 2242 |
% foot |
| 2243 |
x7=x3; x8=x4; |
| 2244 |
bot y7= bot y8=0; |
| 2245 |
%%ductus:=true; |
| 2246 |
if ductus: |
| 2247 |
pickup stylus; |
| 2248 |
fi |
| 2249 |
draw_footstem(1,2); % stem |
| 2250 |
draw_squiggle(3,4,wiggle,srad); % top bar |
| 2251 |
draw_squiggle(5,6,wiggle,srad); % middle bar |
| 2252 |
ductus:=false; |
| 2253 |
penlabels(1,2,3,4,5,6,7,8,100); |
| 2254 |
endchar; % end "F" |
| 2255 |
|
| 2256 |
% \end{macrocode} |
| 2257 |
% \end{routine} |
| 2258 |
% |
| 2259 |
% |
| 2260 |
% \begin{routine}{G} |
| 2261 |
% The letter `G'. Like a `C' but bottom curls inwards. |
| 2262 |
% \begin{macrocode} |
| 2263 |
cmchar "Rustic letter G"; |
| 2264 |
beginchar("G", 2u#+caprat*hstretch*(3/5x_height#), caprat*x_height#, 0); |
| 2265 |
adjust_fit(0,0); |
| 2266 |
pcshiftx := u; |
| 2267 |
pickup quill; |
| 2268 |
lft x1=pcshiftx; rt x3=pcshiftx+sqxside; y1=y3=h/2; |
| 2269 |
x2=x4=w/2; top y2=h; bot y4=0; |
| 2270 |
rt x5= rt x6=w-pcshiftx; |
| 2271 |
top y5=1/5h; |
| 2272 |
top y6=4/5h; |
| 2273 |
lft x7=w/2; y7=h/2; |
| 2274 |
%%ductus:=true; |
| 2275 |
if ductus: |
| 2276 |
pickup stylus; |
| 2277 |
fi |
| 2278 |
draw z7..z5{down}..{left}z4..z1..z2..z6; % the bowl |
| 2279 |
ductus:=false; |
| 2280 |
penlabels(1,2,3,4,5,6,7,100); |
| 2281 |
endchar; % end "G" |
| 2282 |
|
| 2283 |
% \end{macrocode} |
| 2284 |
% \end{routine} |
| 2285 |
% |
| 2286 |
% \begin{routine}{H} |
| 2287 |
% The letter `H'. |
| 2288 |
% \begin{macrocode} |
| 2289 |
cmchar "Rustic letter H"; |
| 2290 |
beginchar("H", 2u#+caprat*hstretch*(4/5x_height#), caprat*x_height#, 0); |
| 2291 |
adjust_fit(0,0); |
| 2292 |
pcshiftx := u; |
| 2293 |
y100 = sqyside/2; x100 = pcshiftx+y100; % square center |
| 2294 |
pickup quill; |
| 2295 |
% left stem and foot |
| 2296 |
x1=x2=pcshiftx+stem_offset; |
| 2297 |
y1=h; y2=0; |
| 2298 |
% bar |
| 2299 |
y5=y6=7/10h; |
| 2300 |
lft x5=pcshiftx; rt x6=w-pcshiftx; |
| 2301 |
% right stem |
| 2302 |
rt x7=w-pcshiftx; top y7=h; |
| 2303 |
x8=x7; bot y8=0; |
| 2304 |
x9=x8-2thin; y9=0.5[y8,y7]; |
| 2305 |
%%ductus:=true; |
| 2306 |
if ductus: |
| 2307 |
pickup stylus; |
| 2308 |
fi |
| 2309 |
draw_footstem(1,2); % left stem |
| 2310 |
draw_hserif(1,2,srad); % its serif |
| 2311 |
draw_squiggle(5,6,wiggle,srad); % the bar |
| 2312 |
draw z7..z9..z8; % right stem |
| 2313 |
ductus:=false; |
| 2314 |
penlabels(1,1',2,2',3,4,5,6,7,7',8,8',99,99',100); |
| 2315 |
endchar; % end "H" |
| 2316 |
|
| 2317 |
% \end{macrocode} |
| 2318 |
% \end{routine} |
| 2319 |
% |
| 2320 |
% \begin{routine}{I} |
| 2321 |
% The letter I. |
| 2322 |
% \begin{macrocode} |
| 2323 |
cmchar "Rustic letter I"; |
| 2324 |
beginchar("I", 2u#+caprat*hstretch*(2footjut#+hookjut#), caprat*x_height#, 0); |
| 2325 |
adjust_fit(0,0); |
| 2326 |
pcshiftx := u; |
| 2327 |
pickup quill; |
| 2328 |
x1=x2=pcshiftx+stem_offset; |
| 2329 |
y1=h; y2=0; |
| 2330 |
%%ductus:=true; |
| 2331 |
if ductus: |
| 2332 |
pickup stylus; |
| 2333 |
fi |
| 2334 |
draw_footstem(1,2); % stem and foot |
| 2335 |
draw_hserif(1,2,srad); % serif |
| 2336 |
ductus:=false; |
| 2337 |
penlabels(1,2,3,4,100); |
| 2338 |
endchar; % end "I" |
| 2339 |
|
| 2340 |
% \end{macrocode} |
| 2341 |
% \end{routine} |
| 2342 |
% |
| 2343 |
% \begin{routine}{J} |
| 2344 |
% The letter `J'. This letter was not in the script, it being a later invention. |
| 2345 |
% \begin{macrocode} |
| 2346 |
cmchar "Rustic letter J"; |
| 2347 |
beginchar("J", 4u#+caprat*hstretch*(3/5x_height#), caprat*x_height#, 0); |
| 2348 |
adjust_fit(0,0); |
| 2349 |
pcshiftx := 3u; |
| 2350 |
pickup quill; |
| 2351 |
% stem |
| 2352 |
x1=x2=pcshiftx+2/3(w-4u); |
| 2353 |
y1=h; y2=0; |
| 2354 |
% top bar |
| 2355 |
rt x4=w-u; top y4=h; |
| 2356 |
x1-x3 = x4-x1; y3=y4; |
| 2357 |
% bowl |
| 2358 |
rt x5 = lft x3; |
| 2359 |
top y5=2/5h; |
| 2360 |
x7=x2; bot y7=0; |
| 2361 |
%%ductus:=true; |
| 2362 |
if ductus: |
| 2363 |
pickup stylus; |
| 2364 |
fi |
| 2365 |
draw_rusticstem(1,2); % stem |
| 2366 |
draw_squiggle(3,4,wiggle,srad); % top bar |
| 2367 |
draw z7{left}..{pdir}z5; % bowl |
| 2368 |
ductus:=false; |
| 2369 |
penlabels(1,2,3,4,5,6,7,100); |
| 2370 |
endchar; % end "J" |
| 2371 |
|
| 2372 |
% \end{macrocode} |
| 2373 |
% \end{routine} |
| 2374 |
% |
| 2375 |
% \begin{routine}{K} |
| 2376 |
% The letter `K'. |
| 2377 |
% \begin{macrocode} |
| 2378 |
cmchar "Rustic letter K"; |
| 2379 |
beginchar("K", 2u#+caprat*hstretch*(x_height#), caprat*x_height#, 0); |
| 2380 |
adjust_fit(0,0); |
| 2381 |
pcshiftx := u; |
| 2382 |
pickup quill; |
| 2383 |
% the stem and its foot |
| 2384 |
x1=x2=pcshiftx+stem_offset; |
| 2385 |
y1=h; y2=0; |
| 2386 |
lft x13=pcshiftx; bot y13=0; |
| 2387 |
x2-x13=x14-x2; y14=y13; |
| 2388 |
% upper diagonal and its top |
| 2389 |
x3=x1; y3=h/2; |
| 2390 |
x4=x1+y3; top y4=h; |
| 2391 |
x5=x4-jut; x6-x4=x4-x5; |
| 2392 |
top y5=top y6=h; |
| 2393 |
x24=x4; y24=h; |
| 2394 |
% bottom leg |
| 2395 |
lft x7=x3; bot y7=y3; |
| 2396 |
rt x9=w-pcshiftx; bot y9=0; |
| 2397 |
x8=0.5[x7,x9]; y8=0.7[y7,y9]; |
| 2398 |
%%ductus:=true; |
| 2399 |
if ductus: |
| 2400 |
pickup stylus; |
| 2401 |
fi |
| 2402 |
draw_footstem(1,2); % the stem |
| 2403 |
draw_hserif(1,2,srad); % its serif |
| 2404 |
draw z3--z4; % upper diagonal |
| 2405 |
draw_head(24); |
| 2406 |
draw z7..z8..z9; % bottom leg |
| 2407 |
ductus:=false; |
| 2408 |
penlabels(1,2,3,4,5,6,7,8,9,100); |
| 2409 |
endchar; % end "K" |
| 2410 |
|
| 2411 |
% \end{macrocode} |
| 2412 |
% \end{routine} |
| 2413 |
% |
| 2414 |
% \begin{routine}{L} |
| 2415 |
% The letter `L'. This is a tall letter. |
| 2416 |
% \begin{macrocode} |
| 2417 |
cmchar "Rustic letter L"; |
| 2418 |
beginchar("L", 2u#+caprat*hstretch*(1/2x_height#), caprat*(6/5x_height#), 0); |
| 2419 |
adjust_fit(0,0); |
| 2420 |
pcshiftx := u+hookjut; |
| 2421 |
pickup quill; |
| 2422 |
x1=x2=pcshiftx+thin+hookjut; |
| 2423 |
y1=h; y2=0; |
| 2424 |
rt x3=x1; rt x4=w-u; |
| 2425 |
bot y3= bot y4=0; |
| 2426 |
%%ductus:=true; |
| 2427 |
if ductus: |
| 2428 |
pickup stylus; |
| 2429 |
fi |
| 2430 |
draw_rusticstem(1,2); % stem |
| 2431 |
draw_hserif(1,2,srad); % serif |
| 2432 |
draw_squiggle(3,4,wiggle,srad); % foot |
| 2433 |
ductus:=false; |
| 2434 |
penlabels(1,2,3,4,100); |
| 2435 |
endchar; % end "L" |
| 2436 |
|
| 2437 |
% \end{macrocode} |
| 2438 |
% \end{routine} |
| 2439 |
% |
| 2440 |
% \begin{routine}{M} |
| 2441 |
% The letter `M'. Like 2 As stuck together. |
| 2442 |
% \begin{macrocode} |
| 2443 |
cmchar "Rustic letter M"; |
| 2444 |
beginchar("M", 2u#+caprat*hstretch*(6/5x_height#+jut#), caprat*x_height#, 0); |
| 2445 |
adjust_fit(0,0); |
| 2446 |
pcshiftx := u; |
| 2447 |
pickup quill; |
| 2448 |
% right a thick diag |
| 2449 |
z11-z12=whatever*thick_tltobr; |
| 2450 |
rt x12=w-pcshiftx-jut; bot y12=0; |
| 2451 |
top y11=h; |
| 2452 |
% left a thin diag |
| 2453 |
pickup bowpen; |
| 2454 |
x4=pcshiftx+footjut+extra_fhjut; bot y4=thin; |
| 2455 |
z3=9/10[z2,z1]; |
| 2456 |
pickup quill; |
| 2457 |
x7=x4; y7=0; % for the foot |
| 2458 |
% the two thin diags are parallel, and just shifted horizontally |
| 2459 |
z13=9/10[z12,z11]; |
| 2460 |
z3-z4=z13-z14; y4=y14; |
| 2461 |
% similarly for the two thick diags |
| 2462 |
z1-z2=z11-z12; % y2=y12; |
| 2463 |
x12-x2=1/3w; |
| 2464 |
%%ductus:=true; |
| 2465 |
if ductus: |
| 2466 |
pickup stylus; |
| 2467 |
fi |
| 2468 |
% draw left a |
| 2469 |
draw_istem(1,2,srad); % right leg |
| 2470 |
draw_bow(3,4,bowoff); % left leg |
| 2471 |
draw_foot(7); % left leg foot |
| 2472 |
% draw right a |
| 2473 |
draw_istem(11,12,srad); |
| 2474 |
draw_bow(13,14,bowoff); |
| 2475 |
ductus:=false; |
| 2476 |
penlabels(1,2,3,4,5,6,11,12,13,14,100); |
| 2477 |
endchar; % end "M" |
| 2478 |
|
| 2479 |
% \end{macrocode} |
| 2480 |
% \end{routine} |
| 2481 |
% |
| 2482 |
% \begin{routine}{N} |
| 2483 |
% The letter `N'. |
| 2484 |
% \begin{macrocode} |
| 2485 |
cmchar "Rustic letter N"; |
| 2486 |
beginchar("N", 2u#+caprat*hstretch*(9/10x_height#), caprat*x_height#, 0); |
| 2487 |
adjust_fit(0,0); |
| 2488 |
pcshiftx := u; |
| 2489 |
pickup quill; |
| 2490 |
% left stem and foot |
| 2491 |
x1=x2=pcshiftx+stem_offset; |
| 2492 |
y1=h; y2=0; |
| 2493 |
% right stem |
| 2494 |
x5=x6=w-u-hookjut-thin; |
| 2495 |
y5=y1; y6=y2; |
| 2496 |
% diagonal |
| 2497 |
x7=x1; y7=h; |
| 2498 |
x9=x6; bot y9=0; |
| 2499 |
x8=0.5[x7,x9]; y8=0.6[y7,y9]; |
| 2500 |
%%ductus:=true; |
| 2501 |
if ductus: |
| 2502 |
pickup stylus; |
| 2503 |
fi |
| 2504 |
draw_footstem(1,2); % left stem |
| 2505 |
draw_rusticstem(5,6); % right stem |
| 2506 |
draw_hserif(5,6,srad); % its serif |
| 2507 |
draw z7..z8..z9; % diagonal |
| 2508 |
draw_serif(9,8,srad); % its bottom serif |
| 2509 |
ductus:=false; |
| 2510 |
penlabels(1,2,5,6,7,8,9,100); |
| 2511 |
endchar; % end "N" |
| 2512 |
|
| 2513 |
% \end{macrocode} |
| 2514 |
% \end{routine} |
| 2515 |
% |
| 2516 |
% \begin{routine}{O} |
| 2517 |
% The letter `O'. |
| 2518 |
% \begin{macrocode} |
| 2519 |
cmchar "Rustic letter O"; |
| 2520 |
beginchar("O", 2u#+caprat*hstretch*(3/5x_height#), caprat*x_height#, 0); |
| 2521 |
adjust_fit(0,0); |
| 2522 |
pcshiftx := u; |
| 2523 |
pickup quill; |
| 2524 |
lft x1=pcshiftx; rt x3=w-pcshiftx; y1=y3=h/2; |
| 2525 |
x2=x4=w/2; top y2=h+o; bot y4=-o; |
| 2526 |
%%ductus:=true; |
| 2527 |
if ductus: |
| 2528 |
pickup stylus; |
| 2529 |
fi |
| 2530 |
draw z1..z2..z3..z4..cycle; |
| 2531 |
ductus:=false; |
| 2532 |
penlabels(1,2,3,4,100); |
| 2533 |
endchar; % end "O" |
| 2534 |
|
| 2535 |
% \end{macrocode} |
| 2536 |
% \end{routine} |
| 2537 |
% |
| 2538 |
% \begin{routine}{P} |
| 2539 |
% The letter `P'. |
| 2540 |
% \begin{macrocode} |
| 2541 |
cmchar "Rustic letter P"; |
| 2542 |
beginchar("P", 2u#+caprat*hstretch*(5/10x_height#), caprat*x_height#, 0); |
| 2543 |
adjust_fit(0,0); |
| 2544 |
pcshiftx := u; |
| 2545 |
pickup quill; |
| 2546 |
% stem and foot |
| 2547 |
x1=x2=pcshiftx+stem_offset; |
| 2548 |
top y1=h; y2=0; |
| 2549 |
% bowl |
| 2550 |
lft x7=x2; y7=1/2h; % y7=2/3h; |
| 2551 |
rt x8=w-pcshiftx; top y8=y1; |
| 2552 |
z10=z1; |
| 2553 |
x9=0.5[x1,x8]; y9=h; |
| 2554 |
%%ductus:=true; |
| 2555 |
if ductus: |
| 2556 |
pickup stylus; |
| 2557 |
fi |
| 2558 |
draw_footstem(1,2); % stem |
| 2559 |
draw z7{pdir}..z8{up}..z9{left}..z10; % top bowl |
| 2560 |
ductus:=false; |
| 2561 |
penlabels(1,2,7,8,9,10,100); |
| 2562 |
endchar; % end "P" |
| 2563 |
|
| 2564 |
% \end{macrocode} |
| 2565 |
% \end{routine} |
| 2566 |
% |
| 2567 |
% \begin{routine}{Q} |
| 2568 |
% The letter `Q'. |
| 2569 |
% \begin{macrocode} |
| 2570 |
cmchar "Rustic letter Q"; |
| 2571 |
beginchar("Q", 2u#+caprat*hstretch*(3/5x_height#), caprat*x_height#, |
| 2572 |
caprat*(2/3thick#)); |
| 2573 |
adjust_fit(0,0); |
| 2574 |
pcshiftx := u; |
| 2575 |
pickup quill; |
| 2576 |
% the O shape |
| 2577 |
lft x1=pcshiftx; rt x3=w-pcshiftx; y1=y3=h/2; |
| 2578 |
x2=x4=w/2; top y2=h+o; bot y4=-o; |
| 2579 |
% the tail |
| 2580 |
path p; |
| 2581 |
p = z4{right}..{up}z3; |
| 2582 |
z5 = directionpoint pdir of p; |
| 2583 |
x7= x4+w/2; top y7=0; |
| 2584 |
x6=0.5[x5,x7]; y6=y7; |
| 2585 |
%%ductus:=true; |
| 2586 |
if ductus: |
| 2587 |
pickup stylus; |
| 2588 |
fi |
| 2589 |
draw z1..z2..z3..z4..cycle; % O shape |
| 2590 |
draw z5..z6..z7; % the tail |
| 2591 |
ductus:=false; |
| 2592 |
penlabels(0,1,2,3,4,5,6,6',7,100); |
| 2593 |
endchar; % end "Q" |
| 2594 |
|
| 2595 |
% \end{macrocode} |
| 2596 |
% \end{routine} |
| 2597 |
% |
| 2598 |
% \begin{routine}{R} |
| 2599 |
% The letter `R'. |
| 2600 |
% \begin{macrocode} |
| 2601 |
cmchar "Rustic letter R"; |
| 2602 |
beginchar("R", 2u#+caprat*hstretch*(4/5x_height#), caprat*x_height#, 0); |
| 2603 |
adjust_fit(0,0); |
| 2604 |
pcshiftx := u; |
| 2605 |
numeric alpha, beta; |
| 2606 |
alpha:=thin*(xpart pdir); beta:=thin*(ypart pdir); |
| 2607 |
pickup quill; |
| 2608 |
% stem |
| 2609 |
x1=x2=pcshiftx+stem_offset; |
| 2610 |
top y1=h; y2=0; |
| 2611 |
% bowl |
| 2612 |
lft x7=x2; bot y7=1/2h; |
| 2613 |
rt x8=5/8w; top y8=y1; |
| 2614 |
z10=z1; |
| 2615 |
x9=0.5[x1,x8]; y9=h; |
| 2616 |
% leg |
| 2617 |
z11=z7 shifted (thin*pdir); |
| 2618 |
rt x13=w-pcshiftx; bot y13=0; |
| 2619 |
x12=0.5[x11,x13]; y12=0.7[y11,y13]; |
| 2620 |
% points defining the leg profile |
| 2621 |
x11l=lft x11 + alpha; y11l=bot y11 + beta; |
| 2622 |
x11r= rt x11 - alpha; y11r=top y11 - beta; |
| 2623 |
x12l=0.6[lft x12, x12]; y12l=0.6[bot y12, y12]; |
| 2624 |
x12r=0.6[rt x12, x12]; y12r=0.6[top y12, y12]; |
| 2625 |
x14=w-pcshiftx-thin; y14=thin; |
| 2626 |
%%ductus:=true; |
| 2627 |
if ductus: |
| 2628 |
pickup stylus; |
| 2629 |
fi |
| 2630 |
draw_footstem(1,2); % stem and foot |
| 2631 |
draw z7{pdir}..z8{up}..z9{left}..z10; % bowl |
| 2632 |
pickup stylus; % drawing the leg |
| 2633 |
filldraw z11l..z12l..{right}z14 & z14{left}..z12r..z11r--cycle; |
| 2634 |
ductus:=false; |
| 2635 |
penlabels(1,2,7,8,9,10,11,12,14,100); |
| 2636 |
endchar; % end "R" |
| 2637 |
|
| 2638 |
% \end{macrocode} |
| 2639 |
% \end{routine} |
| 2640 |
% |
| 2641 |
% \begin{routine}{S} |
| 2642 |
% The letter `S'. |
| 2643 |
% \begin{macrocode} |
| 2644 |
cmchar "Rustic letter S"; |
| 2645 |
beginchar("S", 2u#+caprat*hstretch*(3/5x_height#), caprat*x_height#, 0); |
| 2646 |
adjust_fit(0,0); |
| 2647 |
pcshiftx := u; |
| 2648 |
pickup quill; |
| 2649 |
% for the foot |
| 2650 |
lft x7=pcshiftx+extra_fhjut; bot y7=0; |
| 2651 |
% the S curve |
| 2652 |
rt x1=w-pcshiftx; top y1=h-thin; |
| 2653 |
lft x3=pcshiftx+extra_fhjut; y3=0.75h; |
| 2654 |
x4=0.5[x1,x3]; y4=0.5[y3,y5]; |
| 2655 |
x2=x4; top y2=h; |
| 2656 |
x5=x1; y5=0.3h; |
| 2657 |
x6=0.75w; bot y6=0; |
| 2658 |
%%ductus:=true; |
| 2659 |
if ductus: |
| 2660 |
pickup stylus; |
| 2661 |
fi |
| 2662 |
draw z1..z2{left}..z3{down}..z4..z5{down}..{-pdir}z6; % S curve |
| 2663 |
draw_squiggle(7,6,wiggle,srad); % base |
| 2664 |
ductus:=false; |
| 2665 |
penlabels(1,2,3,4,5,6,7,100); |
| 2666 |
endchar; % end "S" |
| 2667 |
|
| 2668 |
% \end{macrocode} |
| 2669 |
% \end{routine} |
| 2670 |
% |
| 2671 |
% \begin{routine}{T} |
| 2672 |
% The letter `T'. |
| 2673 |
% \begin{macrocode} |
| 2674 |
cmchar "Rustic letter T"; |
| 2675 |
beginchar("T", 2u#+caprat*hstretch*(2/5x_height#), caprat*x_height#, 0); |
| 2676 |
adjust_fit(0,0); |
| 2677 |
pcshiftx := u; |
| 2678 |
pickup quill; |
| 2679 |
x1=x2=w/2; |
| 2680 |
y1=h; y2=0; |
| 2681 |
lft x3=pcshiftx; top y3=h; |
| 2682 |
rt x4=w-pcshiftx; y4=y3; |
| 2683 |
rt x5=x2; bot y5= bot y6=0; |
| 2684 |
rt x6=w-pcshiftx; |
| 2685 |
%%ductus:=true; |
| 2686 |
if ductus: |
| 2687 |
pickup stylus; |
| 2688 |
fi |
| 2689 |
draw_footstem(1,2); % the stem |
| 2690 |
draw_squiggle(3,4,wiggle,srad); % the top crossbar |
| 2691 |
ductus:=false; |
| 2692 |
penlabels(1,2,3,4,5,6,100); |
| 2693 |
endchar; % end "T" |
| 2694 |
|
| 2695 |
% \end{macrocode} |
| 2696 |
% \end{routine} |
| 2697 |
% |
| 2698 |
% \begin{routine}{U} |
| 2699 |
% The letter `U'. This is a modern version as the font did not have a U. |
| 2700 |
% \begin{macrocode} |
| 2701 |
cmchar "Rustic letter U"; |
| 2702 |
beginchar("U", 2u#+caprat*hstretch*(4/5x_height#), caprat*x_height#, 0); |
| 2703 |
adjust_fit(0,0); |
| 2704 |
pcshiftx := u; |
| 2705 |
pickup quill; |
| 2706 |
% the right stem |
| 2707 |
x5=x6=w-pcshiftx-hookjut-thin; y5=h; y6=-thin; |
| 2708 |
% left stem and bowl |
| 2709 |
lft x1= lft x2=pcshiftx+jut; |
| 2710 |
top y1=h; y2=2thick; |
| 2711 |
x3=0.5[x1,x5]; bot y3=0; |
| 2712 |
rt x4=x5; bot y4=0.25thick; |
| 2713 |
%%ductus:=true; |
| 2714 |
if ductus: |
| 2715 |
pickup stylus; |
| 2716 |
fi |
| 2717 |
draw_rusticstem(5,6); % right stem |
| 2718 |
draw_hserif(5,6,srad); % its serif |
| 2719 |
draw_tlserif(1,2,srad); % left stem and serif |
| 2720 |
draw z2{down}..z3{right}..{pdir}z4; % the bowl |
| 2721 |
ductus:=false; |
| 2722 |
penlabels(1,2,3,4,5,6,7,8,9,11,16,100); |
| 2723 |
endchar; % end "U" |
| 2724 |
|
| 2725 |
% \end{macrocode} |
| 2726 |
% \end{routine} |
| 2727 |
% |
| 2728 |
% \begin{routine}{V} |
| 2729 |
% The letter `V'. |
| 2730 |
% if you prefer). |
| 2731 |
% \begin{macrocode} |
| 2732 |
cmchar "Rustic letter V"; |
| 2733 |
beginchar("V", 2u#+caprat*hstretch*(x_height#), caprat*x_height#, 0); |
| 2734 |
adjust_fit(0,0); |
| 2735 |
pcshiftx := u; |
| 2736 |
pickup quill; |
| 2737 |
% left side |
| 2738 |
z1-z2=whatever*thick_tltobr; |
| 2739 |
lft x1=pcshiftx+jut; top y1=h; |
| 2740 |
bot y2=0; |
| 2741 |
% right side |
| 2742 |
pickup bowpen; |
| 2743 |
x3=w-pcshiftx-footjut-extra_fhjut; top y3=h; |
| 2744 |
pickup quill; |
| 2745 |
x4=lft x2; y4=0; |
| 2746 |
x5=x3; y5=h; |
| 2747 |
%%ductus:=true; |
| 2748 |
if ductus: |
| 2749 |
pickup stylus; |
| 2750 |
fi |
| 2751 |
draw_istem(1,2,srad); % left part |
| 2752 |
draw_bow(3,4,bowoff); % right part |
| 2753 |
draw_head(5); % and its head |
| 2754 |
ductus:=false; |
| 2755 |
penlabels(1,2,3,4,5,100); |
| 2756 |
endchar; % end "V" |
| 2757 |
|
| 2758 |
% \end{macrocode} |
| 2759 |
% \end{routine} |
| 2760 |
% |
| 2761 |
% \begin{routine}{W} |
| 2762 |
% The letter `W'. This is a modern version as the font did not have a W. |
| 2763 |
% \begin{macrocode} |
| 2764 |
cmchar "Rustic letter W"; |
| 2765 |
beginchar("W", 2u#+caprat*hstretch*(8/5x_height#), caprat*x_height#, 0); |
| 2766 |
adjust_fit(0,0); |
| 2767 |
pcshiftx := u; |
| 2768 |
pickup quill; |
| 2769 |
% left thick diagonal |
| 2770 |
z1-z2=whatever*thick_tltobr; |
| 2771 |
lft x1=pcshiftx+jut; top y1=h; bot y2=0; |
| 2772 |
% right thin diagonal |
| 2773 |
pickup bowpen; |
| 2774 |
x13=w-pcshiftx-footjut-extra_fhjut; top y13=h-thin; |
| 2775 |
x23=x13; y23=h; % for the head |
| 2776 |
bot y14=thin; |
| 2777 |
pickup quill; |
| 2778 |
% right thick diagonal |
| 2779 |
z11-z12=z1-z2; |
| 2780 |
x12-x2=1/3w; y12=y2; |
| 2781 |
% left thin diagonal |
| 2782 |
z3-z4=z13-z14; |
| 2783 |
x4=x2; |
| 2784 |
x14=x12; |
| 2785 |
y3=y13; |
| 2786 |
%%ductus:=true; |
| 2787 |
if ductus: |
| 2788 |
pickup stylus; |
| 2789 |
fi |
| 2790 |
draw_istem(1,2,srad); % left and right thick diags |
| 2791 |
draw_istem(11,12,srad); |
| 2792 |
draw_bow(3,4,bowoff); % left thin diag |
| 2793 |
draw_bow(13,14,bowoff); % right thin diag |
| 2794 |
draw_head(23); % its head |
| 2795 |
ductus:=false; |
| 2796 |
penlabels(1,2,3,4,11,12,13,14,23,100); |
| 2797 |
endchar; % end "W" |
| 2798 |
|
| 2799 |
% \end{macrocode} |
| 2800 |
% \end{routine} |
| 2801 |
% |
| 2802 |
% \begin{routine}{X} |
| 2803 |
% The letter `X'. |
| 2804 |
% \begin{macrocode} |
| 2805 |
cmchar "Rustic letter X"; |
| 2806 |
beginchar("X", 2u#+caprat*hstretch*(9/10x_height#), caprat*x_height#, 0); |
| 2807 |
adjust_fit(0,0); |
| 2808 |
pcshiftx := u; |
| 2809 |
pickup quill; |
| 2810 |
% thick diagonal |
| 2811 |
lft x1=pcshiftx+jut; top y1=h; |
| 2812 |
rt x2= w-pcshiftx-jut; bot y2=0; |
| 2813 |
% thin diagonal |
| 2814 |
pickup bowpen; |
| 2815 |
x3=w-pcshiftx-footjut-extra_fhjut-thin; top y3=h; |
| 2816 |
x4=pcshiftx+footjut+extra_fhjut+thin; bot y4=0; |
| 2817 |
x7=x3; y7=h; |
| 2818 |
x8=x4; y8=0; |
| 2819 |
pickup quill; |
| 2820 |
%%ductus:=true; |
| 2821 |
if ductus: |
| 2822 |
pickup stylus; |
| 2823 |
fi |
| 2824 |
draw_istem(1,2,srad); % thick diagonal |
| 2825 |
draw_bow(3,4,bowoff); % thin diagonal |
| 2826 |
draw_head(7); % its head |
| 2827 |
draw_foot(8); % its foot |
| 2828 |
ductus:=false; |
| 2829 |
penlabels(1,2,3,4,5,6,7,8,100); |
| 2830 |
endchar; % end "X" |
| 2831 |
|
| 2832 |
% \end{macrocode} |
| 2833 |
% \end{routine} |
| 2834 |
% |
| 2835 |
% \begin{routine}{Y} |
| 2836 |
% The letter `Y'. |
| 2837 |
% \begin{macrocode} |
| 2838 |
cmchar "Rustic letter Y"; |
| 2839 |
beginchar("Y", 2u#+caprat*hstretch*(4/5x_height#), caprat*x_height#, 0); |
| 2840 |
adjust_fit(0,0); |
| 2841 |
pcshiftx := u; |
| 2842 |
pickup quill; |
| 2843 |
% left side |
| 2844 |
lft x1=pcshiftx+jut; top y1=h; |
| 2845 |
x2=1/2w; bot y2=1/3h; |
| 2846 |
% right side |
| 2847 |
pickup bowpen; |
| 2848 |
x3=w-pcshiftx-footjut-extra_fhjut; top y3=h; |
| 2849 |
lft x4=x2; bot y4=y2; |
| 2850 |
pickup quill; |
| 2851 |
x5=x3; y5=h; |
| 2852 |
% leg |
| 2853 |
x7=x2; y7=y2; |
| 2854 |
x8=x7; y8=0; |
| 2855 |
pickup bowpen; |
| 2856 |
x10=lft x8; x11=rt x8; |
| 2857 |
pickup stylus; |
| 2858 |
bot y10= bot y11=thin; |
| 2859 |
pickup quill; |
| 2860 |
%% ductus:=true; |
| 2861 |
if ductus: |
| 2862 |
pickup stylus; |
| 2863 |
fi |
| 2864 |
draw_istem(1,2,srad); % left stroke |
| 2865 |
draw_bow(3,4,bowoff); % right stroke |
| 2866 |
draw_head(5); % its head |
| 2867 |
draw_foot(8); % the foot |
| 2868 |
pickup stylus; % the leg |
| 2869 |
filldraw z7--z10--z11--cycle; |
| 2870 |
ductus:=false; |
| 2871 |
penlabels(1,2,3,4,5,7,8,9,100); |
| 2872 |
endchar; % end "Y" |
| 2873 |
|
| 2874 |
% \end{macrocode} |
| 2875 |
% \end{routine} |
| 2876 |
% |
| 2877 |
% |
| 2878 |
% \begin{routine}{Z} |
| 2879 |
% The letter `Z'. |
| 2880 |
% \begin{macrocode} |
| 2881 |
cmchar "Rustic letter Z"; |
| 2882 |
beginchar("Z", 2u#+caprat*hstretch*(4/5x_height#), caprat*x_height#, 0); |
| 2883 |
adjust_fit(0,0); |
| 2884 |
pcshiftx := u; |
| 2885 |
pickup quill; |
| 2886 |
% bottom stroke |
| 2887 |
lft x4=pcshiftx; bot y4=0; |
| 2888 |
rt x6=w-pcshiftx; y6=y4; |
| 2889 |
% top stroke |
| 2890 |
x1=x4; top y1=h; |
| 2891 |
rt x3 =7/8w-pcshiftx; y3=y1; |
| 2892 |
%%ductus:=true; |
| 2893 |
if ductus: |
| 2894 |
pickup stylus; |
| 2895 |
fi |
| 2896 |
draw_squiggle(1,3,1/2wiggle,srad); % top stroke |
| 2897 |
draw_squiggle(4,6,1/2wiggle,srad); % bottom stroke |
| 2898 |
% the diagonal |
| 2899 |
pickup stylus; |
| 2900 |
draw z4--z3; |
| 2901 |
ductus:=false; |
| 2902 |
penlabels(1,2,3,4,5,6,100); |
| 2903 |
endchar; % end "Z" |
| 2904 |
|
| 2905 |
% \end{macrocode} |
| 2906 |
% \end{routine} |
| 2907 |
% |
| 2908 |
% |
| 2909 |
% |
| 2910 |
% |
| 2911 |
% The end of this file |
| 2912 |
% \begin{macrocode} |
| 2913 |
%</maj> |
| 2914 |
% \end{macrocode} |
| 2915 |
% |
| 2916 |
% |
| 2917 |
% |
| 2918 |
% \subsection{The punctuation file} |
| 2919 |
% |
| 2920 |
% The main punctuation marks are defined in this file. |
| 2921 |
% |
| 2922 |
% \begin{macrocode} |
| 2923 |
%<*punct> |
| 2924 |
% RUSTPUNCT.MF This file contains punctuation marks |
| 2925 |
|
| 2926 |
% \end{macrocode} |
| 2927 |
% |
| 2928 |
% |
| 2929 |
% \begin{routine}{,} |
| 2930 |
% The `,' character. |
| 2931 |
% \begin{macrocode} |
| 2932 |
|
| 2933 |
cmchar "Rustic Comma"; |
| 2934 |
beginchar(",",2u#+hstretch*(comma_width#+dot_size#),x_height#,0); |
| 2935 |
adjust_fit(0,0); |
| 2936 |
pcshiftx:=u; |
| 2937 |
x1=w-pcshiftx-(0.5hstretch*dot_size); y1=h/2; |
| 2938 |
draw_pcomma(1,dot_size,comma_width); |
| 2939 |
penlabels(1); |
| 2940 |
endchar; % end of "," |
| 2941 |
|
| 2942 |
% \end{macrocode} |
| 2943 |
% \end{routine} |
| 2944 |
% |
| 2945 |
% \begin{routine}{.} |
| 2946 |
% The `.' character. |
| 2947 |
% \begin{macrocode} |
| 2948 |
|
| 2949 |
cmchar "Rustic Period"; |
| 2950 |
beginchar(".",2u#+hstretch*(dot_size#),x_height#,0); |
| 2951 |
pcshiftx:=u; |
| 2952 |
x1=w/2; y1=h/2; |
| 2953 |
draw_pdot(1,dot_size); |
| 2954 |
penlabels(1); |
| 2955 |
endchar; % end of "." |
| 2956 |
|
| 2957 |
% \end{macrocode} |
| 2958 |
% \end{routine} |
| 2959 |
% |
| 2960 |
% |
| 2961 |
% \begin{routine}{:} |
| 2962 |
% The `:' character. |
| 2963 |
% \begin{macrocode} |
| 2964 |
|
| 2965 |
cmchar "Rustic Colon"; |
| 2966 |
beginchar(":",2u#+hstretch*(dot_size#),x_height#,0); |
| 2967 |
pcshiftx:=u; |
| 2968 |
x1=x2=w/2; y1=2/3h; y2=1/3h; |
| 2969 |
draw_pdot(1,dot_size); |
| 2970 |
draw_pdot(2,dot_size); |
| 2971 |
penlabels(1,2); |
| 2972 |
endchar; % end ":" |
| 2973 |
|
| 2974 |
% \end{macrocode} |
| 2975 |
% \end{routine} |
| 2976 |
% |
| 2977 |
% \begin{routine}{;} |
| 2978 |
% The `;' character. |
| 2979 |
% \begin{macrocode} |
| 2980 |
|
| 2981 |
cmchar "Rustic Semicolon"; |
| 2982 |
beginchar(";",2u#+hstretch*(comma_width#+dot_size#),x_height#,0); |
| 2983 |
adjust_fit(0,0); |
| 2984 |
pcshiftx:=u; |
| 2985 |
x1=x2=w-pcshiftx-(0.5hstretch*dot_size); y1=2/3h; y2=1/3h; |
| 2986 |
draw_pdot(1,dot_size); |
| 2987 |
draw_pcomma(2,dot_size,comma_width); |
| 2988 |
penlabels(1,2); |
| 2989 |
endchar; % end of ";" |
| 2990 |
|
| 2991 |
% \end{macrocode} |
| 2992 |
% \end{routine} |
| 2993 |
% |
| 2994 |
% \begin{routine}{'} |
| 2995 |
% The `'' character. |
| 2996 |
% \begin{macrocode} |
| 2997 |
|
| 2998 |
cmchar "Rustic Apostrophe"; |
| 2999 |
beginchar("'",2u#+hstretch*(comma_width#+dot_size#),4/3x_height#,0); |
| 3000 |
adjust_fit(0,0); |
| 3001 |
pcshiftx:=u; |
| 3002 |
x1=w-pcshiftx-(0.5hstretch*dot_size); y1=h; |
| 3003 |
draw_pcomma(1,dot_size,comma_width); |
| 3004 |
penlabels(1); |
| 3005 |
endchar; % end of "'" |
| 3006 |
|
| 3007 |
% \end{macrocode} |
| 3008 |
% \end{routine} |
| 3009 |
% |
| 3010 |
% \begin{routine}{`} |
| 3011 |
% The ``' character. |
| 3012 |
% \begin{macrocode} |
| 3013 |
|
| 3014 |
cmchar "Rustic Reverse apostrophe"; |
| 3015 |
beginchar("`",2u#+hstretch*(comma_width#+dot_size#),4/3x_height#,0); |
| 3016 |
adjust_fit(0,0); |
| 3017 |
pcshiftx:=u; |
| 3018 |
x1=pcshiftx+(0.5hstretch*dot_size); y1=h; |
| 3019 |
draw_plq(1,dot_size,comma_width); |
| 3020 |
penlabels(1); |
| 3021 |
endchar; % end of "`" |
| 3022 |
|
| 3023 |
% \end{macrocode} |
| 3024 |
% \end{routine} |
| 3025 |
% |
| 3026 |
% The end of this file. |
| 3027 |
% \begin{macrocode} |
| 3028 |
%</punct> |
| 3029 |
% \end{macrocode} |
| 3030 |
% |
| 3031 |
% |
| 3032 |
% \subsection{The ligatures and dashes file} |
| 3033 |
% |
| 3034 |
% The ligatured punctuation marks and dashes are defined in this file. |
| 3035 |
% \begin{macrocode} |
| 3036 |
%<*lig> |
| 3037 |
% RUSTLIG.MF Roman Rustic ligatured punctation and dashes |
| 3038 |
|
| 3039 |
% \end{macrocode} |
| 3040 |
% First the ligtables. |
| 3041 |
% \begin{macrocode} |
| 3042 |
|
| 3043 |
ligtable "`": "`"=:oct"134"; |
| 3044 |
ligtable "'": "'"=:oct"042"; %% , "?" kern 2u#, "!" kern 2u#; |
| 3045 |
|
| 3046 |
ligtable "-": "-"=:oct"173"; |
| 3047 |
ligtable oct"173": "-"=:oct"174"; |
| 3048 |
|
| 3049 |
% \end{macrocode} |
| 3050 |
% |
| 3051 |
% \begin{routine}{''} |
| 3052 |
% The `''' ligature. |
| 3053 |
% \begin{macrocode} |
| 3054 |
|
| 3055 |
cmchar "Rustic closing quotes"; |
| 3056 |
beginchar(oct"042",2u#+hstretch*(comma_width#+3dot_size#),4/3x_height#,0); |
| 3057 |
adjust_fit(0,0); |
| 3058 |
pcshiftx:=u; |
| 3059 |
x1=w-pcshiftx-(0.5hstretch*dot_size); y1=y2=h; |
| 3060 |
x2=x1-(2hstretch*dot_size); |
| 3061 |
draw_pcomma(1,dot_size,comma_width); % right |
| 3062 |
draw_pcomma(2,dot_size,comma_width); % left |
| 3063 |
penlabels(1,2); |
| 3064 |
endchar; % end of "''" |
| 3065 |
|
| 3066 |
% \end{macrocode} |
| 3067 |
% \end{routine} |
| 3068 |
% |
| 3069 |
% \begin{routine}{``} |
| 3070 |
% The ```' ligature. |
| 3071 |
% \begin{macrocode} |
| 3072 |
|
| 3073 |
cmchar "Rustic opening quotes"; |
| 3074 |
beginchar(oct"134",2u#+hstretch*(comma_width#+3dot_size#),4/3x_height#,0); |
| 3075 |
adjust_fit(0,0); |
| 3076 |
pcshiftx:=u; |
| 3077 |
x1=pcshiftx+(0.5hstretch*dot_size); y1=y2=h; |
| 3078 |
x2=x1+(2hstretch*dot_size); |
| 3079 |
draw_plq(1,dot_size,comma_width); % left |
| 3080 |
draw_plq(2,dot_size,comma_width); % right |
| 3081 |
penlabels(1,2); |
| 3082 |
endchar; % end of "``" |
| 3083 |
|
| 3084 |
% \end{macrocode} |
| 3085 |
% \end{routine} |
| 3086 |
% |
| 3087 |
% \begin{routine}{-} |
| 3088 |
% The `-' character. |
| 3089 |
% \begin{macrocode} |
| 3090 |
|
| 3091 |
cmchar "Rustic hyphen"; |
| 3092 |
beginchar("-",u#+hstretch*(0.8x_height#),x_height#,0); |
| 3093 |
adjust_fit(0,0); |
| 3094 |
pcshiftx:=u/2; |
| 3095 |
pickup quill; |
| 3096 |
lft x1 = pcshiftx; rt x2=w-pcshiftx; y1=y2=h/2; |
| 3097 |
draw z1--z2; % bar |
| 3098 |
penlabels(1,2); |
| 3099 |
endchar; % end of "-" |
| 3100 |
|
| 3101 |
% \end{macrocode} |
| 3102 |
% \end{routine} |
| 3103 |
% |
| 3104 |
% \begin{routine}{--} |
| 3105 |
% The -- ligature. |
| 3106 |
% \begin{macrocode} |
| 3107 |
|
| 3108 |
cmchar "Rustic en dash"; |
| 3109 |
beginchar(oct"173",u#+hstretch*(x_height#),x_height#,0); |
| 3110 |
adjust_fit(0,0); |
| 3111 |
pcshiftx:=u/2; |
| 3112 |
pickup quill; |
| 3113 |
lft x1 = pcshiftx; rt x2=w-pcshiftx; y1=y2=h/2; |
| 3114 |
draw z1--z2; % bar |
| 3115 |
penlabels(1,2); |
| 3116 |
endchar; % end of "--" |
| 3117 |
|
| 3118 |
% \end{macrocode} |
| 3119 |
% \end{routine} |
| 3120 |
% |
| 3121 |
% \begin{routine}{---} |
| 3122 |
% The `---' ligature. The em dash is twice the width of the en dash. |
| 3123 |
% \begin{macrocode} |
| 3124 |
|
| 3125 |
cmchar "Rustic em dash"; |
| 3126 |
beginchar(oct"174",u#+hstretch*(2x_height#),x_height#,0); |
| 3127 |
adjust_fit(0,0); |
| 3128 |
pcshiftx:=u/2; |
| 3129 |
pickup quill; |
| 3130 |
lft x1 = pcshiftx; rt x2=w-pcshiftx; y1=y2=h/2; |
| 3131 |
draw z1--z2; % bar |
| 3132 |
penlabels(1,2); |
| 3133 |
endchar; % end of "---" |
| 3134 |
|
| 3135 |
% \end{macrocode} |
| 3136 |
% \end{routine} |
| 3137 |
% |
| 3138 |
% |
| 3139 |
% The end of this file. |
| 3140 |
% \begin{macrocode} |
| 3141 |
%</lig> |
| 3142 |
% \end{macrocode} |
| 3143 |
% |
| 3144 |
% \subsection{The digits file} |
| 3145 |
% |
| 3146 |
% These are arabic digits in the style of the book-hand. They are a modern |
| 3147 |
% invention. |
| 3148 |
% |
| 3149 |
% \begin{macrocode} |
| 3150 |
%<*dig> |
| 3151 |
% RUSTDIG.MF Program file for Roman Rustic `digits' |
| 3152 |
% |
| 3153 |
|
| 3154 |
% \end{macrocode} |
| 3155 |
% |
| 3156 |
% \begin{routine}{1} |
| 3157 |
% The digit `1'. |
| 3158 |
% \begin{macrocode} |
| 3159 |
cmchar "Rustic digit 1"; |
| 3160 |
beginchar("1", 2u#+fig_width#, fig_height#, 0); |
| 3161 |
adjust_fit(0,0); |
| 3162 |
pcshiftx := u; |
| 3163 |
pickup quill; |
| 3164 |
x1=x2=w/2; |
| 3165 |
y1=h; y2=0; |
| 3166 |
%%ductus:=true; |
| 3167 |
if ductus: |
| 3168 |
pickup stylus; |
| 3169 |
fi |
| 3170 |
draw_footstem(1,2); % stem and foot |
| 3171 |
draw_hserif(1,2,srad); % serif |
| 3172 |
ductus:=false; |
| 3173 |
penlabels(1,2,3,4,100); |
| 3174 |
endchar; % end "1" |
| 3175 |
|
| 3176 |
% \end{macrocode} |
| 3177 |
% \end{routine} |
| 3178 |
% |
| 3179 |
% |
| 3180 |
% \begin{routine}{2} |
| 3181 |
% The digit `2'. This is like a stemless B. |
| 3182 |
% \begin{macrocode} |
| 3183 |
cmchar "Rustic digit 2"; |
| 3184 |
beginchar("2", 2u#+fig_width#, fig_height#, 0); |
| 3185 |
adjust_fit(0,0); |
| 3186 |
pcshiftx := u; |
| 3187 |
pickup quill; |
| 3188 |
% stem |
| 3189 |
lft x1=pcshiftx; top y1=h-2thin; |
| 3190 |
x2=1/2w; top y2= h; |
| 3191 |
rt x3=w-pcshiftx; y3=3/4h; |
| 3192 |
% squiggle |
| 3193 |
x5=pcshiftx+extra_fhjut; bot y5=0; |
| 3194 |
x6=w-pcshiftx-extra_fhjut; y6=y5; |
| 3195 |
%%ductus:=true; |
| 3196 |
if ductus: |
| 3197 |
pickup stylus; |
| 3198 |
fi |
| 3199 |
draw z1..z2{right}..z3{down}..{-pdir}z5; % curve |
| 3200 |
draw_squiggle(5,6,wiggle,srad); % foot |
| 3201 |
ductus:=false; |
| 3202 |
penlabels(1,2,3,4,5,6,100); |
| 3203 |
endchar; % end "2" |
| 3204 |
|
| 3205 |
% \end{macrocode} |
| 3206 |
% \end{routine} |
| 3207 |
% |
| 3208 |
% |
| 3209 |
% \begin{routine}{3} |
| 3210 |
% The digit `3'. This is like a stemless B. |
| 3211 |
% \begin{macrocode} |
| 3212 |
cmchar "Rustic digit 3"; |
| 3213 |
beginchar("3", 2u#+fig_width#, fig_height#, 0); |
| 3214 |
adjust_fit(0,0); |
| 3215 |
pcshiftx := u; |
| 3216 |
pickup quill; |
| 3217 |
% x values |
| 3218 |
lft x3=pcshiftx; x10=x3; |
| 3219 |
rt x5=w-pcshiftx; x8=x5-3thin; |
| 3220 |
x4=0.5[x3,x5]; |
| 3221 |
x9=0.5[x10,x8]; |
| 3222 |
lft x6=pcshiftx+extra_fhjut; x7=x6; |
| 3223 |
% y values |
| 3224 |
bot y3=thin; top y10=h-2thin; |
| 3225 |
y6=0.5[y3,y10]; y7=y6; |
| 3226 |
bot y4=-thin; top y9=h+thin; |
| 3227 |
y5=0.5[y3,y6]; |
| 3228 |
y8=11/12[y7,y10]; |
| 3229 |
%%ductus:=true; |
| 3230 |
if ductus: |
| 3231 |
pickup stylus; |
| 3232 |
fi |
| 3233 |
%%draw_rusticstem(1,2); % the stem |
| 3234 |
draw z3..z4{right}..z5{up}...{-pdir}z6; % bottom bowl |
| 3235 |
draw z7{pdir}..z8{up}..z9{left}..z10; % top bowl |
| 3236 |
ductus:=false; |
| 3237 |
penlabels(1,2,3,4,5,6,7,8,9,10,100); |
| 3238 |
endchar; % end "3" |
| 3239 |
|
| 3240 |
% \end{macrocode} |
| 3241 |
% \end{routine} |
| 3242 |
% |
| 3243 |
% \begin{routine}{4} |
| 3244 |
% The digit `4'. |
| 3245 |
% \begin{macrocode} |
| 3246 |
cmchar "Rustic digit 4"; |
| 3247 |
beginchar("4", 2u#+fig_width#, fig_height#, 0); |
| 3248 |
adjust_fit(0,0); |
| 3249 |
pcshiftx := u; |
| 3250 |
pickup quill; |
| 3251 |
% the stem |
| 3252 |
x1=x2=w-pcshiftx-footjut-extra_fhjut; |
| 3253 |
y1=h; y2=0; |
| 3254 |
% the crossbar |
| 3255 |
x3=pcshiftx+extra_fhjut; y3=0.33h; |
| 3256 |
x4=w-pcshiftx-extra_fhjut; y4=y3; |
| 3257 |
% the thin diagonal |
| 3258 |
x5=lft x3; y5=bot y3+thin; |
| 3259 |
%%ductus:=true; |
| 3260 |
if ductus: |
| 3261 |
pickup stylus; |
| 3262 |
fi |
| 3263 |
draw_footstem(1,2); % stem and foot |
| 3264 |
%%draw_hserif(1,2,srad); % serif |
| 3265 |
draw_squiggle(3,4,wiggle,srad); % squiggle |
| 3266 |
pickup stylus; |
| 3267 |
draw z5{pdir}..z1; % thin diagonal |
| 3268 |
ductus:=false; |
| 3269 |
penlabels(1,2,3,4,100); |
| 3270 |
endchar; % end "4" |
| 3271 |
|
| 3272 |
% \end{macrocode} |
| 3273 |
% \end{routine} |
| 3274 |
% |
| 3275 |
% |
| 3276 |
% |
| 3277 |
% \begin{routine}{5} |
| 3278 |
% The digit `5'. |
| 3279 |
% \begin{macrocode} |
| 3280 |
cmchar "Rustic digit 5"; |
| 3281 |
beginchar("5", 2u#+fig_width#, fig_height#, 0); |
| 3282 |
adjust_fit(0,0); |
| 3283 |
pcshiftx := u; |
| 3284 |
pickup quill; |
| 3285 |
% for the foot |
| 3286 |
lft x7=pcshiftx+extra_fhjut; bot y7=0; |
| 3287 |
% for the top |
| 3288 |
rt x1=w-pcshiftx-extra_fhjut; top y1=h; |
| 3289 |
lft x2=pcshiftx+extra_fhjut; y2=y1; |
| 3290 |
|
| 3291 |
% the S curve |
| 3292 |
x3=x2; y3=0.5h; |
| 3293 |
x4=0.5[x1,x3]; y4=0.5[y3,y5]; |
| 3294 |
rt x5=w-pcshiftx; y5=0.3h; |
| 3295 |
x6=0.75w; bot y6=0; |
| 3296 |
%%ductus:=true; |
| 3297 |
if ductus: |
| 3298 |
pickup stylus; |
| 3299 |
fi |
| 3300 |
draw_squiggle(2,1,wiggle,srad); % top squiggle |
| 3301 |
draw z3{pdir}..z5{down}..{-pdir}z6; % curve |
| 3302 |
draw_squiggle(7,6,wiggle,srad); % base |
| 3303 |
pickup stylus; |
| 3304 |
draw z2--z3; % vertical |
| 3305 |
ductus:=false; |
| 3306 |
penlabels(1,2,3,4,5,6,7,100); |
| 3307 |
endchar; % end "5" |
| 3308 |
|
| 3309 |
% \end{macrocode} |
| 3310 |
% \end{routine} |
| 3311 |
% |
| 3312 |
% \begin{routine}{6} |
| 3313 |
% The digit `6'. |
| 3314 |
% \begin{macrocode} |
| 3315 |
cmchar "Rustic digit 6"; |
| 3316 |
beginchar("6", 2u#+fig_width#, fig_height#, 0); |
| 3317 |
adjust_fit(0,0); |
| 3318 |
pcshiftx := u; |
| 3319 |
pickup quill; |
| 3320 |
rt x1=w-pcshiftx; top y1=h-2thin; |
| 3321 |
x2=1/2w; top y2= h; |
| 3322 |
lft x3=pcshiftx; y3=1/2h; |
| 3323 |
x4=x2; bot y4=0; |
| 3324 |
rt x5=w-pcshiftx; y5=1/4h; |
| 3325 |
lft x6=rt x3; bot y6=y3; |
| 3326 |
%%ductus:=true; |
| 3327 |
if ductus: |
| 3328 |
pickup stylus; |
| 3329 |
fi |
| 3330 |
draw z1..z2{left}..z3{down}..z4{right}..z5{up}..{-pdir}z6; |
| 3331 |
ductus:=false; |
| 3332 |
penlabels(1,2,3,4,5,6,100); |
| 3333 |
endchar; % end "6" |
| 3334 |
|
| 3335 |
% \end{macrocode} |
| 3336 |
% \end{routine} |
| 3337 |
% |
| 3338 |
% |
| 3339 |
% \begin{routine}{7} |
| 3340 |
% The digit `7'. |
| 3341 |
% \begin{macrocode} |
| 3342 |
cmchar "Rustic digit 7"; |
| 3343 |
beginchar("7", 2u#+fig_width#, fig_height#, 0); |
| 3344 |
adjust_fit(0,0); |
| 3345 |
pcshiftx := u; |
| 3346 |
pickup quill; |
| 3347 |
% top bar |
| 3348 |
x1=pcshiftx+extra_fhjut; |
| 3349 |
x2=w-pcshiftx-extra_fhjut; |
| 3350 |
top y1=top y2=h; |
| 3351 |
% bowed leg |
| 3352 |
rt x4=w-pcshiftx-3thin; bot y4=0; |
| 3353 |
x3=0.5[x2,x4]-2thin; y3=0.5[y2,y4]; |
| 3354 |
%%ductus:=true; |
| 3355 |
if ductus: |
| 3356 |
pickup stylus; |
| 3357 |
fi |
| 3358 |
draw_squiggle(1,2,wiggle,srad); |
| 3359 |
draw z2..z3..z4; |
| 3360 |
ductus:=false; |
| 3361 |
penlabels(1,2,3,4,5,6,100); |
| 3362 |
endchar; % end "7" |
| 3363 |
|
| 3364 |
% \end{macrocode} |
| 3365 |
% \end{routine} |
| 3366 |
% |
| 3367 |
% \begin{routine}{8} |
| 3368 |
% The digit `8'. |
| 3369 |
% \begin{macrocode} |
| 3370 |
cmchar "Rustic digit 8"; |
| 3371 |
beginchar("8", 2u#+fig_width#, fig_height#, 0); |
| 3372 |
adjust_fit(0,0); |
| 3373 |
pcshiftx := u; |
| 3374 |
pickup quill; |
| 3375 |
lft x1=pcshiftx-o; rt x3=w-pcshiftx; y1=y3=3/4h; |
| 3376 |
x2=x4=w/2; top y2=h+o; bot y4=-o; |
| 3377 |
x5=x2; y5=h/2; |
| 3378 |
x11=x1+o; x13=x3+o; y11=y13=1/4h; |
| 3379 |
%%ductus:=true; |
| 3380 |
if ductus: |
| 3381 |
pickup stylus; |
| 3382 |
fi |
| 3383 |
draw z1..z2..z3..z5..z11..z4..z13..z5..cycle; |
| 3384 |
ductus:=false; |
| 3385 |
penlabels(1,2,3,4,5,11,13,100); |
| 3386 |
endchar; % end "8" |
| 3387 |
|
| 3388 |
% \end{macrocode} |
| 3389 |
% \end{routine} |
| 3390 |
% |
| 3391 |
% \begin{routine}{9} |
| 3392 |
% The digit `9'. |
| 3393 |
% \begin{macrocode} |
| 3394 |
cmchar "Rustic digit 9"; |
| 3395 |
beginchar("9", 2u#+fig_width#, fig_height#, 0); |
| 3396 |
adjust_fit(0,0); |
| 3397 |
pcshiftx := u; |
| 3398 |
pickup quill; |
| 3399 |
lft x1=pcshiftx; bot y1=2thin; |
| 3400 |
x2=1/2w; bot y2= 0; |
| 3401 |
rt x3=w-pcshiftx; y3=1/2h; |
| 3402 |
x4=x2; top y4=h; |
| 3403 |
lft x5=pcshiftx; y5=3/4h; |
| 3404 |
rt x6=lft x3; top y6=y3; |
| 3405 |
%%ductus:=true; |
| 3406 |
if ductus: |
| 3407 |
pickup stylus; |
| 3408 |
fi |
| 3409 |
draw z1..z2{right}..z3{up}..z4{left}..z5{down}..{pdir}z6; |
| 3410 |
ductus:=false; |
| 3411 |
penlabels(1,2,3,4,5,6,100); |
| 3412 |
endchar; % end "9" |
| 3413 |
|
| 3414 |
% \end{macrocode} |
| 3415 |
% \end{routine} |
| 3416 |
% |
| 3417 |
% \begin{routine}{0} |
| 3418 |
% The digit `0'. |
| 3419 |
% \begin{macrocode} |
| 3420 |
cmchar "Rustic digit 0"; |
| 3421 |
beginchar("0", 2u#+fig_width#, fig_height#, 0); |
| 3422 |
adjust_fit(0,0); |
| 3423 |
pcshiftx := u; |
| 3424 |
pickup quill; |
| 3425 |
lft x1=pcshiftx; rt x3=w-pcshiftx; y1=y3=h/2; |
| 3426 |
x2=x4=w/2; top y2=h+o; bot y4=-o; |
| 3427 |
%%ductus:=true; |
| 3428 |
if ductus: |
| 3429 |
pickup stylus; |
| 3430 |
fi |
| 3431 |
draw z1..z2..z3..z4..cycle; |
| 3432 |
ductus:=false; |
| 3433 |
penlabels(1,2,3,4,100); |
| 3434 |
endchar; % end "0" |
| 3435 |
|
| 3436 |
% \end{macrocode} |
| 3437 |
% \end{routine} |
| 3438 |
% |
| 3439 |
% |
| 3440 |
% The end of this file. |
| 3441 |
% \begin{macrocode} |
| 3442 |
%</dig> |
| 3443 |
% \end{macrocode} |
| 3444 |
% |
| 3445 |
% |
| 3446 |
% \section{The font definition files} \label{sec:fd} |
| 3447 |
% |
| 3448 |
% The font comes in normal and bold weights only. |
| 3449 |
% |
| 3450 |
% \begin{macrocode} |
| 3451 |
%<*fdot1> |
| 3452 |
\DeclareFontFamily{OT1}{rust}{} |
| 3453 |
%% \DeclareFontShape{OT1}{rust}{m}{n}{ <-> rust10 }{} |
| 3454 |
\DeclareFontShape{OT1}{rust}{m}{n}{ <-8.5> rust7 <8.5-15> rust10 <15-> rust17 }{} |
| 3455 |
\DeclareFontShape{OT1}{rust}{m}{sl}{ <-> sub * rust/m/n }{} |
| 3456 |
\DeclareFontShape{OT1}{rust}{m}{it}{ <-> sub * rust/m/n }{} |
| 3457 |
\DeclareFontShape{OT1}{rust}{m}{sc}{ <-> sub * rust/m/n }{} |
| 3458 |
\DeclareFontShape{OT1}{rust}{m}{u}{ <-> sub * rust/m/n }{} |
| 3459 |
%% \DeclareFontShape{OT1}{rust}{bx}{n}{ <-> rustb10 }{} |
| 3460 |
\DeclareFontShape{OT1}{rust}{bx}{n}{ <-8.5> rustb7 <8.5-15> rustb10 <15-> rustb17 }{} |
| 3461 |
\DeclareFontShape{OT1}{rust}{bx}{it}{ <-> sub * rust/bx/n }{} |
| 3462 |
\DeclareFontShape{OT1}{rust}{bx}{sl}{ <-> sub * rust/bx/n }{} |
| 3463 |
\DeclareFontShape{OT1}{rust}{b}{n}{ <-> sub * rust/bx/n }{} |
| 3464 |
%</fdot1> |
| 3465 |
% \end{macrocode} |
| 3466 |
% |
| 3467 |
% |
| 3468 |
% \begin{macrocode} |
| 3469 |
%<*fdt1> |
| 3470 |
\DeclareFontFamily{T1}{rust}{} |
| 3471 |
\DeclareFontShape{T1}{rust}{m}{n}{ <-8.5> rust7 <8.5-15> rust10 <15-> rust17 }{} |
| 3472 |
\DeclareFontShape{T1}{rust}{m}{sl}{ <-> sub * rust/m/n }{} |
| 3473 |
\DeclareFontShape{T1}{rust}{m}{it}{ <-> sub * rust/m/n }{} |
| 3474 |
\DeclareFontShape{T1}{rust}{m}{sc}{ <-> sub * rust/m/n }{} |
| 3475 |
\DeclareFontShape{T1}{rust}{m}{u}{ <-> sub * rust/m/n }{} |
| 3476 |
\DeclareFontShape{T1}{rust}{bx}{n}{ <-8.5> rustb7 <8.5-15> rustb10 <15-> rustb17 }{} |
| 3477 |
\DeclareFontShape{T1}{rust}{bx}{it}{ <-> sub * rust/bx/n }{} |
| 3478 |
\DeclareFontShape{T1}{rust}{bx}{sl}{ <-> sub * rust/bx/n }{} |
| 3479 |
\DeclareFontShape{T1}{rust}{b}{n}{ <-> sub * rust/bx/n }{} |
| 3480 |
%</fdt1> |
| 3481 |
% \end{macrocode} |
| 3482 |
% |
| 3483 |
% \section{The \Lpack{rustic} and \Lpack{allrust} package code} \label{sec:code} |
| 3484 |
% |
| 3485 |
% \subsection{The \Lpack{rustic} code} |
| 3486 |
% |
| 3487 |
% The \Lpack{rustic} package is intended for use when typesetting examples |
| 3488 |
% of the book-hand in a document that is otherwise typeset in normal fonts. |
| 3489 |
% |
| 3490 |
% Announce the name and version of the package, which requires |
| 3491 |
% \LaTeXe{}. |
| 3492 |
% \begin{macrocode} |
| 3493 |
%<*usc> |
| 3494 |
\NeedsTeXFormat{LaTeX2e} |
| 3495 |
\ProvidesPackage{rustic}[1999/05/01 v1.0 package for Roman Rustic fonts] |
| 3496 |
% \end{macrocode} |
| 3497 |
% |
| 3498 |
% \begin{macro}{\Tienc} |
| 3499 |
% A macro for testing the value of |\encodingdefault|. |
| 3500 |
% \begin{macrocode} |
| 3501 |
\providecommand{\Tienc}{T1} |
| 3502 |
% \end{macrocode} |
| 3503 |
% \end{macro} |
| 3504 |
% |
| 3505 |
% \begin{macro}{\rustfamily} |
| 3506 |
% Selects the Roman Rustic font family in either T1 or OT1 encoding. |
| 3507 |
% \begin{macrocode} |
| 3508 |
\ifx\Tienc\encodingdefault |
| 3509 |
\newcommand{\rustfamily}{\usefont{T1}{rust}{m}{n}} |
| 3510 |
\else |
| 3511 |
\newcommand{\rustfamily}{\usefont{OT1}{rust}{m}{n}} |
| 3512 |
\fi |
| 3513 |
% \end{macrocode} |
| 3514 |
% \end{macro} |
| 3515 |
% |
| 3516 |
% \begin{macro}{\textrust} |
| 3517 |
% Text command for the Roman Rustic font family. |
| 3518 |
% \begin{macrocode} |
| 3519 |
\DeclareTextFontCommand{\textrust}{\rustfamily} |
| 3520 |
% \end{macrocode} |
| 3521 |
% \end{macro} |
| 3522 |
% |
| 3523 |
% The end of this package. |
| 3524 |
% \begin{macrocode} |
| 3525 |
%</usc> |
| 3526 |
% \end{macrocode} |
| 3527 |
% |
| 3528 |
% \subsection{The \Lpack{allrust} code} |
| 3529 |
% |
| 3530 |
% The \Lpack{allrust} package is intended for use when the entire document |
| 3531 |
% will be typeset in the book-hand. This is a minimal package. Because the |
| 3532 |
% book-hand should not contain arabic digits a fuller package would redefine |
| 3533 |
% anything numbered in \LaTeX{} to use roman instead of arabic numbering. |
| 3534 |
% Also, because of the large |\baselineskip| many other aspects of \LaTeX{} |
| 3535 |
% to do with vertical positioning should also be redefined. |
| 3536 |
% |
| 3537 |
% |
| 3538 |
% Announce the name and version of the package, which requires |
| 3539 |
% \LaTeXe{}. It also uses the \Lpack{rustic} package. |
| 3540 |
% \begin{macrocode} |
| 3541 |
%<*uscall> |
| 3542 |
\NeedsTeXFormat{LaTeX2e} |
| 3543 |
\ProvidesPackage{allrust}[1999/05/01 v1.0 package for all Roman Rustic fonts] |
| 3544 |
\RequirePackage{rustic} |
| 3545 |
% \end{macrocode} |
| 3546 |
% |
| 3547 |
% \begin{macro}{\Tienc} |
| 3548 |
% A macro for testing the value of |\encodingdefault|. |
| 3549 |
% \begin{macrocode} |
| 3550 |
\providecommand{\Tienc}{T1} |
| 3551 |
% \end{macrocode} |
| 3552 |
% \end{macro} |
| 3553 |
% |
| 3554 |
% Redefine the default fonts to be Roman Rustic, which has only one family |
| 3555 |
% member. |
| 3556 |
% \begin{macro}{\rmdefault} |
| 3557 |
% \begin{macro}{\sfdefault} |
| 3558 |
% \begin{macro}{\ttdefault} |
| 3559 |
% \begin{macrocode} |
| 3560 |
\renewcommand{\rmdefault}{rust} |
| 3561 |
\renewcommand{\sfdefault}{rust} |
| 3562 |
\renewcommand{\ttdefault}{rust} |
| 3563 |
% \end{macrocode} |
| 3564 |
% \end{macro} |
| 3565 |
% \end{macro} |
| 3566 |
% \end{macro} |
| 3567 |
% |
| 3568 |
% The `leading' in the book-hand is the same as the |x-height|, which is much |
| 3569 |
% greater than for the CMR fonts. I have borrowed code from Frank Jensen's |
| 3570 |
% \Lpack{beton} package~\cite{BETON} to do this. |
| 3571 |
% |
| 3572 |
% \begin{macro}{\rustic@baselineskip@table} |
| 3573 |
% A table of the normal font sizes and the corresponding baselineskip. |
| 3574 |
% \begin{macrocode} |
| 3575 |
\newcommand{\rustic@baselineskip@table}{% |
| 3576 |
<\@vpt>9.5% |
| 3577 |
<\@vipt>11.4% |
| 3578 |
<\@viipt>13.3% |
| 3579 |
<\@viiipt>15.2% |
| 3580 |
<\@xpt>19% |
| 3581 |
<\@xipt>20.9% |
| 3582 |
<\@xiipt>22.8% |
| 3583 |
<\@xivpt>27.36% |
| 3584 |
<\@xviipt>23.3% |
| 3585 |
<\@xxpt>38% |
| 3586 |
<\@xxvpt>47.5} |
| 3587 |
% \end{macrocode} |
| 3588 |
% \end{macro} |
| 3589 |
% |
| 3590 |
% \begin{macro}{\rustic@new@setfontsize} |
| 3591 |
% This is a macro that replaces the |\@setfontsize| macro which is called by |
| 3592 |
% the font size changing commands. |
| 3593 |
% \begin{macrocode} |
| 3594 |
\newcommand{\rustic@new@setfontsize}[3]{% |
| 3595 |
\edef\@tempa{\def\noexpand\@tempb####1<#2}% |
| 3596 |
\@tempa>##2<##3\@nil{\def\rustic@baselineskip@value{##2}}% |
| 3597 |
\edef\@tempa{\noexpand\@tempb\rustic@baselineskip@table<#2}% |
| 3598 |
\@tempa><\@nil |
| 3599 |
\ifx\rustic@baselineskip@value\@empty |
| 3600 |
\def\rustic@baselineskip@value{#3}% |
| 3601 |
\fi |
| 3602 |
\rustic@old@setfontsize{#1}{#2}\rustic@baselineskip@value} |
| 3603 |
% \end{macrocode} |
| 3604 |
% \end{macro} |
| 3605 |
% |
| 3606 |
% We had better give an author a means of using The Computer Modern fonts |
| 3607 |
% if necessary. |
| 3608 |
% |
| 3609 |
% \begin{macro}{\cmrfamily} |
| 3610 |
% \begin{macro}{\cmssfamily} |
| 3611 |
% \begin{macro}{\cmttfamily} |
| 3612 |
% These macros select the Computer Modern Roman, Sans, and Typewriter |
| 3613 |
% font families in either the T1 or OT1 encodings. |
| 3614 |
% \begin{macrocode} |
| 3615 |
\ifx\Tienc\encodingdefault |
| 3616 |
\providecommand{\cmrfamily}{\usefont{T1}{cmr}{m}{n}} |
| 3617 |
\providecommand{\cmssfamily}{\usefont{T1}{cmss}{m}{n}} |
| 3618 |
\providecommand{\cmttfamily}{\usefont{T1}{cmtt}{m}{n}} |
| 3619 |
\else |
| 3620 |
\providecommand{\cmrfamily}{\usefont{OT1}{cmr}{m}{n}} |
| 3621 |
\providecommand{\cmssfamily}{\usefont{OT1}{cmss}{m}{n}} |
| 3622 |
\providecommand{\cmttfamily}{\usefont{OT1}{cmtt}{m}{n}} |
| 3623 |
\fi |
| 3624 |
% \end{macrocode} |
| 3625 |
% \end{macro} |
| 3626 |
% \end{macro} |
| 3627 |
% \end{macro} |
| 3628 |
% |
| 3629 |
% \begin{macro}{\textcmr} |
| 3630 |
% Text command for the Computer Modern Roman font family. |
| 3631 |
% \begin{macrocode} |
| 3632 |
\DeclareTextFontCommand{\textcmr}{\cmrfamily} |
| 3633 |
% \end{macrocode} |
| 3634 |
% \end{macro} |
| 3635 |
% |
| 3636 |
% \begin{macro}{\textcmss} |
| 3637 |
% Text command for the Computer Modern Sans font family. |
| 3638 |
% \begin{macrocode} |
| 3639 |
\DeclareTextFontCommand{\textcmss}{\cmssfamily} |
| 3640 |
% \end{macrocode} |
| 3641 |
% \end{macro} |
| 3642 |
% |
| 3643 |
% \begin{macro}{\textcmtt} |
| 3644 |
% Text command for the Computer Modern Typewriter font family. |
| 3645 |
% \begin{macrocode} |
| 3646 |
\DeclareTextFontCommand{\textcmtt}{\cmttfamily} |
| 3647 |
% \end{macrocode} |
| 3648 |
% \end{macro} |
| 3649 |
% |
| 3650 |
% |
| 3651 |
% At the start of the document, change the |\@setfontsize| macro and call |
| 3652 |
% the normal font to implement the change. |
| 3653 |
% \begin{macrocode} |
| 3654 |
\AtBeginDocument{% |
| 3655 |
\let\rustic@old@setfontsize=\@setfontsize |
| 3656 |
\let\@setfontsize=\rustic@new@setfontsize} |
| 3657 |
\AtBeginDocument{\normalsize} |
| 3658 |
% \end{macrocode} |
| 3659 |
% |
| 3660 |
% |
| 3661 |
% The end of this package. |
| 3662 |
% \begin{macrocode} |
| 3663 |
%</uscall> |
| 3664 |
% \end{macrocode} |
| 3665 |
% |
| 3666 |
% |
| 3667 |
% \bibliographystyle{alpha} |
| 3668 |
% \renewcommand{\refname}{Bibliography} |
| 3669 |
% \begin{thebibliography}{GMS94a} |
| 3670 |
% \addcontentsline{toc}{section}{\refname} |
| 3671 |
% |
| 3672 |
% \bibitem[And69]{ANDERSON69} |
| 3673 |
% Donald M.~Anderson. |
| 3674 |
% \newblock {\em The Art of Written Forms: The Theory and Practice of Calligraphy}. |
| 3675 |
% \newblock Holt, Rinehart and Winston, 1969. |
| 3676 |
% |
| 3677 |
% \bibitem[Bol95]{BOLOGNA95} |
| 3678 |
% Giulia Bologna. |
| 3679 |
% \newblock {\em Illuminated Manuscripts: The Book before Gutenberg}. |
| 3680 |
% \newblock Crescent Books, 1995. |
| 3681 |
% |
| 3682 |
% \bibitem[Day95]{DAY95} |
| 3683 |
% Lewis F.~Day. |
| 3684 |
% \newblock {\em Alphabets Old \& New}. |
| 3685 |
% \newblock (3rd edition originally published by B.~T.~Batsford, 1910) |
| 3686 |
% \newblock Senate, 1995. |
| 3687 |
% |
| 3688 |
% \bibitem[Dro80]{DROGIN80} |
| 3689 |
% Marc Drogin. |
| 3690 |
% \newblock {\em Medieval Calligraphy: Its History and Technique}. |
| 3691 |
% \newblock Allenheld, Osmun \& Co., 1980. |
| 3692 |
% |
| 3693 |
% \bibitem[Dru95]{DRUCKER95} |
| 3694 |
% Johanna Drucker. |
| 3695 |
% \newblock {\em The Alphabetic Labyrinth}. |
| 3696 |
% \newblock Thames \& Hudson, 1995. |
| 3697 |
% |
| 3698 |
% \bibitem[Fir93]{FIRMAGE93} |
| 3699 |
% Richard A.~Firmage. |
| 3700 |
% \newblock {\em The Alphabet Abecedarium}. |
| 3701 |
% \newblock David R~Goodine, 1993. |
| 3702 |
% |
| 3703 |
% |
| 3704 |
% \bibitem[Har95]{HARRIS95} |
| 3705 |
% David Harris. |
| 3706 |
% \newblock {\em The Art of Calligraphy}. |
| 3707 |
% \newblock DK Publishing, 1995. |
| 3708 |
% |
| 3709 |
% \bibitem[Jen95]{BETON} |
| 3710 |
% Frank Jensen. |
| 3711 |
% \newblock {\em The BETON package}. |
| 3712 |
% \newblock (Available from CTAN in \texttt{macros/latex/contrib/supported}). |
| 3713 |
% \newblock 1995. |
| 3714 |
% |
| 3715 |
% |
| 3716 |
% \bibitem[Joh71]{JOHNSTON75} |
| 3717 |
% Edward Johnston (ed. Heather Child). |
| 3718 |
% \newblock {\em Formal Penship and Other Papers}. |
| 3719 |
% \newblock Penthalic, 1971. |
| 3720 |
% |
| 3721 |
% \bibitem[Knu87]{CM} |
| 3722 |
% Donald E.~Knuth. |
| 3723 |
% \newblock {\em Computer Modern Typefaces}. |
| 3724 |
% \newblock Addison-Wesley, 1987. |
| 3725 |
% |
| 3726 |
% \bibitem[Knu92]{METAFONT} |
| 3727 |
% Donald E.~Knuth. |
| 3728 |
% \newblock {\em The METAFONTbook}. |
| 3729 |
% \newblock Addison-Wesley, 1992. |
| 3730 |
% |
| 3731 |
% |
| 3732 |
% \bibitem[GMS94]{GOOSSENS94} |
| 3733 |
% Michel Goossens, Frank Mittelbach, and Alexander Samarin. |
| 3734 |
% \newblock {\em The LaTeX Companion}. |
| 3735 |
% \newblock Addison-Wesley Publishing Company, 1994. |
| 3736 |
% |
| 3737 |
% \bibitem[Tho75]{THOMAS75} |
| 3738 |
% Alan G.~Thomas. |
| 3739 |
% \newblock {\em Great Books and Book Collectors}. |
| 3740 |
% \newblock Weidenfield and Nichoson, 1975. |
| 3741 |
% |
| 3742 |
% \bibitem[Wil99a]{DOCMFP} |
| 3743 |
% Peter R.~Wilson. |
| 3744 |
% \newblock {\em The DOCMFP Package}. |
| 3745 |
% \newblock (Available from CTAN in \texttt{macros/latex/contrib/supported}). |
| 3746 |
% \newblock 1999. |
| 3747 |
% |
| 3748 |
% \bibitem[Wil99b]{ROMANNUM} |
| 3749 |
% Peter R.~Wilson. |
| 3750 |
% \newblock {\em The ROMANNUM Package}. |
| 3751 |
% \newblock (Available from CTAN in \texttt{macros/latex/contrib/supported}). |
| 3752 |
% \newblock 1999. |
| 3753 |
% |
| 3754 |
% \end{thebibliography} |
| 3755 |
% |
| 3756 |
% |
| 3757 |
% \Finale |
| 3758 |
% \PrintIndex |
| 3759 |
% |
| 3760 |
\endinput |
| 3761 |
|
| 3762 |
%% \CharacterTable |
| 3763 |
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z |
| 3764 |
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z |
| 3765 |
%% Digits \0\1\2\3\4\5\6\7\8\9 |
| 3766 |
%% Exclamation \! Double quote \" Hash (number) \# |
| 3767 |
%% Dollar \$ Percent \% Ampersand \& |
| 3768 |
%% Acute accent \' Left paren \( Right paren \) |
| 3769 |
%% Asterisk \* Plus \+ Comma \, |
| 3770 |
%% Minus \- Point \. Solidus \/ |
| 3771 |
%% Colon \: Semicolon \; Less than \< |
| 3772 |
%% Equals \= Greater than \> Question mark \? |
| 3773 |
%% Commercial at \@ Left bracket \[ Backslash \\ |
| 3774 |
%% Right bracket \] Circumflex \^ Underscore \_ |
| 3775 |
%% Grave accent \` Left brace \{ Vertical bar \| |
| 3776 |
%% Right brace \} Tilde \~} |
| 3777 |
|
| 3778 |
|