summaryrefslogtreecommitdiff
path: root/base/gscoord.c
diff options
context:
space:
mode:
authorRay Johnston <ray.johnston@artifex.com>2016-12-02 09:00:20 -0800
committerRay Johnston <ray.johnston@artifex.com>2016-12-02 12:26:20 -0800
commitd05c99ba9f3c1539a5b02a96ed050422677d9704 (patch)
tree9a6dc90bae523fd89ba59d2f3205942f7fa0cb79 /base/gscoord.c
parentb880332b899e0e59d17c7e48033e5cc816e5a831 (diff)
downloadghostpdl-d05c99ba9f3c1539a5b02a96ed050422677d9704.tar.gz
Remove MarginsHWResolution non-standard device parameter
Diffstat (limited to 'base/gscoord.c')
-rw-r--r--base/gscoord.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/base/gscoord.c b/base/gscoord.c
index bd2cb4232..2a8e14ab0 100644
--- a/base/gscoord.c
+++ b/base/gscoord.c
@@ -122,10 +122,8 @@ gs_defaultmatrix(const gs_gstate * pgs, gs_matrix * pmat)
dev = gs_currentdevice_inline(pgs);
gs_deviceinitialmatrix(dev, pmat);
/* Add in the translation for the Margins. */
- pmat->tx += dev->Margins[0] *
- dev->HWResolution[0] / dev->MarginsHWResolution[0];
- pmat->ty += dev->Margins[1] *
- dev->HWResolution[1] / dev->MarginsHWResolution[1];
+ pmat->tx += dev->Margins[0];
+ pmat->ty += dev->Margins[1];
return 0;
}