Closed kapitaenzufall closed 7 years ago
This does not seem to be correct. I ll have to do further research...
I used zFont::getFontHeight
in ConsoleBox
and DialogBox
to calculate the font height instead of calcTextMetrics
. Feel free to change that code if you need to.
This pr fixes the vertical alignment of multiline text of the log menu. It seems that multiline text needs to be drawn a half font height closer to the top. Because the console uses multiline text with a different aligment I had to compensate the above changes.
@markusobi Well done with the level switch, works great!
Btw. I encountered that mutiline text is vertical drawn with 1 less pixel between the lines. I also found out that the horizontal offset between the glyphs is not always correct.