tailor_break
Description:
[ Version ( since = "1.44" ) ]
public void tailor_break (string text, int length, Analysis analysis, int offset, LogAttr[] attrs)
Apply language-specific tailoring to the breaks in attrs.
The line breaks are assumed to have been produced by [func@Pango.default_break].
If offset is not -1, it is used to apply attributes from analysis that are relevant to line breaking.
Note that it is better to pass -1 for offset and use [func@Pango.attr_break] to apply attributes to the whole paragraph.
Parameters:
| text |
text to process. Must be valid UTF-8 |
| length |
length in bytes of |
| analysis |
`PangoAnalysis` for |
| offset |
Byte offset of |
| attrs |
array with one `PangoLogAttr` per character in |
| attrs_len |
length of |
Namespace: Pango
Package: pango