| 1 |
% Copyright 1998, 1999 the fontinst maintenance team and any individual |
| 2 |
% authors listed elsewhere in this file. All rights reserved. |
| 3 |
% |
| 4 |
% This file is part of the fontinst system version 1.9. |
| 5 |
% ----------------------------------------------------- |
| 6 |
% |
| 7 |
% It may be distributed under the terms of the LaTeX Project Public |
| 8 |
% License, as described in lppl.txt in the base LaTeX distribution. |
| 9 |
% Either version 1.0 or, at your option, any later version. |
| 10 |
% |
| 11 |
%%% ==================================================================== |
| 12 |
%%% @TeX-font-metrics-file{ |
| 13 |
%%% author = "Ulrik Vieth", |
| 14 |
%%% version = "1.910", |
| 15 |
%%% date = "16 November 1999", |
| 16 |
%%% time = "23:01:44 CET", |
| 17 |
%%% filename = "resetosf.mtx", |
| 18 |
%%% email = "[email protected]", |
| 19 |
%%% URL = "http://www.tug.org/applications/fontinst/", |
| 20 |
%%% checksum = "04190 88 254 2588", |
| 21 |
%%% codetable = "ISO/ASCII", |
| 22 |
%%% keywords = "metrics, raw, TeX, PostScript", |
| 23 |
%%% supported = "yes", |
| 24 |
%%% abstract = "This is a metrics file, for use with the |
| 25 |
%%% fontinst utility. It recodes glyph names |
| 26 |
%%% for oldstyle numerals read from AFM files |
| 27 |
%%% to glyph names with an `oldstyle' suffix.", |
| 28 |
%%% package = "fontinst", |
| 29 |
%%% dependencies = "fontinst.sty, fontdoc.sty", |
| 30 |
%%% } |
| 31 |
%%% ==================================================================== |
| 32 |
|
| 33 |
\relax |
| 34 |
|
| 35 |
\documentclass[twocolumn]{article} |
| 36 |
\usepackage{fontdoc} |
| 37 |
|
| 38 |
\title{The \texttt{resetosf.mtx} metrics file} |
| 39 |
\author{Ulrik Vieth} |
| 40 |
\date{16 November 1999 \\ |
| 41 |
Version 1.910} |
| 42 |
|
| 43 |
\begin{document} |
| 44 |
\maketitle |
| 45 |
|
| 46 |
This document describes the \texttt{resetosf.mtx} metrics file, which is |
| 47 |
used to recode raw glyph names for oldstyle numerals to glyph names |
| 48 |
with an `oldstyle' suffix. |
| 49 |
|
| 50 |
\metrics |
| 51 |
|
| 52 |
\setcommand\oldstyleglyph#1{ |
| 53 |
\ifisglyph{#1}\then |
| 54 |
\setglyph{#1oldstyle}\glyph{#1}{1000} |
| 55 |
\endsetglyph |
| 56 |
\fi |
| 57 |
} |
| 58 |
|
| 59 |
\setcommand\oldstylekerning#1{ |
| 60 |
\ifisglyph{#1}\then |
| 61 |
\setleftrightkerning{#1oldstyle}{#1}{1000} |
| 62 |
\fi |
| 63 |
} |
| 64 |
|
| 65 |
\oldstyleglyph{zero} |
| 66 |
\oldstyleglyph{one} |
| 67 |
\oldstyleglyph{two} |
| 68 |
\oldstyleglyph{three} |
| 69 |
\oldstyleglyph{four} |
| 70 |
\oldstyleglyph{five} |
| 71 |
\oldstyleglyph{six} |
| 72 |
\oldstyleglyph{seven} |
| 73 |
\oldstyleglyph{eight} |
| 74 |
\oldstyleglyph{nine} |
| 75 |
|
| 76 |
\oldstylekerning{zero} |
| 77 |
\oldstylekerning{one} |
| 78 |
\oldstylekerning{two} |
| 79 |
\oldstylekerning{three} |
| 80 |
\oldstylekerning{four} |
| 81 |
\oldstylekerning{five} |
| 82 |
\oldstylekerning{six} |
| 83 |
\oldstylekerning{seven} |
| 84 |
\oldstylekerning{eight} |
| 85 |
\oldstylekerning{nine} |
| 86 |
|
| 87 |
\endmetrics |
| 88 |
\end{document} |