diff options
| author | mathog <> | 2015-10-29 19:47:45 +0000 |
|---|---|---|
| committer | mathog <> | 2015-10-29 19:47:45 +0000 |
| commit | cb75f9913807063d2c15d68b4b1fcbb7ac9df408 (patch) | |
| tree | d73e657b02e008b86c0f2f63b09d8cb22388b867 /src/extension/internal/emf-inout.cpp | |
| parent | Dutch translation update (diff) | |
| download | inkscape-cb75f9913807063d2c15d68b4b1fcbb7ac9df408.tar.gz inkscape-cb75f9913807063d2c15d68b4b1fcbb7ac9df408.zip | |
patch for bug 1511508
(bzr r14435)
Diffstat (limited to 'src/extension/internal/emf-inout.cpp')
| -rw-r--r-- | src/extension/internal/emf-inout.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/extension/internal/emf-inout.cpp b/src/extension/internal/emf-inout.cpp index e88cf3d42..68b38f5ee 100644 --- a/src/extension/internal/emf-inout.cpp +++ b/src/extension/internal/emf-inout.cpp @@ -1174,10 +1174,7 @@ Emf::select_extpen(PEMF_CALLBACK_DATA d, int index) if (!d->dc[d->level].style.stroke_dasharray.values.empty() && (d->level==0 || (d->level>0 && d->dc[d->level].style.stroke_dasharray.values!=d->dc[d->level-1].style.stroke_dasharray.values))) d->dc[d->level].style.stroke_dasharray.values.clear(); for (unsigned int i=0; i<pEmr->elp.elpNumEntries; i++) { -// Doing it this way typically results in a pattern that is tiny, better to assume the array -// is the same scale as for dot/dash below, that is, no scaling should be applied -// double dash_length = pix_to_abs_size( d, pEmr->elp.elpStyleEntry[i] ); - double dash_length = pEmr->elp.elpStyleEntry[i]; + double dash_length = pix_to_abs_size( d, pEmr->elp.elpStyleEntry[i] ); d->dc[d->level].style.stroke_dasharray.values.push_back(dash_length); } d->dc[d->level].style.stroke_dasharray.set = 1; |
