Lines Matching +full:linebreak +full:- +full:style
4 * Use of this source code is governed by a BSD-style license that can be
50 //case 0x00A0: // NO-BREAK SPACE in is_breaking_whitespace()
57 case 0x2004: // THREE-PER-EM SPACE (thick space) in is_breaking_whitespace()
58 case 0x2005: // FOUR-PER-EM SPACE (mid space) in is_breaking_whitespace()
59 case 0x2006: // SIX-PER-EM SPACE in is_breaking_whitespace()
65 case 0x202F: // NARROW NO-BREAK SPACE in is_breaking_whitespace()
68 //case 0xFEFF: // ZERO WIDTH NO-BREAK SPACE in is_breaking_whitespace()
75 static size_t linebreak(const char text[], const char stop[], in linebreak() function
106 *trailing = text - prevText; in linebreak()
122 return text - start; in linebreak()
146 return this->shape(utf8, utf8Bytes, skfont, skbidi, width, handler); in shape()
160 return this->shape(utf8, utf8Bytes, font.currentFont(), (bidi.currentLevel() % 2) == 0, in shape()
186 size_t bytesConsumed = linebreak(utf8, utf8 + utf8Bytes, font, width, in shape()
188 size_t bytesVisible = bytesConsumed - bytesCollapsed; in shape()
198 handler->beginLine(); in shape()
199 handler->runInfo(info); in shape()
200 handler->commitRunInfo(); in shape()
201 const auto buffer = handler->runBuffer(info); in shape()
213 buffer.clusters[i] = SkToU32(txtPtr - utf8 + utf8Offset); in shape()
217 handler->commitRunBuffer(info); in shape()
218 handler->commitLine(); in shape()
223 utf8Bytes -= bytesConsumed; in shape()