GdkFont::width

GdkFont::width

width() returns the logical width of the text string, measured in pixels. The logical width includes the area up to where the next character should be drawn.

This method is completely broken in Windows, and will always return the right bearing measurement instead.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.