Font Letter changes when saved in .svg format in xmgrace

  • Thread starter DHN
  • Start date
  • #1
DHN
9
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.
 

Answers and Replies

  • #2
anorlunda
Staff Emeritus
Insights Author
10,714
8,007
Since nobody else answered, I'll guess that the svg format does not support all possible fonts.
 
  • #3
sysprog
2,609
1,777
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/
 

Suggested for: Font Letter changes when saved in .svg format in xmgrace

  • Last Post
Replies
8
Views
10K
  • Last Post
Replies
1
Views
14K
  • Last Post
Replies
1
Views
1K
Replies
4
Views
1K
  • Last Post
Replies
10
Views
6K
  • Last Post
Replies
3
Views
2K
Replies
4
Views
1K
  • Last Post
Replies
11
Views
13K
  • Last Post
Replies
1
Views
10K
  • Last Post
Replies
5
Views
28K
Top