Recent

Author Topic: FontMetrics  (Read 2999 times)

Anonymous

  • Guest
FontMetrics
« on: March 21, 2006, 01:27:50 am »
This is a question to the LCL creators:

Is it possible to get the exact parameters of a single font-character and how?

Especially I need the values called left- and right-bearing in Qt.

Imagine you have a big italic text like "ofo" in "times".
The character-rectangles will overlap, because the bottom of the "f" is going "under" the first "o" and the top over the second "o".

See: http://doc.trolltech.com/3.3/bearings.png

How can I access these values?