unicharBreakType

fnglib.types.UnicodeBreakType unicharBreakType(dchar c)

Determines the break type of c. c should be a Unicode character (to derive a character from UTF-8 encoded text, use [glib.global.utf8GetChar]). The break type is used to find word and line breaks ("text boundaries"), Pango implements the Unicode boundary resolution algorithms and normally you would use a function such as [pango.global.break_] instead of caring about break types yourself.

Parameters

ca Unicode character

Returns

the break type of c