annotate runtime/print/cidfont.ps @ 16154:f344647acbbc v8.1.1082

patch 8.1.1082: "Conceal" match is mixed up with 'hlsearch' match. commit https://github.com/vim/vim/commit/ab62c19ea034d76632bbbf4265a9fc17e7508541 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 30 16:39:05 2019 +0100 patch 8.1.1082: "Conceal" match is mixed up with 'hlsearch' match. Problem: "Conceal" match is mixed up with 'hlsearch' match. Solution: Check that a match is found, not a 'hlsearch' item. (Andy Massimino, closes #4073)
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 Mar 2019 16:45:04 +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