I am using a bitmap font to display the value of some parameter in my GUI.
I’ve noticed it was being rendered as if it were drawn on the edge of two pixels vertically, rather than in its correct position, that would have been resulted in a non-antialiased rendering.
Digging into the code I found this (juce_LowLevelGraphicsSoftwareRenderer.cpp, around line 2178)
const AffineTransform transform (AffineTransform::scale (fontHeight * font.getHorizontalScale(), fontHeight)
.translated (0.0f, -0.5f));
That -0.5f offset on the y axis caused the vertical blurryness. Once removed (the whole .translated method call could be removed, then), I noticed my bitmap fonts were rendered correctly in the GUI, with no noticeable difference for the other ones.
Could you correct this?