summaryrefslogtreecommitdiff
path: root/xps/xpsglyphs.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2010-02-16 17:58:02 +0000
committerTor Andersson <tor.andersson@artifex.com>2010-02-16 17:58:02 +0000
commit5b0688571515724acee674eede1bff3f35ce0ed1 (patch)
treed9d3b5f603019c0418cf508f15a1e8c6a8a25552 /xps/xpsglyphs.c
parenta9612736dafc2712f30b3e6a73ad92b6813611eb (diff)
downloadghostpdl-5b0688571515724acee674eede1bff3f35ce0ed1.tar.gz
Use a tighter bounding box when creating transparency
groups used to draw paths with opacity or opacity masks. There are some minor single-pixel color differences in the rendering of some gradients. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@10753 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'xps/xpsglyphs.c')
-rw-r--r--xps/xpsglyphs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xps/xpsglyphs.c b/xps/xpsglyphs.c
index aefc9c09b..9b2b027fb 100644
--- a/xps/xpsglyphs.c
+++ b/xps/xpsglyphs.c
@@ -676,7 +676,7 @@ xps_parse_glyphs(xps_context_t *ctx,
if (clip_att || clip_tag)
{
- xps_unclip(ctx, &saved_bounds);
+ xps_restore_bounds(ctx, &saved_bounds);
}
xps_release_part(ctx, part);