History log of /inkscape/src/extension/internal/emf-print.cpp
Revision Date Author Comments Expand
4eb9446837011e32e75978f10d405765add7aabf 11-Mar-2016 mathog <>

patch for bug 1538361, work around limits in mingw/MSVCRT

78d3e623de22f9dd5f1e7d2ee4ee90b24b96b481 28-Jan-2016 mathog <>

patch fixes bug 1538786

0a2eb3db73cd91971ada6cd48256c2592ed29f54 17-Jan-2016 mathog <>

patch probably fixes bug 1534833

b586b842618f8a3a71c2f4fd59d3abbafad3229f 29-Oct-2015 mathog <>

patch for bug 1511508

d5e46a2362bebf7a470625d9518498add9edb856 03-May-2015 Tomasz Boczkowski <penginsbacon@gmail.com>

renamed SPPattern methods to match coding style

76addc201c409e81eaaa73fe27cc0f79c4db097c 28-Apr-2015 Krzysztof Kosiński <tweenk.pl@gmail.com>

2Geom sync - initial commit

/inkscape/src/2geom/2geom.h /inkscape/src/2geom/CMakeLists.txt /inkscape/src/2geom/Makefile_insert /inkscape/src/2geom/affine.cpp /inkscape/src/2geom/affine.h /inkscape/src/2geom/angle.h /inkscape/src/2geom/basic-intersection.cpp /inkscape/src/2geom/basic-intersection.h /inkscape/src/2geom/bezier-clipping.cpp /inkscape/src/2geom/bezier-curve.cpp /inkscape/src/2geom/bezier-curve.h /inkscape/src/2geom/bezier-to-sbasis.h /inkscape/src/2geom/bezier-utils.cpp /inkscape/src/2geom/bezier.cpp /inkscape/src/2geom/bezier.h /inkscape/src/2geom/cairo-path-sink.cpp /inkscape/src/2geom/cairo-path-sink.h /inkscape/src/2geom/circle.cpp /inkscape/src/2geom/circle.h /inkscape/src/2geom/circulator.h /inkscape/src/2geom/concepts.h /inkscape/src/2geom/conic_section_clipper.h /inkscape/src/2geom/conic_section_clipper_cr.h /inkscape/src/2geom/conic_section_clipper_impl.cpp /inkscape/src/2geom/conic_section_clipper_impl.h /inkscape/src/2geom/conicsec.cpp /inkscape/src/2geom/conicsec.h /inkscape/src/2geom/conjugate_gradient.cpp /inkscape/src/2geom/convex-cover.h /inkscape/src/2geom/convex-hull.cpp /inkscape/src/2geom/convex-hull.h /inkscape/src/2geom/coord.cpp /inkscape/src/2geom/coord.h /inkscape/src/2geom/crossing.cpp /inkscape/src/2geom/crossing.h /inkscape/src/2geom/curve.cpp /inkscape/src/2geom/curve.h /inkscape/src/2geom/curves.h /inkscape/src/2geom/d2-sbasis.cpp /inkscape/src/2geom/d2-sbasis.h /inkscape/src/2geom/d2.h /inkscape/src/2geom/ellipse.cpp /inkscape/src/2geom/ellipse.h /inkscape/src/2geom/elliptical-arc.cpp /inkscape/src/2geom/elliptical-arc.h /inkscape/src/2geom/exception.h /inkscape/src/2geom/forward.h /inkscape/src/2geom/generic-interval.h /inkscape/src/2geom/generic-rect.h /inkscape/src/2geom/geom.cpp /inkscape/src/2geom/geom.h /inkscape/src/2geom/hvlinesegment.h /inkscape/src/2geom/int-point.h /inkscape/src/2geom/intersection-graph.cpp /inkscape/src/2geom/intersection-graph.h /inkscape/src/2geom/intersection.h /inkscape/src/2geom/interval.h /inkscape/src/2geom/line.cpp /inkscape/src/2geom/line.h /inkscape/src/2geom/linear.h /inkscape/src/2geom/nearest-time.cpp /inkscape/src/2geom/nearest-time.h /inkscape/src/2geom/numeric/fitting-model.h /inkscape/src/2geom/numeric/matrix.h /inkscape/src/2geom/numeric/symmetric-matrix-fs-operation.h /inkscape/src/2geom/numeric/symmetric-matrix-fs-trace.h /inkscape/src/2geom/numeric/symmetric-matrix-fs.h /inkscape/src/2geom/numeric/vector.h /inkscape/src/2geom/ord.h /inkscape/src/2geom/path-intersection.cpp /inkscape/src/2geom/path-intersection.h /inkscape/src/2geom/path-sink.cpp /inkscape/src/2geom/path-sink.h /inkscape/src/2geom/path.cpp /inkscape/src/2geom/path.h /inkscape/src/2geom/pathvector.cpp /inkscape/src/2geom/pathvector.h /inkscape/src/2geom/piecewise.h /inkscape/src/2geom/point.cpp /inkscape/src/2geom/point.h /inkscape/src/2geom/quadtree.cpp /inkscape/src/2geom/quadtree.h /inkscape/src/2geom/ray.h /inkscape/src/2geom/rect.cpp /inkscape/src/2geom/rect.h /inkscape/src/2geom/recursive-bezier-intersection.cpp /inkscape/src/2geom/region.cpp /inkscape/src/2geom/region.h /inkscape/src/2geom/sbasis-2d.cpp /inkscape/src/2geom/sbasis-2d.h /inkscape/src/2geom/sbasis-curve.h /inkscape/src/2geom/sbasis-geometric.h /inkscape/src/2geom/sbasis-math.h /inkscape/src/2geom/sbasis-poly.h /inkscape/src/2geom/sbasis-roots.cpp /inkscape/src/2geom/sbasis-to-bezier.cpp /inkscape/src/2geom/sbasis-to-bezier.h /inkscape/src/2geom/sbasis.cpp /inkscape/src/2geom/sbasis.h /inkscape/src/2geom/shape.cpp /inkscape/src/2geom/shape.h /inkscape/src/2geom/solve-bezier-one-d.cpp /inkscape/src/2geom/solve-bezier-parametric.cpp /inkscape/src/2geom/solve-bezier.cpp /inkscape/src/2geom/solver.h /inkscape/src/2geom/svg-elliptical-arc.cpp /inkscape/src/2geom/svg-elliptical-arc.h /inkscape/src/2geom/svg-path-parser.cpp /inkscape/src/2geom/svg-path-parser.h /inkscape/src/2geom/svg-path-writer.cpp /inkscape/src/2geom/svg-path-writer.h /inkscape/src/2geom/sweep.cpp /inkscape/src/2geom/sweep.h /inkscape/src/2geom/toposweep.cpp /inkscape/src/2geom/toposweep.h /inkscape/src/2geom/transforms.h /inkscape/src/2geom/utils.h /inkscape/src/2geom/viewbox.cpp /inkscape/src/2geom/viewbox.h /inkscape/src/conn-avoid-ref.cpp /inkscape/src/desktop-events.cpp /inkscape/src/display/cairo-utils.cpp /inkscape/src/display/curve-test.h /inkscape/src/display/curve.cpp /inkscape/src/display/curve.h /inkscape/src/display/drawing-image.cpp /inkscape/src/extension/implementation/implementation.h emf-print.cpp javafx-out.cpp latex-pstricks.cpp metafile-print.cpp odf.cpp pov-out.cpp wmf-print.cpp /inkscape/src/gradient-chemistry.cpp /inkscape/src/gradient-drag.cpp /inkscape/src/helper/geom-curves.h /inkscape/src/helper/geom-pathstroke.cpp /inkscape/src/helper/geom.cpp /inkscape/src/libdepixelize/priv/splines-kopf2011.h /inkscape/src/live_effects/Makefile_insert /inkscape/src/live_effects/effect.cpp /inkscape/src/live_effects/effect.h /inkscape/src/live_effects/lpe-angle_bisector.cpp /inkscape/src/live_effects/lpe-angle_bisector.h /inkscape/src/live_effects/lpe-attach-path.cpp /inkscape/src/live_effects/lpe-boolops.cpp /inkscape/src/live_effects/lpe-boolops.h /inkscape/src/live_effects/lpe-bounding-box.cpp /inkscape/src/live_effects/lpe-bspline.cpp /inkscape/src/live_effects/lpe-circle_3pts.cpp /inkscape/src/live_effects/lpe-circle_3pts.h /inkscape/src/live_effects/lpe-circle_with_radius.cpp /inkscape/src/live_effects/lpe-circle_with_radius.h /inkscape/src/live_effects/lpe-clone-original.cpp /inkscape/src/live_effects/lpe-constructgrid.cpp /inkscape/src/live_effects/lpe-constructgrid.h /inkscape/src/live_effects/lpe-curvestitch.cpp /inkscape/src/live_effects/lpe-curvestitch.h /inkscape/src/live_effects/lpe-ellipse_5pts.cpp /inkscape/src/live_effects/lpe-ellipse_5pts.h /inkscape/src/live_effects/lpe-fill-between-many.cpp /inkscape/src/live_effects/lpe-fill-between-strokes.cpp /inkscape/src/live_effects/lpe-fillet-chamfer.cpp /inkscape/src/live_effects/lpe-fillet-chamfer.h /inkscape/src/live_effects/lpe-gears.cpp /inkscape/src/live_effects/lpe-gears.h /inkscape/src/live_effects/lpe-interpolate.cpp /inkscape/src/live_effects/lpe-interpolate.h /inkscape/src/live_effects/lpe-interpolate_points.h /inkscape/src/live_effects/lpe-jointype.cpp /inkscape/src/live_effects/lpe-jointype.h /inkscape/src/live_effects/lpe-knot.cpp /inkscape/src/live_effects/lpe-knot.h /inkscape/src/live_effects/lpe-lattice2.cpp /inkscape/src/live_effects/lpe-line_segment.cpp /inkscape/src/live_effects/lpe-line_segment.h /inkscape/src/live_effects/lpe-mirror_symmetry.cpp /inkscape/src/live_effects/lpe-mirror_symmetry.h /inkscape/src/live_effects/lpe-offset.cpp /inkscape/src/live_effects/lpe-parallel.cpp /inkscape/src/live_effects/lpe-perp_bisector.cpp /inkscape/src/live_effects/lpe-perspective-envelope.cpp /inkscape/src/live_effects/lpe-powerstroke.cpp /inkscape/src/live_effects/lpe-powerstroke.h /inkscape/src/live_effects/lpe-rough-hatches.cpp /inkscape/src/live_effects/lpe-roughen.cpp /inkscape/src/live_effects/lpe-ruler.cpp /inkscape/src/live_effects/lpe-show_handles.cpp /inkscape/src/live_effects/lpe-show_handles.h /inkscape/src/live_effects/lpe-simplify.cpp /inkscape/src/live_effects/lpe-skeleton.cpp /inkscape/src/live_effects/lpe-skeleton.h /inkscape/src/live_effects/lpe-spiro.cpp /inkscape/src/live_effects/lpe-tangent_to_curve.cpp /inkscape/src/live_effects/lpe-taperstroke.cpp /inkscape/src/live_effects/lpe-test-doEffect-stack.cpp /inkscape/src/live_effects/lpe-test-doEffect-stack.h /inkscape/src/live_effects/lpe-vonkoch.cpp /inkscape/src/live_effects/lpe-vonkoch.h /inkscape/src/live_effects/parameter/filletchamferpointarray.cpp /inkscape/src/live_effects/parameter/filletchamferpointarray.h /inkscape/src/live_effects/parameter/originalpatharray.h /inkscape/src/live_effects/parameter/path.cpp /inkscape/src/live_effects/parameter/path.h /inkscape/src/live_effects/parameter/powerstrokepointarray.cpp /inkscape/src/object-snapper.cpp /inkscape/src/sp-conn-end.cpp /inkscape/src/sp-path.cpp /inkscape/src/sp-polygon.cpp /inkscape/src/splivarot.cpp /inkscape/src/svg/svg-path.cpp /inkscape/src/ui/tool/node.cpp /inkscape/src/ui/tool/node.h /inkscape/src/ui/tool/path-manipulator.cpp /inkscape/src/ui/tools/gradient-tool.cpp /inkscape/src/ui/tools/mesh-tool.cpp /inkscape/src/ui/tools/pen-tool.cpp
06517eb74772b7c18a8ab8d703405646d9ec05d3 27-Apr-2015 mathog <>

patch for bugs 1447850 and 1447382

41fe3f808697419ddead60fc7bcc425166c05c26 26-Feb-2015 mathog <>

fix for bug 1425317

f04e1d874e4b3956e4b162f2aedff3f035bbb111 09-Feb-2015 mathog <>

fix for bug 1405292

153362cd6667a5a3eaf7549513643fe1f8855268 24-Nov-2014 Johan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>

Units: make it absolutely clear that Document properties unit dropdown is for UI Display Units. Upon document load, calculate the units used for SVG values, if a viewbox is available. If not, default to "px" SVG units. Change all code to use either Display units OR svg units.

/inkscape/src/document.cpp /inkscape/src/document.h emf-print.cpp grid.cpp /inkscape/src/live_effects/lpe-roughen.cpp /inkscape/src/seltrans.cpp /inkscape/src/sp-guide.cpp /inkscape/src/sp-namedview.cpp /inkscape/src/sp-namedview.h /inkscape/src/sp-text.cpp /inkscape/src/ui/dialog/clonetiler.cpp /inkscape/src/ui/dialog/document-properties.cpp /inkscape/src/ui/dialog/export.cpp /inkscape/src/ui/dialog/guides.cpp /inkscape/src/ui/dialog/transformation.cpp /inkscape/src/ui/tool/node.cpp /inkscape/src/ui/tools/arc-tool.cpp /inkscape/src/ui/tools/pen-tool.cpp /inkscape/src/ui/tools/rect-tool.cpp /inkscape/src/ui/tools/spiral-tool.cpp /inkscape/src/ui/tools/star-tool.cpp /inkscape/src/ui/tools/text-tool.cpp /inkscape/src/ui/widget/page-sizer.cpp /inkscape/src/ui/widget/selected-style.cpp /inkscape/src/util/units.cpp /inkscape/src/util/units.h /inkscape/src/verbs.cpp /inkscape/src/widgets/desktop-widget.cpp /inkscape/src/widgets/lpe-toolbar.cpp /inkscape/src/widgets/node-toolbar.cpp /inkscape/src/widgets/rect-toolbar.cpp /inkscape/src/widgets/select-toolbar.cpp /inkscape/src/widgets/stroke-style.cpp
2d7e3411a6d25ef5810453c17fe591dcf04d5d05 04-Sep-2014 mathog <>

resolves bug 1348417 and implements addition features for bug 1302857

4e47dd454b9d10cbca9ad0390cfbd176858287b8 22-Jul-2014 Markus Engel <markus.engel@tum.de>

Replaced some abs/fabs with std::abs.

ee2453b21ae671426e06077c5c2668099f7639d3 16-Jul-2014 Jon A. Cruz <jon@joncruz.org>

Warnings cleaup.

e4d0d1c466c86f5b22ab20cd2acd612978d3e86e 27-May-2014 Tomasz Boczkowski <penginsbacon@gmail.com>

SPPattern c++-sification: replacing pattern_ functions by methods pt1

034d7ccaa6acbcd03e37974a2d164706862c32a2 29-Apr-2014 mathog <>

Improved support for clipping on EMF/WMF import, see bug 1302857

e921dc620c456d987be0c21842e51b2bfa7b9164 24-Apr-2014 tavmjong-free <tavmjong@free.fr>

Clean up of style code, removal of SPFontStyle. Step 2.

2bf3910a9fbe18eb8fb519f02f9d49d68df7ee7a 25-Mar-2014 David Mathog <mathog@caltech.edu>

Patch for several issues in libuemf. ----- The patch: 1. Removes half a dozen or so code lines that didn't do anything. 2. Fixes a couple of missing tests for pointers which cannot be NULL. (Note that in many instances the pseudoobject functions in upmf.c do accept null pointers because the objects being constructed have optional parts.) 3. There was one "real" potential memory leak (line 6276 in upmf.c, numbers before the patch). I fixed the others too, but they just never happen (iconv would have to fail in some strange way.) There are no (real) memory access violations or memory leaks in any of this either in standalone libUEMF testing or in use as part of Inkscape as determined from valgrind runs.

27acb80f0e43fa9691dc5826e77c9c8eff8b7d47 23-Mar-2014 Johan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>

emf-print.cpp : fix coding... :'(

50798151d41fedb617fe7aa1d06e38b6a7b075c7 18-Mar-2014 Jon A. Cruz <jon@joncruz.org>

Warning cleanups.

a2220686e6f3bc4aedd8140090696151d6cf1a00 11-Mar-2014 tavmjong-free <tavmjong@free.fr>

Change stroke-dasharray and stroke-dashoffset handling to match other properties. Split style.h into more manageable size files.

5879527bc41c3d47f37440fb8b83edb9c48080cc 22-Feb-2014 mathog <mathog@caltech.edu>

Fix 'preserveAspectRatio' attribute of bitmap images in EMF/WMF import/export (bug #1278645).

5da08901f6f284dfb64e741ed2f6287d9cfc087a 08-Feb-2014 mathog <mathog@caltech.edu>

EMF/WMF support: Various changes (see bug #1263242 c35 for details) EMF support: - linear gradients: improve numeric stability on round-trip editing - linear gradients: fix scaling issue libTERE/text_reassemble update: - improve handling of whitespace created with large x kerns - fix handling of absolute RTL-positioning of LTR text in EMF files WMF support: - fix support for 'textout' records and Placeable headers - add support for CREATEPATTERNBRUSH - fix offset on load if opened via GUI (bug #1250250)

01090b02876d0697922e2af88ee0a8bee5f6c1e3 22-Jan-2014 mathog <mathog@caltech.edu>

EMF export: fix handling of transformed rectangular gradients (bug #1263242)

1df6105803c4c56c020a56301c7c9c4890fd4158 18-Jan-2014 mathog <mathog@caltech.edu>

libUEMF update; EMF linear gradient bug fixes (bug #1263242)

/inkscape/src/extension/CMakeLists.txt Makefile_insert emf-inout.cpp emf-inout.h emf-print.cpp emf-print.h metafile-inout.cpp metafile-inout.h metafile-print.cpp wmf-inout.cpp wmf-inout.h wmf-print.cpp /inkscape/src/libuemf/CMakeLists.txt /inkscape/src/libuemf/Makefile_insert /inkscape/src/libuemf/README /inkscape/src/libuemf/uemf.c /inkscape/src/libuemf/uemf.h /inkscape/src/libuemf/uemf_endian.c /inkscape/src/libuemf/uemf_endian.h /inkscape/src/libuemf/uemf_print.c /inkscape/src/libuemf/uemf_print.h /inkscape/src/libuemf/uemf_utf.c /inkscape/src/libuemf/uemf_utf.h /inkscape/src/libuemf/upmf.c /inkscape/src/libuemf/upmf.h /inkscape/src/libuemf/upmf_print.c /inkscape/src/libuemf/upmf_print.h /inkscape/src/libuemf/uwmf.c /inkscape/src/libuemf/uwmf.h /inkscape/src/libuemf/uwmf_endian.c /inkscape/src/libuemf/uwmf_endian.h /inkscape/src/libuemf/uwmf_print.c /inkscape/src/libuemf/uwmf_print.h
e4b626a9206e4fabf4fc7601dfa14b133c2a27f0 19-Sep-2013 Krzysztof Kosiński <tweenk.pl@gmail.com>

Encapsulate the shared memory hack for Cairo and GdkPixbuf in a class called Inkscape::Pixbuf. Replace usage in the code as appropriate.

453a8671e6992250324846d0b76f02801221c760 15-Sep-2013 Matthew Petroff <matthew@mpetroff.net>

Improved code readability.

1710c8729db34263e50b443e7fcf541d3cffa005 02-Sep-2013 Krzysztof Kosiński <tweenk.pl@gmail.com>

Unduplicate some code in the metafile printing extensions

6a55cc6751be1162fa737fa656ffae0729c2e2a0 31-Aug-2013 Krzysztof Kosiński <tweenk.pl@gmail.com>

Move libuemf to a separate directory. Rename libunicode-convert to symbol_convert and put it in libuemf.

/inkscape/configure.ac /inkscape/po/POTFILES.in /inkscape/src/CMakeLists.txt /inkscape/src/Makefile.am Makefile_insert emf-inout.cpp emf-inout.h emf-print.cpp emf-print.h text_reassemble.c wmf-inout.cpp wmf-inout.h wmf-print.cpp wmf-print.h /inkscape/src/libnrtype/Layout-TNG-Output.cpp /inkscape/src/libuemf/CMakeLists.txt /inkscape/src/libuemf/Makefile_insert /inkscape/src/libuemf/README /inkscape/src/libuemf/makefile.in /inkscape/src/libuemf/symbol_convert.c /inkscape/src/libuemf/symbol_convert.h /inkscape/src/libuemf/uemf.c /inkscape/src/libuemf/uemf.h /inkscape/src/libuemf/uemf_endian.c /inkscape/src/libuemf/uemf_endian.h /inkscape/src/libuemf/uemf_print.c /inkscape/src/libuemf/uemf_print.h /inkscape/src/libuemf/uemf_utf.c /inkscape/src/libuemf/uemf_utf.h /inkscape/src/libuemf/uwmf.c /inkscape/src/libuemf/uwmf.h /inkscape/src/libuemf/uwmf_endian.c /inkscape/src/libuemf/uwmf_endian.h /inkscape/src/libuemf/uwmf_print.c /inkscape/src/libuemf/uwmf_print.h /inkscape/src/libunicode-convert/Makefile_insert /inkscape/src/libunicode-convert/README /inkscape/src/style.h
aefaed7646cce60b4b2d4b2f7411234949539482 29-Aug-2013 ~suv <suv-sf@users.sourceforge.net>

adapt to changes in r12471 (unit refactoring)

9a8ade3834e2a67c1d95bcfc900ab36be37a03a5 19-Jun-2013 David Mathog <>

changes_2013_05_22a.patch: 1. Resolves issue of bug #988601 message 170 (Support of 'Unset' styles in EMF export). 2. Implements CSS 3 (and CSS 2) text-decoration support. Note that it does not yet provide any method of adding these features - at present it just shows whatever is in the SVG. This new code is also used to display EMF/WMF strike-through and underline text decorations when these files are read in. Those decorations may also be written out to EMF/WMF. Other text decoration features, like overline, or dotted lines, are dropped. For SVG text-decoration -line, -style, -color are all implemented. CSS3 provides two ways to represent the same state, this code uses the compound text-decoration method rather than the 3 fields method. Also it leaves out keywords that are not needed and would break backwards compatibility. For instance: text-decoration: underline solid is valid, but would break CSS2. Solid is the default, so that sort of case is written as: text-decoration: underline If the state is CSS3 specific all of the needed fields are of course include, like text-decoration: underline wavy red 3. It incorporates the fix for bug 1181326 (Text edit mishandles span of just colored spaces) 4. It incorporates further changes to text editing so that style can be changed on spans consisting of only spaces when text decorations are present in the span. 5. It incorporates code to disable text decorations when text so marked is mapped onto a path. 6. Fixed more bugs in Hebrew language support than I can remember. Hebrew language export/import to EMF now works quite well. (See the examples in libTERE v 0.7.) WMF does not support unicode and for all intents and purposes Inkscape has no way to read or write Hebrew to it. Some of more important things that now work that didn't (or didn't always): Hebrew diacritical marks, R/L/center justification, and bidirectional text. The Hebrew fonts "Ezra SIL" and "EZRA SIL SR" should be installed before viewing the libTERE examples, otherwise font substitutions will cause some text shifts. 7. Implemented font failover in Text Reassemble, which makes the process more robust. (Again, see the examples in libTERE. )

089478b5b462b98a7ecb34496c6f15eb315b9a18 21-Mar-2013 David Mathog <>

988601-changes_2013_03_20a.patch 1. Fixes the clang warnings noted in a post above, other than those associated with alignment caused by casting. 2. Fixes some minor rounding errors in both WMF and EMF input/output. Round trip open/save cycles are conservative for EMF and WMF files (excluding any features that are not full supported in inkscape or the target file format, for instance, gradients, which must be emulated.) 3. Fixed a missing break in the input WMF LINETO record handling, which was falling through into the MOVETO and generating a harmless extra "M" operation in a path. 4. WMF has no POLYPOLYLINE record. However input that maps into essentially a polypolyline record in SVG is common, for instance dashed lines that have been converted to line segments. These end up in SVG as a series of M L M L draw commands in the path. Earlier each M L pair was going out as a polyline record, now they go as a series of MOVETO/LINETO records. The primary reason for this change is that without this change the behavior described in (2) does not occur. 5. Fixed an issue where polyline and polygon records in some instances ended up with an extra copy of their last point.

5530d4cb2db040e48228f2f4a525e3dabb15b057 19-Mar-2013 David Mathog <>

changes_2013_03_18c.patch This set of patches does the following: 1. Fixed a typo ( where "+ sizeof()" should have been "* sizeof()") which caused a memory problem for EMF/WMF files with very large numbers of hatches. 2. Added support for background mode, background color, and textcolor in hatches. EMF/WMF files change these parameters but the change may be silent until many records later. This has the odd effect that a stroke or fill may be defined (in SVG) and then it is ignored later and replaced with one with a different background color. 3. Fixed WMF output so that it wasn't adding +1 to the number of pixels for Width and Height. (Allows WMF files to go through several cycles of save as, open without changing sizes.) 4. Cleaned up indenting of [ew]mf-{print|inout}.* files, to make them compliant with the inkscape standard. All indents are (I hope) now 4*i deep. 5. Added underline/strikeout support for text read from EMF/WMF files. Inkscape itself cannot currently render this, but it makes it into the SVG, and it shows up correctly when that SVG is read by Opera. 6. Took out all the "throw" calls, replacing them with g_error(). If this comes up again in debugging a define can be used to remap the g_error to temporarily reintroduce the throw so that gdb can catch them. 7. Took out the "%6lf" format changes from patch 11724, retained the "127" length limit in the same sscanf. 8. Put the C type casts back in, reversing those changes from patch 11724. This is a style issue, and I could not find clear guidance for which way to go. (Nor a good rationale for keeping the lengthier C++ syntax.) So I reviewed a large swath of other inkscape code to see if there was a trend and found a very large number of other sections that were using C style casts instead of the more verbose C++ forms. So I kept it the way it has been. 9. The locale changes from 11724 were of course retained.

4435dfc4450d7433e8a61703233aaf1830458d2c 13-Mar-2013 Kris <Kris.De.Gussem@hotmail.com>

Prevent crashing on windows systems due to locale issues

10b77f97a176647caa068363224704062325ec4a 08-Mar-2013 David Mathog <>

changes_2013_02_25a.patch New: WMF import/export implements WMF (Windows Metafile) read and write. Inkscape previously supported that through uniconverter, which was not very good with WMF files. The new version now has a complete wmf-print/wmf-inout implementation, analogous to the previous emf-print/emf-inout. This handles images, patterns, and various other goodies to the extent that WMF does. WMF is a bit primitive, many fields are only 16 bits, so it even more resolution sapping issues than does EMF. Given the choice, always use the latter format.

7221236468b0b60c925a058fb7a1919a141202d4 13-Feb-2013 David Mathog <>

changes_2013_02_01b.patch EMF import: - Fix for EMF files with MODIFYWINDOWTRANSFORM records containing rotations - Add support for embedded PNG and JPG images - Fix for PowerPoint patterns EMF export: - Rotated images are exported using MODIFYWINDOWTRANSFORM records - Add output option to allow unrotated output (e.g. for PowerPoint 2003) - Don't rotate hatch and image fills on export libTERE: - Fix bug with misplaced words in LTR text (fix for RTL untested)

14d5f6c1726326ebd2b3e1576c8881c1a3e1599e 25-Oct-2012 David Mathog <>

changes_2012_10_22b.patch, changes_2012_10_24a.patch EMF import (Adobe Illustrator EMF files): - workaround for issue with page scaling ('MM_ANISOTROPIC', wrong units) - fix SETWORLDTRANSFORM operation - fix libUEMF to support older/shorter EMF header forms EMF import (general): - fix import of shapes (rectangles) without borders - handle EMF bitmap modes where a subsection of the image is extracted EMF export/import: - increased size in mm of the reference device by 100X on EMF export (significant when the dpi is calculated on reading the EMF back in) - changed dpi calculation: (sum of pixels ref device)/(sum of millimeter ref device)

468c086269204fcf466da85214cfd260b4e88a7d 04-Oct-2012 David Mathog <>

update based on patch 'changes_2012_09_27b.patch'

bf59a669af4d335c3d05297bdf06cf4f5e0ea8a3 27-Sep-2012 David Mathog <>

fix compiler warnings with old GCC on Mac OS X and Solaris

00d0240eaf3986ebaeedcbeabbdb727b73a5934b 23-Sep-2012 ~suv <suv-sf@users.sourceforge.net>

Fixes bug #988601: omnibus patch for EMF input/output support (cross-platform)