summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2018-04-15 11:11:33 -0400
committerJan Holesovsky <kendy@collabora.com>2018-06-01 08:59:19 +0200
commit6e2b51b91e6714efb2e9595d6be5c80cf3b1216f (patch)
treef4c0d133c290c64537e32dc35f5c4c6cb2af3979 /svx
parentaf65cce147b549e9eb5a0451d0f7e81998721ac8 (diff)
svx: path line width is given as full thickness in PDF
Change-Id: I728d962ea65ad1671e3b4c76034d396bee84228e
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdpdf.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdpdf.cxx b/svx/source/svdraw/svdpdf.cxx
index 38762f363cc9..642f562d6a1b 100644
--- a/svx/source/svdraw/svdpdf.cxx
+++ b/svx/source/svdraw/svdpdf.cxx
@@ -1361,6 +1361,7 @@ void ImpSdrPdfImport::ImportPath(FPDF_PAGEOBJECT pPageObject, int nPageObjectInd
const double dWidth = fabs(sqrt2(a, c) * fWidth);
SAL_WARN("sd.filter", "Path Stroke Width scaled: " << dWidth);
mnLineWidth = lcl_ToLogic(lcl_PointToPixel(dWidth));
+ mnLineWidth /= 2;
unsigned int nR;
unsigned int nG;