Difference between revisions of "Pango features"

From GIMP GUI Redesign
Jump to: navigation, search
 
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

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.