summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/emf-inout.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Clarify licensesMax Gaukler2018-11-081-1/+2
| | | | | | - add license headers to everything - convert a few files from public domain or LGPL2.1+ to GPL2+ - some archaeology to clarify which files are from which library
* Replace typedef struct with struct in POD type declarations.Emmanuel Gil Peyrot2018-06-201-27/+21
|
* Run clang-tidy’s modernize-redundant-void-arg pass.Emmanuel Gil Peyrot2018-06-191-1/+1
|
* Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot2018-06-181-6/+6
| | | | | This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
* Run clang-tidy’s modernize-use-override pass.Emmanuel Gil Peyrot2018-06-181-5/+5
| | | | | This adds the override specifier on all methods which override a virtual method, whether they were already virtual or missing this specifier.
* moved libcroco, libuemf, libdepixelize to 3rdparty folderMarc Jeanmougin2018-04-291-3/+3
|
* patch for bugs 1447850 and 1447382mathog2015-04-271-0/+2
| | | (bzr r14062)
* resolves bug 1348417 and implements addition features for bug 1302857mathog2014-09-041-1/+2
| | | (bzr r13544)
* Improved support for clipping on EMF/WMF import, see bug 1302857mathog2014-04-291-4/+11
| | | (bzr r13322)
* Replace 'memset' by constructors. Fixes segfault from turning SPStyle into a ↵Tavmjong Bah2014-04-271-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | class. (WMF) modified: src/extension/internal/emf-inout.h src/extension/internal/wmf-inout.cpp src/extension/internal/wmf-inout.h unknown: .comments/ 1232425-fix-clang-warnings-mismatched-tags-SPStyle-r13299-v1.diff FILTERS/ RecentTextDecoChagnes.zip doxygen/ share/attributes/attindex.html share/attributes/propidx.html share/symbols/FlowSymbolsNew.svg src/cxxtests src/cxxtests.cpp src/cxxtests.log src/cxxtests.xml src/ui/dialog/symbols.cpp_new (bzr r13311)
* Replace 'memset' by constructors. Fixes segfault from turning SPStyle into a ↵Tavmjong Bah2014-04-271-8/+68
| | | | | class. (bzr r13310)
* Clean up of style code: Patch from suv: SPStyle: struct -> classTavmjong Bah2014-04-261-1/+1
| | | (bzr r13309)
* EMF/WMF support: Various changes (see bug #1263242 c35 for details)David Mathog2014-02-081-0/+1
| | | | | | | | | | | | | | | | | | | | 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) Fixed bugs: - https://launchpad.net/bugs/1263242 - https://launchpad.net/bugs/1250250 (bzr r13008)
* libUEMF update; EMF linear gradient bug fixes (bug #1263242)David Mathog2014-01-171-36/+7
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1263242 (bzr r12953)
* Move libuemf to a separate directory.Krzysztof Kosi??ski2013-08-311-1/+1
| | | | | Rename libunicode-convert to symbol_convert and put it in libuemf. (bzr r12490)
* 988601-changes_2013_03_20a.patchDavid Mathog2013-03-211-35/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | 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. (bzr r11668.1.62)
* changes_2013_03_18c.patchDavid Mathog2013-03-191-29/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. (bzr r11668.1.59)
* changes_2013_02_25a.patchDavid Mathog2013-03-081-0/+145
| | | | | | | | | | | | | | 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. (bzr r11668.1.52)
* Fixes bug #988601: omnibus patch for EMF input/output support (cross-platform)su_v2012-09-231-0/+55
(bzr r11668.1.8)