So how Lazarus calculate default font size for TLabel or other controls? Because when I draw some text using canvas with default font size (without changing height and size) then text size is the same like in TLabel, but when I try obtain this size by calling TextHeight function, then I get bigger size (I refer to the situation before your fix).
Edit: Maybe I explain what I want to get. We have BGRA Controls package with visual controls which are drawing using BGRA Bitmap librarys. I want that default fonts should look the same as the other lazarus controls. To do this, BGRA Bitmap TextOut method need font height but Canvas.TextHeight on QT doesn't return size which is set for example in TLabel. I don't know how to solve this problem