Difference between revisions of "Pango features"
From GIMP GUI Redesign
(New page: '''Important: This does NOT intend to be exhaustive, but is to give an impression of what Pango is capable of''' *small caps ( via PangoVariant ) *font width *font density *underline (On...) |
|||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
+ | == Layout == | ||
+ | *ellipsization (e.g. … ) | ||
*gravity (for vertical text and mixed horizontal&vertical text) | *gravity (for vertical text and mixed horizontal&vertical text) | ||
+ | *justification (only on / off ?) | ||
+ | |||
+ | *^^combines with alignment | ||
*wrapping | *wrapping | ||
**language support? | **language support? | ||
− | < | + | <blockquote> |
PANGO_WRAP_WORD | PANGO_WRAP_WORD | ||
wrap lines at word boundaries. | wrap lines at word boundaries. | ||
Line 24: | Line 29: | ||
PANGO_WRAP_WORD_CHAR | PANGO_WRAP_WORD_CHAR | ||
wrap lines at word boundaries, but fall back to character boundaries if there is not enough space for a full word. | wrap lines at word boundaries, but fall back to character boundaries if there is not enough space for a full word. | ||
− | </ | + | </blockquote> |
Latest revision as of 15:14, 25 January 2012
Important: This does NOT intend to be exhaustive, but is to give an impression of what Pango is capable of
- small caps ( via PangoVariant )
- font width
- font density
- underline (One of 'none', 'single', 'double', 'low', 'error')
Layout
- ellipsization (e.g. … )
- gravity (for vertical text and mixed horizontal&vertical text)
- justification (only on / off ?)
- ^^combines with alignment
- wrapping
- language support?
PANGO_WRAP_WORD wrap lines at word boundaries.
PANGO_WRAP_CHAR wrap lines at character boundaries.
PANGO_WRAP_WORD_CHAR wrap lines at word boundaries, but fall back to character boundaries if there is not enough space for a full word.