home *** CD-ROM | disk | FTP | other *** search
- %!PS-Adobe-2.0
- %%Creator: PSTEXT-Treiber
- % (c) 1990, David Geffen & TOOLBOX
- %%Title: PSTEXT Header File
- %%EndComments
- % Umlaut Functions
- /reencsmalldict 12 dict def
- /ReEncodeSmall
- {
- reencsmalldict begin
- /newcodesandnames exch def
- /newfontname exch def
- /basefontname exch def
- /basefontdict basefontname findfont def
- /newfont basefontdict maxlength dict def
- basefontdict
- {
- exch dup /FID ne
- {
- dup /Encoding eq
- {
- exch dup length array copy
- newfont 3 1 roll put
- }
- {
- exch newfont 3 1 roll put
- }
- ifelse
- }
- {
- pop pop
- }
- ifelse
- }
- forall
- newfont /FontName newfontname put
- newcodesandnames aload pop
- newcodesandnames length 2 idiv
- {
- newfont /Encoding get 3 1 roll put
- }
- repeat
- newfontname newfont definefont pop
- end
- }
- def
- /umlauts [
- 8#204 /adieresis
- 8#224 /odieresis
- 8#201 /udieresis
- 8#216 /Adieresis
- 8#231 /Odieresis
- 8#232 /Udieresis
- 8#341 /germandbls
- ] def
- /.f. /.f.-Umlaut umlauts
- ReEncodeSmall
- % End of Preparation of Umlaut Functions
- % Global Variables
- /.f.-Umlaut findfont
- .p. scalefont setfont
- /X .x. def
- /Y .y. def
- /lineheight {.p. .d. add} def
- /colwidth {.w.} def
- % shline shows a line and updates Y
- /shline
- {
- show
- Y lineheight sub
- /Y exch def
- X Y moveto
- } def
- % show page and update X and Y
- /nextpage
- {
- showpage
- /X .x. def
- /Y .y. def
- .t.
- X Y moveto
- } def
- % nextcol prepares the next column
- /nextcol
- {
- X colwidth add
- /X exch def
- /Y .y. def
- X Y moveto
- } def
- .t.
- X Y moveto
-