Working with icons from illustrator - bounding box and file naming
- May 24, 2022
- 1 reply
- 1718 views
Theres a couple of issues that have been driving me a bit crazy. Would love to know if anyone has a fix.
When I make an icon in illustrator, the bounding box is based on the points in the icon. The weight of the stroke might fall outside the bounding box, but that's fine. However, when I copy and paste the icon into XD, the bounding box now fits to the outside of the weight of the path. The result: a 20px square icon with a 2px stroke weight in illustrator becomes a 22px square icon in XD. The fix for this issue is to export the icons from illustrator as SVGs and then import them into XD. Then everything works as it should... However it throws up a separate issue:
If I have a bank of icons exported from illustrator with appropriate file names, when I import them into XD the files all appear with the name 'b' instead of the file name. So I'm having to rename them all again inside XD.
Both issues seem bananas to me - The two programs don't seem to work very well together at all.
Any pointers?
Cheers
