Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad result in small font rendering #84

Open
sokraflex opened this issue Feb 21, 2017 · 0 comments
Open

Bad result in small font rendering #84

sokraflex opened this issue Feb 21, 2017 · 0 comments

Comments

@sokraflex
Copy link

sokraflex commented Feb 21, 2017

Hey people!

I'm experiencing bad results when rendering small fonts.

SVG:
svg2png-fontrendering-svg

PNG result:
svg2png-fontrendering-png

SVG original:
6239.zip

I'm using the font "Raleway", which is locally installed and can be found here: https://fonts.google.com/specimen/Raleway

On one hand, of course, the font size is not ideal - but due to other restrictions, I cannot make it larger. Also, it first seems that the text only appears "bolder", but when looking at the 2nd x-axis-label "Munich", one sees that the "c" is not even on the same baseline as the other characters? This behaviour also appears with dates written that way, and the y-axis shows that it is not related to the font-angle.

So far, I've been using inkscape, but due to 100 % CPU usage upon fontcache building that is no option anymore. Apart from the font-rendering, the results with PhantomJS are way better.

Does anyone have an idea on what could cause this rendering problem? Any hints on how I may be able to fix it, or suggestions for a workaround?

Best greetings,

SargTeX

/EDIT: I'm on Windows 10 (64-bit), have not tested it so far on Linux, but with different SVGs, all resulting in a similar experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant