annotate runtime/print/cidfont.ps @ 4206:22683fa1b4ed

Added tag v7-3-854 for changeset 14cdb6e4d5b8
author Bram Moolenaar <bram@vim.org>
date Thu, 07 Mar 2013 19:38:54 +0100
parents 631143ac4a01
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
631143ac4a01 updated for version 7.0007
vimboss
parents:
diff changeset
1 %!PS-Adobe-3.0 Resource-ProcSet
631143ac4a01 updated for version 7.0007
vimboss
parents:
diff changeset
2 %%Title: VIM-CIDFont
631143ac4a01 updated for version 7.0007
vimboss
parents:
diff changeset
3 %%Version: 1.0 0
631143ac4a01 updated for version 7.0007
vimboss
parents:
diff changeset
4 %%EndComments
631143ac4a01 updated for version 7.0007
vimboss
parents:
diff changeset
5 % Editing of this file is NOT RECOMMENDED. You run a very good risk of causing
631143ac4a01 updated for version 7.0007
vimboss
parents:
diff changeset
6 % all PostScript printing from VIM failing if you do. PostScript is not called
631143ac4a01 updated for version 7.0007
vimboss
parents:
diff changeset
7 % a write-only language for nothing!
631143ac4a01 updated for version 7.0007
vimboss
parents:
diff changeset
8 /CP currentpacking d T setpacking
631143ac4a01 updated for version 7.0007
vimboss
parents:
diff changeset
9 /SB 256 string d
631143ac4a01 updated for version 7.0007
vimboss
parents:
diff changeset
10 /CIDN? systemdict/composefont known d /GS? systemdict/.makeoperator known d
631143ac4a01 updated for version 7.0007
vimboss
parents:
diff changeset
11 CIDN?{
631143ac4a01 updated for version 7.0007
vimboss
parents:
diff changeset
12 GS?{/vim_findresource{2 copy resourcestatus not{1 index SB cvs runlibfile}{
631143ac4a01 updated for version 7.0007
vimboss
parents:
diff changeset
13 pop pop}ifelse findresource}bd/vim_composefont{0 get/CIDFont vim_findresource
631143ac4a01 updated for version 7.0007
vimboss
parents:
diff changeset
14 exch/CMap vim_findresource exch[exch]composefont pop}bd}{/vim_findresource
631143ac4a01 updated for version 7.0007
vimboss
parents:
diff changeset
15 /findresource ld/vim_composefont{composefont pop}bd}ifelse
631143ac4a01 updated for version 7.0007
vimboss
parents:
diff changeset
16 }{
631143ac4a01 updated for version 7.0007
vimboss
parents:
diff changeset
17 /vim_fontname{0 get SB cvs length dup SB exch(-)putinterval 1 add dup SB exch
631143ac4a01 updated for version 7.0007
vimboss
parents:
diff changeset
18 dup 256 exch sub getinterval 3 -1 roll exch cvs length add SB exch 0 exch
631143ac4a01 updated for version 7.0007
vimboss
parents:
diff changeset
19 getinterval cvn}bd/vim_composefont{vim_fontname findfont d}bd
631143ac4a01 updated for version 7.0007
vimboss
parents:
diff changeset
20 } ifelse
631143ac4a01 updated for version 7.0007
vimboss
parents:
diff changeset
21 /cfs{exch scalefont d}bd
631143ac4a01 updated for version 7.0007
vimboss
parents:
diff changeset
22 /sffs{findfont 3 1 roll 1 index mul exch 2 index/FontMatrix get matrix copy
631143ac4a01 updated for version 7.0007
vimboss
parents:
diff changeset
23 scale makefont d}bd
631143ac4a01 updated for version 7.0007
vimboss
parents:
diff changeset
24 CP setpacking
631143ac4a01 updated for version 7.0007
vimboss
parents:
diff changeset
25 % vim:ff=unix:
631143ac4a01 updated for version 7.0007
vimboss
parents:
diff changeset
26 %%EOF