Skip to content

Commit

Permalink
Fixed incorrect handling of polygon fill modes (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxirmx authored Mar 17, 2024
1 parent d8631bc commit fef959f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ project (emf2svg)

set(emf2svg_VERSION_MAJOR 1)
set(emf2svg_VERSION_MINOR 7)
set(emf2svg_VERSION_PATCH 2)
set(emf2svg_VERSION_PATCH 3)
set(emf2svg_VERSION ${emf2svg_VERSION_MAJOR}.${emf2svg_VERSION_MINOR}.${emf2svg_VERSION_PATCH})

if(VCPKG_TARGET_TRIPLET)
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,10 @@ EMF+ RECORDS:
ChangeLogs
----------

1.7.3:

* Fixed incorrect handling of polygon fill modes

1.7.2:

* vcpkg and GHA scripts update
Expand Down
2 changes: 1 addition & 1 deletion src/lib/emf2svg_print.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ extern "C" {
*/

void fill_print(drawingStates *states) {
switch (states->currentDeviceContext.fill_mode) {
switch (states->currentDeviceContext.fill_polymode) {
case (U_ALTERNATE):
verbose_printf(" Fill Rule: U_ALTERNATE\n");
break;
Expand Down
2 changes: 1 addition & 1 deletion vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "libemf2svg",
"version-string": "1.7.2",
"version-string": "1.7.3",
"dependencies": [
"libxml2",
"libpng",
Expand Down

0 comments on commit fef959f

Please sign in to comment.