Closed hans-t closed 9 years ago
I'm not able to reproduce this issue. It produces correct result for both local and url for me. Have you tried other fonts?
I tried with Baskerville, it's fine. But the perplexing thing is, when I view it with Chrome, everything is fine, but not with svgexport.
So do other fonts render correctly in svgexport/phantomjs?
I'll test, and let you know.
I believe, it's the font, i.e. GillSans Regular, problem. I have found the workaround, convert the font to SVG font, and then never use the font's name as font-family value; use custom value for your font-family. It works on Mac OS X 10.10.4 and Ubuntu 14.04, with svgexport
0.2.5 and phantomjs
1.9.17.
Another possibility is that your font file is broken, I suggest you get the font file from another resource and try again.
We have the same problem ... someone more issues as this?
This is an SVG file. In ubuntu the rendering looks like this: . Some characters are rendered wrongly.
However in Mac OS X the rendering like this: . I used svgexport to render both.
From what I understand, svgexport uses PhantomJS to render SVG. I suspect this is not a problem in PhantomJS, but rather some missing library for font rasterization in Ubuntu.
FYI, Both systems have already the required font installed. Both have latest version of svgexport. How should I go about fixing this? Thanks.
I've installed libfreetype6 and fontconfig on Ubuntu. Still doesn't work. However, the SVG looks okay on Chrome on both systems.