text and the Blender.Draw module...

hi *,

is there any way to calculate the size of blender’s gui components? for a start i’d like to know what size the text produced by


Blender.Draw.Text("huhuhu")

is. any suggestions?

thanks in advance

it doesn’t seem like it

I imagine blender is using little more than bitmap text at the moment
(but I am too lazy to see if something is converted to that bitmap)
what comes to mind for me is an awkward comparison of the rasterposition before and after printing text, but I don’t know what blender uses

… and buttons and stuff vary in size (you can zoom in and out)
I don’t know if changing the matricies in a text window will change components though