File: hershey-font-gnuplot.1

package info (click to toggle)
hershey-fonts 0.1-1.2
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 464 kB
  • sloc: ansic: 397; python: 40; sh: 31; makefile: 6
file content (123 lines) | stat: -rw-r--r-- 2,737 bytes parent folder | download | duplicates (3)
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
.\"                                      Hey, EMACS: -*- nroff -*-
.\" (C) Copyright 2013 Kamal Mostafa <kamal@whence.com>,
.\"
.\" other parameters are allowed: see man(7), man(1)
.TH HERSHEY-FONT-GNUPLOT 1 "27 November 2013"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh        disable hyphenation
.\" .hy        enable hyphenation
.\" .ad l      left justify
.\" .ad b      justify to both left and right margins
.\" .nf        disable filling
.\" .fi        enable filling
.\" .br        insert line break
.\" .sp <n>    insert n+1 empty lines
.\" for manpage-specific macros, see man(7)

.nh

.SH NAME
hershey-font-gnuplot \- Hershey vector fonts renderer for gnuplot
.SH SYNOPSIS
.P
.B hershey-font-gnuplot
.RI [ options ] " font" " 'Text to Render'"
.br
.P
.B hershey-font-gnuplot
.RI [ options ] " font" "

.SH DESCRIPTION
.P
The Hershey fonts are a collection of vector fonts developed circa 1967
by Dr. A. V. Hershey.
.P
\fBhershey-font-gnuplot\fP renders Hershey font text in the form of
a \fBgnuplot\fP input file.
Its output must be piped to \fBgnuplot\fP
as shown in the EXAMPLES section below.
.P
If no 'Text to Render' is specified, a font sample sheet displaying
all the font's glyphs will be generated.

.SH FONTS
.P
The \fIfont\fP parameter must be the name of a system-installed
Hershey font or the filename of a Hershey font \fI.jhf\fP file.
The Hershey fonts likely to be installed are:
.PP
.BR astrology ,
.BR cursive ,
.BR cyrillic ,
.BR futural ,
.BR futuram ,
.BR gothgbt ,
.BR gothgrt ,
.BR gothiceng ,
.BR gothicger ,
.BR gothicita ,
.BR gothitt ,
.BR greekc ,
.BR greek ,
.BR greeks ,
.BR japanese ,
.BR markers ,
.BR mathlow ,
.BR mathupp ,
.BR meteorology ,
.BR music ,
.BR rowmand ,
.BR rowmans ,
.BR rowmant ,
.BR scriptc ,
.BR scripts ,
.BR symbolic ,
.BR timesg ,
.BR timesib ,
.BR timesi ,
.BR timesrb ,
.BR timesr

.SH OPTIONS

.TP
.BI \-T " 'gnuplot_terminal_type [gnuplot_terminal_opts]'"
Set gnuplot output type and options, for example:
.br
  \fB-T pdf\fP
.br
  \fB-T png\fP
.br
  \fB-T 'png crop transparent'\fP
.br
See \fBgnuplot\fP's \fIset terminal\fP command for more output type options.
If not specified, an X11 window display (\fIwxt\fP) is selected.

.TP
.BI \-h " font_height"
Set the font height in pixels (default 100).

.SH EXAMPLES
.nf
.ad l
.P
hershey-font-gnuplot japanese | gnuplot -p
.P
hershey-font-gnuplot futural   'Hello World!' | gnuplot -p
.P
hershey-font-gnuplot gothiceng 'Calligraphy'  | gnuplot -p
.P
hershey-font-gnuplot -T 'png crop' scriptc 'Nice Text' | gnuplot > out.png
.fi
.ad b

.SH SEE ALSO
.BR gnuplot (1)

.SH AUTHOR
.B hershey-font-gnuplot
was written by Kamal Mostafa <kamal@whence.com>.

.br