---
name: "mtext_line_break"
section: "3m17n"
platform: "linux"
package: "m17n-docs"
version: "1.8.4-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mtext_line_break"
---

# mtext\_line\_break(3m17n)

## NAME

mtext\_line\_break -

## SYNOPSIS

int **mtext\_line\_break** (**MText** \* *mt*, int *pos*, int *option*, int \* *after*)

## DESCRIPTION

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

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\>.
