gnomeprint.Glyphlist — Glyphlist object for GnomePrint
+-- gobject.GBoxed +-- gnomeprint.Glyphlist
|Returns :||a new |
Creates a new
| if |
advance() method decide whether or not to move the pen position by the font standard advance vector.
Advancing happens immediately after glyph is sent through pipeline.
|should be 0 for now.|
|Returns :|| bbox or |
bbox() method gets ink dimensions of transformed glyphlist Flags are to specify user preferences,
should be 0 for now.
|the color in the form RRGGBBAA.|
color() method specify the color as RRGGBBAA to be used for the glyphs that follow.
font() method specify the font to be used for the glyphs that follow.
glyph() method appends a single glyph to the glyphlist.
It will be connected to the previous glyphs by the previously defined rules.
gluphs() method append a string of glyphs.
kerning() method sets the amount of kerning to add between glyphs connected by an advance rule.
It is specified as fraction of a full kerning value If a glyph is manually positioned,
the kerning value is ignored Kerning will be added immediately before placing a new glyph.
letterspace() method sets the amount of white space to add between glyphs connected by an advance rule.
It is specified in font units (i.e. 12 for 12pt font is the width of an em square).
If glyph is manually positioned, letterspace value will be ignored.
Letterspace will be added immediately before placing a new glyph
moveto() method position manually the glyph following.
rmoveto() method position the glyph following relative to current pen position.
glyphlist_from_text_dumb() function appends utf8 text, converting it to glyphs and
connecting it as specified by rules. You cannot expect anything about language-specific typesetting rules,
so if the given script does not use trivial placement, you should better avoid this.