Pango.break
Description: Reference for Pango.break

### Function

# Pango.break

#### Declaration [src]

    void
    pango_break (
      const gchar* text,
      int length,
      PangoAnalysis* analysis,
      PangoLogAttr* attrs,
      int attrs_len
    )

#### Description [src]

Determines possible line, word, and character breaks for a string of Unicode text with a single analysis.

For most purposes you may want to use `pango_get_log_attrs()`.

Deprecated since: | 1.44
Use `pango_default_break()` and `pango_tailor_break()`

#### Parameters

`text` | `const gchar*`
| the text to process. Must be valid UTF-8
| Ownership is not transferred to the callee
| The string is a NUL terminated UTF-8 string
`length` | `int`
| length of `text` in bytes (may be -1 if `text` is nul-terminated)
`analysis` | `PangoAnalysis`
| `PangoAnalysis` structure from `pango_itemize()`
| Ownership is not transferred to the callee
`attrs` | An array of `PangoLogAttr`
| an array to store character information in
| The length of the array is in the `attrs_len` argument
| Ownership is not transferred to the callee
`attrs_len` | `int`
| size of the array passed as `attrs`