fritzing / fritzing-app

Fritzing desktop application
http://fritzing.org
Other
4.04k stars 834 forks source link

SVG export reverses/flips the text #3186

Closed zeehio closed 1 year ago

zeehio commented 8 years ago

When exporting as SVG, the text is flipped and or rotated when it should not be. Tested on Linux, Fritzing-0.9.2b. I can't test on git master due to build errors (related to wrong libboost first, and libgit2 issues later).

Here is a simple example that can be used for testing:

SVG export (incorrect):

This has been converted later on to png with the GIMP so it can be viewed here: bug_export_label_rotated_schem2 svg

PNG export (correct):

bug_export_label_rotated_schem

SVG figure to see the generated "svg code"

SVG figure (In a zip file, so it can be attached in a github issue) bug_export_label_rotated_schem.svg.zip

Fritzing test

FZZ file (with zip extension added, so it can be attached in a github issue): bug_export_label_rotated.fzz.zip

zeehio commented 8 years ago

Additionally, the colors are not converted to the black silkscreen and "#F7BD13" standard copper colors. This makes some parts appear with white silkscreen, hard to distinguish if there is a white background (e.g https://github.com/fritzing/fritzing-parts/blob/master/svg/core/pcb/connector_power_pj202ah.svg)

KjellMorgenstern commented 4 years ago

Easy to reproduce with current 0.9.5 develop (and probably all other versions)

KjellMorgenstern commented 4 years ago

Possibly related to #2772