mtext_line_break(3m17n) | The m17n Library | mtext_line_break(3m17n) |
mtext_line_break - Find a linebreak postion of an M-text.
int mtext_line_break (MText * mt, int pos, int option, int * after)
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.
Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and
Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under
the terms of the GNU Free Documentation License
<http://www.gnu.org/licenses/fdl.html>.
12 Jan 2011 | Version 1.6.2 |