gnomeprint.Glyphlist Glyphlist object for GnomePrint

## Synopsis

gnomeprint.Glyphlist gobject.GBoxed gnomeprint.Glyphlist advance advance bbox transform flags bbox color color duplicate font font glyph glyph glyphs glyphs num_glyps kerning kerning letterspace letterspace moveto x y rmoveto x y text_dumb text

    Functions

        gnomeprint.glyphlist_from_text_dumb
        font
        color
        kerning
        letterspace
        text

## Ancestry

    +-- gobject.GBoxed
      +-- gnomeprint.Glyphlist

## Description

## Constructor

    	  gnomeprint.Glyphlist

Returns :

  a new gnomeprint.Glyphlist.

Creates a new gnomeprint.Glyphlist object.

## Methods

### gnomeprint.Glyphlist.advance

                    advance

advance :

  if `TRUE` move the pen position, `FALSE` otherwise.

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

### gnomeprint.Glyphlist.bbox

                    bbox
                        transform
                        flags
                        bbox

transform :

flags :

  should be 0 for now.

bbox :

Returns :

  bbox or `None` on error.

The bbox() method gets ink dimensions of transformed glyphlist Flags are to specify user preferences, should be 0 for now.

### gnomeprint.Glyphlist.color

                color
                color

color :

  the color in the form RRGGBBAA.

The color() method specify the color as RRGGBBAA to be used for the glyphs that follow.

### gnomeprint.Glyphlist.duplicate

                    duplicate

Returns :

The duplicate() method

### gnomeprint.Glyphlist.font

                    font
                    font

font :

The font() method specify the font to be used for the glyphs that follow.

### gnomeprint.Glyphlist.glyph

                    glyph
                    glyph

glyph :

The glyph() method appends a single glyph to the glyphlist. It will be connected to the previous glyphs by the previously defined rules.

### gnomeprint.Glyphlist.glyphs

                    glyphs
                    glyphs
                    num_glyps

glyps :

val :

The gluphs() method append a string of glyphs.

### gnomeprint.Glyphlist.kerning

                    kerning
                    kerning

kerning :

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

### gnomeprint.Glyphlist.letterspace

                    letterspace
                    letterspace

letterspace :

The 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

### gnomeprint.Glyphlist.moveto

                    moveto
                    x
                    y

x :

y :

The moveto() method position manually the glyph following.

### gnomeprint.Glyphlist.rmoveto

                rmoveto
                x
                y

x :

y :

The rmoveto() method position the glyph following relative to current pen position.

### gnomeprint.Glyphlist.text_dumb

                    text_dumb
                    text

text :

The text_dumb() method

## Functions

### gnomeprint.glyphlist_from_text_dumb

                      gnomeprint.glyphlist_from_text_dumb
                      font
                      color
                      kerning
                      letterspace
                      text

font :

color :

kerning :

letterspace :

text :

Returns :

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