Title: ?????? ???????
1?????? 10
2????? ? ?????
- ?????? ??????? ??? ??????? ?????? ?????
?????????? ???????. ?????? ??? ???????? ????? ?
??????????? ?? ?????? ?????????? ?????. ??? ?????
????? ????????? ????????? ????????. ?????? ? ????
????????, ??? ?? ???????? ????, ??? ????? ?????
(? ??-????????? font) - ??-??????, ????? ????? ????? ?? ??? ????? ???
????? ?????, ? ??????? ?? ?????????? - /Times-Roman findfont
- (times.pfb) findfont
- ?????? ??????? ????????????? ????????, ??
????????? ? ???????, ??????? ???????? ??????. - ?????? ???????? ?? ??????, ?? ? GS ????????.
3???????????? ? ????????? ??????
- ????????? ????? ????? ????????? ??? ????????
?????????????. - /TR /Times-Roman findfont def
- ?? ??? ?????? ??? ????, ????? ?????? ????? ??
??????. ??? ????????????? ? ??? ????? ?????????
??? ??? ????????. - ???????????? ??????? ?? ????? ????? ? ?????? ?
?????????? ????? ????? ??????? ???????. ????????, - /TR 12 scalefont
- /Helvetica findfont 10 scalefont
- ???????? ????? ????? ?????? 1000.
- ????????? ??? ????????????? ????? ?????
?????????? ???????? setfont - /TR 12 scalefont setfont
4????????????? ?????????????? ??????
- ???????? ?????????? ??????? ?????????? show.
??? ???????, ????? ??? ?????????? ?????, ?????
???? ?????????? ??????? ????? ? ????? ? ?????
?????? ?????????? ??????. - ?????????? ????? ??????? ? ??????? ???????.
????????, - (?? ????? ???????) show
- (?????? ????? (??? ?????) ???????? ??????) show
- (???? ?????? ?????? \(????????????????) show
- (?????????\), ?? ??? ?? ???????) show
- ??????????? ????? ? ???????
- \ddd ??????, ?????????? ???????????? ???????
- \\ - backslash
- ????? ?????????? ??????? show ??????? ?????
?????????? ? ????????? ?? ???????????? ???????.
5?????? ?????? ? ?? ?????????????
- ??? ???????????? ?????? ????? ???????????? ??????
?????????? ?????? (???????, ???????, ??????? ??
?????????? ??????). ??????? stringwidth ???????
?? ????? ?????? ? ?????? ? ???? ?????????? x ? y
?????? (?????? y0). ??? ??????? ?????????????
?????? - \rshowdup stringwidth pop neg hrm showdef
- \censhowdup stringwidth pop 0.5 mul hrm show
def - ?????? ?? ???? ???????? ???????? ????? ?????? ??
??????? ?????, ? ?????? ???????? ??? ?? ???????
?????.
6???????? ??????? show
- ??????? show ????? ????????? ?????????, ???????
????????? ? ??????????? ????? ??????????
????????? ???????? ?????? ????????? ?? ??? ????
????????.
7??????
- ???, ????????, ??????? ??????? ? ????? ???????
8???????
- !
- /Times-ET findfont 20 scalefont setfont
- 350 450 translate 3 3 scale
- /text (The name of Kees van der Laan gi\
- ves us a much longer example) def
- -100 0 moveto 50 rotate
- -10 rotate 3 0 rmoveto 0.99 0.99 scale
- text kshow
- showpage
- quit
9?????????? ??????? kshow
- ??????????? ???? ??????? ???????? ???? ???????? ?
?????????? ??????. ??? ?????? ?????? (??? ? show)
????? ??????? ????? ???????? ???????? ???????????
???? ???????? - -10 rotate 3 0 rmoveto
- 0.99 0.99 scale ??? ???? ????????
- text ??? ??????
- kshow
- ?????? ???????
- ashow, cshow, xshow, yshow, xyshow, widthshow,
awidthshow
10?????? ?????????? ??????
- ??? ????????? ????? ????? ?????????? ????????
?????? ?????????? ??????. ????????, ??? ????,
????? ?????? ????? ????? ?????? ??? ?????????
??????, ??? ??? ????, ????? ???????????? ??????
??? ????????? ????? ???????. - ????? ??????????? ????????????? ??????? charpath.
??? ?????????? ????? ?????? ??? ??????????
????????, ???????????? ?????????? ?????????????
????. - string bool charpath
- ???? ?????????? ???????? ??????, ?? ????
??????? ??? ??????? ??? ?????????, ? ???? ????,
?? ?????? ??? ??????.
11?????? (?? ???????????? ????. ?.?.??????????)
12??? ????????????????? ???????
- /letbox/Izhitsa findfont 84 scalefont setfont
- lmarg vpos m -27 mm -20 mm rm
- GS bs hrl bs vrl bs neg hrl CL letter box
ready - GS RED 0 LW clip
- lmarg vpos m -27 mm -20 mm rm
- OX OY rm /a -1 def
- 40 GS bs 2 mul bs a mul /a a .1 add def rl S
GR - repeat GR rays inside box
- S GRdef
- /oshowfalse charpath Sdef only to strike!
- /letenddup GS 1 setgray show GR 0 LW oshowdef
- /letM/OX -60 def /OY 30 def
- GS (?) letbox -2 6 rm 0.83 1 scale letend GR
- def
13??????
- ?????? ?????? ????????? (? ??????) ? ???????????.
????????? ?????? ????? ?????????? - pfb Postscript Font Binary
- pfa Postscript Font Alphabetic.
- ??????????? ????? ??????????? ????? ? ?????????.
?? ??????????? ??????? ?????? ??????????, ???
????? ???????. - ? ?????? ???-?? ?????, ????????????? ???
?????????? ???? 3 ?? 9 ? ?? ???????? ? ???
?????? ????? ??????, ??????? ?????????? ??????.
?????????, ??? ?? ???????.
14????? ?????? (??? ??? ?????)
- ????? ?????? ???????????? ??? ??????. ?????? ????
??????????, ?????? ??-??????, ????????? ?????,
??????? ???????????? ?? 1 ?? 6 ??? ??? - 1 4
- 2 5
- 3 6
- ?????? ???????? ??????? ????????? ??????? ?
????????? ?? ???????. ?? ????????? ?????? ???????
????????? ????????? ???????. - ?????, ??????? ?????? ???? ???????, ?? ? ?????
????????.
15????? ?????? (???????)
16????? ?????? (????? ????????? ????????)
- ???????? ??????? ?? ??????? ??? ????????????
?????? ???????????? ??????????????? ???????
??????? ? ??? ??????????. ??????? ???????? ??? - /braille 10 dict def
- ????? dict ??????? ???????, ? 10 ??? ???
?????????????? ???????. ? ????? ????????? ?
????????? ???????, ? ??? ??? ????????????,
????? ????? ??? ??????????. ?????????? ??????????
?????? ??????????? ?????? - braille begin
- . . . . .
- end
- ? ???????? ?????????? ??????? ?? ??????? ????????
???????????? ?????????? ??????.
17????? ?????? (???????????? ?????????)
- /FontType 3 def ??? ?????? (3 ???
????????????????) - /FontMatrix .01 0 0 .01 0 0 def
- ??????? ????????? ????????????? ????? ? ?????
??????? 1000 ???????. ??? ?????????? scalefont
??? ??????? ?????? ?????????? ??????,
??????????????? ?????????? ???????. - /FontBBox 0 0 60 100 def
- ??????? ??????????????, ??????????? ??? ???????
??????? ??????. - /Encoding 256 array def
- ?????? ??? ????? ????? ???????? ? ??????? ????,
???????????? ??? ???????. ????? ????????? ?
??????? - /CharProcs 3 dict def
- /BuildChar
- ?????????, ??????????? ??? ?????? ??????? ???????
??????? ??????.
18????? ?????? (?????????? ???????)
- ?????? ??????????? ? ??? ??????. ??????? ?? ???
??? ???????? ??????? ??????????? ?????? .notdef
(??? ???????? ??????? ??????), - 0 1 255 Encoding exch /.notdef put for
- ? ????? ?????? ?????? ?????? ???????????
????????, ????????, - Encoding 98 /b put
- Encoding 44 /comma put
- (??? ? ??????? 98, ? ??? ??? ASCII ????? b,
?????????? ???? /b, ? ? ??????? 44 ??????????
???? /comma, ????? ???????? ???????). -
19????? ?????? (?????????? ???????)
- ??????? /CharProcs ??????????? ?????? ???????????
??????. ?? ??? ????? ??? ??? ?????? ? ?????
???-??? ???????? ??????. - CharProcs begin
- /b 1 1 0 0 0 0 bc def
- /comma 0 1 0 0 0 0 bc def
- /space 0 0 0 0 0 0 bc def
- /.notdef def
- end
- ??? ??????? ????? ?????? ???????. ??? ?????
?????????? ??? ? ???? ?????????? ?????
????????, ?????? ??? ?????? ????? ? ????? ???
?????, ? ?????????? ???????? ????????? bc (???
??? ????????). ????????? ? ?????????? ???????
?????. ?????, ??? ?????? ???????? ??? ?????
??????? ?? ????? ????? ?????. ? ???????? ?????? ?
??????????? ??????? ??????? .notdef.
20????? ?????? (??????????????? ????????? bc)
- /bc 6 3 roll /w 30 def /wr 12 def
- 0 0 m GS col w 0 rm col GR def
???????? ??????? ?????
???????, ? ????? ??????. ??????? ????-???? ?
???????????? ?????? ? ????????. ?????? ??? ?????
??????? ? ?????? ?????. ?????? ? ??????
????????? (??? ?????????? ? ??????? ?????
???????), ?????? ????? ???????, ?????????? ??????
? ?????? ?????? ???????. ??????????? ?????????
??????? ??????? ??????????? ??????????. - /col GS 0 LW
- 3 GS CP T wr 0 rm wr wr wr -90 270 arc
- 1 eq fill stroke ifelse
- GR 0 w rm repeat GR def
- ???????? ????? col ??????????? ??????????
????????, ??????? ???? ??????? ?? ???? ?????
????????? ??????, ? ??????????? ?? ????? ? ?????
???????? ??? ??? ???????, ????? ?????.
21????? ?????? (????????? ????????? ???????)
- /BuildChar stack has font char
- /col . . . def
- /bc . . . def
- 80 0 width
- 0 0 60 100 bounding box
- setcachedevice
- exch begin font begin
- Encoding exch get index by char in Encoding
- CharProcs exch get lookup name in CharProcs
- end
- exec execute char procdure
- def
22????? ?????? (?????????????)
- /Braille braille definefont pop ???????.??????
- 100 100 T ???????. ??????
- /Braille findfont 36 scalefont setfont
- 0 162 m (abcdefghij) show
- 0 102 m (klmnopqrst) show
- 0 42 m (uvxyz w) show
- /Courier findfont 14 scalefont setfont
- 5 150 m (abcdefghij)
- 30 30 28 30 30 26 30 30 26 xshow
- 5 90 m (klmnopqrst)
- 32 26 30 28 29 30 30 28 30 xshow
- 5 30 m (uvxyzw) 30 29 30 28 86 xshow
- showpage
23????????? ??????? ? ???????
- ? ??????? GhostScript ??????? ???? Fontmap,
??????? ????????? ????? ??????? ? ???????. ????
??? ????? ???????? ?????? ? ???? ???????, ??????
???????? ??????. - ??? ???
- /American-Uncial (america_.pfb)
- /Cloister_Black-Light (cloister.pfb)
- /Cyrillic-Narrow (cyrnarrw.pfb)
- /Izhitsa (izhitsa.pfb)
- /Kimberly (kimberly.pfb)
- /Osiris (osiris.pfb)
- /TimesET (tet.pfb)
- /Symbol (sy.pfb)
- /ZapfDingbats (zd______.pfb)
24??????? ????????????? ??????? (1)
- ??? ??????? ?????????? ???? ???????
- /TimesET
- /Symbol
- /ZapfDingbats
25??????? ????????????? ??????? (2)
- ??? ??????? ??????????? ???? ???????
- /American-Uncial
- /Cloister_Black-Light
- /Izhitsa
26??????? ????????????? ??????? (3)
- ??? ??????? ??????????? ???? ???????
- /Cyrillic-Narrow
- /Kimberly
- /Osiris
27????????? FontLab
28????????? FontLab (????????)
29??????? ????? ? ???????
- ????? ?????? ? ??? ? 1994 ?. ?? ????? ???? ??
???????? (????? ????, ????? ????????)
????????????? ????????? FontLab. - ?? ??-?? ????? ??? ??????.
- ISBN 5-85237-015-0
- ??? 681.3.06