defaultBreak
fn
void defaultBreak(string text, pango.analysis.Analysis analysis, pango.types.LogAttr attrs, int attrsLen)This is the default break algorithm.
It applies rules from the Unicode Line Breaking Algorithm without language-specific tailoring, therefore the analyis argument is unused and can be null.
See funcPango.tailor_break for language-specific breaks.
See funcPango.attr_break for attribute-based customization.
Parameters
text | text to break. Must be valid UTF-8 |
analysis | a [pango.analysis.Analysis] structure for the text |
attrs | logical attributes to fill in |
attrsLen | size of the array passed as attrs |