Skip to content

Fix the issue that SVG bitmap generation does not works well when thumbnail pixel size set to zero, fix the logic to calculate the transform#25

Merged
dreampiggy merged 1 commit into
masterfrom
bugfix_svg_scale
Aug 13, 2020
Merged

Fix the issue that SVG bitmap generation does not works well when thumbnail pixel size set to zero, fix the logic to calculate the transform#25
dreampiggy merged 1 commit into
masterfrom
bugfix_svg_scale

Conversation

@dreampiggy
Copy link
Copy Markdown
Collaborator

@dreampiggy dreampiggy commented Aug 12, 2020

This fix #24

The problem related not only the code logic, but also the offset on Geometry. The previous code only works for some cases SVG which have a (0,0) view port. However, if the start point is not (0,0), the generated bitmap is wrong.

…mbnail pixel size set to none zero, fix the logic to calculate the transform
@dreampiggy dreampiggy changed the title Fix the issue that SVG bitmap generation does not works well when thumbnail pixel size set to none zero, fix the logic to calculate the transform Fix the issue that SVG bitmap generation does not works well when thumbnail pixel size set to zero, fix the logic to calculate the transform Aug 12, 2020
@dreampiggy
Copy link
Copy Markdown
Collaborator Author

@dreampiggy dreampiggy merged commit 05f0b23 into master Aug 13, 2020
@dreampiggy dreampiggy deleted the bugfix_svg_scale branch August 13, 2020 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to render SVG image on watchOS

1 participant