Bug 1423408 - Allow line-break between ellipsis/leader dots and a following letter. r=masayuki

This commit is contained in:
Jonathan Kew 2017-12-12 16:21:55 -06:00
Родитель 6e01e6ff85
Коммит c7374d78f3
6 изменённых файлов: 34 добавлений и 16 удалений

Просмотреть файл

@ -46,7 +46,7 @@ static const uint32_t gLBClass20[32] = {
0x77775555, // U+2008 - U+200F
0x777277B7, // U+2010 - U+2017
0x77A777A7, // U+2018 - U+201F
0xAAAA7777, // U+2020 - U+2027
0xA1117777, // U+2020 - U+2027
0xB7777777, // U+2028 - U+202F
0x77744444, // U+2030 - U+2037
0x7A115107, // U+2038 - U+203F

Просмотреть файл

@ -96,10 +96,10 @@ Analysis of JIS X 4051 to Unicode General Category Mapping
<TD>32</TD>
<TD>2</TD>
<TD></TD>
<TD>28</TD>
<TD>31</TD>
<TD>3</TD>
<TD></TD>
<TD BGCOLOR=white>65</TD>
<TD BGCOLOR=white>68</TD>
<TD></TD>
<TD></TD>
<TD></TD>
@ -120,7 +120,7 @@ Analysis of JIS X 4051 to Unicode General Category Mapping
<TD>12</TD>
<TD>1</TD>
<TD></TD>
<TD>14</TD>
<TD>17</TD>
<TD></TD>
<TD></TD>
<TD>2</TD>
@ -447,10 +447,10 @@ Analysis of JIS X 4051 to Unicode General Category Mapping
<TD>2</TD>
<TD></TD>
<TD>6</TD>
<TD>28</TD>
<TD>25</TD>
<TD>14</TD>
<TD></TD>
<TD BGCOLOR=white>51</TD>
<TD BGCOLOR=white>48</TD>
<TD></TD>
<TD>1</TD>
<TD></TD>
@ -471,7 +471,7 @@ Analysis of JIS X 4051 to Unicode General Category Mapping
<TD>3</TD>
<TD>3</TD>
<TD></TD>
<TD>22</TD>
<TD>19</TD>
<TD></TD>
<TD>2</TD>
<TD>3</TD>
@ -623,7 +623,7 @@ Analysis of JIS X 4051 to Unicode General Category Mapping
</TR>
<TR><TH>20<TH>
<TD>2</TD>
<TD>8</TD>
<TD>11</TD>
<TD>1</TD>
<TD></TD>
<TD>5</TD>
@ -632,7 +632,7 @@ Analysis of JIS X 4051 to Unicode General Category Mapping
<TD>100</TD>
<TD></TD>
<TD></TD>
<TD>7</TD>
<TD>4</TD>
<TD>4</TD>
<TD></TD>
</TR>

Просмотреть файл

@ -50,8 +50,8 @@ open ( OUT , "> anzx4051.html")
# Open the output file
#
######################################################################
open ( HEADER , "> ../src/jisx4051class.h")
|| die "cannot open output ../src/jisx4051class.h file";
open ( HEADER , "> ../jisx4051class.h")
|| die "cannot open output ../jisx4051class.h file";
######################################################################
#
@ -86,7 +86,7 @@ $npl = <<END_OF_NPL;
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/*
/*
DO NOT EDIT THIS DOCUMENT !!! THIS DOCUMENT IS GENERATED BY
mozilla/intl/lwbrk/tools/anzx4051.pl
*/

Просмотреть файл

@ -61,7 +61,7 @@
201D;;23
2018;201F;18
2020;2023;18
2024;2026;23
2024;2026;2
2027;;23
2028;202E;18
202F;;24

Просмотреть файл

@ -5,13 +5,22 @@
<body>
<!-- U+2024 is ONE DOT LEADER -->
<p>abcdef&#x2024;&#x2024;&#x2024;abcdef</p>
<p>abcdef&#x2024;&#x2024;&#x2024;<br>abcdef</p>
<p>abcdef&#x2024;<br>abcdef</p>
<p>abcdef&#x2024; <br>abcdef</p>
<p>abcdef <br>&#x2024;abcdef</p>
<!-- U+2025 is TWO DOT LEADER -->
<p>abcdef&#x2025;&#x2025;&#x2025;abcdef</p>
<p>abcdef&#x2025;&#x2025;&#x2025;<br>abcdef</p>
<p>abcdef&#x2025;<br>abcdef</p>
<p>abcdef&#x2025; <br>abcdef</p>
<p>abcdef <br>&#x2025;abcdef</p>
<!-- U+2026 is HORIZONTAL ELLIPSIS -->
<p>abcdef&#x2026;&#x2026;&#x2026;abcdef</p>
<p>abcdef&#x2026;&#x2026;&#x2026;<br>abcdef</p>
<p>abcdef&#x2026;<br>abcdef</p>
<p>abcdef&#x2026; <br>abcdef</p>
<p>abcdef <br>&#x2026;abcdef</p>
</body>
</html>

Просмотреть файл

@ -6,12 +6,21 @@
<!-- U+2024 is ONE DOT LEADER -->
<p>abcdef&#x2024;&#x2024;&#x2024;abcdef</p>
<p>abcdef&#x2024;abcdef</p>
<p>abcdef&#x2024; abcdef</p>
<p>abcdef &#x2024;abcdef</p> <!-- no break after the leader in this case -->
<!-- U+2025 is TWO DOT LEADER -->
<p>abcdef&#x2025;&#x2025;&#x2025;abcdef</p>
<p>abcdef&#x2025;abcdef</p>
<p>abcdef&#x2025; abcdef</p>
<p>abcdef &#x2025;abcdef</p> <!-- no break after the leader in this case -->
<!-- U+2026 is HORIZONTAL ELLIPSIS -->
<p>abcdef&#x2026;&#x2026;&#x2026;abcdef</p>
<p>abcdef&#x2026;abcdef</p>
<p>abcdef&#x2026; abcdef</p>
<p>abcdef &#x2026;abcdef</p> <!-- no break after the ellipsis in this case -->
</body>
</html>