Method
PangoGlyphItemletter_space
since: 1.6
Declaration [src]
void
pango_glyph_item_letter_space (
PangoGlyphItem* glyph_item,
const char* text,
PangoLogAttr* log_attrs,
int letter_spacing
)
Description [src]
Adds spacing between the graphemes of glyph_item to
give the effect of typographic letter spacing.
Available since: 1.6
Parameters
text-
Type:
const char*Text that
glyph_itemcorresponds to (glyph_item->item->offset is an offset from the start oftext)The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. log_attrs-
Type: An array of
PangoLogAttrLogical attributes for the item (the first logical attribute refers to the position before the first character in the item)
The data is owned by the caller of the function. letter_spacing-
Type:
intAmount of letter spacing to add in Pango units. May be negative, though too large negative values will give ugly results.