FAQ Index - Search - Recent Changes - Everything - Add entry

<< Previous Entry | FAQ Entry 4.14 | Next Entry >>

4.14. What units does pango use to define sizes and widths?

Pango uses a constant called pango.SCALE to convert between pixels and pango's native unit. You can use pango.PIXELS() to convert from the native unit back to pixels, or just divide.

PyGTK FAQ Wizard | PyGTK Homepage | Feedback to faq at pygtk.org