MahApps / MahApps.Metro.IconPacks

Awesome icon packs for WPF and UWP in one library
MIT License
1.77k stars 222 forks source link

Flipped icon paths? #309

Closed jotalanusse closed 7 months ago

jotalanusse commented 1 year ago

Describe the bug Icon paths for the BoxIcons icon library are all flipped vertically.

To Reproduce Steps to reproduce the behavior:

  1. Navigate to PackIconBoxIconsDataFactory.cs.
  2. Scroll down to any icon path definition.
  3. It's flipped.

Expected behavior Icon paths should not be flipped vertically

Screenshots Flipped Discord logo as seen on a SVG path editor: Flipped Discord logo

Desktop Environment:

Repo Does not apply.

Additional context Does not apply.

timunie commented 1 year ago

I think this is known and comes due to the icon data. That's why some icon controls need to flip their content as well. See: https://github.com/MahApps/MahApps.Metro.IconPacks/blob/a08c2d1af4817c56e7cf6b94b012229871ec50a7/src/MahApps.Metro.IconPacks/Themes/WPF/PackIconBoxIcons.xaml#L33-L35

You may want to try https://github.com/MahApps/IconPacks.Browser which should get the path data correctly flipped if you export it to svg:

image

Result in Inkscape: image