updated for version 7.0007
This commit is contained in:
22
runtime/print/ascii.ps
Normal file
22
runtime/print/ascii.ps
Normal file
@ -0,0 +1,22 @@
|
||||
%!PS-Adobe-3.0 Resource-Encoding
|
||||
%%Title: VIM-ascii
|
||||
%%Version: 1.0 0
|
||||
%%EndComments
|
||||
/VIM-ascii[
|
||||
32{/.notdef}repeat
|
||||
/space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quotesingle
|
||||
/parenleft /parenright /asterisk /plus /comma /minus /period /slash
|
||||
/zero /one /two /three /four /five /six /seven
|
||||
/eight /nine /colon /semicolon /less /equal /greater /question
|
||||
/at /A /B /C /D /E /F /G
|
||||
/H /I /J /K /L /M /N /O
|
||||
/P /Q /R /S /T /U /V /W
|
||||
/X /Y /Z /bracketleft /backslash /bracketright /asciicircum /underscore
|
||||
/grave /a /b /c /d /e /f /g
|
||||
/h /i /j /k /l /m /n /o
|
||||
/p /q /r /s /t /u /v /w
|
||||
/x /y /z /braceleft /bar /braceright /asciitilde /.notdef
|
||||
128{/.notdef}repeat]
|
||||
/Encoding defineresource pop
|
||||
% vim:ff=unix:
|
||||
%%EOF
|
||||
26
runtime/print/cidfont.ps
Normal file
26
runtime/print/cidfont.ps
Normal file
@ -0,0 +1,26 @@
|
||||
%!PS-Adobe-3.0 Resource-ProcSet
|
||||
%%Title: VIM-CIDFont
|
||||
%%Version: 1.0 0
|
||||
%%EndComments
|
||||
% Editing of this file is NOT RECOMMENDED. You run a very good risk of causing
|
||||
% all PostScript printing from VIM failing if you do. PostScript is not called
|
||||
% a write-only language for nothing!
|
||||
/CP currentpacking d T setpacking
|
||||
/SB 256 string d
|
||||
/CIDN? systemdict/composefont known d /GS? systemdict/.makeoperator known d
|
||||
CIDN?{
|
||||
GS?{/vim_findresource{2 copy resourcestatus not{1 index SB cvs runlibfile}{
|
||||
pop pop}ifelse findresource}bd/vim_composefont{0 get/CIDFont vim_findresource
|
||||
exch/CMap vim_findresource exch[exch]composefont pop}bd}{/vim_findresource
|
||||
/findresource ld/vim_composefont{composefont pop}bd}ifelse
|
||||
}{
|
||||
/vim_fontname{0 get SB cvs length dup SB exch(-)putinterval 1 add dup SB exch
|
||||
dup 256 exch sub getinterval 3 -1 roll exch cvs length add SB exch 0 exch
|
||||
getinterval cvn}bd/vim_composefont{vim_fontname findfont d}bd
|
||||
} ifelse
|
||||
/cfs{exch scalefont d}bd
|
||||
/sffs{findfont 3 1 roll 1 index mul exch 2 index/FontMatrix get matrix copy
|
||||
scale makefont d}bd
|
||||
CP setpacking
|
||||
% vim:ff=unix:
|
||||
%%EOF
|
||||
23
runtime/print/cns_roman.ps
Normal file
23
runtime/print/cns_roman.ps
Normal file
@ -0,0 +1,23 @@
|
||||
%!PS-Adobe-3.0 Resource-Encoding
|
||||
%%Title: VIM-cns_roman
|
||||
%%Version: 1.0 0
|
||||
%%EndComments
|
||||
% Different to ASCII at code point 126
|
||||
/VIM-cns_roman[
|
||||
32{/.notdef}repeat
|
||||
/space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quotesingle
|
||||
/parenleft /parenright /asterisk /plus /comma /minus /period /slash
|
||||
/zero /one /two /three /four /five /six /seven
|
||||
/eight /nine /colon /semicolon /less /equal /greater /question
|
||||
/at /A /B /C /D /E /F /G
|
||||
/H /I /J /K /L /M /N /O
|
||||
/P /Q /R /S /T /U /V /W
|
||||
/X /Y /Z /bracketleft /backslash /bracketright /asciicircum /underscore
|
||||
/grave /a /b /c /d /e /f /g
|
||||
/h /i /j /k /l /m /n /o
|
||||
/p /q /r /s /t /u /v /w
|
||||
/x /y /z /braceleft /bar /braceright /overline /.notdef
|
||||
128{/.notdef}repeat]
|
||||
/Encoding defineresource pop
|
||||
% vim:ff=unix:
|
||||
%%EOF
|
||||
23
runtime/print/gb_roman.ps
Normal file
23
runtime/print/gb_roman.ps
Normal file
@ -0,0 +1,23 @@
|
||||
%!PS-Adobe-3.0 Resource-Encoding
|
||||
%%Title: VIM-gb_roman
|
||||
%%Version: 1.0 0
|
||||
%%EndComments
|
||||
% Different to ASCII at code points 36 and 126
|
||||
/VIM-gb_roman[
|
||||
32{/.notdef}repeat
|
||||
/space /exclam /quotedbl /numbersign /yuan /percent /ampersand /quotesingle
|
||||
/parenleft /parenright /asterisk /plus /comma /minus /period /slash
|
||||
/zero /one /two /three /four /five /six /seven
|
||||
/eight /nine /colon /semicolon /less /equal /greater /question
|
||||
/at /A /B /C /D /E /F /G
|
||||
/H /I /J /K /L /M /N /O
|
||||
/P /Q /R /S /T /U /V /W
|
||||
/X /Y /Z /bracketleft /backslash /bracketright /asciicircum /underscore
|
||||
/grave /a /b /c /d /e /f /g
|
||||
/h /i /j /k /l /m /n /o
|
||||
/p /q /r /s /t /u /v /w
|
||||
/x /y /z /braceleft /bar /braceright /overline /.notdef
|
||||
128{/.notdef}repeat]
|
||||
/Encoding defineresource pop
|
||||
% vim:ff=unix:
|
||||
%%EOF
|
||||
23
runtime/print/jis_roman.ps
Normal file
23
runtime/print/jis_roman.ps
Normal file
@ -0,0 +1,23 @@
|
||||
%!PS-Adobe-3.0 Resource-Encoding
|
||||
%%Title: VIM-jis_roman
|
||||
%%Version: 1.0 0
|
||||
%%EndComments
|
||||
% Different to ASCII at code points 92 and 126
|
||||
/VIM-jis_roman[
|
||||
32{/.notdef}repeat
|
||||
/space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quotesingle
|
||||
/parenleft /parenright /asterisk /plus /comma /minus /period /slash
|
||||
/zero /one /two /three /four /five /six /seven
|
||||
/eight /nine /colon /semicolon /less /equal /greater /question
|
||||
/at /A /B /C /D /E /F /G
|
||||
/H /I /J /K /L /M /N /O
|
||||
/P /Q /R /S /T /U /V /W
|
||||
/X /Y /Z /bracketleft /yen /bracketright /asciicircum /underscore
|
||||
/grave /a /b /c /d /e /f /g
|
||||
/h /i /j /k /l /m /n /o
|
||||
/p /q /r /s /t /u /v /w
|
||||
/x /y /z /braceleft /bar /braceright /overline /.notdef
|
||||
128{/.notdef}repeat]
|
||||
/Encoding defineresource pop
|
||||
% vim:ff=unix:
|
||||
%%EOF
|
||||
23
runtime/print/ks_roman.ps
Normal file
23
runtime/print/ks_roman.ps
Normal file
@ -0,0 +1,23 @@
|
||||
%!PS-Adobe-3.0 Resource-Encoding
|
||||
%%Title: VIM-ks_roman
|
||||
%%Version: 1.0 0
|
||||
%%EndComments
|
||||
% Different to ASCII at code points 96 and 126
|
||||
/VIM-ks_roman[
|
||||
32{/.notdef}repeat
|
||||
/space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quotesingle
|
||||
/parenleft /parenright /asterisk /plus /comma /minus /period /slash
|
||||
/zero /one /two /three /four /five /six /seven
|
||||
/eight /nine /colon /semicolon /less /equal /greater /question
|
||||
/at /A /B /C /D /E /F /G
|
||||
/H /I /J /K /L /M /N /O
|
||||
/P /Q /R /S /T /U /V /W
|
||||
/X /Y /Z /bracketleft /won /bracketright /asciicircum /underscore
|
||||
/grave /a /b /c /d /e /f /g
|
||||
/h /i /j /k /l /m /n /o
|
||||
/p /q /r /s /t /u /v /w
|
||||
/x /y /z /braceleft /bar /braceright /overline /.notdef
|
||||
128{/.notdef}repeat]
|
||||
/Encoding defineresource pop
|
||||
% vim:ff=unix:
|
||||
%%EOF
|
||||
@ -5,13 +5,15 @@
|
||||
% Editing of this file is NOT RECOMMENDED. You run a very good risk of causing
|
||||
% all PostScript printing from VIM failing if you do. PostScript is not called
|
||||
% a write-only language for nothing!
|
||||
/packedarray where not{userdict begin/setpacking/pop load def/currentpacking
|
||||
false def end}{pop}ifelse/CP currentpacking def true setpacking
|
||||
/bd{bind def}bind def/ld{load def}bd/ed{exch def}bd/d/def ld
|
||||
/db{dict begin}bd/cde{currentdict end}bd
|
||||
/T true d/F false d
|
||||
/SO null d/sv{/SO save d}bd/re{SO restore}bd
|
||||
/L2 systemdict/languagelevel 2 copy known{get exec}{pop pop 1}ifelse 2 ge d
|
||||
/m{moveto}bd/s{show}bd/ms{m s}bd/g{setgray}bd/r{setrgbcolor}bd/sp{showpage}bd
|
||||
/gs{gsave}bd/gr{grestore}bd/cp{currentpoint}bd
|
||||
/m/moveto ld/s/show ld /ms{m s}bd /g/setgray ld/r/setrgbcolor ld/sp{showpage}bd
|
||||
/gs/gsave ld/gr/grestore ld/cp/currentpoint ld
|
||||
/ul{gs UW setlinewidth cp UO add 2 copy newpath m 3 1 roll add exch lineto
|
||||
stroke gr}bd
|
||||
/bg{gs r cp BO add 4 -2 roll rectfill gr}bd
|
||||
@ -36,6 +38,7 @@ put}{pop pop}ifelse}forall/Encoding findresource dup length 256 eq{NFD/Encoding
|
||||
ifelse 2 copy known{2 copy get dup maxlength dict copy[/questiondown/space]{2
|
||||
copy known{2 copy get 2 index/.notdef 3 -1 roll put pop exit}if pop}forall put
|
||||
}{pop pop}ifelse dup NFD/FontName 3 -1 roll put NFD definefont pop end}bd
|
||||
CP setpacking
|
||||
(\004)cvn{}bd
|
||||
% vim:ff=unix:
|
||||
%%EOF
|
||||
|
||||
Reference in New Issue
Block a user