Pango.Layout.set_line_spacing

### Method

# Pango Layoutset_line_spacing

#### Declaration [src]

    void
    pango_layout_set_line_spacing (
      PangoLayout* layout,
      float factor
    )

#### Description [src]

Sets a factor for line spacing.

Typical values are: 0, 1, 1.5, 2. The default values is 0.

If `factor` is non-zero, lines are placed so that

    baseline2 = baseline1 + factor * height2

where height2 is the line height of the second line (as determined by the font(s)). In this case, the spacing set with `pango_layout_set_spacing()` is ignored.

If `factor` is zero (the default), spacing is applied as before.

Available since: | 1.44

#### Parameters

`factor` | `float`
| The new line spacing factor.