annotate runtime/print/cidfont.ps @ 20917:5c6a6b5a3330 v8.2.1010

patch 8.2.1010: build failure in libvterm with debug enabled Commit: https://github.com/vim/vim/commit/128d3079635ae62786a13adc435d0063a64a014a Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jun 19 17:20:41 2020 +0200 patch 8.2.1010: build failure in libvterm with debug enabled Problem: Build failure in libvterm with debug enabled. (John Little) Solution: Use "->" instead of ".".
author Bram Moolenaar <Bram@vim.org>
date Fri, 19 Jun 2020 17:30:03 +0200
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