primer / octicons

A scalable set of icons handcrafted with <3 by GitHub

Home Page:https://primer.style/foundations/icons

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] SVG Files are Malformed on Windows and won't correctly open in Illustrator CC 2022

futuremotiondev opened this issue · comments

commented

Describe the bug

  1. Download the current version of Octicons.
  2. Open the "Icons" sub-directory in thumbnail view with an appropriate Explorer extension.
  3. Icons are completely distorted (See image below)

Distorted Icons

  1. Try to open any icon in Adobe Illustrator CC.
  2. Icon doesn't load properly (See image below)

Illustrator_Pr8Ss7PtKn

Expected behavior

Icons don't appear distorted in Windows Explorer.
Icons load correctly in Adobe Illustrator.

Device details

Desktop (please complete the following information):

  • OS: Windows 10 21H2

Additional info

Running the icons through SVGO makes the icons "work" again. But I don't know if the optimizations made are removing important information. I want to use these icons at small sizes (16px) so precision is important to me. It would be great if you guys could release an official fix.

Hi @visusys, thanks for reporting this bug. At this time our teams are only supporting Figma as a primary design tool and do not have any future plans to support export and usage in other design tools. If you have access to Figma, you can always refer to the Octicons community file and download icons in your preferred format there.

commented

Alright. Thank you for the clarification. It's a bit odd though that you wouldn't support Illustrator at all.

Either way, a SVGO pass solved the issue for me so maybe someone having the same issue might find this thread useful.

Thanks again.