summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/nkarta/README
blob: 6e91f4bb3d8159d7be4d7d6e6d62554429a6d0de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
                         NKARTA
                         ------

I have been unable to find the author or maintainer or copyright holder
of the Metafont karta, containing map symbols. Problems have arisen with
that font, mainly the usual ones: "Strange path" errors and capacity
exceeded. I have change the coding a bit to try to avoid these. Also,
there were two paths defined with incorrect turning number, causing
elements of two figures to be omitted. This was also corrected. Aside
from that, no actual paths were changed.  To avoid confusion with the
original files, I have renamed the result nkarta, and place it in the
public domain.

The character shapes are all in nkchars.mf, which is input by a driver
file nkarta.mf. The font produced has design size 15pt. A file
nkart15.mf is provided as an example showing how that design size can be
changed. In order to get a 20pt font, just copy nkarta15.mf to
nkarta20.mf and then edit it, changing 15 to 20 everywhere.

Finally, to allow larger scaling without risking exceeding Metafont's
capacity, I have ported the figures to MetaPost in nkarta.mp. These
figures have the same numbers as the corresponding characters in
nkarta.mf. That is, after "mpost nkarta.mp", the file nkarta.NN
contains the same picture as charater NN in the nkarta font. Without
scaling, they will be the same size that nkarta.mf produces.

One can also run mpost on nkarta15.mf (or nkarta20.mf if prepared as
above). In that case nkarta15.NN (or nkarta20.NN) has the same figure as
character NN of the font nkarta15 (or nkarta20).

Files figtest.ps and fonttest.ps provide a table of the available
figures/characters. They were obtained by running tex on the
corresponding .tex files and then dvips (with option -Z in the case of
fonttable.dvi).

To install nkarta:
-----------------
1. Copy the .mf files somewhere Metafont will find them. In a TDS compliant
   system, that would be a subdirectory path similar to
       texmf-local/fonts/source/public/nkarta

2. Copy the .tfm file somewhere TeX searches for TFM files, for example
       texmf-local/fonts/tfm/public/nkarta

3. Copy the .mp file and nkchars.mf where MetaPost will find them, for
   example:
       texmf-local/metapost/nkarta
   (If your MP already looks in the MF search path, this second copy of
   nkchars.mf is not necessary.)

4. Copy readme, *.tex and *.ps where documentation is kept, for example:
       texmf-local/doc/fonts/nkarta

5. Refresh the filename database, if your system requires it.

A list of the files and their uses.

  README           This file.
  nkarta.mf        Preliminary definitions for MF
  nkarta.mp        Preliminary definitions for MP
  nkchars.mf       Actual figures, input by nkarta.mf and nkarta.mp
  nkarta15.mf      The font at 15pt.
  nkarta15.tfm     Prebuilt .tfm file.
  fonttable.tex    A table of the characters (requires testfont.tex
                   and nkarta15.tfm).
  fonttable.ps     Prebuilt PS file from running tex and dvips on above.
  figtable.tex     A table of the figures (requires testfont.tex,
                   epsf.tex, and nkarta15.tfm).
  figtable.ps      Prebuilt PS file from running tex and dvips on above.


--
Daniel H. Luecking      email: luecking at uark dot edu
Department of Mathematical Sciences
University of Arkansas
Fayetteville, Arkansas 72701
USA