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-07 10:45:27 +0200
commitdeba630a9e3076a5fd179f9b023faf420c679276 (patch)
tree0e6bf9449fb92bb1ab034ce116155ab47aff632b /svx
parent4a65225b304b30f6e7cbfe777067f231cac1eebc (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 368281e89d44..a69ce46e00de 100644
--- a/svx/source/svdraw/svdpdf.cxx
+++ b/svx/source/svdraw/svdpdf.cxx
@@ -1363,6 +1363,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;