blob: 55a7e60091e562c5b0e7ce221019ead0e51444d6 (
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
|
Scripts to create SVG variants of the GhostScript fonts
=======================================================
This directory contains scripts to convert the GhostScript fonts to
SVG, TTF, or PFB files.
For licensing reasons I can not bundle converted GhostScript font
files with dktools (GhostScript is a GPL project, dktools uses a
BSD-style license). So you have to download GhostScript separately
and do the conversion yourself.
Linux, Unix...
--------------
* Make sure you have the following software installed:
- fontforge
- python
* Obtain a recent GhostScript source archive (the procedure shown here
was tested using version 9.06).
* Unpack the archive.
* After unpacking you will find a Resource/Font directory in the directory
created by unpacking the archive.
* Copy all files from this directory into the Resource/Font directory.
* Change into the Resource/Font directory.
* Choose a name for a directory where to place the SVG files,
i.e. "/usr/share/gs-fonts-svg". Do not use a directory which already
exists.
* Run
./crsvg.sh /usr/share/gs-fonts-svg
specify the destination directory as command line argument.
* The scripts crttf.sh or crpfb.sh can be used to convert to *.ttf or
*.pfb files.
* The procedure for making the fonts available to your SVG viewer depends
on the SVG viewer software used.
Windows
-------
* Obtain a recent GhostScript source archive (the procedure shown here
was tested using version 9.06).
* Unpack the archive.
* After unpacking you will find a Resource/Font directory in the directory
created by unpacking the archive.
* Copy all files from this directory into the Resource/Font directory.
* Change into the Resource/Font directory.
* Run the crpfb.cmd script
./crpfb.cmd
* The script has created a C:\Temp\PfbFonts directory.
* Open the C:\Temp\PfbFonts directory in the Windows Explorer.
* Mark all the *.pfb files.
* After clicking the right mouse key, a context menu appears.
Choose "install font(s)".
|