Font Letter changes when saved in .svg format in xmgrace

  • #1
DHN
9
0

Main Question or Discussion Point

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
8,231
5,036
Since nobody else answered, I'll guess that the svg format does not support all possible fonts.
 
  • #3
1,100
555
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/
 

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

  • Last Post
Replies
1
Views
13K
  • Last Post
Replies
8
Views
10K
  • Last Post
Replies
3
Views
9K
  • Last Post
Replies
5
Views
28K
Replies
4
Views
875
Replies
1
Views
3K
  • Last Post
Replies
1
Views
927
  • Last Post
Replies
3
Views
2K
Top