Search code examples
svgunicodeutf-8fontscoreldraw

Coreldraw not importing symbols properly [SVG]


I have a problem with symbols from various fonts not rendering in CorelDraw. I am exporting a SVG-file with a specific font-family (UTF-8) such as; Comic Sans MS, Arial etc from a web-based tool that I'm currently developing.

I want the user to be able to insert special characters for that specific font, then be able to open it in CorelDraw rendering these characters properly.

However... this is not the case. Only some fonts work, I'll give you an example below;

https://i.sstatic.net/yE0hF.png (Couldn't embedd image because of reputation)

This is how it renders in CorelDraw with font-family Arial & Comic Sans MS.

The rendering works fine when displayed in a browser though.

Any ideas?

Regards


Solution

  • OK, disregard my previous answer :-)

    I'm pretty sure the problem is that Comic Sans doesn't include the characters you're trying to use.

    Specifically, the ♠︎ character is assigned to the code point \u2660, which is in the Miscellaneous Symbols area \u2600 - \u26FF. If you check the character maps for Arial and Comic Sans, you'll find that this character exists in Arial but not in Comic Sans.

    Apparently your browser is choosing alternative glyphs from other fonts, but CorelDraw is not. If your SVG file includes a default font like sans-serif, then it should render OK in any browser. If that doesn't help with the appearance of these characters in CorelDraw, then you'll just have to select them individually and change them to a font that does contain the characters.