Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
I'm trying to make some weathermaps using truetype fonts, that have the text going along them. The issue that I'm having is that the numbers hang outside of the link like this:
This even happens on horizontal links. The problem goes away when I use a non-TTF font, but obviously that doesn't work for angled links.
INCOMMENT {link:this:bandwidth_in:%k}
OUTCOMMENT {link:this:bandwidth_in:%k}
COMMENTSTYLE center
BWLABEL none
Depending on the font, freetype doesn't always have great information about the height of characters, so you might also want to try a different font. This is also why you sometimes see a taller area above the text in bwlabels, but only with some fonts. It's not something I can fix, as far as I can tell. (not while keeping GD anyway - the long term plan is to move to SVG)