[gs-commits] ghostpdl branch, master, updated. jbig2dec-0.14-2038-g97ac0f6
[email protected] (Nancy Durgin) Thu, 19 Dec 2019 18:12:46 +0000 (UTC)
| Newsgroups | gmane.comp.printing.ghostscript.cvs |
|---|---|
| Message-ID | <[email protected]> |
The ghostpdl branch, master has been updated
via 97ac0f6ef4010e0a49bf6f8f4515c32a5695df68 (commit)
from 719bf1f2c4104d933767d37e62489535e8ba9a17 (commit)
----------------------------------------------------------------------
commit 97ac0f6ef4010e0a49bf6f8f4515c32a5695df68
Author: Nancy Durgin <[email protected]>
Date: Thu Dec 19 09:22:32 2019 -0800
PDF interpreter -- take out manually drawn rectfill
We can now just draw the rectangle directly with rectfill.
Whatever issue ken ran into 5 years ago no longer applies.
See also Bug 693731
diff --git a/Resource/Init/pdf_draw.ps b/Resource/Init/pdf_draw.ps
index 4353893..75a94f6 100644
--- a/Resource/Init/pdf_draw.ps
+++ b/Resource/Init/pdf_draw.ps
@@ -4520,11 +4520,7 @@ currentdict /set_bc_color undef
5 index /RD knownoget {
applyRD
} if
- %% Somewhat horrifyingly, rectfill maps directly to the device fill_rectangle
- %% method, which bypasses transparency (!!) So we construct the rectangle,
- %% and fill it, manually instead....
- gsave 4 2 roll moveto 1 index 0 rlineto
- 0 exch rlineto neg 0 rlineto closepath fill grestore
+ rectfill
} if
%% get and process the default appearance string, if we don't have one, use a default
Summary of changes:
Resource/Init/pdf_draw.ps | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)