My feedback

  1. 18 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  3 comments  ·  General  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    eric.e.swanson commented  · 

    Not sure if these links will be perpetual, but I can provide 2 examples:

    Font embed in the SVG:

    Font ref by name:

    Also, here is the xml of an example svg that I created:
    <svg width="120" height="25" xmlns=""><text x="0" y="20" font-family="Open Sans" font-weight="200">Open Sans Test</text></svg>

    There are other ways to reference a font from external sources, but I don't believe that needs to be supported now...

    I understand the concern with custom fonts and that each platform has a different way they package and reference them. So we'll need an Init API in XamSVG to provide a map for the non-embed fonts. For example, UWP requires a path to the font file, while iOS references by Unique Identifier. I believe the map would require font name, style, weight, IsBold, IsItalics... and then the identifiers required for each platform. There may be other ways to create the map.

    eric.e.swanson supported this idea  · 

Feedback and Knowledge Base