We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Was getting overlapping text in a pretty simple legend from ggplot:
After a bit of playing with the svg I found if you replaced the pt sizes with px instead it produced correctly sized text.
So just made the two following changes to get the output I was expecting:
double svg_strwidth(const char *str, const pGEcontext gc, pDevDesc dd) { // ... the rest return fm.width;//formerly * 96 / 72; } inline void write_style_fontsize(SvgStreamPtr stream, double value, bool first = false) { if(!first) (*stream) << ' '; (*stream) << "font-size: " << value << "px;"; //formerly pt }
The text was updated successfully, but these errors were encountered:
799fe8e
No branches or pull requests
Was getting overlapping text in a pretty simple legend from ggplot:
After a bit of playing with the svg I found if you replaced the pt sizes with px instead it produced correctly sized text.
So just made the two following changes to get the output I was expecting:
The text was updated successfully, but these errors were encountered: