Hi,
I have a bit of OCD when it comes to perfect layout, and when writing my first app noted, that when vertically centering text, it is a little bit off. Does anyone have an idea what could be the cause of this?
Here is my code:
dc.clear(); dc.drawText( 0, dc.getHeight() / 2, Graphics.FONT_GLANCE, "HXOgy", Graphics.TEXT_JUSTIFY_LEFT | Graphics.TEXT_JUSTIFY_VCENTER ); dc.drawLine( 0, dc.getHeight() / 2, dc.getWidth(), dc.getHeight() / 2 );
And here the resulting screenshot from the CIQ simulator:
I would have expected the center line to go through the middle of the upper case letters.