summaryrefslogtreecommitdiff
path: root/src/drv
diff options
context:
space:
mode:
authorscuri <scuri>2010-05-12 21:08:26 +0000
committerscuri <scuri>2010-05-12 21:08:26 +0000
commitd398073d6172282659e91eeaa2d6452a3144ebc3 (patch)
treecfe43f43228891ac808ac70955f472cabb434dc2 /src/drv
parentb7d97c7ed82f0d0472cf0c2ae5d61e99a73b33a8 (diff)
*** empty log message ***
Diffstat (limited to 'src/drv')
-rw-r--r--src/drv/cdpdf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drv/cdpdf.c b/src/drv/cdpdf.c
index 6a20748..f2c608f 100644
--- a/src/drv/cdpdf.c
+++ b/src/drv/cdpdf.c
@@ -799,7 +799,7 @@ static int cdhatch(cdCtxCanvas *ctxcanvas, int style)
int hhalf = hsize / 2;
PDF_suspend_page(ctxcanvas->pdf, "");
- ctxcanvas->pattern = PDF_begin_pattern(ctxcanvas->pdf, hsize+1, hsize+1,
+ ctxcanvas->pattern = PDF_begin_pattern(ctxcanvas->pdf, hsize, hsize,
((double)hsize)*ctxcanvas->scale, ((double)hsize)*ctxcanvas->scale, 1);
PDF_scale(ctxcanvas->pdf, ctxcanvas->scale, ctxcanvas->scale);