diff options
| author | mathog <> | 2015-04-28 18:11:32 +0000 |
|---|---|---|
| committer | mathog <> | 2015-04-28 18:11:32 +0000 |
| commit | 1b24834a9073b27ffe84dd0a48ebab4ef7cba46f (patch) | |
| tree | 640e4ba93d10de0acd8295cda9d15e7259696260 /src | |
| parent | Save original text in 'aria-label' attribute for accessibilty reasons. (diff) | |
| download | inkscape-1b24834a9073b27ffe84dd0a48ebab4ef7cba46f.tar.gz inkscape-1b24834a9073b27ffe84dd0a48ebab4ef7cba46f.zip | |
enable default pen object for WMF files
(bzr r14067)
Diffstat (limited to 'src')
| -rw-r--r-- | src/extension/internal/wmf-inout.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/extension/internal/wmf-inout.cpp b/src/extension/internal/wmf-inout.cpp index 30a028eec..3ab7a4e89 100644 --- a/src/extension/internal/wmf-inout.cpp +++ b/src/extension/internal/wmf-inout.cpp @@ -3085,8 +3085,12 @@ Wmf::open( Inkscape::Extension::Input * /*mod*/, const gchar *uri ) d.dc[0].style.stroke_dasharray.set = 0; d.dc[0].style.stroke_linecap.computed = 2; // U_PS_ENDCAP_SQUARE; d.dc[0].style.stroke_linejoin.computed = 0; // U_PS_JOIN_MITER; - d.dc[0].style.stroke_width.value = 1.0; // will be reset to something reasonable once WMF draying size is known + d.dc[0].style.stroke_width.value = 1.0; // will be reset to something reasonable once WMF drawing size is known d.dc[0].style.stroke.value.color.set( 0, 0, 0 ); + d.dc[0].stroke_set = true; + + // Default brush is none - no fill. WMF files that do not specify a brush are unlikely to look very good! + d.dc[0].fill_set = false; d.dc[0].font_name = strdup("Arial"); // Default font, set only on lowest level, it copies up from there WMF spec says device can pick whatever it wants |
