Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Font Letter changes when saved in .svg format in xmgrace

  1. Jul 2, 2018 #1


    User Avatar

    1) I want to save a .agr file in xmgrace. So, i go to File--> print setup--> device --> svg --> accept and then i give Cntrl+p in order to save it. But if i view the .svg file the font of the letters (say labeling the x-axis and y-axis etc in Times Roman font..) get altered into another font.

    If i save in eps/ps the letter font doesn't change but this happens only with .svg format.

    I want to get the same letter font saved in .svg format too.

    How can i resolve this issue?

    2) I tried to log in for the xmgrace forums "http://plasma-gate.weizmann.ac.il/Grace/phpbb/ucp.php?mode=register" in order to put this questions but in vain. I am unable to login there and ask my questions. So can anybody share the link for the xmgrace discussion forums where i can log in and ask questions?

    Any suggestions are highly appreciated.

    Thank you.
  2. jcsd
  3. Jul 2, 2018 #2


    Staff: Mentor

    Since nobody else answered, I'll guess that the svg format does not support all possible fonts.
  4. Jul 3, 2018 #3
    If you open the resultant .svg file in a text editor, such as Notepad++, you can see what font information is being exported by xmgrace. If the selected font is not supported by the svg renderer or viewer, you will presumably get the supported alternate glyph/font.

    Here are a couple of references regarding svg font implementation:

    This is link to a w3 test page that allows you to see a sample of your browser's svg font implementation:

    For in-depth and specific svg-related discussion, you can start here: https://inkscape.org/en/community/
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Have something to add?