The Coding Journal ツ

Home

Impressum

x3ro’s Toolkit

So when trying to import an SVG into Illustrator today, I was greeted by the following message:

The operation cannot complete because of an unknown error [CANT]

This isn’t exactly a programming issue (well, it is on Adobe’s side for sure :D), but I hope the poor souls having to deal with SVG in Illustrator will find this helpful.

Long story short: the SVG in question contained “font-family” directives. Apparently, Illustrator will show the above error message if it does not find a font referenced by such a directive, which is kind of a problem since “sans-serif” is a valid value for an SVG font-family directive.

I’ve sent a bug report to Adobe, hoping that this will be fixed soon.

So when trying to import an SVG into Illustrator today, I was greeted by the following message: The operation cannot complete because of an unknown error [CANT] This isn’t exactly...

Daniele on January 10, 2014 at 11:51 am said: Thanks! I’ve then used this simple regexp replace on svg text content: /font-family:([^;]*);/ would be substitute by font-family: arial; and it works perfectly. Thanks again Reply ↓

Thanks! I’ve then used this simple regexp replace on svg text content: /font-family:([^;]*);/ would be substitute by font-family: arial; and it works perfectly. Thanks again

Mike on September 23, 2015 at 6:53 am said: Thanks – this post really helped me. Unbelievably, this problem still exists in late 2015. Come on, Adobe! Reply ↓

Thanks – this post really helped me. Unbelievably, this problem still exists in late 2015. Come on, Adobe!

Your email address will not be published. Required fields are marked *

Name *

Email *

Website

Comment

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>