Font Letter changes when saved in .svg format in xmgrace

  • Thread starter Thread starter DHN
  • Start date Start date
  • Tags Tags
    Font Format
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
DHN
Messages
9
Reaction score
0
Hi,
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.
 
on Phys.org
DHN said:
Hi,
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.
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:
https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/SVG_fonts
https://www.w3.org/TR/SVG/fonts.html

This is link to a w3 test page that allows you to see a sample of your browser's svg font implementation:
https://www.w3.org/Graphics/SVG/Test/20030813/htmlframe/full-fonts-elem-04-b.html

For in-depth and specific svg-related discussion, you can start here: https://inkscape.org/en/community/
 
  • Like
Likes   Reactions: anorlunda