What package's fault is incorrect SVG Unicode rendering?
I generated a SVG plot in Mathematica using Windows as well as Linux version. Now, i see that in windows this file is shown normally from windows version and incorrectly from linux version. Then i go to my linux machine and check this here. On linux only google-chrome shows correct file normally. Any other programs including firefox, gqview, even file selection dialog in its preview area all show both file versions equally incorrectly.
Seems, that all these programs use the same library to display SVG data. But how can i check that it's the fault of this library? |
Save svg files in the *.svg format so that all programs can read.
|
1 Attachment(s)
I do. But it seems that at least all GTK+ programs i have render the fonts which are defined inside SVG file incorrectly. Instead they use system font even if there's no character in that Unicode position and show them as hex code inside square.
Example SVG file is in the attachment (rename it to svg, LQ doesn't accept this file with svg extension) |
1 Attachment(s)
It opened for me.
I just added another background. Do you have inkscape on both machines? |
1 Attachment(s)
Yes. It should open. It also does open for me. But as on my system, you don't have parentheses rendered around x in label of Y axis. if you open this file in e.g. Google Chrome, you'll see them, as in many other viewers, but which, as i think, aren't GTK-based. Image in attachment is what it should look like. So, i think this is a bug, but don't know how to determine in which package.
|
I don't use windows, so I can't readily open google chrome.
If it's gtk or gecko built, the default plugins for firefox should work. You have to add the plugins to the plugin folder and create links. TRy saving the file in another format. Use Gimp on windows to export. |
Well, i don't use windows for this. I used google chrome development build for ubuntu.
Quote:
I'll try to file bug report for GTK+. Maybe its maintainers will point me the right way. |
That's strange, seeing that you can use inkscape to create fonts.
|
I meant not usual system fonts, but those defined in SVG file internally.
|
All times are GMT -5. The time now is 11:43 AM. |