The Font object attributes are read-only. The Font ID (fid) is fairly useless. Everywhere a Font ID is required in the library, a Font object must be given.
Font objects (font_objects) have the following methods and variables:
string) |
(direction, font_ascent, font_descent, (lbearing, rbearing, width, ascent, descent, attributes))
.
This function corresponds with XTextExtents.
string) |
width
.
This function corresponds with XTextWidth.
string) |
(direction, font_ascent, font_descent, (lbearing, rbearing, width, ascent, descent, attributes))
.
This function corresponds with XTextExtents.
string) |
width
.
This function corresponds with XTextWidth.