Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: mathog/libUEMF

Tags

v0.2.8

Toggle v0.2.8's commit message
Fixed warnings from newer compilers. Fixed truncation of one string i…

…n testbed outputs files, from 32 to 31 bytes (seen on CentOS 8 with gcc 8.3.1 but not CentOS 7 with gcc 4.8.5)

v0.2.7

Toggle v0.2.7's commit message
Added CMakeLists.txt for linux. Added cmake instructions in README. F…

…ixed typo in README build instructions. Error checking added to testit.sh. Increased max records in cutemf from 10K to 10M.

v0.2.6

Toggle v0.2.6's commit message
Fixed typo in upmf.c discovered by David Binderman.

v0.2.5

Toggle v0.2.5's commit message
Fixed a misplaced paren in uemf.h (thanks to Tavmjong Bah for noticin…

…g it) Added more U_SIZE_* definitions in uemf.h for "cores" of record types with final variable length arrays, such as U_SIZE_EMRNAMEDESCAPE Removed redundant U_SIZE_BITMAPINFOHEADER definition from uwmf.h

v0.2.4

Toggle v0.2.4's commit message
Record EXTSELECTCLIPRGN is supposed to be valid when the RgnDataSize …

…is 0 if the RegionMode is "COPY". Modified safe and print routines so that they would handle this situation. U_PMR_DrawDriverstring seen for the first time and it crashed reademf. Reason, there was a spurious "Tension" value in the structure, which offset values in the record.

v0.2.3

Toggle v0.2.3's commit message
Fixed an assortment of warnings and a couple of bugs flagged by clang…

… static analysis.

v0.2.2

Toggle v0.2.2's commit message
Added lu_crc32 sums to record information in print statements. Affect…

…s only reademf and readwmf. The point of this exercise is to enable the detection of differences in binary fields which are not expanded by the print functions. This (re)uses code from Alexander Peslyak @solardiz. lu_ in name because crc32 conflicts with other libraries, like png. Minor changes to some wmf function parameter types. Minor changes to upmf.c so that it compiles cleanly with clang. Restrict IS_MEM_UNSAFE 2nd parameter to be int or larger and test for negative values. Updated the examples from Inkscape.

v0.2.1

Toggle v0.2.1's commit message
Bug in safety check on EMREXTCREATEFONTINDIRECTW because it had alter…

…native "standard" record sizes. Changed warnings on unimplemented EMF record types encounterd in swap or safe from stdout to stderr. Added memory checking for WMF polyline and polygon records, for the variable part and some others. Note: U_WMRCREATEREGION_get does not check that the variable part stays within the record. Current implementation seems to be broken since it does not show up in XP preview.

v0.2

Toggle v0.2's commit message
0.2.0 2015-03-20 Added UEMF _safe functions to better handle corrupt …

…records, where variable sizes fields might have been specified to read past the end of memory. These are records with offsets, arrays with counts, and bitmaps. Also any record which specifies a size smaller than the minimum for that record type. Added similar code for EMF+. These changed the API so the minor version number was bumped by 1.

0.1.18 2015-01-15
Pierre-Francois Carpentier sent some EMF examples which used U_EMR_EXTSELECTCLIPRGN, which had not previously been encountered and showed that the handling of regions was broken.
Added tests for U_EMRFILLRGN, U_EMRFRAMERGN, U_EMRFRAMERGN, U_EMREXTSELECTCLIPRGN to testbed_emf.

0.1.18 2014-04-28
Fixed typo in testbed_wmf.c. "include,include" in one place should have been "exclude,exclude".

v0.1.0

Toggle v0.1.0's commit message
0.1.0 2013-01-09 Added WMF functions. Simplified print functions. Cha…

…nged output format of reademf slightly, from U_EMRXXX to U_EMR_XXX - easier to read the new way. 0.0.11 2012-12-04 Moved UTF and related functions out of uemf.c uemf.h and into uemf_utf.c uemf_utf.h. 0.0.10 2012-11-28 Discovered that not enough space was being allocated for some UTF conversions. To be safe need 4 bytes per glyph + 1 for UTF-8.