- 27 2月, 2016 4 次提交
-
-
由 Raph Levien 提交于
am: 1934c2c3 * commit '1934c2c3': Fix wrong conditions in isEmojiBase
-
由 Raph Levien 提交于
I computed ranges using low <= c || c <= high, should be &&. Bug: 26829153 Change-Id: Ic1002d90b6a408a0b415f2d117d0e57adcbc2fa9
-
由 Raph Levien 提交于
am: 56840e80 * commit '56840e80': Suppress line breaks in emoji + modifier
-
由 Raph Levien 提交于
An emoji base with an emoji modifier renders as a single glyph and thus should not be a line break. Current (Unicode 8) logic does indicate a line break, so we override the results of the ICU line break iterator. The code references a proposal to improve Unicode behavior; when that is adopted and we upgrade ICU accordingly, the special-case code should be deleted, but the tests can remain. Bug: 27343378 Change-Id: I5de9c53e9a34c503816f9131e3d894e6f7a57d13
-
- 26 2月, 2016 2 次提交
-
-
由 Seigo Nonaka 提交于
am: 0036da16 * commit '0036da16': Use color font if skin tone is specified.
-
由 Seigo Nonaka 提交于
If skin tone is specified, the base emoji should be emoji style even if it is text presentation default emoji. This patch also removes wrong test case which expects default emoji presentation but it is controlled by family order in /etc/fonts.xml and there is no special logic for default presentation in minikin. Thus the default presentation unit test should not be in minikin. Bug: 27342346 Change-Id: I74a2b2feab4d559535049e368cfd833063cce81c
-
- 25 2月, 2016 3 次提交
-
-
由 Raph Levien 提交于
am: 94d55255 * commit '94d55255': Suppress grapheme cluster breaks in emoji with modifiers
-
由 Raph Levien 提交于
-
由 Raph Levien 提交于
An emoji with a modifier should be treated as a single grapheme, i.e. it should not be possible to place the cursor between the base and modifier. This patch implements the proposed Rule GB9c from Mark Davis's proposal entitled "Fixing breaking properties for emoji", L2/16-011R3. The patch also skips over variation sequences attached the to the preceding character, for computing grapheme cluster boundaries. Bug: 26829153 Change-Id: Iff5bc2bb8e5246223a017c7cf33acfbf63817f16
-
- 23 2月, 2016 2 次提交
-
-
由 Seigo Nonaka 提交于
am: dbf5c277 * commit 'dbf5c277': Support Hanb script.
-
由 Seigo Nonaka 提交于
-
- 20 2月, 2016 2 次提交
-
-
由 Raph Levien 提交于
am: 30bf8a7c * commit '30bf8a7c': Suppress linebreaks in emoji ZWJ sequences
-
由 Raph Levien 提交于
-
- 19 2月, 2016 5 次提交
-
-
由 Keisuke Kuroyanagi 提交于
am: ea408fc1 * commit 'ea408fc1': Optimize: Use measureText instead of doLayout.
-
由 Raph Levien 提交于
Due to the way emoji ZWJ sequences are defined, the ICU line breaking algorithm determines that there are valid line breaks inside the sequence. This patch suppresses these line breaks. This is an adaptation of I225ebebc0f4186e4b8f48fee399c4a62b3f0218a into the nyc-dev branch. Bug: 25433289 Change-Id: I84b50b1e6ef13d436965eab389659d02a30d100f
-
由 Keisuke Kuroyanagi 提交于
With this CL, measureText is used for getRunAdvance, getOffsetForAdvance and line breaking. Bug: 24505153 Change-Id: Ib699f6b1391b46537736fc274cdb41686586b550
-
由 Raph Levien 提交于
am: aa736d00 * commit 'aa736d00': Disable hyphenation when word overlaps style boundary
-
由 Raph Levien 提交于
In cases when a word (as defined by the ICU break iterator) overlaps a style boundary, the returned wordStart can be extend before the range currently being measured for layout. When we try to hyphenate the resulting substrings, we get a negative range, which crashes. This patch disables hyphenation in this case. Bug: 27237112 Change-Id: I76d04b39dd3b4d6d267aaaf4bebc9ab361891646
-
- 18 2月, 2016 22 次提交
-
-
由 Seigo Nonaka 提交于
Hanb is a union of Han and Bopomofo. Bug: 26687969 Change-Id: Ic696bcbbc9607f3842fd0115668b8e7bd917e62b
-
由 Seigo Nonaka 提交于
am: bcb024df * commit 'bcb024df': Improve Paint.measureText and Paint.hasGlyph for variation sequences.
-
由 Seigo Nonaka 提交于
-
由 Raph Levien 提交于
am: 2f0604dc * commit '2f0604dc': Add error logging on invalid cmap
-
由 Raph Levien 提交于
am: c88ef135 * commit 'c88ef135': Add penalty for breaks in URLs and email addresses
-
由 Raph Levien 提交于
am: c3433aca * commit 'c3433aca': Add error logging on invalid cmap
-
由 Raph Levien 提交于
am: 4741030f * commit '4741030f': Add error logging on invalid cmap - DO NOT MERGE
-
由 Raph Levien 提交于
am: c91a77cf * commit 'c91a77cf': Add error logging on invalid cmap
-
由 Raph Levien 提交于
am: d60a48cc -s ours * commit 'd60a48cc': Add error logging on invalid cmap - DO NOT MERGE
-
由 Raph Levien 提交于
am: 734f0371 * commit '734f0371': Add error logging on invalid cmap
-
由 Raph Levien 提交于
am: 48e53074 * commit '48e53074': Add error logging on invalid cmap - DO NOT MERGE
-
由 Raph Levien 提交于
am: 6d15657e * commit '6d15657e': Add line breaks to email addresses and URLs
-
由 Raph Levien 提交于
am: 9c4cc648 * commit '9c4cc648': Special-case URLs and email addresses for line breaking
-
由 Raph Levien 提交于
am: 57b6dae9 * commit '57b6dae9': Refine hyphenation around punctuation
-
由 Raph Levien 提交于
Recent changes have added special cases for line breaks within URLs and email addresses. Such breaks are undesirable when they can be avoided, but at other times are needed to avoid huge gaps, or indeed to make the line fit at all. This patch assigns a penalty for such breaks, equal to the hyphenation penalty. The mechanism is currently very simple, but would be easy to fine-tune based on more detailed information about break quality. Bug: 20126487 Bug: 20566159 Change-Id: I0d3323897737a2850f1e734fa17b96b065eabd9c
-
由 Raph Levien 提交于
This change adds accceptable line breaks according to sections 7.42 (Dividing URLs and e-mail addresses) and 14.12 (URLs or DOIs and line breaks) of the Chicago Manual of Style (16th ed.). In general, these place breaks before punctuation symbols, and suppresses them after hyphens. Bug: 20126487 Bug: 20566159 Change-Id: I2d07d516b920a506a2f718c38fb435c5eb1ee1f8
-
由 Raph Levien 提交于
Detect URLs and email addresses, and suppress both line breaking and hyphenation within them. Bug: 20126487 Bug: 20566159 Change-Id: I43629347a063dcf579e355e5b678d7195f453ad9
-