Debian Codegraph @

texmf-dist/source/fonts/archaic/runic.dtx

raw
1 % \iffalse meta-comment
2 %
3 % runic.dtx
4 %
5 % Author: Peter Wilson (Herries Press) herries dot press at earthlink dot net
6 % Copyright 1999--2005 Peter R. Wilson
7 %
8 % This work may be distributed and/or modified under the
9 % conditions of the Latex Project Public License, either
10 % version 1.3 of this license or (at your option) any
11 % later version.
12 % The latest version of the license is in
13 % http://www.latex-project.org/lppl.txt
14 % and version 1.3 or later is part of all distributions of
15 % LaTeX version 2003/06/01 or later.
16 %
17 % This work has the LPPL maintenance status "author-maintained".
18 %
19 % This work consists of the files listed in the README file.
20 %
21 %
22 %<*driver>
23 \documentclass[twoside]{ltxdoc}
24 \usepackage{docmfp}
25 \usepackage{url}
26 \usepackage[draft=false,
27 plainpages=false,
28 pdfpagelabels,
29 bookmarksnumbered,
30 hyperindex=false
31 ]{hyperref}
32 \providecommand{\phantomsection}{}
33 \OnlyDescription %% comment this out for the full glory
34 \EnableCrossrefs
35 \CodelineIndex
36 \setcounter{StandardModuleDepth}{1}
37 \makeatletter
38 \@mparswitchfalse
39 \makeatother
40 \renewcommand{\MakeUppercase}[1]{#1}
41 \pagestyle{headings}
42 \newenvironment{addtomargins}[1]{%
43 \begin{list}{}{%
44 \topsep 0pt%
45 \addtolength{\leftmargin}{#1}%
46 \addtolength{\rightmargin}{#1}%
47 \listparindent \parindent
48 \itemindent \parindent
49 \parsep \parskip}%
50 \item[]}{\end{list}}
51 \begin{document}
52 \raggedbottom
53 \DocInput{runic.dtx}
54 \end{document}
55 %</driver>
56 %
57 % \fi
58 %
59 % \CheckSum{25}
60 %
61 % \DoNotIndex{\',\.,\@M,\@@input,\@addtoreset,\@arabic,\@badmath}
62 % \DoNotIndex{\@centercr,\@cite}
63 % \DoNotIndex{\@dotsep,\@empty,\@float,\@gobble,\@gobbletwo,\@ignoretrue}
64 % \DoNotIndex{\@input,\@ixpt,\@m}
65 % \DoNotIndex{\@minus,\@mkboth,\@ne,\@nil,\@nomath,\@plus,\@set@topoint}
66 % \DoNotIndex{\@tempboxa,\@tempcnta,\@tempdima,\@tempdimb}
67 % \DoNotIndex{\@tempswafalse,\@tempswatrue,\@viipt,\@viiipt,\@vipt}
68 % \DoNotIndex{\@vpt,\@warning,\@xiipt,\@xipt,\@xivpt,\@xpt,\@xviipt}
69 % \DoNotIndex{\@xxpt,\@xxvpt,\\,\ ,\addpenalty,\addtolength,\addvspace}
70 % \DoNotIndex{\advance,\Alph,\alph}
71 % \DoNotIndex{\arabic,\ast,\begin,\begingroup,\bfseries,\bgroup,\box}
72 % \DoNotIndex{\bullet}
73 % \DoNotIndex{\cdot,\cite,\CodelineIndex,\cr,\day,\DeclareOption}
74 % \DoNotIndex{\def,\DisableCrossrefs,\divide,\DocInput,\documentclass}
75 % \DoNotIndex{\DoNotIndex,\egroup,\ifdim,\else,\fi,\em,\endtrivlist}
76 % \DoNotIndex{\EnableCrossrefs,\end,\end@dblfloat,\end@float,\endgroup}
77 % \DoNotIndex{\endlist,\everycr,\everypar,\ExecuteOptions,\expandafter}
78 % \DoNotIndex{\fbox}
79 % \DoNotIndex{\filedate,\filename,\fileversion,\fontsize,\framebox,\gdef}
80 % \DoNotIndex{\global,\halign,\hangindent,\hbox,\hfil,\hfill,\hrule}
81 % \DoNotIndex{\hsize,\hskip,\hspace,\hss,\if@tempswa,\ifcase,\or,\fi,\fi}
82 % \DoNotIndex{\ifhmode,\ifvmode,\ifnum,\iftrue,\ifx,\fi,\fi,\fi,\fi,\fi}
83 % \DoNotIndex{\input}
84 % \DoNotIndex{\jobname,\kern,\leavevmode,\let,\leftmark}
85 % \DoNotIndex{\list,\llap,\long,\m@ne,\m@th,\mark,\markboth,\markright}
86 % \DoNotIndex{\month,\newcommand,\newcounter,\newenvironment}
87 % \DoNotIndex{\NeedsTeXFormat,\newdimen}
88 % \DoNotIndex{\newlength,\newpage,\nobreak,\noindent,\null,\number}
89 % \DoNotIndex{\numberline,\OldMakeindex,\OnlyDescription,\p@}
90 % \DoNotIndex{\pagestyle,\par,\paragraph,\paragraphmark,\parfillskip}
91 % \DoNotIndex{\penalty,\PrintChanges,\PrintIndex,\ProcessOptions}
92 % \DoNotIndex{\protect,\ProvidesClass,\raggedbottom,\raggedright}
93 % \DoNotIndex{\refstepcounter,\relax,\renewcommand,\reset@font}
94 % \DoNotIndex{\rightmargin,\rightmark,\rightskip,\rlap,\rmfamily,\roman}
95 % \DoNotIndex{\roman,\secdef,\selectfont,\setbox,\setcounter,\setlength}
96 % \DoNotIndex{\settowidth,\sfcode,\skip,\sloppy,\slshape,\space}
97 % \DoNotIndex{\symbol,\the,\trivlist,\typeout,\tw@,\undefined,\uppercase}
98 % \DoNotIndex{\usecounter,\usefont,\usepackage,\vfil,\vfill,\viiipt}
99 % \DoNotIndex{\viipt,\vipt,\vskip,\vspace}
100 % \DoNotIndex{\wd,\xiipt,\year,\z@}
101 %
102 % \changes{v1.0}{1999/03/14}{First public release}
103 % \changes{v1.1}{2005/03/31}{Minor changes reflecting changed circumstances}
104 % \changes{v1.1}{2005/03/31}{Merged the Metafont files}
105 %
106 % \def\fileversion{v1.0} \def\filedate{1999/03/14}
107 % \def\fileversion{v1.1} \def\filedate{2005/03/31}
108 % \newcommand*{\Lpack}[1]{\textsf {#1}} ^^A typeset a package
109 % \newcommand*{\Lopt}[1]{\textsf {#1}} ^^A typeset an option
110 % \newcommand*{\file}[1]{\texttt {#1}} ^^A typeset a file
111 % \newcommand*{\Lcount}[1]{\textsl {\small#1}} ^^A typeset a counter
112 % \newcommand*{\pstyle}[1]{\textsl {#1}} ^^A typeset a pagestyle
113 % \newcommand*{\Lenv}[1]{\texttt {#1}} ^^A typeset an environment
114 % \newcommand{\BC}{\textsc{bc}}
115 % \newcommand{\AD}{\textsc{ad}}
116 %
117 % \title{The \Lpack{Runic} fonts\thanks{This
118 % file has version number \fileversion, last revised
119 % \filedate.}}
120 %
121 % \author{%
122 % Peter Wilson\thanks{\texttt{herries dot press at earthlink dot net}}\\
123 % Herries Press
124 % }
125 % \date{\filedate}
126 % \maketitle
127 % \begin{abstract}
128 % The \Lpack{runic} package provides a set of fonts for the Runic
129 % script, also known as futharc after the names of the initial letters
130 % of the Runic abecedary. The font follows the Anglo-Saxon abecedary.
131 % \end{abstract}
132 % \tableofcontents
133 %
134 %
135 %
136 % \section{Introduction}
137 %
138 % The Runic alphabet and characters was in fairly common use in Europe,
139 % particularly in the Germanic, Scandinavian and Anglo-Saxon countries
140 % until the Middle Ages.
141 % The font presented here follows the Anglo-Saxon abecedary.
142 %
143 % This is one of a series of fonts intended to show how the Latin alphabet has
144 % changed from its original Phoenician form to its present day appearance.
145 %
146 % This manual is typeset according to the conventions of the
147 % \LaTeX{} \textsc{docstrip} utility which enables the automatic
148 % extraction of the \LaTeX{} macro source files~\cite{GOOSSENS94}.
149 %
150 % Section~\ref{sec:usc} describes the usage of the package.
151 % Commented code for the font and package may be in later sections.
152 %
153 % \subsection{An alphabetic tree}
154 %
155 % Scholars are reasonably agreed that all the world's alphabets are descended
156 % from a Semitic alphabet invented about 1600~\BC{} in the Middle
157 % East~\cite{DRUCKER95}. The word `Semitic' refers
158 % to the family of languages used in the geographical area from
159 % Sinai in the south, up the Mediterranean coast to Asia Minor in the north and
160 % west to the valley of the Euphrates.
161 %
162 % The Phoenician alphabet was stable by about 1100~\BC{} and the script was
163 % written right to left. In earlier times the writing direction was variable,
164 % and so were
165 % the shapes and orientation of the characters. The alphabet consisted of
166 % 22 letters and they were named after things. For example, their first two
167 % letters were called \textit{aleph} (ox), and \textit{beth} (house).
168 % The Phoenician script had
169 % only one case --- unlike our modern fonts which have both upper- and
170 % lower-cases. In modern day terms, the Phoenician abecedary was: \\
171 % A B G D E Y Z H $\Theta$ I K L M N X O P ts Q R S T \\
172 % where the `Y' (\textit{vau}) character was sometimes written as `F', and
173 % `ts' stands for the \textit{tsade} character.
174 %
175 % The Greek alphabet is one of the descendants of the Phoenician alphabet;
176 % another was Aramaic which is the ancestor of the Arabic, Persian and Indian
177 % scripts.
178 % Initially Greek was written right to left but around the 6th C~\BC{} became
179 % \textit{boustrophedron}, meaning that the lines
180 % alternated in direction. At about 500~\BC{} the writing direction stabilised
181 % as left to
182 % right. The Greeks modified the Phoenician alphabet to match the vocalisation
183 % of their language. They kept the Phoenician names of the letters, suitably
184 % `greekified', so \textit{aleph} became the familar \textit{alpha} and
185 % \textit{beth} became \textit{beta}. At this
186 % point the names of the letters had no meaning. Their were several variants
187 % of the Greek character glyphs until they were finally fixed in Athens in
188 % 403~\BC.
189 % The Greeks did not develop a lower-case
190 % script until about 600--700~\AD.
191 %
192 % The Etruscans based their alphabet on the Greek one, and again modified it.
193 % However, the Etruscans wrote right to left, so their borrowed characters are
194 % mirror images of the original Greek ones. Like the Phoenicians, the Etruscan
195 % script consisted of only one case; they died out before ever needing a
196 % lower-case script. The Etruscan script was used up until the first century
197 % \AD, even though the Etruscans themselves had dissapeared by that time.
198 %
199 %
200 % In turn, the Romans based their alphabet on the Etruscan one, but as they
201 % wrote left to right, the characters were again mirrored (although the early
202 % Roman inscriptions are boustrophedron).
203 %
204 % As the English alphabet is descended from the Roman alphabet
205 % it has a pedigree of some three and a half thousand years.
206 %
207 % \section{The \Lpack{runic} package} \label{sec:usc}
208 %
209 % There are three major versions of the Runic script, known as \textit{futharc}
210 % after the initial letters of its abecedary, Anglo-Saxon, Germanic and
211 % Scandinavian. Scholars are unclear about the genealogy of the script, but there
212 % are some obvious relationships betyween some of the futharc glyphs and the
213 % Phoenecian glyphs. Some other letters, such as the \textit{thorn} and
214 % \textit{wen}, are known Runic inventions. And then there are other glyphs
215 % which I can only assume were also Runic inventions.
216 %
217 % The font presented here is based on the Anglo-Saxon Runic abecedary
218 % which had 24 letters and one (punctuation) mark.
219 % The font presented here is based on information from Drucker~\cite{DRUCKER95},
220 % Firmage~\cite{FIRMAGE93}, and the
221 % \textit{Encyclopedia Brittanica}.
222 %
223 %
224 % \DescribeMacro{\Fthorn}
225 % \DescribeMacro{\Fng}
226 % Many of the Runic characters
227 % have a direct correspondence with the modern Latin alphabet.
228 % For those characters that have a direct correspondance I have mapped
229 % the Runic letter to the uppercase Latin letter. However, the \textit{thorn}
230 % and \textit{ng} characters have no match. These two characters are
231 % accessed via |\Fthorn| and |\Fng| respectively.
232 %
233 % The letter sequence
234 % for the futharc abecedary mapping is:\\
235 % |F U \Fthorn A R K G W H N I J Y P X S T B E M L \Fng D O :| \\
236 % where |:| is the (punctuation) mark.
237 %
238 %
239 % \DescribeMacro{\futfamily}
240 % This command selects the Runic font family. The family name is |fut|.
241 %
242 % \DescribeMacro{\textfut}
243 % The command |\textfut{|\meta{text}|}| typesets \meta{text} in the
244 % Runic font.
245 %
246 % \StopEventually{
247 % \bibliographystyle{alpha}
248 % \begin{thebibliography}{GMS94}
249 %
250 % \bibitem[Dru95]{DRUCKER95}
251 % Johanna Drucker.
252 % \newblock \emph{The Alphabetic Labyrinth}.
253 % \newblock Thames and Hudson, 1995.
254 %
255 % \bibitem[Fir93]{FIRMAGE93}
256 % Richard A.~Firmage.
257 % \newblock \emph{The Alphabet Abecedarium}.
258 % \newblock David R.~Goodine, 1993.
259 %
260 % \bibitem[GMS94]{GOOSSENS94}
261 % Michel Goossens, Frank Mittelbach, and Alexander Samarin.
262 % \newblock \emph{The LaTeX Companion}.
263 % \newblock Addison-Wesley Publishing Company,second edition, 2004.
264 %
265 % \end{thebibliography}
266 % }
267 %
268 %
269 % \section{The Metafont code} \label{sec:mf}
270 %
271 % \subsection{The parameter file}
272 %
273 % We deal with the parameter file first, and start by announcing
274 % what it is for.
275 % \begin{macrocode}
276 %<*up>
277 %%% FUT10.MF Computer Runic font 10 point design size.
278
279 % \end{macrocode}
280 % Specify the font size.
281 % \begin{macrocode}
282
283 font_identifier:="Runic"; font_size 10pt#;
284
285 % \end{macrocode}
286 %
287 %
288 % \begin{macro}{u}
289 % \begin{macro}{ht}
290 % \begin{macro}{s}
291 % \begin{macro}{o}
292 % \begin{macro}{px}
293 % \begin{macro}{font-normal-space}
294 % \begin{macro}{font-normal-shrink}
295 % \begin{macro}{font-x-height}
296 % \begin{macro}{font-quad}
297 % Define the very simple font parameters.
298 % \begin{macrocode}
299 u#:=.2pt#; % unit width
300 ht#:=7pt#; % height of characters (CM cap-height is approx 6.8pt)
301 s#:=1.5pt#; % width correction (right and left)
302 o#:=1/20pt#; % overshoot
303 px#:=.7pt#; % horizontal width of pen
304 font_normal_space:=7pt#; % width of a blank space
305 font_normal_shrink:=.9pt#; % width correction for blank space
306 font_x_height:=4.5pt#; % height of one ex
307 font_quad:=10pt#; % an em
308
309 % \end{macrocode}
310 % \end{macro}
311 % \end{macro}
312 % \end{macro}
313 % \end{macro}
314 % \end{macro}
315 % \end{macro}
316 % \end{macro}
317 % \end{macro}
318 % \end{macro}
319 %
320 % For a full font the driver file would normally be called here.
321 % In this case I have embedded it.
322 % \begin{macrocode}
323
324 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
325 %%% end of parameters
326 %%% start of driver code
327 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
328
329 % \end{macrocode}
330 %
331 %
332 % \subsection{The driver file}
333 %
334 % If there was a seperate driver file, this would be its contents.
335 %
336 % \begin{macrocode}
337 font_coding_scheme:="Runic glyphs";
338 mode_setup;
339
340 % \end{macrocode}
341 %
342 % \begin{macro}{ho}
343 % \begin{macro}{leftloc}
344 % \begin{macro}{py}
345 % Perform additional setup.
346 % \begin{macrocode}
347 ho#:=o#; % horizontal overshoot
348 leftloc#:=s#; % leftmost xcoord of character
349 py#:=.9px#; % vertical thickness of the pen
350
351 define_pixels(s,u);
352 define_blacker_pixels(px,py);
353 define_good_x_pixels(leftloc);
354 define_corrected_pixels(o); % turn on overshoot correction
355 define_horizontal_corrected_pixels(ho);
356
357 % \end{macrocode}
358 % \end{macro}
359 % \end{macro}
360 % \end{macro}
361 %
362 % \begin{macro}{midloc}
363 % \begin{macro}{rightloc}
364 % Variables for the middle xcoord and rightmost xcoord of a character.
365 % \begin{macrocode}
366 numeric midloc, rightloc;
367 % \end{macrocode}
368 % \end{macro}
369 % \end{macro}
370 %
371 % \begin{macro}{stylus}
372 % Define the pen.
373 % \begin{macrocode}
374 pickup pencircle xscaled px yscaled py;
375 stylus:=savepen;
376
377 % \end{macrocode}
378 % \end{macro}
379 %
380 % \begin{macro}{beginglyph}
381 % A macro to save some typing of beginchar arguments.
382 % \begin{macrocode}
383 def beginglyph(expr code, unit_width) =
384 beginchar(code, unit_width*ht#+2s#, ht#, 0);
385 midloc:=1/2w; rightloc:=(w-s);
386 pickup stylus enddef;
387
388 % \end{macrocode}
389 % \end{macro}
390 %
391 % \begin{macro}{cmchar}
392 % |cmchar| should precede each character
393 % \begin{macrocode}
394 let cmchar=\;
395
396 % \end{macrocode}
397 % \end{macro}
398 %
399 % That would be the end of a driver file, except for calling the glyph code.
400 %
401 %
402 % \subsection{The glyph code}
403 %
404 % The following code generates the glyphs for the Runic font. The characters
405 % are defined in the futharc ordering.
406 %
407 % \begin{macrocode}
408 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
409 %%% end of driver code
410 %%% start of glyph code
411 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
412
413 % \end{macrocode}
414 %
415 % \begin{macro}{F}
416 % The letter F (\textit{feoh}, wealth). Somewhat like a modern F.
417 % \begin{macrocode}
418
419 cmchar "Runic letter F";
420 beginglyph("F",0.4);
421 x1=x2=x3=x6=leftloc;
422 x4=x5=rightloc;
423 bot y1=-o;
424 y2=0.4h; y3=0.7h;
425 y4=0.6h; y5=0.9h;
426 y6=h;
427 draw z1--z6; % upright
428 draw z3--z5; draw z2--z4; % arms
429 labels(1,2,3,4,5,6);
430 endchar;
431
432 % \end{macrocode}
433 % \end{macro}
434 %
435 % \begin{macro}{U}
436 % The letter U (\textit{ur}, auroch (a wild ox)). Somewhat like an inverted
437 % angular U.
438 % \begin{macrocode}
439
440 cmchar "Runic letter U";
441 beginglyph("U",0.6);
442 x1=x2=leftloc;
443 x3=x4=rightloc;
444 bot y1= bot y4=-o; top y2=h; y3=0.6h;
445 draw z1--z2--z3--z4;
446 labels(1,2,3,4); endchar;
447
448 % \end{macrocode}
449 % \end{macro}
450 %
451 % \begin{macro}{thorn}
452 % The letter \textit{thorn}.
453 % \begin{macrocode}
454
455 cmchar "Runic letter Thorn";
456 beginglyph(oct"002", 0.4);
457 x1=x2=x3=x4=leftloc; x5=rightloc;
458 bot y1=-o; y2=0.25h; y3=0.75h; top y4=h; y5=0.5h;
459 draw z1--z4; % upright
460 draw z2--z5--z3; % bowl
461 labels(1,2,3,4,5); endchar;
462
463 % \end{macrocode}
464 % \end{macro}
465 %
466 % \begin{macro}{A}
467 % The letter A (\textit{asc}, oak tree). Somewhat like a kinked F.
468 % \begin{macrocode}
469
470 cmchar "Runic letter A";
471 beginglyph("A",0.6);
472 x1=x2=x3=leftloc; x4=x5=midloc; x6=x7=rightloc;
473 bot y1=-o; y3=y7=h; y2=y6=y5=0.75h; y4=0.5h;
474 draw z1--z3; % upright
475 draw z2--z4--z6; draw z3--z5--z7; % arms
476 labels(1,2,3,4,5,6,7); endchar;
477
478 % \end{macrocode}
479 % \end{macro}
480 %
481 % \begin{macro}{R}
482 % The letter R (\textit{rad}, riding). An angular modern R.
483 % \begin{macrocode}
484
485 cmchar "Runic letter R";
486 beginglyph("R",0.4);
487 x1=x2=x3=leftloc; x4=x5=rightloc;
488 bot y1= bot y4=-o; y2=0.4h; y5=0.7h; top y3=h;
489 draw z1--z3; % upright
490 draw z2--z5--z3; % bowl
491 draw z2--z4; % leg
492 labels(1,2,3,4,5); endchar;
493
494 % \end{macrocode}
495 % \end{macro}
496 %
497 % \begin{macro}{K}
498 % The letter K (\textit{kaun}, torch). Like K but without the upper arm.
499 % \begin{macrocode}
500
501 cmchar "Runic letter K";
502 beginglyph("K",0.4);
503 x1=x2=x3=leftloc; x4=rightloc;
504 bot y1= bot y4=-o; y2=0.4h; top y3=h;
505 draw z1--z3; % upright
506 draw z2--z4; % leg
507 labels(1,2,3,4); endchar;
508
509 % \end{macrocode}
510 % \end{macro}
511 %
512 % \begin{macro}{G}
513 % The letter G (\textit{gifu}, gift). This looks like our uppercase letter X.
514 % \begin{macrocode}
515
516 cmchar "Runic letter G";
517 beginglyph("G",0.6);
518 x1=x2=leftloc; x3=x4=rightloc;
519 bot y1= bot y3=-o; top y2= top y4= h;
520 draw z1--z4;
521 draw z2--z3;
522 labels(1,2,3,4); endchar;
523
524 % \end{macrocode}
525 % \end{macro}
526 %
527 %
528 % \begin{macro}{W}
529 % The letter W (\textit{wen}, joy). It looks like an angular P.
530 % \begin{macrocode}
531
532 cmchar "Runic letter W";
533 beginglyph("W", 0.4);
534 x1=x2=x3=leftloc; x5=rightloc;
535 bot y1=-o; y2=0.4h; y5=0.7h; top y3=h;
536 draw z1--z3; % upright
537 draw z2--z5--z3; % bowl
538 labels(1,2,3,5); endchar;
539
540 % \end{macrocode}
541 % \end{macro}
542 %
543 % \begin{macro}{H}
544 % The letter H (\textit{hegel}, hail). Like an H but with double sloping bars.
545 % \begin{macrocode}
546
547 cmchar "Runic letter H";
548 beginglyph("H",0.6);
549 x1=x2=leftloc; x3=x4=rightloc;
550 bot y1 = bot y3= -o; top y2 = top y4 = h;
551 z5=0.5[z1,z2]; z6=0.7[z1,z2];
552 z7=0.3[z3,z4]; z8=0.5[z3,z4];
553 draw z1--z2; draw z3--z4; % uprights
554 draw z5--z7; draw z6--z8; % bars
555 labels(1,2,3,4,5,6,7,8); endchar;
556
557 % \end{macrocode}
558 % \end{macro}
559 %
560 %
561 % \begin{macro}{N}
562 % The letter N (\textit{nyd}, need or hardship). A cross with a sloping bar.
563 % \begin{macrocode}
564
565 cmchar "Runic letter N";
566 beginglyph("N",0.4);
567 x1=x2=midloc; x3=leftloc; x4=rightloc;
568 bot y1=-o; top y2=h;
569 y3=0.6h; y4=0.4h;
570 draw z1--z2; % upright
571 draw z3--z4; % bar
572 labels(1,2,3,4); endchar;
573
574 % \end{macrocode}
575 % \end{macro}
576 %
577 %
578 % \begin{macro}{I}
579 % The letter I (\textit{is}, ice).
580 % \begin{macrocode}
581
582 cmchar "Runic letter I";
583 beginglyph("I",0.2);
584 x1=x2=midloc;
585 bot y1=-o; top y2=h;
586 draw z1--z2;
587 labels(1,2); endchar;
588
589 % \end{macrocode}
590 % \end{macro}
591 %
592 % \begin{macro}{J}
593 % The letter J (\textit{ger}, year). It looks like an angular $\Phi$.
594 % \begin{macrocode}
595
596 cmchar "Runic letter J";
597 beginglyph("J",0.4);
598 x1=x2=x3=x5=midloc; x4=leftloc; x6=rightloc;
599 bot y1=-o; top y2=h;
600 y4=y6=0.5h;
601 y3=0.25h; y5=0.75h;
602 draw z1--z2; % the upright
603 draw z3--z4--z5--z6--cycle; % the rectangle
604 labels(1,2,3,4,5,6); endchar;
605
606 % \end{macrocode}
607 % \end{macro}
608 %
609 % \begin{macro}{Y}
610 % The letter \textit{eoh}. Somewhat like an angular upright S.
611 % \begin{macrocode}
612
613 cmchar"Runic letter Y";
614 beginglyph("Y",0.6);
615 x1=leftloc; x2=x3=midloc; x4=rightloc;
616 bot y2=-o; top y3=h;
617 y1=0.3h; y4=0.7h;
618 draw z1--z2--z3--z4;
619 labels(1,2,3,4); endchar;
620
621 % \end{macrocode}
622 % \end{macro}
623 %
624 % \begin{macro}{P}
625 % The letter P (\textit{peorth}).
626 % \begin{macrocode}
627
628 cmchar "Runic letter P";
629 beginglyph("P",0.6);
630 x1=x2=leftloc; x3=x4=midloc; x5=x6=rightloc;
631 bot y1= bot y5=-o; top y2= top y6= h;
632 y3=0.3h; y4=0.7h;
633 draw z5--z3--z1--z2--z4--z6;
634 labels(1,2,3,4,5,6); endchar;
635
636 % \end{macrocode}
637 % \end{macro}
638 %
639 %
640 % \begin{macro}{X}
641 % The letter X (\textit{eolhx}, elk?). Like an angular $\Psi$.
642 % It corresponds to the Phoenician \textit{XXX}.
643 % \begin{macrocode}
644
645 cmchar "Runic letter X";
646 beginglyph("X", 0.6);
647 x1=x2=midloc;
648 x4=leftloc; x5=rightloc;
649 bot y1=-o; top y2= top y4= top y5= h;
650 z3=0.5[z1,z2];
651 draw z1--z2; % upright
652 draw z4--z3--z5; % V shape
653 labels(1,2,3,4,5); endchar;
654
655 % \end{macrocode}
656 % \end{macro}
657 %
658 % \begin{macro}{S}
659 % The letter S (\textit{sigil}, sun). Like an angular S on its side.
660 % \begin{macrocode}
661
662 cmchar "Runic letter S";
663 beginglyph("S",0.4);
664 x1=x2=leftloc; x3=x4=rightloc;
665 top y1=h; bot y4=-o;
666 y2=0.3h; y3=0.7h;
667 draw z1--z2--z3--z4;
668 labels(1,2,3,4); endchar;
669
670 % \end{macrocode}
671 % \end{macro}
672 %
673 % \begin{macro}{T}
674 % The letter T (\textit{tir}, the name of a star?). Like an upward pointing
675 % arrow.
676 % \begin{macrocode}
677
678 cmchar "Runic letter T";
679 beginglyph("T", 0.4);
680 x1=x2=midloc; x3=leftloc; x4=rightloc;
681 bot y1=-o; top y2=h;
682 y3=y4=0.7h;
683 draw z1--z2; % upright
684 draw z3--z2--z4; % arrowhead
685 labels(1,2,3,4); endchar;
686
687 % \end{macrocode}
688 % \end{macro}
689 %
690 %
691 % \begin{macro}{B}
692 % The letter B (\textit{berc}, birch tree). An angular B.
693 % \begin{macrocode}
694
695 cmchar "Runic letter B";
696 beginglyph("B",0.4);
697 x1=x2=leftloc;
698 x4=x5=rightloc;
699 bot y1=-o; top y2=h;
700 y4=0.3h; y5=0.7h;
701 z3=0.5[z1,z2];
702 draw z1--z2; % upright
703 draw z3--z5--z2; % upper bowl
704 draw z3--z4--z1; % lower bowl
705 labels(1,2,3,4,5); endchar;
706
707 % \end{macrocode}
708 % \end{macro}
709 %
710 % \begin{macro}{E}
711 % The letter E (\textit{eh}, horse). It looks like an M.
712 % \begin{macrocode}
713
714 cmchar "Runic letter E";
715 beginglyph("E",0.6);
716 x1=x2=leftloc; x3=midloc; x4=x5=rightloc;
717 bot y1= bot y5=-o; top y2= top y4= h;
718 y3=0.6h;
719 draw z1--z2--z3--z4--z5;
720 labels(1,2,3,4,5); endchar;
721
722 % \end{macrocode}
723 % \end{macro}
724 %
725 % \begin{macro}{M}
726 % The letter M (\textit{man}, man).
727 % \begin{macrocode}
728
729 cmchar "Runic letter M";
730 beginglyph("M", 0.6);
731 x1=x2=x3=leftloc; x4=x5=x6=rightloc;
732 bot y1= bot y4=-o; top y3= top y6= h;
733 y2=y5=0.6h;
734 draw z1--z3; draw z4--z6; % uprights
735 draw z2--z6; draw z3--z5; % cross
736 labels(1,2,3,4,5,6); endchar;
737
738 % \end{macrocode}
739 % \end{macro}
740 %
741 % \begin{macro}{L}
742 % The letter L (\textit{lagu}, water or sea). Somewhat like $\Gamma$.
743 % \begin{macrocode}
744
745 cmchar "Runic letter L";
746 beginglyph("L", 0.4);
747 x1=x2=leftloc; x3=rightloc;
748 bot y1=-o; top y2=h; y3=0.6h;
749 draw z1--z2--z3;
750 labels(1,2,3); endchar;
751
752 % \end{macrocode}
753 % \end{macro}
754 %
755 % \begin{macro}{ng}
756 % The letter \textit{ng}. Like a pair of crossed angle brackets.
757 % \begin{macrocode}
758
759 cmchar "Runic letter NG";
760 beginglyph(oct"010", 0.6);
761 x1=x2=leftloc; x3=x4=rightloc;
762 bot y1= bot y3=-o; top y2= top y4= h;
763 x5=0.85[x1,x3]; x6=0.15[x1,x3];
764 y5=y6=0.5h;
765 draw z1--z5--z2;
766 draw z3--z6--z4;
767 labels(1,2,3,4,5,6); endchar;
768
769
770 % \end{macrocode}
771 % \end{macro}
772 %
773 % \begin{macro}{D}
774 % The letter D (\textit{daeg}, day). Like the Runic M, but the cross is lower.
775 % \begin{macrocode}
776
777 cmchar "Runic letter D";
778 beginglyph("D", 0.6);
779 x1=x2=leftloc; x3=x4=rightloc;
780 bot y1= bot y3=-o; top y2= top y4= h;
781 z5=0.4[z1,z2]; z6=0.8[z1,z2];
782 z7=0.4[z3,z4]; z8=0.8[z3,z4];
783 draw z1--z2; draw z3--z4; % uprights
784 draw z5--z8; draw z6--z7; % cross
785 labels(1,2,3,4,5,6,7,8); endchar;
786
787
788 % \end{macrocode}
789 % \end{macro}
790 %
791 % \begin{macro}{O}
792 % The letter O (\textit{othil}, mouth).
793 % \begin{macrocode}
794
795 cmchar "Runic letter O";
796 beginglyph("O", 0.6);
797 x1=x2=x3=leftloc; x4=x5=x6=rightloc; x7=midloc;
798 y1=y4=0; y7= h;
799 y2=y5=0.25[y1,y7]; y3=y6=0.75[y1,y7];
800 draw z1--z2--z6--z7--z3--z5--z4;
801 labels(1,2,3,4,5,6,7); endchar;
802
803
804 % \end{macrocode}
805 % \end{macro}
806 %
807 % \begin{macro}{:}
808 % The Runic punctuation mark.
809 % \begin{macrocode}
810
811 cmchar "Runic mark :";
812 beginglyph(":",0.2);
813 x1=x2=x3=x4=midloc;
814 y1=0.2h; y2=0.35h; y3=0.65h; y4=0.8h;
815 draw z1--z2; draw z3--z4; % the `colon'
816 labels(1,2,3,4); endchar;
817
818 % \end{macrocode}
819 % \end{macro}
820 %
821 % The end of the glyphs and the file.
822 %
823 % \begin{macrocode}
824
825 end
826
827 %</up>
828 % \end{macrocode}
829 %
830 %
831 %
832 % \section{The font definition files} \label{sec:fd}
833 %
834 % \begin{macrocode}
835 %<*fdot1>
836 \DeclareFontFamily{OT1}{fut}{}
837 \DeclareFontShape{OT1}{fut}{m}{n}{ <-> fut10 }{}
838 \DeclareFontShape{OT1}{fut}{bx}{n}{ <-> sub fut/m/n }{}
839 \DeclareFontShape{OT1}{fut}{b}{n}{ <-> sub fut/m/n }{}
840 \DeclareFontShape{OT1}{fut}{m}{sl}{ <-> sub fut/m/n }{}
841 \DeclareFontShape{OT1}{fut}{m}{it}{ <-> sub fut/m/n }{}
842 %</fdot1>
843 % \end{macrocode}
844 %
845 %
846 % \begin{macrocode}
847 %<*fdt1>
848 \DeclareFontFamily{T1}{fut}{}
849 \DeclareFontShape{T1}{fut}{m}{n}{ <-> fut10 }{}
850 \DeclareFontShape{T1}{fut}{bx}{n}{ <-> sub fut/m/n }{}
851 \DeclareFontShape{T1}{fut}{b}{n}{ <-> sub fut/m/n }{}
852 \DeclareFontShape{T1}{fut}{m}{sl}{ <-> sub fut/m/n }{}
853 \DeclareFontShape{T1}{fut}{m}{it}{ <-> sub fut/m/n }{}
854 %</fdt1>
855 % \end{macrocode}
856 %
857 % \section{The \Lpack{runic} package code} \label{sec:code}
858 %
859 % Announce the name and version of the package, which requires
860 % \LaTeXe{}.
861 % \begin{macrocode}
862 %<*usc>
863 \NeedsTeXFormat{LaTeX2e}
864 \ProvidesPackage{runic}[1999/03/14 v1.0 package for Runic fonts]
865 % \end{macrocode}
866 %
867 %
868 % \begin{macro}{\futfamily}
869 % Selects the futharc (Runic) font family in the OT1 encoding.
870 % \begin{macrocode}
871 \newcommand{\futfamily}{\usefont{OT1}{fut}{m}{n}}
872 % \end{macrocode}
873 % \end{macro}
874 %
875 % \begin{macro}{\textetr}
876 % Text command for the futharc (Runic) font family.
877 % \begin{macrocode}
878 \DeclareTextFontCommand{\textfut}{\futfamily}
879 % \end{macrocode}
880 % \end{macro}
881 %
882 % \begin{macro}{\Fthorn}
883 % \begin{macro}{\Fng}
884 % The Runic \textit{thorn} and \textit{ng} characters are accessed
885 % by |\Fthorn| and |\Fng| respectively.
886 % \begin{macrocode}
887 \chardef\Fthorn='002
888 \chardef\Fng='010
889 % \end{macrocode}
890 % \end{macro}
891 % \end{macro}
892 %
893 % The end of this package.
894 % \begin{macrocode}
895 %</usc>
896 % \end{macrocode}
897 %
898 % \section{The Postscript Type1 map} \label{sec:map}
899 %
900 % Just one line.
901 %
902 % \begin{macrocode}
903 %<*map>
904 fut10 Archaic-Futharc <fut10.pfb
905 %</map>
906 % \end{macrocode}
907 %
908 % \Finale
909 % \PrintIndex
910 %
911 \endinput
912
913 %% \CharacterTable
914 %% {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
915 %% 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
916 %% Digits \0\1\2\3\4\5\6\7\8\9
917 %% Exclamation \! Double quote \" Hash (number) \#
918 %% Dollar \$ Percent \% Ampersand \&
919 %% Acute accent \' Left paren \( Right paren \)
920 %% Asterisk \* Plus \+ Comma \,
921 %% Minus \- Point \. Solidus \/
922 %% Colon \: Semicolon \; Less than \<
923 %% Equals \= Greater than \> Question mark \?
924 %% Commercial at \@ Left bracket \[ Backslash \\
925 %% Right bracket \] Circumflex \^ Underscore \_
926 %% Grave accent \` Left brace \{ Vertical bar \|
927 %% Right brace \} Tilde \~}
928
929