mtext_line_break3m17n
Usage
int mtext_line_break (MText * mt, int pos, int option, int * after)
Overview
Find a linebreak postion of an M-text. The mtext_line_break() function checks if position pos is a proper linebreak position of an M-text mt according to the algorithm of The Unicode Standard 4.0 UAX#14. It so, it returns pos. Otherwise, it returns a proper linebreak position before pos.
If option is nonzero, it controls the algorithm by logical-or of the members of MTextLineBreakOption.
If after is not NULL, a proper linebreak position after pos is stored there.
Releases
7 releases since Debian 7 (Wheezy); the text changed 1 time.