After an extensive search, I found the str_width function, which returns the string width in pixels. I remember seeing a function some time ago, that returns a predefined font's height in pixels, but I cant find it anywhere in the manual.
Anybody know the name of this function? Or am I deeply confused ...