File: README

package info (click to toggle)
gfontview 0.3.2-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 480 kB
  • ctags: 275
  • sloc: cpp: 4,741; sh: 327; makefile: 47
file content (66 lines) | stat: -rw-r--r-- 3,253 bytes parent folder | download
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
gfontview - README

This is an ALPHA preliminar release.

gfontview is a Font Viewer for outline fonts (PostScript Type 1 and
TrueType). It will display all fonts present in the chosen directory
in a list, with a preview of the font in the main window.  You can get
the latest version from
http://www.geocities.com/SiliconValley/Foothills/1458

It uses the GTK+ library (V1.2) for X11 windowing, t1lib (V1.0) as a
PostScript Type 1 renderer and the freetype library (V1.2) for
TrueType rendering.  It also uses the gif or ungif library to produce
GIF files of text typeset in a font.  You can get read about and get
GTK+ at 'http://www.gtk.org' You can read about and get t1lib at
'http://www.neuroinformatik.ruhr-uni-bochum.de/ini/PEOPLE/rmz/t1lib/t1lib.html'
You can read about and get freetype at 'http://www.freetype.org' The
gif and ungif libraries are available at
'http://prtr-13.ucsc.edu/~badger/software',
'http://metalab.unc.edu/pub/Linux/libs/giflib' and
'http://metalab.unc.edu/pub/Linux/libs/graphics'.

It also allows you to display a particular character or string of a
font in an own window, thus allowing a comparison between several
fonts with a particular string sample.  This character or string can
be antialiased (smoothed). The string can also consider the kerning
pairs if available in the AFM or TTF file.  The displayed character or
string can be saved in GIF format. The generated GIF defines the
background white colour as transparent.  Note: the generated GIF file
will be compressed or not depending on which library you use when
compiling (gif or ungif). See the implications of this at
http://prtr-13.ucsc.edu/~badger/software.

AFM files will be read (and generated if not present) by the t1lib.
Their expected location is either the same directory as the PostScript
fonts or a subdirectory inside it called 'afm'.

A table with all glyphs in the font (for PostScript Type 1 fonts also
in several encodings) can also be created. A custom encoding will be
generated on the fly to allow you to see all characters (also not
encoded ones) in a Type 1 font.  Clicking on each glyph of the table
will open a popup window magnifying the glyph. The magnifying factor
depends on the mouse button clicked. These glyphs are always without
antialiasing. The name of the charcter appears in the down part
of the window.

Asynchronous error messages (like the ones generated when reading a
font directory) are collected sorted by font file name in an auxiliar
window.

You can also print a sample of a font. The program generates
PostScript code with sample strings in several sizes, which you can
download to any PostScript printer or to ghostscript.  In the case of
TT fonts, the font is downloaded as Type42, which means that if you
use a Postscript printer, it must be at least a Level 2 printer and
also have Type42 support. ghostscript understands the format beginning
with version 5.10.  The program can also print a longer text in the
selected font, thus allowing you to get an impresion of how a text
page looks like in the selected font. Printing of all charcters
present in a font is the other possibility.

gfontview reads the init file .gfontviewrc, where GTK styles
can be defined.

Roberto Alameda
<roberto@myokay.net>