Line Break - Break Opportunity Before and After
Break Opportunity Before and After is a pair of values that define whether a line break is allowed immediately before and immediately after a given character, respectively. These values are assigned based on the character’s typographic behavior, such as whether it is punctuation, a space, a letter, or a combining mark. A value of “No” for the before position means no break can occur preceding the character, while a value of “Yes” allows a break there, depending on the surrounding context. Similarly, the after value governs breaks following the character. Together, they form a critical part of text wrapping logic, ensuring that breaks occur at sensible points, like between words, but not within a number or before a closing quotation mark. This mechanism helps maintain readability and prevents awkward or misleading line splits in multilingual text.