Inkscape.org
Beyond the Basics How do I open a SVG with embedded fonts in Inkscape?
  1. #1
    Vincent Tiu Vincent Tiu @vincetiu8

    Quite new to graphic design and SVG editing here, so apologies for any mistakes.

    I have a lot of SVG files of a textbook with embedded base64 font-faces and I want to open them in inkscape. Here's an example. When I open them in my browser (Chrome), they appear fine. However, If I try to open them in any graphics-processing application (Inkscape, Illustrator), the application can't detect the fonts and loads default fonts, which is not ideal at all as it also changes some of the characters. How can I open these files in Inkscape with the embedded fonts?

    Note: extracting the base64 font and installing it into my computer is not an option as there is a separate font for each page (due to bad formatting) and I don't want to install 1000+ fonts into my computer.

  2. #2
    Xav Xav @Xav👹

    To the best of my knowledge this is not supported in Inkscape, and probably won't be in the immediate future.

    Browsers only support embedded fonts in SVG as a side-effect of also supporting them for HTML/CSS, not because that functionality was explicitly added to their SVG engines.

     

  3. #3
    Tyler Durden Tyler Durden @TylerDurden
    *

    Probably not gonna happen. Offhand, I see two choices:

    1. Open with substituted fonts and find better substitute fonts (or the actual fonts).
    2. Print from browser to PDF and open in Inkscape converting the text to glyphs.

    Depending on the project, one may work better than the other.

    PDF attached

  4. #4
    Vincent Tiu Vincent Tiu @vincetiu8

    Thanks @TylerDurden! Printing from the browser as a PDF seems to work for me!

Inkscape Inkscape.org Inkscape Forum Beyond the Basics How do I open a SVG with embedded fonts in Inkscape?