ps_fontfile_doc.pdf

(438 KB) Pobierz
UsingT E XFontsintheGnuplotPostscriptTerminal
HaraldHarders,h.harders@tu-bs.de
2003-03-03
ThePostscriptterminalcanembedPostscriptType1fonts(withextensions.pfaand.pfb)andTrueType
fonts(extension.ttf) 1 usingthecommand
setterminalpostscriptfontfile’<filename>’
Thefontfileoptioncanbeusedmultipletimes.Seethesectionssetterminalpostscriptandsetfontpath
intheGnuplotdocumentationforfurtherdescription.
Theembeddedfontcanbeusedby
setterminalpostscript’<fontname>’<size>
orinpostscriptenhancedterminalasfollowingexample:
setxlabel’{/CMMI10x}’
Amongotherthings,thefontembeddingisusefulforgeneratingplotstobeincludedinL A T E Xdocu-
ments.Fornormaltext,thecm-superPostscriptType1fontsareagoodchoice.Theyareavailablefrom
CTANservers,e.g.
ftp://ftp.dante.de/tex-archive/fonts/ps-type1/cm-super/
Thenormaluprightfontwithserifesisde nedinsfrm1000.pfb,andthefontnameisSFRM1000 2 (The
1000meansthatthisfontisdesignedfor10pt).Replacethermbyit,bxorothercombinationsin
boththe lenameandthefontname(here,inuppercaseletters)inordertogetotherfontshapes.The
encodingofthesefontsisordinaryandthusisnotdescribedhere.Table1showssomeexamplesoffonts
containedinthecm-superfontbundle.
FormathematicstheType1versionsoftheComputerModernfontsareuseful.Theyshouldbe
installedinmostT E XimplementationsandarealsoavailablefromCTANservers,e.g.
ftp://ftp.dante.de/tex-archive/fonts/cm/ps-type1/bluesky/pfb/
Here,thefontnameisthebaseofthe lenameinuppercaseletters,e.g.the lecmmi10.pfbcontainsthe
fontCMMI10.Sincetheencodingofthesefontsisstrange,atablecontainingallcharactersforsomefonts
follows.ThefontCMEX10containslargesymbolsformathematics.Theyoverlapsometimesinthetable.
SincethebaselineoftheCMEX10fontisatthetopofthesigns,Gnuplotde nesafontCMEX10-Baseline
withadi erentbaselineifCMEX10isembedded(normallybyusingfontfile’cmex10.pfb’.Incontrast
totheotherfonts,CMEX10isonlyavailableinthedesignsize10pt.
Youcanaccessallcharactersofthefontsbytypingtheiroctalcode.Togeta~symbol,youmaytype:
setlabel’{/CMSY10\176}’atgraph0.5,0.5
1 If.pfband.ttffontsreallycanbeembeddeddependsonyourgnuplotinstallation:Itneedstobeabletohandlepipes.
2 Ifyouhaveanoldversionofthecm-superfont,prior2001-10-14,thefontnameisinlowercaseletters: sfrm1000.You
shouldupdatetoanewversion.
1
Table1:Somefontsinthecm-superfontbundle(foradesignsizeof10pt)
Filename Fullfontname Example
(allprecededbyComputerModern)
sfrm1000.pfbRoman Example
sfbx1000.pfbBoldExtended Example
sfti1000.pfbItalic Example
sfbi1000.pfbBoldExtendedItalic Example
sfsl1000.pfbSlanted Example
sfbl1000.pfbBoldExtendedSlanted Example
sfcc1000.pfbCapsandSmallCaps Example
sfss1000.pfbSansSerif Example
sfsi1000.pfbSansSerifSlanted Example
sfsx1000.pfbSansSerifBoldExtended Example
sfso1000.pfbSansSerifBoldExtendedSlantedExample
sftt1000.pfbTypewriter Example
sfit1000.pfbTypewriterItalic Example
sfst1000.pfbTypewriterSlanted Example
sftc1000.pfbTypewriterCapsandSmallCaps Example
Sincecharacterswithanoctalnumberbelow\040can’tbedisplayedbysomepostscriptinterpreters,
thesecharactersarerepeatedintheComputerModernFontswithalargercode.Thus,youshoulduse
thelargernumber,wheretwooctalnumbersaregiven(e.g.\000,\241).Forexample,youbetteruse
setxlabel’{/CMR10\242}’
than
setxlabel’{/CMR10\001}’
togetanuprightuppercaseDelta.
M E X 1 0 - B a s e l i n e
M T E X 1 0
M T T 1 0
M I 1 0
M F F 1 0
M S Y 1 0
M T I 1 0
M S S 1 0
L A S Y 1 0
M R 1 0
M U 1 0
M
Oct C
C
C
C
C
C
C
C
C
C
Oct Dec
\000,\241 0,161
\000,\241
\001,\242 1,162
\001,\242
\002,\243 2,163
\002,\243
\003,\244 3,164
\003,\244
\004,\245 4,165
\004,\245
\005,\246 5,166
\005,\246
\006,\247 6,167
\006,\247
\007,\250 7,168
\007,\250
\010,\251 8,169
\010,\251
2
886592253.007.png 886592253.008.png 886592253.009.png 886592253.010.png
 
M E X 1 0 - B a s e l i n e
M T E X 1 0
M T T 1 0
M I 1 0
M F F 1 0
M S Y 1 0
M T I 1 0
M S S 1 0
L A S Y 1 0
M R 1 0
M U 1 0
M
Oct C
C
C
C
C
C
C
C
C
C
Oct Dec
\011,\252 9,170
\011,\252
\012,\255 10,173
\012,\255
\013,\256 11,174
\013,\256
\014,\257 12,175
\014,\257
\015,\260 13,176
\015,\260
\016,\261 14,177
\016,\261
\017,\262 15,178
\017,\262
\020,\263 16,179
\020,\263
\021,\264 17,180
\021,\264
\022,\265 18,181
\022,\265
\023,\266 19,182
\023,\266
\024,\267 20,183
\024,\267
\025,\270 21,184
\025,\270
\026,\271 22,185
\026,\271
\027,\272 23,186
\027,\272
\030,\273 24,187
\030,\273
\031,\274 25,188
\031,\274
\032,\275 26,189
\032,\275
\033,\276 27,190
\033,\276
\034,\277 28,191
\034,\277
\035,\300 29,192
\035,\300
\036,\301 30,193
\036,\301
\037,\302 31,194
\037,\302
\040,\303 32,195
\040,\303
! \041 33
\041 !
!
! !
!
!
! !
!
" \042 34
\042 "
"
" "
"
"
" "
"
# \043 35
\043 #
#
# #
#
#
# #
#
$ \044 36
\044 $
$
$ $ $
$
$ $
$
% \045 37
\045 %
%
% %
%
%
% %
%
& \046 38
\046 &
&
& &
&
&
& &
&
' \047 39
\047 '
'
' ' '
'
' '
'
( \050 40
\050 (
(
( ( (
(
( (
(
(
) \051 41
\051 )
)
) ) )
)
) )
)
)
* \052 42
\052 *
*
* * *
*
* *
*
*
+ \053 43
\053 +
+
+ + +
+
+ +
+
+
, \054 44
\054 ,
,
, ,
,
,
, ,
,
- \055 45
\055 -
-
- -
-
-
- -
-
. \056 46
\056 .
.
. .
.
.
. .
.
/ \057 47
\057 /
/
/ /
/
/
/ /
/
3
886592253.001.png 886592253.002.png
 
M E X 1 0 - B a s e l i n e
M T E X 1 0
M T T 1 0
M I 1 0
M F F 1 0
M S Y 1 0
M T I 1 0
M S S 1 0
L A S Y 1 0
M R 1 0
M U 1 0
M
Oct C
C
C
C
C
C
C
C
C
C
Oct Dec
0 \060 48
\060 0
0
0 0
0
0
0 0
0
0
1 \061 49
\061 1
1
1 1
1
1
1 1
1
1
2 \062 50
\062 2
2
2 2
2
2
2 2
2
2
3 \063 51
\063 3
3
3 3
3
3
3 3
3
3
4 \064 52
\064 4
4
4 4
4
4
4 4
4
5 \065 53
\065 5
5
5 5
5
5
5 5
5
6 \066 54
\066 6
6
6 6
6
6
6 6
6
7 \067 55
\067 7
7
7 7
7
7
7 7
7
8 \070 56
\070 8
8
8 8
8
8
8 8
8
9 \071 57
\071 9
9
9 9
9
9
9 9
9
: \072 58
\072 :
:
: :
:
:
:
: :
:
; \073 59
\073 ;
;
; ;
;
;
; ;
;
;
< \074 60
\074 <
<
< < <
<
< <
<
<
= \075 61
\075 =
=
= =
=
=
=
= =
=
> \076 62
\076 >
>
> > >
>
> >
>
? \077 63
\077 ?
?
? ?
?
?
? ?
?
@ \100 64
\100 @
@
@ @
@
@
@
@ @
A \101 65
\101 A
A
A A A
A
A A
A
B \102 66
\102 B
B
B B B
B
B B
B
C \103 67
\103 C
C
C C C
C
C
C C
D \104 68
\104 D
D
D D D
D
D D
D
E \105 69
\105 E
E
E E E
E
E E
E
F \106 70
\106 F
F
F F F
F
F F
F
G \107 71
\107 G
G
G G G
G
G G
G
H \110 72
\110 H
H
H H H
H
H H
H
I \111 73
\111 I
I
I I
I
I
I I
I
J \112 74
\112 J
J
J J
J
J
J J
J
K \113 75
\113 K
K
K K K
K
K K
K
L \114 76
\114 L
L
L L L
L
L L
L
M \115 77
\115 M
M
M M M
M
M M
M
N \116 78
\116 N
N
N N N
N
N N
N
O \117 79
\117 O
O
O O O
O
O O
O
P \120 80
\120 P
P
P P P
P
P P
P
Q \121 81
\121 Q
Q
Q Q Q
Q
Q Q
Q
R \122 82
\122 R
R
R R R
R
R R
R
S \123 83
\123 S
S
S S
S
S
S S
S
T \124 84
\124 T
T
T T
T
T
T T
T
U \125 85
\125 U
U
U U U
U
U U
U
V \126 86
\126 V
V
V V
V
V
V V
V
4
886592253.003.png 886592253.004.png
 
M E X 1 0 - B a s e l i n e
M T E X 1 0
M T T 1 0
M I 1 0
M F F 1 0
M S Y 1 0
M T I 1 0
M S S 1 0
L A S Y 1 0
M R 1 0
M U 1 0
M
Oct C
C
C
C
C
C
C
C
C
C
Oct Dec
W \127 87
\127 W
W W W W
W W
W W
X \130 88
\130 X
X
X X X
X
X X
X
Y \131 89
\131 Y
Y
Y Y
Y
Y
Y Y
Y
Z \132 90
\132 Z
Z
Z Z Z
Z
Z Z
Z
[ \133 91
\133 [
[
[ [
[
[
[ [
[
\ \134 92
\134 \
\
\ \
\
\
\ \
\
] \135 93
\135 ]
]
] ]
]
]
] ]
]
^ \136 94
\136 ^
^
^ ^ ^
^
^ ^
^
_ \137 95
\137 _
_
_ _ _
_
_ _
_
` \140 96
\140 `
`
` `
`
`
` `
`
a \141 97
\141 a
a
a a
a
a
a
a a
b \142 98
\142 b
b
b b
b
b
b b
b
c \143 99
\143 c
c
c c
c
c
c c
c
d \144 100
\144 d
d
d d
d
d
d
d d
e \145 101
\145 e
e
e e
e
e
e e
e
f \146 102
\146 f
f
f f
f
f
f f
f
g \147 103
\147 g
g
g g
g
g
g
g g
h \150 104
\150 h
h
h h
h
h
h h
h
i \151 105
\151 i
i
i i
i
i
i i
i
j \152 106
\152 j
j
j j
j
j
j
j j
k \153 107
\153 k
k
k k
k
k
k k
k
l \154 108
\154 l
l
l l
l
l
l l
l
m \155 109
\155 m
m
m m m
m
m m
m
n \156 110
\156 n
n
n n
n
n
n n
n
o \157 111
\157 o
o
o o
o
o
o o
o
p \160 112
\160 p
p
p p
p
p
p p
p
q \161 113
\161 q
q
q q
q
q
q q
q
r \162 114
\162 r
r
r r
r
r
r r
r
s \163 115
\163 s
s
s s
s
s
s s
s
t \164 116
\164 t
t
t t
t
t
t t
t
u \165 117
\165 u
u
u u
u
u
u u
u
v \166 118
\166 v
v
v v
v
v
v v
v
w \167 119
\167 w
w
w w w
w
w w
w
x \170 120
\170 x
x
x x
x
x
x x
x
y \171 121
\171 y
y
y y
y
y
y y
y
z \172 122
\172 z
z
z z
z
z
z z
z
{ \173 123
\173 {
{
{ {
{
{
{ {
{
| \174 124
\174 |
| | |
|
| |
| |
} \175 125
\175 }
}
} }
}
}
} }
}
5
886592253.005.png 886592253.006.png
 
Zgłoś jeśli naruszono regulamin