diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/dktools/contrib/gs-fonts-svg/INSTALL |
Initial commit
Diffstat (limited to 'support/dktools/contrib/gs-fonts-svg/INSTALL')
-rw-r--r-- | support/dktools/contrib/gs-fonts-svg/INSTALL | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/support/dktools/contrib/gs-fonts-svg/INSTALL b/support/dktools/contrib/gs-fonts-svg/INSTALL new file mode 100644 index 0000000000..55a7e60091 --- /dev/null +++ b/support/dktools/contrib/gs-fonts-svg/INSTALL @@ -0,0 +1,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)". + |