fonts.ps


NAME

      fonts.ps - Some useful fonts in PostScript

Bitfont5x7   FatSimple   FatSimpleItalic   FatBlunt   FatBluntItalic   FatSpiky
Runic     Cyrillic     Greek
HelveticaSmallCaps   HelveticaItalicSmallCaps   HelveticaBoldSmallCaps   HelveticaBoldItalicSmallCaps
TimesSmallCaps   TimesItalicSmallCaps   TimesBoldSmallCaps   TimesBoldItalicSmallCaps


SYNOPSIS

 (/home/wherever/ps/lib/fonts.ps) run
 % if run fails with invalidaccess you may need to use  gv --nosafer
 % to send it to a printer see include_run . . .

 /Bitfont5x7 30 selectfont
    50 820 moveto (Bitfont5x7) show
 /FatSimple 30 selectfont
    50 750 moveto (FatSimple) show
 /FatSimpleItalic 30 selectfont
    50 700 moveto (FatSimpleItalic) show
 /FatBlunt 30 selectfont
    50 650 moveto (FatBlunt) show
 /FatBluntItalic 30 selectfont
    50 600 moveto (FatBluntItalic) show
 /FatSpiky 30 selectfont
    50 550 moveto (FatSpiky) show
 /Runic 45 selectfont
    50 490 moveto (ABDEFGHIJKLMNOPRSTUWZ123) show
 /HelveticaSmallCaps 30 selectfont
    50 420 moveto (HelveticaSmallCaps) show
 /HelveticaItalicSmallCaps 30 selectfont
    50 370 moveto (HelveticaItalicSmallCaps) show
 /HelveticaBoldSmallCaps 30 selectfont
    50 320 moveto (HelveticaBoldSmallCaps) show
 /HelveticaBoldItalicSmallCaps 30 selectfont
    50 270 moveto (HelveticaBoldItalicSmallCaps) show
 /TimesSmallCaps 30 selectfont
    50 190 moveto (TimesSmallCaps) show
 /TimesItalicSmallCaps 30 selectfont
    50 140 moveto (TimesItalicSmallCaps) show
 /TimesBoldSmallCaps 30 selectfont
    50  90 moveto (TimesBoldSmallCaps) show
 /TimesBoldItalicSmallCaps 30 selectfont
    50  40 moveto (TimesBoldItalicSmallCaps) show
 showpage


DESCRIPTION

This module implements, in PostScript, a small collection of custom fonts.


FONTS

/Bitfont5x7 30 selectfont

This nostalgic 5x7 font has a strong cultural reference, and should become an important fashion-accessory. For example in green against a black background. It evolves from bitfont.ps by luser- -droog :
  github.com/luser-dr00g/xpost/blob/master/data/bitfont.ps
and has been modified mainly to use imagemask rather than image (so it respects the prevailing background and foreground colours), and has been given some more characters.
It so far has 0-9, A-Z, a-z and + - = . , : ; ! ? / \ | ( ) [ ] { } & % @ ^ ~ $ _ * # > <

/FatSimple 30 selectfont

This is a Type 3 font, with simple shapes and very broad strokes. It's mostly intended for use in posters; it creates very clear tangent-lines along the top and the bottom of the letters, which can be useful graphically.
It includes ISO accents for german, french and spanish, plus digits 0-9 and + - = . , : ; ! ? ' " / | _ ( )
Lowercase letters are now displayed as SmallCaps.
Remember charpath will not work with any Type 3 font.

/FatSimpleItalic 30 selectfont

This is the same as FatSimple but sloping strongly to the right.
It is used in the title of the Droplet Video, also to be found on youtube youtu.be/yLo-cU9gPlA

/FatBlunt 30 selectfont

This is a Type 3 font, with simple shapes and very broad strokes. It's mostly intended for use in posters; it creates even clearer tangent-lines than FatSimple along the top and the bottom of the letters.
It differs from FatSimple in that the pointy tops to A, M and N are broadened to be horizontals. They give FatBlunt a more 'brutalist' character, whereas FatSimple is more 'edgy'.
It includes ISO accents for german, french and spanish, plus digits 0-9 and + - = . , : ; ! ? ' " / | _ ( )
Lowercase letters are displayed as SmallCaps.
Remember charpath will not work with any Type 3 font.

/FatBluntItalic 30 selectfont

This is the same as FatBlunt but sloping strongly to the right.

/FatSpiky 30 selectfont

This is a radical modification of FatSimple giving most of the letters pointy ends. Lowercase letters are displayed as SmallCaps.

/Runic 45 selectfont

This is an implementation of the runes in the Elder Futhark, referred to by their ascii equivalents. The letters C V X Y are missing, and ï(ae), ng(engma) and thorn are encoded by 1, 2 and 3.
Lowercase is displayed the same as uppercase.
A Unicode font (apt install fonts-junicode) contains this Unicode range and much more, but is impractical in PostScript.

/HelveticaSmallCaps 30 selectfont

This is Helvetica with lower-case letters replaced by smaller-size uppercase letters.

/HelveticaItalicSmallCaps 30 selectfont

This is Helvetica-Oblique with lower-case letters replaced by smaller-size uppercase letters.

/HelveticaBoldSmallCaps 30 selectfont

This is Helvetica-Bold with lower-case letters replaced by smaller-size uppercase letters.

/HelveticaBoldItalicSmallCaps 30 selectfont

This is Helvetica-BoldOblique with lower-case letters replaced by smaller-size uppercase letters.

/TimesSmallCaps 30 selectfont

This is Times-Roman with lower-case letters replaced by smaller-size uppercase letters.   See Carlos in comp.lang.postscript on 20160522

/TimesItalicSmallCaps 30 selectfont

This is Times-Italic with lower-case letters replaced by smaller-size uppercase letters.

/TimesBoldSmallCaps 30 selectfont

This is Times-Bold with lower-case letters replaced by smaller-size uppercase letters.

/TimesBoldItalicSmallCaps 30 selectfont

This is Times-BoldItalic with lower-case letters replaced by smaller-size uppercase letters.

Cyrillic

Cyrillic fonts are not provided here, because they can be extracted from the dejavu fonts
DejaVuSans, DejaVuSans-Bold, DejaVuSerif and DejaVuSerif-Bold.   For example:
    apt install fonts-dejavu-core
    apt install ttf2ufm
    D=/usr/share/fonts/truetype/dejavu   # or wherever ...
    cd /tmp
    ttf2ufm -e -l cyrillic $D/DejaVuSans.ttf cyrillic
    cp cyrillic.pfa $GS_LIB
and if your $GS_LIB is /home/myself/ps/lib/ then your PostScript can access a Cyrillic font like this:
    (/home/myself/ps/lib/cyrillic.pfa) run
    /DejaVuSans 38 selectfont
then \300 to \337 are the uppercase Cyrillics, and \340 to \377 are the lowercase.
DejaVu also has a few Cyrillics outside the main range,
which can be useful for example io in Khruschiov or yi in Kiyiv.

Greek

A Greek font is part of the Symbol font, which comes with standard PostScript.
For example:
    /Symbol 38 selectfont
then \101 to \132 are the uppercase Greek letters,
and \141 to \172 are the lowercase.
To some extent these correspond to the Latin letters,
though J and V are missing, and Theta = Q is hard to guess.


INSTALL

To install: go to pjb.com.au/comp/free/fonts.ps.txt and save the file to your local disc.
Rename it to fonts.ps and move it into some appropriate directory such as ~/ps/lib . . .

Or, first change directory to where you keep your PostScript libraries:
    cd /home/wherever/ps/lib/
(or wherever)   and then either:
    wget -O fonts.ps https://pjb.com.au/comp/free/fonts.ps.txt
or:
    curl https://pjb.com.au/comp/free/fonts.ps.txt -o fonts.ps

Or, get it from gitlab:
    git clone https://gitlab.com/peterbillam/postscriptlib

You should set your GS_LIB environment variable to where you keep your PostScript libraries. Eg:
    export GS_LIB=/home/wherever/ps/lib/


AUTHOR

Peter J Billam   pjb.com.au/comp/contact.html


CHANGES

 
 20201215 FatSimple now displays lowercase letters as SmallCaps
 20201214 introduce FatSpiky
 20190427 Bitfont5x7: add one pixel to the height of i and j
 20180501 introduce FatBlunt and FatBluntItalic
 20180501 bugs fixed in FatSimple é and ê
 20170521 FatSimple gets _ ' and "
 20160705 FatSimple gets Agrave and Acirc
 20160604 FatSimple gets , ; /
 20160604 Bitfont5x7: add /\()[]{}&%@^~$=_*#><"'
 20160603 Bitfont5x7: minor spacing adjusts of f j k
 20160603 FatSimple: add german and french accents
 20160602 Bitfont5x7: add lowercase a-z
 20160602 Bitfont5x7: with 0-9 A-Z and some puctuation
 20160601 FatSimple: add colon : and brackets ( and )
 20160531 first released version

SEE ALSO

    www.unicode.org/charts/PDF/U16A0.pdf
    test_fonts.ps
    gitlab.com/peterbillam/postscriptlib
    text.ps
    colours.ps
    include_run
    line_drawing.ps
    brownian.ps
    gitlab.com/peterbillam/postscriptlib
    git clone http://repo.or.cz/Font7x5.git
    pjb.com.au
    www.identifont.com
    www.myfonts.com
    The Art Deco Poster by William W. Crowse, Thames & Hudson
    The Droplet Video, also on youtube at youtu.be/yLo-cU9gPlA
    PostScript Language Reference Manual (Adobe).


Back to P J B Computing or to pjb.com.au . . .