PgContext.defaultBreak

This is the default break algorithm.

It applies Unicode rules without language-specific tailoring, therefore the @analyis argument is unused and can be %NULL.

See pango_tailor_break() for language-specific breaks.

class PgContext
static
void
defaultBreak

Parameters

text string

text to break. Must be valid UTF-8

length int

length of text in bytes (may be -1 if @text is nul-terminated)

analysis PangoAnalysis*

a #PangoAnalysis for the @text

attrs PangoLogAttr*

logical attributes to fill in

attrsLen int

size of the array passed as @attrs

Meta