Difference between revisions of "Pango features"

From GIMP GUI Redesign
Jump to: navigation, search
(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...)
 
Line 15: Line 15:
 
*wrapping
 
*wrapping
 
**language support?
 
**language support?
<code>
+
<blockquote>
 
PANGO_WRAP_WORD
 
PANGO_WRAP_WORD
 
wrap lines at word boundaries.
 
wrap lines at word boundaries.
Line 24: Line 24:
 
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.  
</code>
+
</blockquote>

Revision as of 14:21, 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')



  • gravity (for vertical text and mixed horizontal&vertical text)


  • 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.