utf8/ 0000755 0001762 0000144 00000000000 13301570673 011145 5 ustar ligges users utf8/inst/ 0000755 0001762 0000144 00000000000 13301551650 012114 5 ustar ligges users utf8/inst/doc/ 0000755 0001762 0000144 00000000000 13301551650 012661 5 ustar ligges users utf8/inst/doc/utf8.Rmd 0000644 0001762 0000144 00000037650 13200402576 014226 0 ustar ligges users ---
title: "Unicode: Emoji, accents, and international text"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{Unicode: Emoji, accents, and international text}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
Character encoding
------------------
Before we can analyze a text in R, we first need to get its digital
representation, a sequence of ones and zeros. In practice this works by first
choosing an *encoding* for the text that assigns each character a numerical
value, and then translating the sequence of characters in the text to the
corresponding sequence of numbers specified by the encoding. Today, most new
text is encoded according to the [Unicode standard][unicode], specifically the
8-bit block Unicode Transfer Format, [UTF-8][utf8]. Joel Spolsky gives a
good overview of the situation in an [essay from 2003][spolsky2003].
The software community has mostly moved to UTF-8 as a standard for text
storage and interchange, but there is still a large volume of text in other
encodings. Whenever you read a text file into R, you need to specify the
encoding. If you don't, R will try to guess the encoding, and if it guesses
incorrectly, it will wrongly interpret the sequence of ones and zeros.
We will demonstrate the difficulties of encodings with the text of
Jane Austen's novel, _Mansfield Park_ provided by
[Project Gutenberg][gutenberg]. We will download the text, then
read in the lines of the novel.
```r
# download the zipped text from a Project Gutenberg mirror
url <- "http://mirror.csclub.uwaterloo.ca/gutenberg/1/4/141/141.zip"
tmp <- tempfile()
download.file(url, tmp)
# read the text from the zip file
con <- unz(tmp, "141.txt", encoding = "UTF-8")
lines <- readLines(con)
close(con)
```
The `unz` function and other similar file connection functions have `encoding`
arguments which, if left unspecified default to assuming that text is encoded
in your operating system's native encoding. To ensure consistent behavior
across all platforms (Mac, Windows, and Linux), you should set this option
explicitly. Here, we set `encoding = "UTF-8"`. This is a reasonable default,
but it is not always appropriate. In general, you should determine the
appropriate `encoding` value by looking at the file. Unfortunately, the file
extension `".txt"` is not informative, and could correspond to any encoding.
However, if we read the first few lines of the file, we see the following:
```r
lines[11:20]
```
```
[1] "Author: Jane Austen"
[2] ""
[3] "Release Date: June, 1994 [Etext #141]"
[4] "Posting Date: February 11, 2015"
[5] ""
[6] "Language: English"
[7] ""
[8] "Character set encoding: ASCII"
[9] ""
[10] "*** START OF THIS PROJECT GUTENBERG EBOOK MANSFIELD PARK ***"
```
The character set encoding is reported as ASCII, which is a subset of UTF-8.
So, we should be in good shape.
Unfortunately, we run into trouble as soon as we try to process the text:
```r
corpus::term_stats(lines) # produces an error
```
```
Error in corpus::term_stats(lines): argument entry 15252 is incorrectly marked as "UTF-8": invalid leading byte (0xA3) at position 36
```
The error message tells us that line 15252 contains an invalid byte.
```r
lines[15252]
```
```
[1] "the command of her beauty, and her \xa320,000, any one who could satisfy the"
```
We might wonder if there are other lines with invalid data. We can find
all such lines using the `utf8_valid` function:
```r
lines[!utf8_valid(lines)]
```
```
[1] "the command of her beauty, and her \xa320,000, any one who could satisfy the"
```
So, there are no other invalid lines.
The offending byte in line 15252 is displayed as `\xa3`, an escape code
for hexadecimal value 0xa3, decimal value 163. To understand why this
is invalid, we need to learn more about UTF-8 encoding.
UTF-8
-----
### ASCII
The smallest unit of data transfer on modern computers is the byte, a sequence
of eight ones and zeros that can encode a number between 0 and 255
(hexadecimal 0x00 and 0xff). In the earliest character encodings, the numbers
from 0 to 127 (hexadecimal 0x00 to 0x7f) were standardized in an encoding
known as ASCII, the American Standard Code for Information Interchange.
Here are the characters corresponding to these codes:
```r
codes <- matrix(0:127, 8, 16, byrow = TRUE,
dimnames = list(0:7, c(0:9, letters[1:6])))
ascii <- apply(codes, c(1, 2), intToUtf8)
# replace control codes with ""
ascii["0", c(0:6, "e", "f")] <- ""
ascii["1",] <- ""
ascii["7", "f"] <- ""
utf8_print(ascii, quote = FALSE)
```
```
0 1 2 3 4 5 6 7 8 9 a b c d e f
0 \a \b \t \n \v \f \r
1
2 ! " # $ % & ' ( ) * + , - . /
3 0 1 2 3 4 5 6 7 8 9 : ; < = > ?
4 @ A B C D E F G H I J K L M N O
5 P Q R S T U V W X Y Z [ \\ ] ^ _
6 ` a b c d e f g h i j k l m n o
7 p q r s t u v w x y z { | } ~
```
The first 32 codes (the first two rows of the table) are special control
codes, the most common of which, `0x0a` denotes a new line (`\n`). The special
code `0x00` often denotes the end of the input, and R does not allow this
value in character strings. Code `0x7f` corresponds to a "delete" control.
When you call `utf8_print`, it uses the low level `utf8_encode` subroutine
format control codes; they format as `\uXXXX` for four hexadecimal digits
`XXXX` or as `\UXXXXYYYY` for eight hexadecimal digits `XXXXYYYY`:
```r
utf8_print(intToUtf8(1:0x0f), quote = FALSE)
```
```
[1] \u0001\u0002\u0003\u0004\u0005\u0006\a\b\t\n\v\f\r\u000e\u000f
```
Compare `utf8_print` output with the output with the base R print function:
```r
print(intToUtf8(1:0x0f), quote = FALSE)
```
```
[1] \001\002\003\004\005\006\a\b\t\n\v\f\r\016\017
```
Base R format control codes below 128 using octal escapes. There are some
other differences between the function which we will highlight below.
### Latin-1
ASCII works fine for most text in English, but not for other languages. The
Latin-1 encoding extends ASCII to Latin languages by assigning the numbers
128 to 255 (hexadecimal 0x80 to 0xff) to other common characters in Latin
languages. We can see these characters below.
```r
codes <- matrix(128:255, 8, 16, byrow = TRUE,
dimnames = list(c(8:9, letters[1:6]), c(0:9, letters[1:6])))
latin1 <- apply(codes, c(1, 2), intToUtf8)
# replace control codes with ""
latin1[c("8", "9"),] <- ""
utf8_print(latin1, quote = FALSE)
```
```
0 1 2 3 4 5 6 7 8 9 a b c d e f
8
9
a ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ® ¯
b ° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿
c À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï
d Ð Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü Ý Þ ß
e à á â ã ä å æ ç è é ê ë ì í î ï
f ð ñ ò ó ô õ ö ÷ ø ù ú û ü ý þ ÿ
```
As with ASCII, the first 32 numbers are control codes. The others are
characters common in Latin languages. Note that `0xa3`, the invalid byte
from _Mansfield Park_, corresponds to a pound sign in the Latin-1 encoding.
Given the context of the byte:
```r
lines[15252]
```
```
[1] "the command of her beauty, and her \xa320,000, any one who could satisfy the"
```
this is probably the right symbol. The text is probably encoded in Latin-1,
not UTF-8 or ASCII as claimed in the file.
If you run into an error while reading text that claims to be ASCII, it
is probably encoded as Latin-1. Note, however, that this is not the only
possibility, and there are many other encodings. The `iconvlist` function
will list the ones that R knows how to process:
```r
head(iconvlist(), n = 20)
```
```
[1] "437" "850" "852" "855"
[5] "857" "860" "861" "862"
[9] "863" "865" "866" "869"
[13] "ANSI_X3.4-1968" "ANSI_X3.4-1986" "ARABIC" "ARMSCII-8"
[17] "ASCII" "ASMO-708" "ATARI" "ATARIST"
```
### UTF-8
With only 256 unique values, a single byte is not enough to encode every
character. Multi-byte encodings allow for encoding more. UTF-8 encodes
characters using between 1 and 4 bytes each and allows for up to 1,112,064
character codes. Most of these codes are currently unassigned, but every year
the Unicode consortium meets and adds new characters. You can find a list of
all of the characters in the [Unicode Character Database][unicode-data]. A
listing of the Emoji characters is [available separately][emoji-data].
Say you want to input the Unicode character with hexadecimal code 0x2603.
You can do so in one of three ways:
```r
"\u2603" # with \u + 4 hex digits
```
```
[1] "☃"
```
```r
"\U00002603" # with \U + 8 hex digits
```
```
[1] "☃"
```
```r
intToUtf8(0x2603) # from an integer
```
```
[1] "☃"
```
For characters above `0xffff`, the first method won't work. On Windows,
a bug in the current version of R (fixed in R-devel) prevents using the
second method.
When you try to print Unicode in R, the system will first try to determine
whether the code is printable or not. Non-printable codes include control
codes and unassigned codes. On Mac OS, R uses an outdated function to make
this determination, so it is unable to print most emoji. The `utf8_print`
function uses the most recent version (10.0.0) of the Unicode standard,
and will print all Unicode characters supported by your system:
```r
print(intToUtf8(0x1f600 + 0:79)) # base R
```
```
[1] "\U0001f600\U0001f601\U0001f602\U0001f603\U0001f604\U0001f605\U0001f606\U0001f607\U0001f608\U0001f609\U0001f60a\U0001f60b\U0001f60c\U0001f60d\U0001f60e\U0001f60f\U0001f610\U0001f611\U0001f612\U0001f613\U0001f614\U0001f615\U0001f616\U0001f617\U0001f618\U0001f619\U0001f61a\U0001f61b\U0001f61c\U0001f61d\U0001f61e\U0001f61f\U0001f620\U0001f621\U0001f622\U0001f623\U0001f624\U0001f625\U0001f626\U0001f627\U0001f628\U0001f629\U0001f62a\U0001f62b\U0001f62c\U0001f62d\U0001f62e\U0001f62f\U0001f630\U0001f631\U0001f632\U0001f633\U0001f634\U0001f635\U0001f636\U0001f637\U0001f638\U0001f639\U0001f63a\U0001f63b\U0001f63c\U0001f63d\U0001f63e\U0001f63f\U0001f640\U0001f641\U0001f642\U0001f643\U0001f644\U0001f645\U0001f646\U0001f647\U0001f648\U0001f649\U0001f64a\U0001f64b\U0001f64c\U0001f64d\U0001f64e\U0001f64f"
```
```r
utf8_print(intToUtf8(0x1f600 + 0:79)) # truncates to line width
```
```
[1] "😀😁😂😃😄😅😆😇😈😉😊😋😌😍😎😏😐😑😒😓😔😕😖😗😘😙😚😛😜😝😞😟😠😡😢😣…"
```
```r
utf8_print(intToUtf8(0x1f600 + 0:79), chars = 500) # increase character limit
```
```
[1] "😀😁😂😃😄😅😆😇😈😉😊😋😌😍😎😏😐😑😒😓😔😕😖😗😘😙😚😛😜😝😞😟😠😡😢😣😤😥😦😧😨😩😪😫😬😭😮😯😰😱😲😳😴😵😶😷😸😹😺😻😼😽😾😿🙀🙁🙂🙃🙄🙅🙆🙇🙈🙉🙊🙋🙌🙍🙎🙏"
```
(Characters with codes above 0xffff, including most emoji, are not
supported on Windows.)
The *utf8* package provides the following utilities for validating, formatting,
and printing UTF-8 characters:
+ `as_utf8()` attempts to convert character data to UTF-8, throwing an
error if the data is invalid;
+ `utf8_valid()` tests whether character data is valid according to its
declared encoding;
+ `utf8_normalize()` converts text to Unicode composed normal form (NFC),
optionally applying case-folding and compatibility maps;
+ `utf8_encode()` encodes a character string, escaping all control
characters, so that it can be safely printed to the screen;
+ `utf8_format()` formats a character vector by truncating to a specified
character width limit or by left, right, or center justifying;
+ `utf8_print()` prints UTF-8 character data to the screen;
+ `utf8_width()` measures the display with of UTF-8 character strings
(many emoji and East Asian characters are twice as wide as other
characters).
The package does not provide a method to translate from another encoding to
UTF-8 as the `iconv()` function from base R already serves this purpose.
Translating to UTF-8
--------------------
Back to our original problem: getting the text of _Mansfield Park_ into R.
Our first attempt failed:
```r
corpus::term_stats(lines)
```
```
Error in corpus::term_stats(lines): argument entry 15252 is incorrectly marked as "UTF-8": invalid leading byte (0xA3) at position 36
```
We discovered a problem on line 15252:
```r
lines[15252]
```
```
[1] "the command of her beauty, and her \xa320,000, any one who could satisfy the"
```
The text is likely encoded in Latin-1, not UTF-8 (or ASCII) as we had
originally thought. We can test this by attempting to convert from
Latin-1 to UTF-8 with the `iconv()` function and inspecting the output:
```r
lines2 <- iconv(lines, "latin1", "UTF-8")
lines2[15252]
```
```
[1] "the command of her beauty, and her £20,000, any one who could satisfy the"
```
It worked! Now we can analyze our text.
```r
f <- corpus::text_filter(drop_punct = TRUE, drop = corpus::stopwords_en)
corpus::term_stats(lines2, f)
```
```
term count support
1 fanny 816 806
2 must 508 492
3 crawford 493 488
4 mr 482 466
5 much 459 450
6 miss 432 419
7 said 406 400
8 mrs 408 399
9 sir 372 366
10 edmund 364 364
11 one 370 358
12 think 349 346
13 now 333 331
14 might 324 320
15 time 310 307
16 little 309 300
17 nothing 301 291
18 well 299 286
19 thomas 288 285
20 good 280 275
⋮ (8450 rows total)
```
The *readtext* package
----------------------
If you need more than reading in a single text file, the [readtext][readtext]
package supports reading in text in a variety of file formats and encodings.
Beyond just plain text, that package can read in PDFs, Word documents, RTF,
and many other formats. (Unfortunately, that package currently fails when
trying to read in _Mansfield Park_; the authors are aware of the issue and are
working on a fix.)
Summary
-------
Text comes in a variety of encodings, and you cannot analyze a text without
first knowing its encoding. Many functions for reading in text assume that it
is encoded in UTF-8, but this assumption sometimes fails to hold. If you get
an error message reporting that your UTF-8 text is invalid, use `utf8_valid`
to find the offending texts. Try printing the data to the console before and
after using `iconv` to convert between character encodings. You can use
`utf8_print` to print UTF-8 characters that R refuses to display, including
emoji characters. For reading in exotic file formats like PDF or Word, try
the [readtext][readtext] package.
[emoji-data]: http://www.unicode.org/Public/emoji/5.0/emoji-data.txt
[gutenberg]: http://www.gutenberg.org
[readr]: https://github.com/tidyverse/readr#readme
[readtext]: https://github.com/kbenoit/readtext#readtext
[spolsky2003]: https://www.joelonsoftware.com/2003/10/08/the-absolute-minimum-every-software-developer-absolutely-positively-must-know-about-unicode-and-character-sets-no-excuses/
[unicode]: http://unicode.org/charts/
[unicode-data]: http://www.unicode.org/Public/10.0.0/ucd/UnicodeData.txt
[utf8]: https://en.wikipedia.org/wiki/UTF-8
[windows1252]: https://en.wikipedia.org/wiki/Windows-1252
utf8/inst/doc/utf8.html 0000644 0001762 0000144 00000102153 13301551650 014437 0 ustar ligges users
Unicode: Emoji, accents, and international text
Unicode: Emoji, accents, and international text
Character encoding
Before we can analyze a text in R, we first need to get its digital representation, a sequence of ones and zeros. In practice this works by first choosing an encoding for the text that assigns each character a numerical value, and then translating the sequence of characters in the text to the corresponding sequence of numbers specified by the encoding. Today, most new text is encoded according to the Unicode standard , specifically the 8-bit block Unicode Transfer Format, UTF-8 . Joel Spolsky gives a good overview of the situation in an essay from 2003 .
The software community has mostly moved to UTF-8 as a standard for text storage and interchange, but there is still a large volume of text in other encodings. Whenever you read a text file into R, you need to specify the encoding. If you don’t, R will try to guess the encoding, and if it guesses incorrectly, it will wrongly interpret the sequence of ones and zeros.
We will demonstrate the difficulties of encodings with the text of Jane Austen’s novel, Mansfield Park provided by Project Gutenberg . We will download the text, then read in the lines of the novel.
The unz
function and other similar file connection functions have encoding
arguments which, if left unspecified default to assuming that text is encoded in your operating system’s native encoding. To ensure consistent behavior across all platforms (Mac, Windows, and Linux), you should set this option explicitly. Here, we set encoding = "UTF-8"
. This is a reasonable default, but it is not always appropriate. In general, you should determine the appropriate encoding
value by looking at the file. Unfortunately, the file extension ".txt"
is not informative, and could correspond to any encoding. However, if we read the first few lines of the file, we see the following:
[1] "Author: Jane Austen"
[2] ""
[3] "Release Date: June, 1994 [Etext #141]"
[4] "Posting Date: February 11, 2015"
[5] ""
[6] "Language: English"
[7] ""
[8] "Character set encoding: ASCII"
[9] ""
[10] "*** START OF THIS PROJECT GUTENBERG EBOOK MANSFIELD PARK ***"
The character set encoding is reported as ASCII, which is a subset of UTF-8. So, we should be in good shape.
Unfortunately, we run into trouble as soon as we try to process the text:
Error in corpus::term_stats(lines): argument entry 15252 is incorrectly marked as "UTF-8": invalid leading byte (0xA3) at position 36
The error message tells us that line 15252 contains an invalid byte.
[1] "the command of her beauty, and her \xa320,000, any one who could satisfy the"
We might wonder if there are other lines with invalid data. We can find all such lines using the utf8_valid
function:
[1] "the command of her beauty, and her \xa320,000, any one who could satisfy the"
So, there are no other invalid lines.
The offending byte in line 15252 is displayed as \xa3
, an escape code for hexadecimal value 0xa3, decimal value 163. To understand why this is invalid, we need to learn more about UTF-8 encoding.
UTF-8
ASCII
The smallest unit of data transfer on modern computers is the byte, a sequence of eight ones and zeros that can encode a number between 0 and 255 (hexadecimal 0x00 and 0xff). In the earliest character encodings, the numbers from 0 to 127 (hexadecimal 0x00 to 0x7f) were standardized in an encoding known as ASCII, the American Standard Code for Information Interchange. Here are the characters corresponding to these codes:
codes <- matrix (0 : 127 , 8 , 16 , byrow = TRUE ,
dimnames = list (0 : 7 , c (0 : 9 , letters[1 : 6 ])))
ascii <- apply (codes, c (1 , 2 ), intToUtf8)
# replace control codes with ""
ascii["0" , c (0 : 6 , "e" , "f" )] <- ""
ascii["1" ,] <- ""
ascii["7" , "f" ] <- ""
utf8_print (ascii, quote = FALSE )
0 1 2 3 4 5 6 7 8 9 a b c d e f
0 \a \b \t \n \v \f \r
1
2 ! " # $ % & ' ( ) * + , - . /
3 0 1 2 3 4 5 6 7 8 9 : ; < = > ?
4 @ A B C D E F G H I J K L M N O
5 P Q R S T U V W X Y Z [ \\ ] ^ _
6 ` a b c d e f g h i j k l m n o
7 p q r s t u v w x y z { | } ~
The first 32 codes (the first two rows of the table) are special control codes, the most common of which, 0x0a
denotes a new line (\n
). The special code 0x00
often denotes the end of the input, and R does not allow this value in character strings. Code 0x7f
corresponds to a “delete” control.
When you call utf8_print
, it uses the low level utf8_encode
subroutine format control codes; they format as \uXXXX
for four hexadecimal digits XXXX
or as \UXXXXYYYY
for eight hexadecimal digits XXXXYYYY
:
[1] \u0001\u0002\u0003\u0004\u0005\u0006\a\b\t\n\v\f\r\u000e\u000f
Compare utf8_print
output with the output with the base R print function:
[1] \001\002\003\004\005\006\a\b\t\n\v\f\r\016\017
Base R format control codes below 128 using octal escapes. There are some other differences between the function which we will highlight below.
Latin-1
ASCII works fine for most text in English, but not for other languages. The Latin-1 encoding extends ASCII to Latin languages by assigning the numbers 128 to 255 (hexadecimal 0x80 to 0xff) to other common characters in Latin languages. We can see these characters below.
codes <- matrix (128 : 255 , 8 , 16 , byrow = TRUE ,
dimnames = list (c (8 : 9 , letters[1 : 6 ]), c (0 : 9 , letters[1 : 6 ])))
latin1 <- apply (codes, c (1 , 2 ), intToUtf8)
# replace control codes with ""
latin1[c ("8" , "9" ),] <- ""
utf8_print (latin1, quote = FALSE )
0 1 2 3 4 5 6 7 8 9 a b c d e f
8
9
a ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ® ¯
b ° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿
c À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï
d Ð Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü Ý Þ ß
e à á â ã ä å æ ç è é ê ë ì í î ï
f ð ñ ò ó ô õ ö ÷ ø ù ú û ü ý þ ÿ
As with ASCII, the first 32 numbers are control codes. The others are characters common in Latin languages. Note that 0xa3
, the invalid byte from Mansfield Park , corresponds to a pound sign in the Latin-1 encoding. Given the context of the byte:
[1] "the command of her beauty, and her \xa320,000, any one who could satisfy the"
this is probably the right symbol. The text is probably encoded in Latin-1, not UTF-8 or ASCII as claimed in the file.
If you run into an error while reading text that claims to be ASCII, it is probably encoded as Latin-1. Note, however, that this is not the only possibility, and there are many other encodings. The iconvlist
function will list the ones that R knows how to process:
[1] "437" "850" "852" "855"
[5] "857" "860" "861" "862"
[9] "863" "865" "866" "869"
[13] "ANSI_X3.4-1968" "ANSI_X3.4-1986" "ARABIC" "ARMSCII-8"
[17] "ASCII" "ASMO-708" "ATARI" "ATARIST"
UTF-8
With only 256 unique values, a single byte is not enough to encode every character. Multi-byte encodings allow for encoding more. UTF-8 encodes characters using between 1 and 4 bytes each and allows for up to 1,112,064 character codes. Most of these codes are currently unassigned, but every year the Unicode consortium meets and adds new characters. You can find a list of all of the characters in the Unicode Character Database . A listing of the Emoji characters is available separately .
Say you want to input the Unicode character with hexadecimal code 0x2603. You can do so in one of three ways:
[1] "☃"
[1] "☃"
[1] "☃"
For characters above 0xffff
, the first method won’t work. On Windows, a bug in the current version of R (fixed in R-devel) prevents using the second method.
When you try to print Unicode in R, the system will first try to determine whether the code is printable or not. Non-printable codes include control codes and unassigned codes. On Mac OS, R uses an outdated function to make this determination, so it is unable to print most emoji. The utf8_print
function uses the most recent version (10.0.0) of the Unicode standard, and will print all Unicode characters supported by your system:
[1] "\U0001f600\U0001f601\U0001f602\U0001f603\U0001f604\U0001f605\U0001f606\U0001f607\U0001f608\U0001f609\U0001f60a\U0001f60b\U0001f60c\U0001f60d\U0001f60e\U0001f60f\U0001f610\U0001f611\U0001f612\U0001f613\U0001f614\U0001f615\U0001f616\U0001f617\U0001f618\U0001f619\U0001f61a\U0001f61b\U0001f61c\U0001f61d\U0001f61e\U0001f61f\U0001f620\U0001f621\U0001f622\U0001f623\U0001f624\U0001f625\U0001f626\U0001f627\U0001f628\U0001f629\U0001f62a\U0001f62b\U0001f62c\U0001f62d\U0001f62e\U0001f62f\U0001f630\U0001f631\U0001f632\U0001f633\U0001f634\U0001f635\U0001f636\U0001f637\U0001f638\U0001f639\U0001f63a\U0001f63b\U0001f63c\U0001f63d\U0001f63e\U0001f63f\U0001f640\U0001f641\U0001f642\U0001f643\U0001f644\U0001f645\U0001f646\U0001f647\U0001f648\U0001f649\U0001f64a\U0001f64b\U0001f64c\U0001f64d\U0001f64e\U0001f64f"
[1] "😀😁😂😃😄😅😆😇😈😉😊😋😌😍😎😏😐😑😒😓😔😕😖😗😘😙😚😛😜😝😞😟😠😡😢😣…"
[1] "😀😁😂😃😄😅😆😇😈😉😊😋😌😍😎😏😐😑😒😓😔😕😖😗😘😙😚😛😜😝😞😟😠😡😢😣😤😥😦😧😨😩😪😫😬😭😮😯😰😱😲😳😴😵😶😷😸😹😺😻😼😽😾😿🙀🙁🙂🙃🙄🙅🙆🙇🙈🙉🙊🙋🙌🙍🙎🙏"
(Characters with codes above 0xffff, including most emoji, are not supported on Windows.)
The utf8 package provides the following utilities for validating, formatting, and printing UTF-8 characters:
as_utf8()
attempts to convert character data to UTF-8, throwing an error if the data is invalid;
utf8_valid()
tests whether character data is valid according to its declared encoding;
utf8_normalize()
converts text to Unicode composed normal form (NFC), optionally applying case-folding and compatibility maps;
utf8_encode()
encodes a character string, escaping all control characters, so that it can be safely printed to the screen;
utf8_format()
formats a character vector by truncating to a specified character width limit or by left, right, or center justifying;
utf8_print()
prints UTF-8 character data to the screen;
utf8_width()
measures the display with of UTF-8 character strings (many emoji and East Asian characters are twice as wide as other characters).
The package does not provide a method to translate from another encoding to UTF-8 as the iconv()
function from base R already serves this purpose.
Translating to UTF-8
Back to our original problem: getting the text of Mansfield Park into R. Our first attempt failed:
Error in corpus::term_stats(lines): argument entry 15252 is incorrectly marked as "UTF-8": invalid leading byte (0xA3) at position 36
We discovered a problem on line 15252:
[1] "the command of her beauty, and her \xa320,000, any one who could satisfy the"
The text is likely encoded in Latin-1, not UTF-8 (or ASCII) as we had originally thought. We can test this by attempting to convert from Latin-1 to UTF-8 with the iconv()
function and inspecting the output:
[1] "the command of her beauty, and her £20,000, any one who could satisfy the"
It worked! Now we can analyze our text.
term count support
1 fanny 816 806
2 must 508 492
3 crawford 493 488
4 mr 482 466
5 much 459 450
6 miss 432 419
7 said 406 400
8 mrs 408 399
9 sir 372 366
10 edmund 364 364
11 one 370 358
12 think 349 346
13 now 333 331
14 might 324 320
15 time 310 307
16 little 309 300
17 nothing 301 291
18 well 299 286
19 thomas 288 285
20 good 280 275
⋮ (8450 rows total)
The readtext package
If you need more than reading in a single text file, the readtext package supports reading in text in a variety of file formats and encodings. Beyond just plain text, that package can read in PDFs, Word documents, RTF, and many other formats. (Unfortunately, that package currently fails when trying to read in Mansfield Park ; the authors are aware of the issue and are working on a fix.)
Summary
Text comes in a variety of encodings, and you cannot analyze a text without first knowing its encoding. Many functions for reading in text assume that it is encoded in UTF-8, but this assumption sometimes fails to hold. If you get an error message reporting that your UTF-8 text is invalid, use utf8_valid
to find the offending texts. Try printing the data to the console before and after using iconv
to convert between character encodings. You can use utf8_print
to print UTF-8 characters that R refuses to display, including emoji characters. For reading in exotic file formats like PDF or Word, try the readtext package.
utf8/tests/ 0000755 0001762 0000144 00000000000 13201164717 012304 5 ustar ligges users utf8/tests/testthat.R 0000644 0001762 0000144 00000000064 13172033654 014271 0 ustar ligges users library(testthat)
library(utf8)
test_check("utf8")
utf8/tests/testthat/ 0000755 0001762 0000144 00000000000 13301570673 014147 5 ustar ligges users utf8/tests/testthat/test-utf8_width.R 0000644 0001762 0000144 00000003501 13203077745 017336 0 ustar ligges users context("utf8_width")
test_that("'utf8_width' computes widths correctly", {
ctype <- switch_ctype("UTF-8")
on.exit(Sys.setlocale("LC_CTYPE", ctype))
expect_equal(utf8_width(c("hello", "\u200b", "\u22ee", "\u6027"),
encode = FALSE),
c(5, 0, 1, 2))
})
test_that("'utf8_width' computes widths for extended unicode correctly", {
ctype <- switch_ctype("UTF-8")
on.exit(Sys.setlocale("LC_CTYPE", ctype))
skip_on_os("windows") # no extended Unicode
expect_equal(utf8_width(intToUtf8(0x1f642), encode = FALSE), 2)
})
test_that("'utf8_width' gives NA for non-ASCII in C locale", {
ctype <- switch_ctype("C")
on.exit(Sys.setlocale("LC_CTYPE", ctype))
x <- c("hello", "\u200b", "\u22ee", "\u6027", intToUtf8(0x1f642))
expect_equal(utf8_width(x, encode = FALSE), c(5, NA, NA, NA, NA))
})
test_that("'utf8_width' keeps names", {
expect_equal(utf8_width(c(a = "hello", b = "you")),
c(a = 5, b = 3))
})
test_that("'utf8_width' gives NA for control characters", {
expect_equal(utf8_width(c("\u0001", "\a", "new\nline"),
encode = FALSE),
c(NA_integer_, NA_integer_, NA_integer_))
})
test_that("'utf8_width' gives NA for invalid data", {
x <- c("a", "b", "\xff", "abc\xfe")
Encoding(x) <- "UTF-8"
expect_equal(utf8_width(x, encode = FALSE), c(1, 1, NA, NA))
})
test_that("'utf8_width' gives width 1 for quotes", {
expect_equal(utf8_width("\"", encode = TRUE), 1)
expect_equal(utf8_width("\"", encode = FALSE), 1)
})
test_that("'utf8_width' gives correct with in C locale", {
ctype <- switch_ctype("C")
on.exit(Sys.setlocale("LC_CTYPE", ctype))
x <- intToUtf8(c(0x1F487, 0x200D, 0x2642, 0xFE0F))
expect_equal(utf8_width(x), nchar(utf8_encode(x)))
})
utf8/tests/testthat/test-utf8_encode.R 0000644 0001762 0000144 00000010354 13203077636 017457 0 ustar ligges users context("utf8_encode")
test_that("'utf8_encode' can encode an ASCII string", {
expect_equal(utf8_encode("hello"), "hello")
})
test_that("'utf8_encode' can encode NULL or an NA string", {
expect_equal(utf8_encode(NULL), NULL)
expect_equal(utf8_encode(NA_character_), NA_character_)
})
test_that("'utf8_encode' preserves attributes", {
x <- matrix(LETTERS, 2, 13)
x[1,4] <- "\xa4"
Encoding(x) <- "latin1"
dimnames(x) <- list(c("foo", "bar"), as.character(1:13))
class(x) <- "my_class"
ctype <- switch_ctype("UTF-8")
on.exit(Sys.setlocale("LC_CTYPE", ctype))
expect_equal(utf8_encode(x), enc2utf8(x))
})
test_that("'utf8_encode' can encode basic Unicode", {
x <- "\u200b"
Encoding(x) <- "UTF-8"
ctype <- switch_ctype("UTF-8")
on.exit(Sys.setlocale("LC_CTYPE", ctype))
expect_equal(utf8_encode(x), x)
})
test_that("'utf8_encode' can encode extended Unicode", {
skip_on_os("windows") # no extended Unicode
x <- intToUtf8(0x0001f60d)
Encoding(x) <- "UTF-8"
ctype <- switch_ctype("UTF-8")
on.exit(Sys.setlocale("LC_CTYPE", ctype))
expect_equal(utf8_encode(x), x)
})
test_that("'utf8_encode' can handle ASCII escapes", {
x <- "\x01\a\b\f\n\r\t\v\x7f"
expect_equal(utf8_encode(x), "\\u0001\\a\\b\\f\\n\\r\\t\\v\\u007f")
})
test_that("'utf8_encode' can handle invalid UTF-8", {
x <- "\xfe"
Encoding(x) <- "bytes"
expect_equal(utf8_encode(x), "\\xfe")
})
test_that("'utf8_encode' can handle bytes", {
x <- "\x01\a\b\f\n\r\t\v\x7f\x80\xff"
Encoding(x) <- "bytes"
expect_equal(utf8_encode(x),
"\\x01\\a\\b\\f\\n\\r\\t\\v\\x7f\\x80\\xff")
})
test_that("'utf8_encode' can handle latin-1", {
x <- "her \xa320"
Encoding(x) <- "latin1"
ctype <- switch_ctype("C")
on.exit(Sys.setlocale("LC_CTYPE", ctype))
expect_equal(utf8_encode(x), "her \\u00a320")
switch_ctype("UTF-8")
expect_equal(utf8_encode(x), "her \u00a320")
})
test_that("'utf8_encode' can handle bytes", {
x <- c("fa\u00E7ile", "fa\xE7ile", "fa\xC3\xA7ile")
Encoding(x) <- c("UTF-8", "UTF-8", "bytes")
ctype <- switch_ctype("UTF-8")
on.exit(Sys.setlocale("LC_CTYPE", ctype))
y <- c("fa\u00e7ile", "fa\\xe7ile", "fa\\xc3\\xa7ile")
Encoding(y) <- c("UTF-8", "UTF-8", "bytes")
expect_equal(utf8_encode(x), y)
})
test_that("'utf8_encode escapes controls in UTF-8 text", {
ctype <- switch_ctype("UTF-8")
on.exit(Sys.setlocale("LC_CTYPE", ctype))
x <- '\n\u2026'; Encoding(x) <- "UTF-8"
y <- '\\n\u2026'; Encoding(y) <- "UTF-8"
expect_equal(utf8_encode(x), y)
})
test_that("'utf8_encode' can quote", {
x <- c("abcde", "x", "123", "\"", "'")
expect_equal(utf8_encode(x, quote = FALSE), encodeString(x, quote = ""))
expect_equal(utf8_encode(x, quote = TRUE), encodeString(x, quote = '"'))
})
test_that("'utf8_encode' ignores justify if width = 0", {
x <- c("abcde", "x", "123", "\"", "'")
expect_equal(utf8_encode(x, width = 0, justify = "none"),
encodeString(x, width = 0, justify = "none"))
expect_equal(utf8_encode(x, width = 0, justify = "left"),
encodeString(x, width = 0, justify = "left"))
expect_equal(utf8_encode(x, width = 0, justify = "centre"),
encodeString(x, width = 0, justify = "centre"))
expect_equal(utf8_encode(x, width = 0, justify = "right"),
encodeString(x, width = 0, justify = "right"))
})
test_that("'utf8_encode' can justify", {
x <- c("abcde", "x", "123", "\"", "'")
expect_equal(utf8_encode(x, width = NULL, justify = "none"),
encodeString(x, width = NULL, justify = "none"))
expect_equal(utf8_encode(x, width = NULL, justify = "left"),
encodeString(x, width = NULL, justify = "left"))
expect_equal(utf8_encode(x, width = NULL, justify = "centre"),
encodeString(x, width = NULL, justify = "centre"))
expect_equal(utf8_encode(x, width = NULL, justify = "right"),
encodeString(x, width = NULL, justify = "right"))
})
test_that("'utf8_encode' can justify and quote", {
expect_equal(utf8_encode(c("1", "10", "100"), width = NULL, quote = TRUE),
encodeString(c("1", "10", "100"), width = NULL, quote = '"'))
})
utf8/tests/testthat/helper-locale.R 0000644 0001762 0000144 00000001351 13203077543 017005 0 ustar ligges users switch_ctype <- function(mode = c("C", "UTF-8"))
{
mode <- match.arg(mode)
if (mode == "UTF-8") {
sysname <- Sys.info()[["sysname"]]
if (sysname == "Windows") {
ctype <- "English_United States.1252"
} else if (sysname == "Darwin") {
ctype <- "UTF-8"
} else {
ctype <- "en_US.utf8"
}
} else {
ctype <- "C"
}
ctype0 <- Sys.getlocale("LC_CTYPE")
suppressWarnings({
Sys.setlocale("LC_CTYPE", ctype)
})
if (Sys.getlocale("LC_CTYPE") != ctype) {
skip(paste0("Cannot change locale to '", ctype, "'"))
}
if (mode == "UTF-8" && !output_utf8()) {
skip("Cannot change to UTF-8 output")
}
ctype0
}
utf8/tests/testthat/helper-capture_output.R 0000644 0001762 0000144 00000000775 13172033621 020634 0 ustar ligges users
if (utils::packageVersion("testthat") <= "1.0.2") {
capture_output <- function(code, print = FALSE, width = 80) {
oldwidth <- getOption("width")
if (width != oldwidth) {
skip_if_not(with(R.Version(), paste(major, minor, sep = "."))
>= "3.4.0", "Setting width fails on R < 3.4.0")
options(width = width)
on.exit(options(width = oldwidth), add = TRUE)
}
testthat::capture_output(code, print)
}
}
utf8/tests/testthat/test-utf8_print.R 0000644 0001762 0000144 00000033726 13203077723 017363 0 ustar ligges users context("utf8_print")
test_that("'utf8_print' can print unicode", {
skip_on_os("windows")
ctype <- switch_ctype("UTF-8")
on.exit(Sys.setlocale("LC_CTYPE", ctype))
x <- c("\u0100\u0101\u0102\u0103\u0104\u0105",
"\u0106\u0107\u0108\u0109\u010a\u010b")
expect_equal(capture_output(utf8_print(x)),
paste("[1] \"\u0100\u0101\u0102\u0103\u0104\u0105\"",
"\"\u0106\u0107\u0108\u0109\u010a\u010b\""))
})
test_that("'utf8_print' works with unnamed character vectors", {
x <- as.character(1:100)
expect_equal(capture_output(utf8_print(x)),
capture_output(print(x)))
expect_equal(capture_output(utf8_print(x[1:96])),
capture_output(print(x[1:96])))
expect_equal(capture_output(utf8_print(x[1:7])),
capture_output(print(x[1:7])))
})
test_that("'utf8_print' works with named character vectors", {
x <- as.character(10 + 1:26)
names(x) <- letters
# left align names
xr <- x
names(xr) <- format(names(x), aligh="left", width = 4)
actual <- strsplit(capture_output(utf8_print(x)), "\n")[[1]]
expected <- strsplit(capture_output(print(xr)), "\n")[[1]]
expect_equal(paste(actual, ""), expected)
actual <- strsplit(capture_output(utf8_print(x[1:16])), "\n")[[1]]
expected <- strsplit(capture_output(print(xr[1:16])), "\n")[[1]]
expect_equal(paste(actual, ""), expected)
actual <- strsplit(capture_output(utf8_print(x[1:4])), "\n")[[1]]
expected <- strsplit(capture_output(print(xr[1:4])), "\n")[[1]]
expect_equal(paste(actual, ""), expected)
})
test_that("'utf8_print' can use the 'max' argument for unnamed vectors", {
x <- as.character(1:100)
expect_equal(capture_output(utf8_print(x, max = 0), width = 80),
" [ reached getOption(\"max.print\") -- omitted 100 entries ]")
expect_equal(capture_output(utf8_print(x, max = 100), width = 80),
capture_output(utf8_print(x), width = 80))
lines <- strsplit(capture_output(utf8_print(x, max = 20), width = 80),
"\n")[[1]]
expect_equal(length(lines), 3)
expect_equal(lines[[3]],
" [ reached getOption(\"max.print\") -- omitted 80 entries ]")
})
test_that("'utf8_print' can use the 'max' argument for named vectors", {
x <- as.character(1:260)
names(x) <- rep(letters, 10)
expect_equal(capture_output(utf8_print(x, max = 0), width = 80),
" [ reached getOption(\"max.print\") -- omitted 260 entries ]")
expect_equal(capture_output(utf8_print(x, max = 260), width = 80),
capture_output(utf8_print(x), width = 80))
lines <- strsplit(capture_output(utf8_print(x, max = 20), width = 80),
"\n")[[1]]
expect_equal(length(lines), 5)
expect_equal(lines[[5]],
" [ reached getOption(\"max.print\") -- omitted 240 entries ]")
})
test_that("'utf8_print' can print empty vectors", {
expect_equal(capture_output(utf8_print(character())), "character(0)")
expect_equal(capture_output(utf8_print(array(character(), 0))), "character(0)")
})
test_that("'utf8_print' can print matrices", {
x1 <- matrix(letters, 13, 2)
x2 <- matrix(letters, 13, 2)
rownames(x2) <- LETTERS[1:13]
x3 <- matrix(letters, 13, 2)
colnames(x3) <- c("x", "y")
x4 <- matrix(letters, 13, 2)
rownames(x4) <- LETTERS[1:13]
colnames(x4) <- c("x", "y")
expect_equal(capture_output(utf8_print(x1)),
capture_output(print(x1)))
expect_equal(capture_output(utf8_print(x2)),
capture_output(print(x2)))
expect_equal(capture_output(utf8_print(x3)),
capture_output(print(x3)))
expect_equal(capture_output(utf8_print(x4)),
capture_output(print(x4)))
})
test_that("'utf8_print' can print empty matrices", {
x1 <- matrix(character(), 10, 0)
x2 <- matrix(character(), 0, 10)
x3 <- matrix(character(), 0, 0)
expect_equal(paste0(" \n", capture_output(utf8_print(x1))),
capture_output(print(x1)))
expect_equal(paste0(" ", capture_output(utf8_print(x2))),
capture_output(print(x2)))
expect_equal(capture_output(utf8_print(x3)),
capture_output(print(x3)))
})
test_that("'utf8_print' can print arrays", {
x <- array(as.character(1:24), c(2,3,4,5))
expect_equal(capture_output(utf8_print(x)),
capture_output(print(x)))
x2 <- x
dimnames(x2) <- list(letters[1:2], letters[3:5], letters[6:9],
letters[10:14])
expect_equal(capture_output(utf8_print(x2)),
capture_output(print(x2)))
})
test_that("'utf8_print' can print empty arrays", {
expect_equal(capture_output(utf8_print(array(character(), c(2,3,0)))),
"<2 x 3 x 0 array>")
expect_equal(capture_output(utf8_print(array(character(), c(2,0,3)))),
"<2 x 0 x 3 array>")
expect_equal(capture_output(utf8_print(array(character(), c(0,2,3)))),
"<0 x 2 x 3 array>")
})
test_that("'utf8_print' can print quotes", {
expect_equal(capture_output(utf8_print('"')),
capture_output(print('"')))
expect_equal(capture_output(utf8_print('"', quote = FALSE)),
capture_output(print('"', quote = FALSE)))
})
test_that("'utf8_print' can handle NA", {
expect_equal(capture_output(utf8_print(NA_character_)),
capture_output(print(NA_character_)))
expect_equal(capture_output(utf8_print(NA_character_, quote = FALSE)),
capture_output(print(NA_character_, quote = FALSE)))
})
test_that("'utf8_print' can handle NA names", {
x <- matrix("hello", 1, 1, dimnames=list(NA,NA))
expect_equal(capture_output(utf8_print(x)),
capture_output(print(x)))
expect_equal(capture_output(utf8_print(x, na.print = "foo")),
capture_output(print(x, na.print = "foo")))
})
test_that("'utf8_print' can right justify", {
x <- matrix(c("a", "ab", "abc"), 3, 1,
dimnames = list(c("1", "2", "3"), "ch"))
expect_equal(capture_output(utf8_print(x, quote = FALSE, right = TRUE)),
capture_output(print(x, quote = FALSE, right = TRUE)))
expect_equal(capture_output(utf8_print(x, quote = TRUE, right = TRUE)),
capture_output(print(x, quote = TRUE, right = TRUE)))
})
test_that("'utf8_print' does not need a gap at the end", {
w <- 80
x <- cbind(x = paste0(rep("x", 10), collapse=""),
y = paste0(rep("y", w - 13 - 5 - 2), collapse=""))
expect_equal(length(strsplit(capture_output(utf8_print(x)),
"\n")[[1]]), 2)
})
test_that("'utf8_print' wraps correctly", {
w <- 80
half <- floor(w / 2)
d <- cbind(x = c("X", paste(rep("x", 2 * w), collapse="")),
y = c("Y", paste(rep("y", half + 1), collapse="")),
z = c("Z", paste(rep("z", half + 1), collapse="")),
a = 1:2,
b = 3:4,
c = 5:6)
expect_equal(capture_output(utf8_print(d, chars = 1000, quote = FALSE)),
capture_output(print(d, quote = FALSE)))
d2 <- cbind(x = paste(rep("x", w - 2), collapse=""), y = "y", z = "z")
expect_equal(capture_output(utf8_print(d2, chars = 1000, quote = FALSE)),
capture_output(print(d2, quote = FALSE)))
expect_equal(capture_output(utf8_print(d2[,c(2,1,3), drop = FALSE],
chars = 1000)),
capture_output(print(d2[,c(2,1,3), drop = FALSE])))
expect_equal(capture_output(utf8_print(d2[,c(2,3,1), drop = FALSE],
chars = 1000)),
capture_output(print(d2[,c(2,3,1), drop = FALSE])))
d3 <- as.matrix(data.frame(x = "X", y = "Y", z = "Z",
row.names = paste(rep("x", w), collapse=""),
stringsAsFactors = FALSE))
expect_equal(capture_output(utf8_print(d3, quote = FALSE)),
capture_output(print(d3, quote = FALSE)))
d4 <- as.matrix(data.frame(x = "X", y = "Y", z = "Z",
row.names = paste(rep("x", w - 1), collapse=""),
stringsAsFactors = FALSE))
expect_equal(capture_output(utf8_print(d4, quote = FALSE)),
capture_output(print(d4, quote = FALSE)))
d5 <- as.matrix(data.frame(x = "X", y = "Y", z = "Z",
row.names = paste(rep("x", w + 1), collapse=""),
stringsAsFactors = FALSE))
expect_equal(capture_output(utf8_print(d5, quote = FALSE)),
capture_output(print(d5, quote = FALSE)))
})
chartype_matrix <- function()
{
chars <- character()
desc <- character()
chars[1] <- "\u0001\u001f"; desc[1] <- "C0 control code"
chars[2] <- "\a\b\f\n\r\t"; desc[2] <- "Named control code"
chars[3] <- "abcdefuvwxyz"; desc[3] <- "ASCII"
chars[4] <- "\u0080\u009f"; desc[4] <- "C1 control code"
chars[5] <- paste0("\u00a0\u00a1\u00a2\u00a3\u00a4\u00a5",
"\u00fa\u00fb\u00fc\u00fd\u00fe\u00ff")
desc[5] <- "Latin-1"
chars[6] <- paste0("\u0100\u0101\u0102\u0103\u0104\u0105",
"\u0106\u0107\u0108\u0109\u010a\u010b")
desc[6] <- "Unicode"
chars[7] <- "\uff01\uff02\uff03\uff04\uff05\uff06"
desc[7] <- "Unicode wide"
chars[8] <- "\ue00\u2029"
desc[8] <- "Unicode control"
chars[9] <- paste0("x\u00adx\u200bx\u200cx\u200dx\u200ex\u200f",
"x\u034fx\ufeffx", intToUtf8(0xE0001), "x",
intToUtf8(0xE0020), "x", intToUtf8(0xE01EF), "x")
desc[9] <- "Unicode ignorable"
chars[10] <- paste0("a\u0300a\u0301a\u0302a\u0303a\u0304a\u0305",
"a\u0306a\u0307a\u0308a\u0309a\u030aa\u030b")
desc[10] <- "Unicode mark"
chars[11] <- paste0(intToUtf8(0x1F600), intToUtf8(0x1F601),
intToUtf8(0x1F602), intToUtf8(0x1F603),
intToUtf8(0x1F604), intToUtf8(0x1F483))
desc[11] <- "Emoji"
chars[12] <- paste0("x", intToUtf8(0x10ffff), "x")
desc[12] <- "Unassigned"
chars[13] <- "\xfd\xfe\xff"
desc[13] <- "Invalid"
Encoding(chars) <- "UTF-8"
x <- cbind(chars, desc)
rownames(x) <- seq_len(nrow(x))
x
}
test_that("'utf8_print' handles Unicode correctly", {
# R can't print all UTF-8 on windows:
# https://stat.ethz.ch/pipermail/r-devel/2017-June/074556.html
skip_on_os("windows")
ctype <- switch_ctype("UTF-8")
on.exit(Sys.setlocale("LC_CTYPE", ctype))
x <- chartype_matrix()
actual <- strsplit(capture_output(utf8_print(x, quote = FALSE)),
"\n")[[1]]
Encoding(actual) <- "UTF-8"
expected <- c(
" chars desc ",
"1 \\u0001\\u001f C0 control code ",
"2 \\a\\b\\f\\n\\r\\t Named control code",
"3 abcdefuvwxyz ASCII ",
"4 \\u0080\\u009f C1 control code ",
paste0("5 ", x[5, "chars"], " Latin-1 "),
paste0("6 ", x[6, "chars"], " Unicode "),
"7 \uff01\uff02\uff03\uff04\uff05\uff06 Unicode wide ",
"8 \\u0e00\\u2029 Unicode control ",
"9 xxxxxxxxxxxx Unicode ignorable ",
paste0("10 ", x[10, "chars"], " Unicode mark "),
paste0("11 ", paste(intToUtf8(0x1F600), intToUtf8(0x1F601),
intToUtf8(0x1F602), intToUtf8(0x1F603),
intToUtf8(0x1F604), intToUtf8(0x1F483), "",
sep = "\u200b"), " Emoji "),
"12 x\\U0010ffffx Unassigned ",
"13 \\xfd\\xfe\\xff Invalid ")
Encoding(expected) <- "UTF-8"
expect_equal(actual, expected)
})
test_that("'utf8_print' works in C locale", {
ctype <- switch_ctype("C")
on.exit(Sys.setlocale("LC_CTYPE", ctype))
x <- chartype_matrix()
actual <- strsplit(capture_output(utf8_print(x, chars = 1000,
quote = FALSE)),
"\n")[[1]]
expected <- c(
" chars ",
"1 \\u0001\\u001f ",
"2 \\a\\b\\f\\n\\r\\t ",
"3 abcdefuvwxyz ",
"4 \\u0080\\u009f ",
"5 \\u00a0\\u00a1\\u00a2\\u00a3\\u00a4\\u00a5\\u00fa\\u00fb\\u00fc\\u00fd\\u00fe\\u00ff ",
"6 \\u0100\\u0101\\u0102\\u0103\\u0104\\u0105\\u0106\\u0107\\u0108\\u0109\\u010a\\u010b ",
"7 \\uff01\\uff02\\uff03\\uff04\\uff05\\uff06 ",
"8 \\u0e00\\u2029 ",
"9 x\\u00adx\\u200bx\\u200cx\\u200dx\\u200ex\\u200fx\\u034fx\\ufeffx\\U000e0001x\\U000e0020x\\U000e01efx",
"10 a\\u0300a\\u0301a\\u0302a\\u0303a\\u0304a\\u0305a\\u0306a\\u0307a\\u0308a\\u0309a\\u030aa\\u030b ",
"11 \\U0001f600\\U0001f601\\U0001f602\\U0001f603\\U0001f604\\U0001f483 ",
"12 x\\U0010ffffx ",
"13 \\xfd\\xfe\\xff ",
" desc ",
"1 C0 control code ",
"2 Named control code",
"3 ASCII ",
"4 C1 control code ",
"5 Latin-1 ",
"6 Unicode ",
"7 Unicode wide ",
"8 Unicode control ",
"9 Unicode ignorable ",
"10 Unicode mark ",
"11 Emoji ",
"12 Unassigned ",
"13 Invalid ")
expect_equal(actual, expected)
})
utf8/tests/testthat/test-utf8_valid.R 0000644 0001762 0000144 00000003003 13202400061 017267 0 ustar ligges users context("utf8_valid")
test_that("'as_utf8' errors on latin1 declared to be UTF-8", {
x <- c("a", "b", "the command of her beauty, and her \xa320,000", "d")
Encoding(x) <- "UTF-8"
expect_equal(utf8_valid(x), c(TRUE, TRUE, FALSE, TRUE))
expect_error(as_utf8(x), "entry 3 has wrong Encoding; marked as \"UTF-8\" but invalid leading byte (0xA3) at position 36", fixed = TRUE)
})
test_that("utf8_valid errors on invalid UTF-8", {
x <- c("a", "b", "c", "d", "\xf8\x88\x80\x80\x80") # intToUtf8(0x00200000)
Encoding(x) <- "UTF-8"
expect_equal(utf8_valid(x), c(TRUE, TRUE, TRUE, TRUE, FALSE))
expect_error(as_utf8(x), "entry 5 has wrong Encoding; marked as \"UTF-8\" but invalid leading byte (0xF8) at position 1", fixed = TRUE)
})
test_that("utf8_valid passes on valid UTF-8 in bytes encoding", {
x <- "hello\u2002"
Encoding(x) <- "bytes"
expect_equal(utf8_valid(x), TRUE)
y <- x
Encoding(y) <- "UTF-8"
expect_equal(as_utf8(x), enc2utf8(y))
})
test_that("utf8_valid passes on valid ASCII in unknown encoding", {
x <- "world"
expect_equal(utf8_valid(x), TRUE)
expect_equal(as_utf8(x), enc2utf8(x))
})
test_that("utf8_valid errors on invalid UTF8 in bytes encoding", {
x <- paste0("hello", "\xfc\x8f\xbf\xbf\xbf\xbf") # intToUtf8(0xfffffff)
Encoding(x) <- "bytes"
expect_equal(utf8_valid(x), FALSE)
expect_error(as_utf8(x), "entry 1 cannot be converted from \"bytes\" Encoding to \"UTF-8\"; invalid leading byte (0xFC) at position 6", fixed = TRUE)
})
utf8/tests/testthat/helper-options.R 0000644 0001762 0000144 00000000035 13172033621 017231 0 ustar ligges users
options(encoding = "UTF-8")
utf8/tests/testthat/test-utf8_format.R 0000644 0001762 0000144 00000026714 13220756573 017524 0 ustar ligges users context("utf8_format")
test_that("'format' can handle short text", {
raw <- c(NA, "", "a", "foo", "short text")
expect_equal(utf8_format(raw, justify = "none", na.print = "NA"),
format(raw, justify = "none"))
expect_equal(utf8_format(raw, justify = "left", na.print = "NA"),
format(raw, justify = "left"))
expect_equal(utf8_format(raw, justify = "centre", na.print = "NA"),
format(raw, justify = "centre"))
expect_equal(utf8_format(raw, justify = "right", na.print = "NA"),
format(raw, justify = "right"))
})
test_that("'format' can handle long text in Unicode locale", {
raw <- c(NA, "", "a", "ab", "foo", "food", "short text",
"\u6027", "\u6027\u6027", "\u6027?")
Encoding(raw) <- "UTF-8"
short <- c(NA, "", "a", "ab", "fo\u2026", "fo\u2026", "sh\u2026",
"\u6027", "\u6027\u2026", "\u6027\u2026")
Encoding(short) <- "UTF-8"
rshort <- c(NA, "", "a", "ab", "\u2026oo", "\u2026od", "\u2026xt",
"\u6027", "\u2026\u6027", "\u2026?")
Encoding(rshort) <- "UTF-8"
ctype <- switch_ctype("UTF-8")
on.exit(Sys.setlocale("LC_CTYPE", ctype))
skip_on_os("windows") # windows can't format \u6027
expect_equal(utf8_format(raw, chars = 2, justify = "none", na.print = "NA"),
format(short, justify = "none"))
expect_equal(utf8_format(raw, chars = 2, justify = "left", na.print = "NA"),
format(short, justify = "left"))
expect_equal(utf8_format(raw, chars = 2, justify = "centre", na.print = "NA"),
format(short, justify = "centre"))
expect_equal(utf8_format(raw, chars = 2, justify = "right", na.print = "NA"),
format(rshort, justify = "right"))
})
test_that("'format' can handle long text in UTF-8 locale, part 2", {
raw <- c(NA, "", "a", "\n", "ab", "foo", "food", "short text",
"\u6027", "\u6027\u6027", "\u6027?")
short <- c(NA, "", "a", "\u2026", "a\u2026", "f\u2026", "f\u2026",
"s\u2026", "\u2026", "\u2026", "\u2026")
rshort <- c(NA, "", "a", "\u2026", "\u2026b", "\u2026o", "\u2026d",
"\u2026t", "\u2026", "\u2026", "\u2026?")
ctype <- switch_ctype("UTF-8")
on.exit(Sys.setlocale("LC_CTYPE", ctype))
expect_equal(utf8_format(raw, chars = 1, justify = "none",
na.encode = FALSE),
format(short, justify = "none", na.encode = FALSE))
expect_equal(utf8_format(raw, chars = 1, justify = "left", na.encode = FALSE),
format(short, justify = "left", na.encode = FALSE))
expect_equal(utf8_format(raw, chars = 1, justify = "centre", na.encode = FALSE),
format(short, justify = "centre", na.encode = FALSE))
expect_equal(utf8_format(raw, chars = 1, justify = "right",
na.encode = FALSE),
format(rshort, justify = "right", na.encode = FALSE))
})
test_that("'format' can handle long text in C locale", {
# 6 7 8 9 10
raw <- c("\u6027", "?\u6027", "\n\u6027", "?\n\u6027", "\u0001\u6027",
"\u6027?", "\u6027\n", "\u6027?\n", "\u6027\u0001")
short <- c("\\u6027", "?\\u6027", "\\n\\u6027", "?\\n...", "\\u0001...",
"\\u6027?", "\\u6027\\n", "\\u6027?...", "\\u6027...")
rshort <- c("\\u6027", "?\\u6027", "\\n\\u6027", "...\\n\\u6027",
"...\\u6027", "\\u6027?", "\\u6027\\n", "...?\\n",
"...\\u0001")
ctype <- switch_ctype("C")
on.exit(Sys.setlocale("LC_CTYPE", ctype))
expect_equal(utf8_encode(utf8_format(raw, chars = 8, justify = "none")),
format(short, justify = "none"))
left <- utf8_encode(utf8_format(raw, chars = 8, justify = "left"))
expect_equal(sub("\\s+$", "", left), short)
expect_equal(as.numeric(nchar(left)), rep(10, length(raw)))
centre <- utf8_encode(utf8_format(raw, chars = 8, justify = "centre"))
expect_equal(sub("^\\s+", "", sub("\\s+$", "", centre)), short)
expect_equal(as.numeric(nchar(centre)), rep(10, length(raw)))
right <- utf8_encode(utf8_format(raw, chars = 8, justify = "right"))
expect_equal(sub("^\\s+", "", right), rshort)
expect_equal(as.numeric(nchar(right)), rep(11, length(raw)))
})
test_that("'format' can handle high code points in C locale", {
ctype <- switch_ctype("C")
on.exit(Sys.setlocale("LC_CTYPE", ctype))
raw <- c(intToUtf8(0x00010000), intToUtf8(0x0010ffff))
expect_equal(utf8_format(raw, justify = "left"), raw)
expect_equal(utf8_format(raw, justify = "right"), raw)
})
test_that("'format' can handle high code points in Unicode locale", {
ctype <- switch_ctype("UTF-8")
on.exit(Sys.setlocale("LC_CTYPE", ctype))
skip_on_os("windows") # no Unicode above 0xFFFF on Windows
raw <- c(intToUtf8(0x00010000), intToUtf8(0x010ffff))
left <- c(paste0(intToUtf8(0x00010000), " "), intToUtf8(0x010ffff))
right <- c(paste0(" ", intToUtf8(0x00010000)), intToUtf8(0x010ffff))
expect_equal(utf8_format(raw, justify = "left"), left)
expect_equal(utf8_format(raw, justify = "right"), right)
})
test_that("'format' can handle ignorable code points", {
raw <- "\u200B"
ctype <- switch_ctype("C")
on.exit(Sys.setlocale("LC_CTYPE", ctype))
expect_equal(utf8_format(raw, justify = "left"), raw)
expect_equal(utf8_format(raw, justify = "centre"), raw)
expect_equal(utf8_format(raw, justify = "right"), raw)
switch_ctype("UTF-8")
expect_equal(utf8_format(raw, justify = "left"), raw)
expect_equal(utf8_format(raw, justify = "centre"), raw)
expect_equal(utf8_format(raw, justify = "right"), raw)
})
test_that("'format' can handle marks", {
raw <- "\u1e0d\u0307"
ctype <- switch_ctype("C")
on.exit(Sys.setlocale("LC_CTYPE", ctype))
expect_equal(utf8_format(raw, chars = 6, justify = "left"), "...")
expect_equal(utf8_format(raw, chars = 6, justify = "centre"), "...")
expect_equal(utf8_format(raw, chars = 5, justify = "right"), "...")
switch_ctype("UTF-8")
expect_equal(utf8_format(raw, chars = 1, justify = "left"), raw)
expect_equal(utf8_format(raw, chars = 1, justify = "centre"), raw)
expect_equal(utf8_format(raw, chars = 1, justify = "right"), raw)
})
test_that("'format' can handle UTF-8 'Other' codes", {
raw <- "\u2072" # unassigned
ctype <- switch_ctype("C")
on.exit(Sys.setlocale("LC_CTYPE", ctype))
expect_equal(utf8_format(raw, justify = "left"), raw)
expect_equal(utf8_format(raw, justify = "centre"), raw)
expect_equal(utf8_format(raw, justify = "right"), raw)
switch_ctype("UTF-8")
expect_equal(utf8_format(raw, justify = "left"), raw)
expect_equal(utf8_format(raw, justify = "centre"), raw)
expect_equal(utf8_format(raw, justify = "right"), raw)
})
test_that("'format' can handle zero, or NULL chars", {
raw <- "foo"
ctype <- switch_ctype("C")
on.exit(Sys.setlocale("LC_CTYPE", ctype))
expect_equal(as.character(utf8_format(raw, chars = 0, justify = "left")),
"...")
expect_equal(as.character(utf8_format(raw, chars = 0, justify = "centre")),
"...")
expect_equal(as.character(utf8_format(raw, chars = 0, justify = "right")),
"...")
expect_equal(as.character(utf8_format(raw, chars = NULL, justify = "left")),
"foo")
expect_equal(as.character(utf8_format(raw, chars = NULL,
justify = "centre")),
"foo")
expect_equal(as.character(utf8_format(raw, chars = NULL,
justify = "right")),
"foo")
})
test_that("'format' can skip NA", {
expect_equal(as.character(utf8_format(NA_character_, na.encode = FALSE)),
NA_character_)
})
test_that("'format' can set minimum width", {
raw <- c("a", "ab", "abc")
expect_equal(utf8_format(raw, justify = "none", width = 5),
format(raw, justify = "none", width = 5))
expect_equal(utf8_format(raw, justify = "left", width = 5),
format(raw, justify = "left", width = 5))
expect_equal(utf8_format(raw, justify = "centre", width = 5),
format(raw, justify = "centre", width = 5))
expect_equal(utf8_format(raw, justify = "right", width = 5),
format(raw, justify = "right", width = 5))
})
test_that("'format' error for invalid justify", {
expect_error(utf8_format("", justify = "wild"),
paste("'justify' must be one of the following:",
paste(dQuote(c("left", "right", "centre", "none")),
collapse = ", ")),
fixed = TRUE)
})
test_that("'format' error for invalid logicals", {
expect_error(utf8_format("", trim = NA), "'trim' must be TRUE or FALSE",
fixed = TRUE)
expect_error(utf8_format("", na.encode = NA),
"'na.encode' must be TRUE or FALSE", fixed = TRUE)
})
test_that("'format' error for invalid integers", {
expect_error(utf8_format("", chars = "3"),
"'chars' must be integer-valued",
fixed = TRUE)
expect_error(utf8_format("", width = "3"),
"'width' must be integer-valued",
fixed = TRUE)
})
test_that("'utf8_format' can handle invalid UTF-8", {
input <- "\xff\xfe"
Encoding(input) <- "UTF-8"
x <- c("a", input)
output <- input
Encoding(output) <- "bytes"
expect_equal(utf8_format(x, justify = "none"), c("a", output))
expect_equal(utf8_format(x, justify = "left"), c("a ", output))
expect_equal(utf8_format(x, justify = "centre"), c(" a ", output))
expect_equal(utf8_format(x, justify = "right"), c(" a", output))
})
test_that("'utf8_format' can handle latin1 text", {
x <- "fa\xE7ile"
Encoding(x) <- "latin1"
y <- iconv(x, "latin1", "UTF-8")
expect_equal(utf8_format(x), y)
})
test_that("'utf8_format' can quote", {
expect_equal(utf8_format(c("a", "abc"), quote = TRUE),
c('a ', 'abc'))
expect_equal(utf8_format(c("a", "abc"), quote = TRUE, justify = "centre"),
c(' a ', 'abc'))
expect_equal(utf8_format(c("a", "abc"), quote = TRUE, justify = "right"),
c(' a', 'abc'))
})
test_that("'utf8_format' can handle quotes", {
expect_equal(utf8_format('"'), '"')
expect_equal(utf8_format('"', quote = TRUE), '"')
expect_equal(utf8_format('"', justify = "right"), '"')
expect_equal(utf8_format('"', justify = "right", quote = TRUE), '"')
})
test_that("'utf8_format' works on bytes", {
x <- "fa\xC3\xA7ile"
Encoding(x) <- "bytes"
l <- utf8_format(x, justify = "left")
expect_equal(Encoding(l), "bytes")
r <- utf8_format(x, justify = "right")
expect_equal(Encoding(r), "bytes")
Encoding(x) <- Encoding(l) <- Encoding(r) <- "UTF-8"
expect_equal(l, x)
expect_equal(r, x)
})
test_that("'utf8_format' can right justify", {
x <- " (3322 rows total)"
expect_equal(utf8_format(x, width = 79, justify = "right"),
format(x, width = 79, justify = "right"))
})
test_that("'utf8_format' use ... ellipsis for bytes", {
ctype <- switch_ctype("UTF-8")
on.exit(Sys.setlocale("LC_CTYPE", ctype))
x <- "fa\xC3\xA7ile"
Encoding(x) <- "bytes"
y <- "fa\xC3..."
Encoding(y) <- "bytes"
expect_equal(utf8_format(x, chars = 6), y)
})
utf8/tests/testthat/test-utf8_normalize.R 0000644 0001762 0000144 00000004722 13203077656 020226 0 ustar ligges users context("utf8_normalize")
# From http://unicode.org/reports/tr15/
test_that("'utf8_normalize' can reproduce Fig. 3", {
src <- c("\u212b", "\u2126")
nfd <- c("\u0041\u030a", "\u03a9")
nfc <- c("\u00c5", "\u03a9")
expect_equal(utf8_normalize(src), nfc)
expect_equal(utf8_normalize(nfd), nfc)
})
# From http://unicode.org/reports/tr15/
test_that("'utf8_normalize' can reproduce Fig. 4", {
src <- c("\u00c5", "\u00f4")
nfd <- c("\u0041\u030a", "\u006f\u0302")
nfc <- c("\u00c5", "\u00f4")
expect_equal(utf8_normalize(src), nfc)
expect_equal(utf8_normalize(nfd), nfc)
})
# From http://unicode.org/reports/tr15/
test_that("'utf8_normalize' can reproduce Fig. 5", {
src <- c("\u1e69", "\u1e0b\u0323", "\u0071\u0307\u0323")
nfd <- c("\u0073\u0323\u0307", "\u0064\u0323\u0307", "\u0071\u0323\u0307")
nfc <- c("\u1e69", "\u1e0d\u0307", "\u0071\u0323\u0307")
expect_equal(utf8_normalize(src), nfc)
expect_equal(utf8_normalize(nfd), nfc)
})
# From http://unicode.org/reports/tr15/
test_that("'utf8_normalize' can reproduce Fig. 6", {
src <- c("\ufb01", "\u0032\u2075", "\u1e9b\u0323")
nfd <- c("\ufb01", "\u0032\u2075", "\u017f\u0323\u0307")
nfc <- c("\ufb01", "\u0032\u2075", "\u1e9b\u0323")
nfkd <- c("\u0066\u0069", "\u0032\u0035", "\u0073\u0323\u0307")
nfkc <- c("\u0066\u0069", "\u0032\u0035", "\u1e69")
expect_equal(utf8_normalize(src), nfc)
expect_equal(utf8_normalize(nfd), nfc)
expect_equal(utf8_normalize(src, map_compat = TRUE), nfkc)
expect_equal(utf8_normalize(nfd, map_compat = TRUE), nfkc)
expect_equal(utf8_normalize(nfkd), nfkc)
})
test_that("'utf8_normalize' can normalize, case fold, and remove ignorables", {
src <- c("A", "\u00df", "\u1e9e", "\u1fc3", "\u200b")
nfkc_casefold <- c("a", "ss", "ss", "\u03b7\u03b9", "")
expect_equal(utf8_normalize(src, map_case = TRUE, remove_ignorable = TRUE),
nfkc_casefold)
})
test_that("'utf8_normalize' can map quotes", {
src <- c("\"", "'", "\u2018", "\u2019", "\u201c", "\u201d")
quotefold <- c("\"", "'", "'", "'", "\u201c", "\u201d")
expect_equal(utf8_normalize(src, map_quote = TRUE), quotefold)
})
test_that("'utf8_normalize' accepts NULL", {
expect_equal(utf8_normalize(NULL), NULL)
})
test_that("'utf8_normalize' accepts NA", {
expect_equal(utf8_normalize(NA_character_), NA_character_)
})
test_that("'utf8_normalize' can handle backslash", {
expect_equal(utf8_normalize("\\m"), "\\m")
})
utf8/src/ 0000755 0001762 0000144 00000000000 13301551650 011726 5 ustar ligges users utf8/src/utf8_valid.c 0000644 0001762 0000144 00000003453 13301551651 014145 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include
#include "rutf8.h"
SEXP rutf8_utf8_valid(SEXP sx)
{
SEXP ans, sstr;
const uint8_t *str;
struct utf8lite_text text;
cetype_t ce;
size_t size;
R_xlen_t i, n;
int raw, val;
if (sx == R_NilValue) {
return R_NilValue;
}
if (!isString(sx)) {
error("argument is not a character object");
}
n = XLENGTH(sx);
PROTECT(ans = allocVector(LGLSXP, n));
setAttrib(ans, R_NamesSymbol, getAttrib(sx, R_NamesSymbol));
setAttrib(ans, R_DimSymbol, getAttrib(sx, R_DimSymbol));
setAttrib(ans, R_DimNamesSymbol, getAttrib(sx, R_DimNamesSymbol));
n = XLENGTH(sx);
for (i = 0; i < n; i++) {
CHECK_INTERRUPT(i);
PROTECT(sstr = STRING_ELT(sx, i));
if (sstr == NA_STRING) {
LOGICAL(ans)[i] = NA_LOGICAL;
UNPROTECT(1);
continue;
}
ce = getCharCE(sstr);
raw = rutf8_encodes_utf8(ce) || ce == CE_BYTES;
if (raw) {
str = (const uint8_t *)CHAR(sstr);
size = (size_t)XLENGTH(sstr);
} else {
str = (const uint8_t *)rutf8_translate_utf8(sstr);
size = strlen((const char *)str);
}
if (utf8lite_text_assign(&text, str, size, 0, NULL)) {
val = FALSE;
} else {
val = TRUE;
}
LOGICAL(ans)[i] = val;
UNPROTECT(1);
}
UNPROTECT(1);
return ans;
}
utf8/src/string.c 0000644 0001762 0000144 00000007431 13301551651 013406 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include "rutf8.h"
static void bytes_init(struct rutf8_bytes *bytes, SEXP charsxp);
static int text_init(struct utf8lite_text *text, SEXP charsxp);
void rutf8_string_init(struct rutf8_string *str, SEXP charsxp)
{
if (charsxp == NA_STRING) {
str->type = RUTF8_STRING_NONE;
} else if (!text_init(&str->value.text, charsxp)) {
str->type = RUTF8_STRING_TEXT;
} else {
bytes_init(&str->value.bytes, charsxp);
str->type = RUTF8_STRING_BYTES;
}
}
void bytes_init(struct rutf8_bytes *bytes, SEXP charsxp)
{
assert(charsxp != NA_STRING);
bytes->ptr = (const uint8_t *)CHAR(charsxp);
bytes->size = (size_t)XLENGTH(charsxp);
}
int text_init(struct utf8lite_text *text, SEXP charsxp)
{
const uint8_t *ptr;
size_t size;
cetype_t ce;
int err = 0;
assert(charsxp != NA_STRING);
ce = getCharCE(charsxp);
if (rutf8_encodes_utf8(ce)) {
ptr = (const uint8_t *)CHAR(charsxp);
size = (size_t)XLENGTH(charsxp);
} else if (ce == CE_LATIN1 || ce == CE_NATIVE) {
ptr = (const uint8_t *)rutf8_translate_utf8(charsxp);
size = strlen((const char *)ptr);
} else {
err = UTF8LITE_ERROR_INVAL; // bytes or other encoding
goto exit;
}
TRY(utf8lite_text_assign(text, ptr, size, 0, NULL));
exit:
return err;
}
int rutf8_string_width(const struct rutf8_string *str, int flags)
{
switch (str->type) {
case RUTF8_STRING_TEXT:
return rutf8_text_width(&str->value.text, flags);
case RUTF8_STRING_BYTES:
return rutf8_bytes_width(&str->value.bytes, flags);
default:
return -1;
}
}
int rutf8_string_lwidth(const struct rutf8_string *str, int flags,
int limit, int ellipsis)
{
switch (str->type) {
case RUTF8_STRING_TEXT:
return rutf8_text_lwidth(&str->value.text, flags, limit,
ellipsis);
case RUTF8_STRING_BYTES:
return rutf8_bytes_lwidth(&str->value.bytes, flags, limit);
default:
return -1;
}
}
int rutf8_string_rwidth(const struct rutf8_string *str, int flags,
int limit, int ellipsis)
{
switch (str->type) {
case RUTF8_STRING_TEXT:
return rutf8_text_rwidth(&str->value.text, flags,
limit, ellipsis);
case RUTF8_STRING_BYTES:
return rutf8_bytes_rwidth(&str->value.bytes, flags, limit);
default:
return -1;
}
}
void rutf8_string_render(struct utf8lite_render *r,
const struct rutf8_string *str,
int width, int quote, enum rutf8_justify_type justify)
{
switch (str->type) {
case RUTF8_STRING_TEXT:
rutf8_text_render(r, &str->value.text, width, quote, justify);
break;
case RUTF8_STRING_BYTES:
rutf8_bytes_render(r, &str->value.bytes, width, quote, justify);
break;
default:
break;
}
}
SEXP rutf8_string_format(struct utf8lite_render *r,
const struct rutf8_string *str,
int trim, int chars, enum rutf8_justify_type justify,
int quote, const char *ellipsis, size_t nellipsis,
int wellipsis, int flags, int width_max)
{
switch (str->type) {
case RUTF8_STRING_TEXT:
return rutf8_text_format(r, &str->value.text, trim, chars,
justify, quote, ellipsis, nellipsis,
wellipsis, flags, width_max);
case RUTF8_STRING_BYTES:
// always use ASCII for byte formatting; UTF-8 isn't allowed
return rutf8_bytes_format(r, &str->value.bytes, trim, chars,
justify, quote, flags, width_max);
default:
return NA_STRING;
}
}
utf8/src/Makevars 0000644 0001762 0000144 00000001120 13301551651 013415 0 ustar ligges users PKG_CFLAGS = -Iutf8lite/src
PKG_LIBS = -L. -lcutf8lite
LIBUTF8LITE = \
utf8lite/src/array.o \
utf8lite/src/char.o \
utf8lite/src/encode.o \
utf8lite/src/error.o \
utf8lite/src/escape.o \
utf8lite/src/graph.o \
utf8lite/src/graphscan.o \
utf8lite/src/normalize.o \
utf8lite/src/render.o \
utf8lite/src/text.o \
utf8lite/src/textassign.o \
utf8lite/src/textiter.o \
utf8lite/src/textmap.o
$(SHLIB): libcutf8lite.a
libcutf8lite.a: $(LIBUTF8LITE)
$(AR) rcs $@ $(LIBUTF8LITE)
clean:
rm -f $(LIBUTF8LITE) $(SHLIB) $(OBJECTS) libcutf8lite.a
utf8/src/util.c 0000644 0001762 0000144 00000006010 13301551651 013045 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include
#include
#include "rutf8.h"
int rutf8_as_justify(SEXP justify)
{
const char *str;
str = CHAR(STRING_ELT(justify, 0));
if (strcmp(str, "left") == 0) {
return RUTF8_JUSTIFY_LEFT;
} else if (strcmp(str, "right") == 0) {
return RUTF8_JUSTIFY_RIGHT;
} else if (strcmp(str, "centre") == 0) {
return RUTF8_JUSTIFY_CENTRE;
} else {
return RUTF8_JUSTIFY_NONE;
}
}
const char *rutf8_as_style(SEXP style)
{
SEXP elt;
char *ans;
int n;
if (style == R_NilValue) {
return NULL;
}
PROTECT(elt = STRING_ELT(style, 0));
n = LENGTH(elt);
ans = R_alloc(2 + n + 2, 1);
ans[0] = '\033';
ans[1] = '[';
memcpy(ans + 2, CHAR(elt), n);
ans[2 + n] = 'm';
ans[3 + n] = '\0';
UNPROTECT(1);
return ans;
}
int rutf8_encodes_utf8(cetype_t ce)
{
switch (ce) {
case CE_ANY:
case CE_UTF8:
#if (!defined(_WIN32) && !defined(_WIN64))
case CE_NATIVE: // assume that 'native' is UTF-8 on non-Windows
#endif
return 1;
default:
return 0;
}
}
#if (defined(_WIN32) || defined(_WIN64))
#include
extern unsigned int localeCP;
const char *rutf8_translate_utf8(SEXP x)
{
LPWSTR wstr;
const char *raw;
char *str;
cetype_t ce;
int len, wlen, n;
UINT cp;
ce = getCharCE(x);
raw = CHAR(x);
n = LENGTH(x);
if (ce == CE_ANY || ce == CE_UTF8 || n == 0) {
return raw;
}
assert(ce == CE_NATIVE || ce == CE_LATIN1);
if (ce == CE_LATIN1) {
// R seems to mark native strings as "latin1" when the code page
// is set to 1252, but this doesn't seem to be correct. Work
// around this behavior by decoding "latin1" as Windows-1252.
cp = 1252;
} else {
cp = localeCP;
if (cp == 0) {
// Failed determining code page from locale. Use native
// code page, which R interprets to be the ANSI Code Page
// **not GetConsoleCP(), even if CharacterMode == RTerm**.
// See src/extra/win_iconv.c; name_to_codepage().
cp = GetACP();
}
}
// translate from current code page to UTF-16
wlen = MultiByteToWideChar(cp, 0, raw, n, NULL, 0);
wstr = (LPWSTR)R_alloc(wlen, sizeof(*wstr));
MultiByteToWideChar(cp, 0, raw, n, wstr, wlen);
// convert from UTF-16 to UTF-8
len = WideCharToMultiByte(CP_UTF8, 0, wstr, wlen, NULL, 0, NULL, NULL);
str = R_alloc(len + 1, 1); // add space for NUL
WideCharToMultiByte(CP_UTF8, 0, wstr, wlen, str, len, NULL, NULL);
str[len] = '\0';
return str;
}
#else
const char *rutf8_translate_utf8(SEXP x)
{
return translateCharUTF8(x);
}
#endif
utf8/src/bytes.c 0000644 0001762 0000144 00000020147 13301551651 013225 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include
#include
#include "rutf8.h"
static int byte_width(uint8_t byte, int flags);
static void render_byte(struct utf8lite_render *r, uint8_t byte);
int rutf8_bytes_width(const struct rutf8_bytes *bytes, int flags)
{
const uint8_t *ptr = bytes->ptr;
const uint8_t *end = ptr + bytes->size;
uint8_t byte;
int width, w;
width = 0;
while (ptr != end) {
byte = *ptr++;
w = byte_width(byte, flags);
if (w < 0) {
return -1;
}
if (width > INT_MAX - w) {
Rf_error("width exceeds maximum (%d)", INT_MAX);
}
width += w;
}
return width;
}
int rutf8_bytes_lwidth(const struct rutf8_bytes *bytes, int flags, int limit)
{
const uint8_t *ptr = bytes->ptr;
const uint8_t *end = ptr + bytes->size;
uint8_t byte;
int width, w, ellipsis = 3;
width = 0;
while (ptr != end) {
byte = *ptr++;
w = byte_width(byte, flags);
assert(w >= 0);
if (width > limit - w) {
return width + ellipsis;
}
width += w;
}
return width;
}
int rutf8_bytes_rwidth(const struct rutf8_bytes *bytes, int flags, int limit)
{
const uint8_t *ptr = bytes->ptr;
const uint8_t *end = ptr + bytes->size;
uint8_t byte;
int width, w, ellipsis = 3;
width = 0;
while (ptr != end) {
byte = *ptr++;
w = byte_width(byte, flags);
assert(w >= 0);
if (width > limit - w) {
return width + ellipsis;
}
width += w;
}
return width;
}
static void rutf8_bytes_lrender(struct utf8lite_render *r,
const struct rutf8_bytes *bytes,
int width_min, int quote, int centre)
{
const uint8_t *ptr, *end;
uint8_t byte;
int err = 0, w, fullwidth, width, quotes;
assert(width_min >= 0);
quotes = quote ? 2 : 0;
width = 0;
if (centre && width_min > 0) {
fullwidth = rutf8_bytes_width(bytes, r->flags);
if (fullwidth <= width_min - quotes) {
width = (width_min - fullwidth - quotes) / 2;
TRY(utf8lite_render_chars(r, ' ', width));
}
}
if (quote) {
TRY(utf8lite_render_raw(r, "\"", 1));
assert(width < INT_MAX);
width++;
}
ptr = bytes->ptr;
end = bytes->ptr + bytes->size;
while (ptr < end) {
byte = *ptr++;
w = byte_width(byte, r->flags);
render_byte(r, byte);
assert(w >= 0);
if (width <= width_min - w) {
width += w;
} else {
width = width_min; // truncate to avoid overflow
}
}
if (quote) {
TRY(utf8lite_render_raw(r, "\"", 1));
if (width < width_min) { // avoid overflow
width++;
}
}
if (width < width_min) {
TRY(utf8lite_render_chars(r, ' ', width_min - width));
}
exit:
CHECK_ERROR(err);
}
static void rutf8_bytes_rrender(struct utf8lite_render *r,
const struct rutf8_bytes *bytes,
int width_min, int quote)
{
const uint8_t *ptr, *end;
uint8_t byte;
int err = 0, fullwidth, quotes;
assert(width_min >= 0);
quotes = quote ? 2 : 0;
if (width_min > 0) {
fullwidth = rutf8_bytes_width(bytes, r->flags);
// ensure fullwidth + quotes doesn't overflow
if (fullwidth <= width_min - quotes) {
fullwidth += quotes;
TRY(utf8lite_render_chars(r, ' ',
width_min - fullwidth));
}
}
if (quote) {
TRY(utf8lite_render_raw(r, "\"", 1));
}
ptr = bytes->ptr;
end = bytes->ptr + bytes->size;
while (ptr < end) {
byte = *ptr++;
render_byte(r, byte);
}
if (quote) {
TRY(utf8lite_render_raw(r, "\"", 1));
}
exit:
CHECK_ERROR(err);
}
void rutf8_bytes_render(struct utf8lite_render *r,
const struct rutf8_bytes *bytes,
int width, int quote, enum rutf8_justify_type justify)
{
int centre;
if (justify == RUTF8_JUSTIFY_RIGHT) {
rutf8_bytes_rrender(r, bytes, width, quote);
} else {
centre = (justify == RUTF8_JUSTIFY_CENTRE);
rutf8_bytes_lrender(r, bytes, width, quote, centre);
}
}
static SEXP rutf8_bytes_lformat(struct utf8lite_render *r,
const struct rutf8_bytes *bytes,
int trim, int chars, int quote,
int flags, int width_max, int centre)
{
SEXP ans = R_NilValue;
const uint8_t *ptr, *end;
uint8_t byte;
int err = 0, w, trunc, bfill, efill, fullwidth, width, quotes;
quotes = quote ? 2 : 0;
bfill = 0;
if (centre && !trim) {
fullwidth = (rutf8_bytes_lwidth(bytes, flags, chars) + quotes);
if (fullwidth < width_max) {
bfill = (width_max - fullwidth) / 2;
TRY(utf8lite_render_chars(r, ' ', bfill));
}
}
width = 0;
trunc = 0;
ptr = bytes->ptr;
end = bytes->ptr + bytes->size;
while (!trunc && ptr < end) {
byte = *ptr++;
w = byte_width(byte, flags);
if (width > chars - w) {
w = 3;
TRY(utf8lite_render_raw(r, "...", 3));
trunc = 1;
} else {
render_byte(r, byte);
}
width += w;
}
if (!trim) {
efill = width_max - width - quotes - bfill;
TRY(utf8lite_render_chars(r, ' ', efill));
}
ans = mkCharLenCE((char *)r->string, r->length, CE_BYTES);
utf8lite_render_clear(r);
exit:
CHECK_ERROR(err);
return ans;
}
static SEXP rutf8_bytes_rformat(struct utf8lite_render *r,
const struct rutf8_bytes *bytes,
int trim, int chars, int quote,
int flags, int width_max)
{
SEXP ans = R_NilValue;
const uint8_t *ptr, *end;
uint8_t byte;
int err = 0, w, width, quotes, trunc;
quotes = quote ? 2 : 0;
end = bytes->ptr + bytes->size;
ptr = end;
width = 0;
trunc = 0;
while (!trunc && ptr > bytes->ptr) {
byte = *--ptr;
w = byte_width(byte, flags);
if (width > chars - w) {
w = 3; // ...
trunc = 1;
}
width += w;
}
if (!trim) {
TRY(utf8lite_render_chars(r, ' ', width_max - width - quotes));
}
if (trunc) {
TRY(utf8lite_render_raw(r, "...", 3));
}
while (ptr < end) {
byte = *ptr++;
render_byte(r, byte);
}
ans = mkCharLenCE((char *)r->string, r->length, CE_BYTES);
utf8lite_render_clear(r);
exit:
CHECK_ERROR(err);
return ans;
}
SEXP rutf8_bytes_format(struct utf8lite_render *r,
const struct rutf8_bytes *bytes,
int trim, int chars, enum rutf8_justify_type justify,
int quote, int flags, int width_max)
{
int centre;
if (justify == RUTF8_JUSTIFY_RIGHT) {
return rutf8_bytes_rformat(r, bytes, trim, chars, quote,
flags, width_max);
} else {
centre = (justify == RUTF8_JUSTIFY_CENTRE);
return rutf8_bytes_lformat(r, bytes, trim, chars, quote,
flags, width_max, centre);
}
}
int byte_width(uint8_t byte, int flags)
{
if (byte < 0x80) {
switch (byte) {
case '\a':
case '\b':
case '\f':
case '\n':
case '\r':
case '\t':
case '\v':
return (flags & UTF8LITE_ESCAPE_CONTROL) ? 2 : -1;
case '\\':
return (flags & (UTF8LITE_ESCAPE_CONTROL
| UTF8LITE_ESCAPE_DQUOTE)
? 2 : 1);
case '"':
return (flags & UTF8LITE_ESCAPE_DQUOTE) ? 2 : 1;
default:
if (isprint((int)byte)) {
return 1;
}
break;
}
}
// \xXX non-ASCII or non-printable byte
return (flags & UTF8LITE_ESCAPE_CONTROL) ? 4 : -1;
}
void render_byte(struct utf8lite_render *r, uint8_t byte)
{
char ch, buf[5];
int err = 0;
if (byte <= 0x1f || byte >= 0x7f) {
if (r->flags & UTF8LITE_ESCAPE_CONTROL) {
switch (byte) {
case '\a':
TRY(utf8lite_render_raw(r, "\\a", 2));
break;
case '\b':
TRY(utf8lite_render_raw(r, "\\b", 2));
break;
case '\f':
TRY(utf8lite_render_raw(r, "\\f", 2));
break;
case '\n':
TRY(utf8lite_render_raw(r, "\\n", 2));
break;
case '\r':
TRY(utf8lite_render_raw(r, "\\r", 2));
break;
case '\t':
TRY(utf8lite_render_raw(r, "\\t", 2));
break;
case '\v':
TRY(utf8lite_render_raw(r, "\\v", 2));
break;
default:
sprintf(buf, "\\x%02x", (unsigned)byte);
TRY(utf8lite_render_raw(r, buf, 4));
break;
}
} else {
ch = (char)byte;
TRY(utf8lite_render_raw(r, &ch, 1));
}
} else {
buf[0] = (char)byte;
buf[1] = '\0';
TRY(utf8lite_render_string(r, buf));
}
exit:
CHECK_ERROR(err);
}
utf8/src/utf8_encode.c 0000644 0001762 0000144 00000006053 13301551651 014302 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include "rutf8.h"
SEXP rutf8_utf8_encode(SEXP sx, SEXP swidth, SEXP squote, SEXP sjustify,
SEXP sescapes, SEXP sdisplay, SEXP sutf8)
{
SEXP ans, selt, ans_i = NA_STRING, srender;
struct rutf8_string elt;
struct utf8lite_render *render;
enum rutf8_justify_type justify;
const char *escapes;
R_xlen_t i, n;
int width, quote, display, utf8;
int err = 0, nprot = 0, w, quotes, flags;
if (sx == R_NilValue) {
return R_NilValue;
}
if (!isString(sx)) {
Rf_error("argument is not a character object");
}
n = XLENGTH(sx);
if (swidth == R_NilValue || INTEGER(swidth)[0] == NA_INTEGER) {
width = -1;
} else {
width = INTEGER(swidth)[0];
}
quote = LOGICAL(squote)[0] == TRUE;
justify = rutf8_as_justify(sjustify);
escapes = rutf8_as_style(sescapes);
display = LOGICAL(sdisplay)[0] == TRUE;
utf8 = LOGICAL(sutf8)[0] == TRUE;
flags = (UTF8LITE_ESCAPE_CONTROL | UTF8LITE_ENCODE_C);
if (quote) {
flags |= UTF8LITE_ESCAPE_DQUOTE;
}
if (display) {
flags |= UTF8LITE_ENCODE_RMDI;
flags |= UTF8LITE_ENCODE_EMOJIZWSP;
}
if (!utf8) {
flags |= UTF8LITE_ESCAPE_UTF8;
}
#if defined(_WIN32) || defined(_WIN64)
flags |= UTF8LITE_ESCAPE_EXTENDED;
#endif
quotes = quote ? 2 : 0;
if (justify == RUTF8_JUSTIFY_NONE) {
width = 0;
}
if (width < 0) {
width = 0;
for (i = 0; i < n; i++) {
CHECK_INTERRUPT(i);
PROTECT(selt = STRING_ELT(sx, i)); nprot++;
rutf8_string_init(&elt, selt);
if (elt.type == RUTF8_STRING_NONE) {
UNPROTECT(1); nprot--;
continue;
}
w = rutf8_string_width(&elt, flags);
if (w > INT_MAX - quotes) {
Rf_error("width exceeds maximum (%d)",
INT_MAX);
}
w += quotes;
if (w > width) {
width = w;
}
UNPROTECT(1); nprot--;
}
}
PROTECT(srender = rutf8_alloc_render(flags)); nprot++;
render = rutf8_as_render(srender);
if (escapes) {
TRY(utf8lite_render_set_style(render, escapes,
RUTF8_STYLE_CLOSE));
}
PROTECT(ans = duplicate(sx)); nprot++;
for (i = 0; i < n; i++) {
CHECK_INTERRUPT(i);
PROTECT(selt = STRING_ELT(sx, i)); nprot++;
rutf8_string_init(&elt, selt);
if (elt.type == RUTF8_STRING_NONE) {
ans_i = NA_STRING;
} else {
rutf8_string_render(render, &elt, width, quote,
justify);
ans_i = mkCharLenCE(render->string, render->length,
CE_UTF8);
utf8lite_render_clear(render);
}
UNPROTECT(1); nprot--;
SET_STRING_ELT(ans, i, ans_i);
}
exit:
UNPROTECT(nprot);
CHECK_ERROR(err);
return ans;
}
utf8/src/utf8_normalize.c 0000644 0001762 0000144 00000005257 13301551651 015052 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include
#include
#include
#include "rutf8.h"
struct context {
struct utf8lite_textmap map;
int has_map;
};
static void context_init(struct context *ctx, SEXP map_case, SEXP map_compat,
SEXP map_quote, SEXP remove_ignorable)
{
int err = 0, type;
type = UTF8LITE_TEXTMAP_NORMAL;
if (LOGICAL(map_case)[0] == TRUE) {
type |= UTF8LITE_TEXTMAP_CASE;
}
if (LOGICAL(map_compat)[0] == TRUE) {
type |= UTF8LITE_TEXTMAP_COMPAT;
}
if (LOGICAL(map_quote)[0] == TRUE) {
type |= UTF8LITE_TEXTMAP_QUOTE;
}
if (LOGICAL(remove_ignorable)[0] == TRUE) {
type |= UTF8LITE_TEXTMAP_RMDI;
}
TRY(utf8lite_textmap_init(&ctx->map, type));
ctx->has_map = 1;
exit:
CHECK_ERROR(err);
}
static void context_destroy(void *obj)
{
struct context *ctx = obj;
if (ctx->has_map) {
utf8lite_textmap_destroy(&ctx->map);
}
}
SEXP rutf8_utf8_normalize(SEXP x, SEXP map_case, SEXP map_compat,
SEXP map_quote, SEXP remove_ignorable)
{
SEXP ans, sctx, elt;
struct context *ctx;
struct utf8lite_text text;
const uint8_t *ptr;
size_t size;
R_xlen_t i, n;
int err = 0, nprot = 0;
if (x == R_NilValue) {
return R_NilValue;
}
PROTECT(sctx = rutf8_alloc_context(sizeof(*ctx), context_destroy));
nprot++;
ctx = rutf8_as_context(sctx);
context_init(ctx, map_case, map_compat, map_quote, remove_ignorable);
PROTECT(ans = duplicate(x)); nprot++;
n = XLENGTH(ans);
for (i = 0; i < n; i++) {
CHECK_INTERRUPT(i);
PROTECT(elt = STRING_ELT(ans, i)); nprot++;
if (elt == NA_STRING) {
UNPROTECT(1); nprot--;
continue;
}
ptr = (const uint8_t *)rutf8_translate_utf8(elt);
size = strlen((const char *)ptr);
TRY(utf8lite_text_assign(&text, ptr, size, 0, NULL));
TRY(utf8lite_textmap_set(&ctx->map, &text));
ptr = ctx->map.text.ptr;
size = UTF8LITE_TEXT_SIZE(&ctx->map.text);
TRY(size > INT_MAX ? UTF8LITE_ERROR_OVERFLOW : 0);
elt = mkCharLenCE((const char *)ptr, (int)size, CE_UTF8);
SET_STRING_ELT(ans, i, elt);
UNPROTECT(1); nprot--;
}
exit:
CHECK_ERROR(err);
rutf8_free_context(sctx);
UNPROTECT(nprot);
return ans;
}
utf8/src/rutf8.h 0000644 0001762 0000144 00000014360 13301551651 013154 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef RUTF8_H
#define RUTF8_H
#include
#include
#include
#include "utf8lite/src/utf8lite.h"
#define RUTF8_STYLE_CLOSE "\033[0m"
#define RUTF8_STYLE_CLOSE_SIZE 4
#define CHECK_EVERY 1000
#define CHECK_INTERRUPT(i) \
do { \
if (((i) + 1) % CHECK_EVERY == 0) { \
R_CheckUserInterrupt(); \
} \
} while (0)
#define TRY(x) \
do { \
if ((err = (x))) { \
goto exit; \
} \
} while (0)
#define TRY_ALLOC(x) \
do { \
if ((err = (x) ? 0 : UTF8LITE_ERROR_NOMEM)) { \
goto exit; \
} \
} while (0)
#define CHECK_ERROR_FORMAT_SEP(err, sep, fmt, ...) \
do { \
switch (err) { \
case 0: \
break; \
case UTF8LITE_ERROR_INVAL: \
Rf_error(fmt sep "invalid input", __VA_ARGS__); \
break; \
case UTF8LITE_ERROR_NOMEM: \
Rf_error(fmt sep "memory allocation failure", \
__VA_ARGS__); \
break; \
case UTF8LITE_ERROR_OS: \
Rf_error(fmt sep "operating system error", \
__VA_ARGS__); \
break; \
case UTF8LITE_ERROR_OVERFLOW: \
Rf_error(fmt sep "overflow error", __VA_ARGS__); \
break; \
case UTF8LITE_ERROR_DOMAIN: \
Rf_error(fmt sep "domain error", __VA_ARGS__); \
break; \
case UTF8LITE_ERROR_RANGE: \
Rf_error(fmt sep "range error", __VA_ARGS__); \
break; \
case UTF8LITE_ERROR_INTERNAL: \
Rf_error(fmt sep "internal error", __VA_ARGS__); \
break; \
default: \
Rf_error(fmt sep "unknown error", __VA_ARGS__); \
break; \
} \
} while (0)
#define CHECK_ERROR_FORMAT(err, fmt, ...) \
CHECK_ERROR_FORMAT_SEP(err, fmt, ": ", __VA_ARGS__)
#define CHECK_ERROR_MESSAGE(err, msg) \
CHECK_ERROR_FORMAT(err, "%s", msg)
#define CHECK_ERROR(err) \
CHECK_ERROR_FORMAT_SEP(err, "", "%s", "")
/**
* Justification type.
*/
enum rutf8_justify_type {
RUTF8_JUSTIFY_NONE = 0,
RUTF8_JUSTIFY_LEFT,
RUTF8_JUSTIFY_CENTRE,
RUTF8_JUSTIFY_RIGHT
};
/**
* String type indicator.
*/
enum rutf8_string_type {
RUTF8_STRING_NONE = 0, /**< missing value */
RUTF8_STRING_BYTES, /**< unknown encoding, not valid UTF-8 */
RUTF8_STRING_TEXT /**< valid UTF-8 */
};
/**
* Raw bytes
*/
struct rutf8_bytes {
const uint8_t *ptr; /**< data pointer */
size_t size; /**< number of bytes */
};
/**
* String data, either UTF-8, bytes, or NA
*/
struct rutf8_string {
union {
struct utf8lite_text text; /**< utf8 data */
struct rutf8_bytes bytes; /**< raw bytes */
} value; /**< string value */
enum rutf8_string_type type; /**< type indicator */
};
void rutf8_string_init(struct rutf8_string *str, SEXP charsxp);
int rutf8_string_width(const struct rutf8_string *str, int flags);
int rutf8_string_lwidth(const struct rutf8_string *str, int flags,
int limit, int ellipsis);
int rutf8_string_rwidth(const struct rutf8_string *str, int flags,
int limit, int ellipsis);
void rutf8_string_render(struct utf8lite_render *r,
const struct rutf8_string *str,
int width, int quote, enum rutf8_justify_type justify);
SEXP rutf8_string_format(struct utf8lite_render *r,
const struct rutf8_string *str,
int trim, int chars, enum rutf8_justify_type justify,
int quote, const char *ellipsis, size_t nellipsis,
int wellipsis, int flags, int width_max);
int rutf8_text_width(const struct utf8lite_text *text, int flags);
int rutf8_text_lwidth(const struct utf8lite_text *text, int flags,
int limit, int ellipsis);
int rutf8_text_rwidth(const struct utf8lite_text *text, int flags,
int limit, int ellipsis);
void rutf8_text_render(struct utf8lite_render *r,
const struct utf8lite_text *text,
int width, int quote, enum rutf8_justify_type justify);
SEXP rutf8_text_format(struct utf8lite_render *r,
const struct utf8lite_text *text,
int trim, int chars, enum rutf8_justify_type justify,
int quote, const char *ellipsis, size_t nellipsis,
int wellipsis, int flags, int width_max);
int rutf8_bytes_width(const struct rutf8_bytes *bytes, int flags);
int rutf8_bytes_lwidth(const struct rutf8_bytes *bytes, int flags, int limit);
int rutf8_bytes_rwidth(const struct rutf8_bytes *bytes, int flags, int limit);
void rutf8_bytes_render(struct utf8lite_render *r,
const struct rutf8_bytes *bytes,
int width_min, int quote,
enum rutf8_justify_type justify);
SEXP rutf8_bytes_format(struct utf8lite_render *r,
const struct rutf8_bytes *bytes,
int trim, int chars, enum rutf8_justify_type justify,
int quote, int flags, int width_max);
/* context */
SEXP rutf8_alloc_context(size_t size, void (*destroy_func)(void *));
void rutf8_free_context(SEXP x);
void *rutf8_as_context(SEXP x);
int rutf8_is_context(SEXP x);
/* render object */
SEXP rutf8_alloc_render(int flags);
void rutf8_free_render(SEXP x);
struct utf8lite_render *rutf8_as_render(SEXP x);
int rutf8_is_render(SEXP x);
/* printing */
SEXP rutf8_render_table(SEXP x, SEXP width, SEXP quote, SEXP na_print,
SEXP print_gap, SEXP right, SEXP max, SEXP names,
SEXP rownames, SEXP escapes, SEXP display, SEXP style,
SEXP utf8, SEXP linewidth);
/* utf8 */
SEXP rutf8_as_utf8(SEXP x);
SEXP rutf8_utf8_encode(SEXP x, SEXP width, SEXP quote, SEXP justify,
SEXP escapes, SEXP display, SEXP utf8);
SEXP rutf8_utf8_format(SEXP x, SEXP trim, SEXP chars, SEXP justify,
SEXP width, SEXP na_encode, SEXP quote,
SEXP na_print, SEXP ellipsis, SEXP wellipsis,
SEXP utf8);
SEXP rutf8_utf8_normalize(SEXP x, SEXP map_case, SEXP map_compat,
SEXP map_quote, SEXP remove_ignorable);
SEXP rutf8_utf8_valid(SEXP x);
SEXP rutf8_utf8_width(SEXP x, SEXP encode, SEXP quote, SEXP utf8);
/* utility functions */
int rutf8_as_justify(SEXP justify);
const char *rutf8_as_style(SEXP style);
int rutf8_encodes_utf8(cetype_t ce);
const char *rutf8_translate_utf8(SEXP x);
#endif /* RUTF8_H */
utf8/src/render.c 0000644 0001762 0000144 00000003401 13301551651 013350 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include
#include "rutf8.h"
#define RENDER_TAG install("utf8::render")
struct rutf8_render {
struct utf8lite_render render;
int has_render;
};
void rutf8_free_render(SEXP x)
{
struct rutf8_render *obj = R_ExternalPtrAddr(x);
R_SetExternalPtrAddr(x, NULL);
if (obj) {
if (obj->has_render) {
utf8lite_render_destroy(&obj->render);
}
free(obj);
}
}
SEXP rutf8_alloc_render(int flags)
{
SEXP ans;
struct rutf8_render *obj;
int err = 0;
PROTECT(ans = R_MakeExternalPtr(NULL, RENDER_TAG, R_NilValue));
R_RegisterCFinalizerEx(ans, rutf8_free_render, TRUE);
TRY_ALLOC(obj = calloc(1, sizeof(*obj)));
R_SetExternalPtrAddr(ans, obj);
TRY(utf8lite_render_init(&obj->render, flags));
obj->has_render = 1;
exit:
CHECK_ERROR(err);
UNPROTECT(1);
return ans;
}
int rutf8_is_render(SEXP x)
{
return ((TYPEOF(x) == EXTPTRSXP)
&& (R_ExternalPtrTag(x) == RENDER_TAG));
}
struct utf8lite_render *rutf8_as_render(SEXP x)
{
struct rutf8_render *obj;
if (!rutf8_is_render(x)) {
error("invalid render object");
}
obj = R_ExternalPtrAddr(x);
return (obj->has_render) ? &obj->render : NULL;
}
utf8/src/utf8_format.c 0000644 0001762 0000144 00000010767 13301551651 014344 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include
#include
#include
#include
#include
#include "rutf8.h"
SEXP rutf8_utf8_format(SEXP sx, SEXP strim, SEXP schars, SEXP sjustify,
SEXP swidth, SEXP sna_encode, SEXP squote,
SEXP sna_print, SEXP sellipsis, SEXP swellipsis,
SEXP sutf8)
{
SEXP ans, selt, srender, na_print, ans_i = NA_STRING;
struct utf8lite_render *render;
enum rutf8_justify_type justify;
struct rutf8_string elt, na;
const char *ellipsis;
size_t nellipsis;
R_xlen_t i, n;
int chars, chars_i, wellipsis, width, width_max, trim, na_encode,
quote, quote_i, quotes, na_width, utf8, nprot, flags;
nprot = 0;
if (sx == R_NilValue) {
return R_NilValue;
}
if (!isString(sx)) {
error("argument is not a character vector");
}
PROTECT(ans = duplicate(sx)); nprot++;
n = XLENGTH(ans);
PROTECT(strim = coerceVector(strim, LGLSXP)); nprot++;
trim = (LOGICAL(strim)[0] == TRUE);
PROTECT(squote = coerceVector(squote, LGLSXP)); nprot++;
quote = (LOGICAL(squote)[0] == TRUE);
quotes = quote ? 2 : 0;
PROTECT(sellipsis = STRING_ELT(sellipsis, 0)); nprot++;
ellipsis = CHAR(sellipsis);
nellipsis = strlen(ellipsis);
PROTECT(swellipsis = coerceVector(swellipsis, INTSXP)); nprot++;
wellipsis = INTEGER(swellipsis)[0];
PROTECT(sutf8 = coerceVector(sutf8, LGLSXP)); nprot++;
utf8 = (LOGICAL(sutf8)[0] == TRUE);
if (schars == R_NilValue) {
chars = NA_INTEGER;
} else {
PROTECT(schars = coerceVector(schars, INTSXP)); nprot++;
chars = INTEGER(schars)[0];
}
if (chars == NA_INTEGER || chars > INT_MAX - wellipsis - quotes) {
chars = INT_MAX - wellipsis - quotes;
} else if (chars < 0) {
chars = 0;
}
justify = rutf8_as_justify(sjustify);
if (justify == RUTF8_JUSTIFY_NONE) {
trim = 1;
}
if (swidth == R_NilValue) {
width_max = 0;
} else {
PROTECT(swidth = coerceVector(swidth, INTSXP)); nprot++;
width_max = INTEGER(swidth)[0];
if (width_max == NA_INTEGER || width_max < 0) {
width_max = 0;
}
}
PROTECT(sna_encode = coerceVector(sna_encode, LGLSXP)); nprot++;
na_encode = (LOGICAL(sna_encode)[0] == TRUE);
if (sna_print == R_NilValue) {
PROTECT(na_print = mkChar(quote ? "NA" : "")); nprot++;
} else {
PROTECT(na_print = STRING_ELT(sna_print, 0)); nprot++;
}
flags = (UTF8LITE_ESCAPE_CONTROL | UTF8LITE_ENCODE_C);
if (quote) {
flags |= UTF8LITE_ESCAPE_DQUOTE;
}
if (!utf8) {
flags |= UTF8LITE_ESCAPE_UTF8;
}
#if defined(_WIN32) || defined(_WIN64)
flags |= UTF8LITE_ESCAPE_EXTENDED;
#endif
rutf8_string_init(&na, na_print);
na_width = rutf8_string_width(&na, flags);
PROTECT(srender = rutf8_alloc_render(0)); nprot++;
render = rutf8_as_render(srender);
for (i = 0; i < n; i++) {
CHECK_INTERRUPT(i);
PROTECT(selt = STRING_ELT(sx, i)); nprot++;
rutf8_string_init(&elt, selt);
if (elt.type == RUTF8_STRING_NONE) {
width = na_encode ? na_width : 0;
} else if (justify == RUTF8_JUSTIFY_RIGHT) {
width = (rutf8_string_rwidth(&elt, flags, chars,
wellipsis)
+ quotes);
} else {
width = (rutf8_string_lwidth(&elt, flags, chars,
wellipsis)
+ quotes);
}
if (width > width_max) {
width_max = width;
}
if (width >= chars + wellipsis + quotes) {
break;
}
UNPROTECT(1); nprot--;
}
for (i = 0; i < n; i++) {
CHECK_INTERRUPT(i);
PROTECT(selt = STRING_ELT(sx, i)); nprot++;
rutf8_string_init(&elt, selt);
if (elt.type == RUTF8_STRING_NONE) {
if (na_encode) {
elt = na;
chars_i = na_width;
quote_i = 0;
} else {
UNPROTECT(1); nprot--;
SET_STRING_ELT(ans, i, NA_STRING);
continue;
}
} else {
chars_i = chars;
quote_i = quote;
}
ans_i = rutf8_string_format(render, &elt, trim, chars_i,
justify, quote_i, ellipsis,
nellipsis, wellipsis, flags,
width_max);
UNPROTECT(1); nprot--;
SET_STRING_ELT(ans, i, ans_i);
}
rutf8_free_render(srender);
UNPROTECT(nprot);
return ans;
}
utf8/src/context.c 0000644 0001762 0000144 00000003611 13301551651 013560 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include
#include
#include
#include "rutf8.h"
#define CONTEXT_TAG install("utf8::context")
struct context {
void *data;
void (*destroy_func)(void *);
};
void rutf8_free_context(SEXP x)
{
struct context *ctx = R_ExternalPtrAddr(x);
R_SetExternalPtrAddr(x, NULL);
if (ctx) {
if (ctx->destroy_func) {
(ctx->destroy_func)(ctx->data);
}
free(ctx->data);
free(ctx);
}
}
SEXP rutf8_alloc_context(size_t size, void (*destroy_func)(void *))
{
SEXP ans;
struct context *ctx = NULL;
void *obj = NULL;
int err = 0;
PROTECT(ans = R_MakeExternalPtr(NULL, CONTEXT_TAG, R_NilValue));
R_RegisterCFinalizerEx(ans, rutf8_free_context, TRUE);
TRY_ALLOC(obj = calloc(1, size == 0 ? 1 : size));
TRY_ALLOC(ctx = calloc(1, sizeof(*ctx)));
ctx->data = obj;
ctx->destroy_func = destroy_func;
R_SetExternalPtrAddr(ans, ctx);
ctx = NULL;
obj = NULL;
exit:
free(ctx);
free(obj);
CHECK_ERROR(err);
UNPROTECT(1);
return ans;
}
int rutf8_is_context(SEXP x)
{
return ((TYPEOF(x) == EXTPTRSXP)
&& (R_ExternalPtrTag(x) == CONTEXT_TAG));
}
void *rutf8_as_context(SEXP x)
{
struct context *ctx;
if (!rutf8_is_context(x)) {
error("invalid context object");
}
ctx = R_ExternalPtrAddr(x);
return ctx->data;
}
utf8/src/utf8lite/ 0000755 0001762 0000144 00000000000 13301551651 013473 5 ustar ligges users utf8/src/utf8lite/tests/ 0000755 0001762 0000144 00000000000 13223515433 014636 5 ustar ligges users utf8/src/utf8lite/tests/testutil.h 0000644 0001762 0000144 00000006724 13301551651 016674 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef TESTUTIL_H
#define TESTUTIL_H
#include
#include
#include
struct utf8lite_text;
/**
* This macro is broken on the old version of check (0.9.8) that Travis CI
* uses, so we re-define it.
*/
#ifdef ck_assert_int_eq
# undef ck_assert_int_eq
#endif
#define ck_assert_int_eq(X, Y) do { \
intmax_t _ck_x = (X); \
intmax_t _ck_y = (Y); \
ck_assert_msg(_ck_x == _ck_y, \
"Assertion '%s' failed: %s == %jd, %s == %jd", \
#X " == " #Y, #X, _ck_x, #Y, _ck_y); \
} while (0)
/**
* This macro doesn't exist on check version 0.9.8.
*/
#ifdef ck_assert_uint_eq
# undef ck_assert_uint_eq
#endif
#define ck_assert_uint_eq(X, Y) do { \
uintmax_t _ck_x = (X); \
uintmax_t _ck_y = (Y); \
ck_assert_msg(_ck_x == _ck_y, \
"Assertion '%s' failed: %s == %ju, %s == %ju", \
#X " == " #Y, #X, _ck_x, #Y, _ck_y); \
} while (0)
/**
* Broken on check (0.9.8)
*/
#ifdef ck_assert_str_eq
# undef ck_assert_str_eq
#endif
#define ck_assert_str_eq(X, Y) do { \
const char* _ck_x = (X); \
const char* _ck_y = (Y); \
const char* _ck_x_s; \
const char* _ck_y_s; \
const char* _ck_x_q; \
const char* _ck_y_q; \
if (_ck_x != NULL) { \
_ck_x_q = "\""; \
_ck_x_s = _ck_x; \
} else { \
_ck_x_q = ""; \
_ck_x_s = "(null)"; \
} \
if (_ck_y != NULL) { \
_ck_y_q = "\""; \
_ck_y_s = _ck_y; \
} else { \
_ck_y_q = ""; \
_ck_y_s = "(null)"; \
} \
ck_assert_msg( \
((_ck_x != NULL) && (_ck_y != NULL) \
&& (0 == strcmp(_ck_y, _ck_x))), \
"Assertion '%s' failed: %s == %s%s%s, %s == %s%s%s", \
#X" == "#Y, \
#X, _ck_x_q, _ck_x_s, _ck_x_q, \
#Y, _ck_y_q, _ck_y_s, _ck_y_q); \
} while (0)
#define assert_text_eq(X, Y) do { \
const struct utf8lite_text * _ck_x = (X); \
const struct utf8lite_text * _ck_y = (Y); \
ck_assert_msg(utf8lite_text_equals(_ck_y, _ck_x), \
"Assertion '%s == %s' failed: %s == \"%.*s\" (0x%zx)," \
" %s==\"%.*s\" (0x%zx)", \
#X, #Y, \
#X, (int)UTF8LITE_TEXT_SIZE(_ck_x), _ck_x->ptr, _ck_x->attr, \
#Y, (int)UTF8LITE_TEXT_SIZE(_ck_y), _ck_y->ptr, _ck_y->attr); \
} while (0)
#define assert_text_ne(X, Y) do { \
const struct utf8lite_text * _ck_x = (X); \
const struct utf8lite_text * _ck_y = (Y); \
ck_assert_msg(!utf8lite_text_equals(_ck_y, _ck_x), \
"Assertion '%s != %s' failed: %s == \"%s\" (0x%zx)," \
" %s==\"%s\" (0x%zx)", \
#X, #Y, \
#X, (int)UTF8LITE_TEXT_SIZE(_ck_x), _ck_x->ptr, _ck_x->attr, \
#Y, (int)UTF8LITE_TEXT_SIZE(_ck_y), _ck_y->ptr, _ck_y->attr); \
} while (0)
/**
* Common test framework set up.
*/
void setup(void);
/**
* Common test framework tear down.
*/
void teardown(void);
/**
* Allocate memory.
*/
void *alloc(size_t size);
/**
* Allocate a text object, interpreting JSON-style escape codes.
*/
struct utf8lite_text *JS(const char *str);
/**
* Cast a raw string as a text object, ignoring escape codes.
*/
struct utf8lite_text *S(const char *str);
#endif /* TESTUTIL_H */
utf8/src/utf8lite/tests/testutil.c 0000644 0001762 0000144 00000003565 13301551651 016667 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include
#include
#include
#include "../src/utf8lite.h"
#include "testutil.h"
static struct utf8lite_text *mktext(const char *str, int flags);
static void **allocs;
static int nalloc;
void setup(void)
{
allocs = NULL;
nalloc = 0;
}
void teardown(void)
{
while (nalloc-- > 0) {
free(allocs[nalloc]);
}
free(allocs);
}
void *alloc(size_t size)
{
void *ptr;
allocs = realloc(allocs, (size_t)(nalloc + 1) * sizeof(*allocs));
ck_assert(allocs != NULL);
ptr = malloc(size);
ck_assert(ptr != NULL || size == 0);
allocs[nalloc] = ptr;
nalloc++;
return ptr;
}
struct utf8lite_text *JS(const char *str)
{
return mktext(str, UTF8LITE_TEXT_UNESCAPE);
}
struct utf8lite_text *S(const char *str)
{
return mktext(str, 0);
}
struct utf8lite_text *mktext(const char *str, int flags)
{
struct utf8lite_text *text = alloc(sizeof(*text));
struct utf8lite_text text2;
size_t size = strlen(str);
uint8_t *ptr = alloc(size + 1);
int err;
memcpy(ptr, str, size + 1);
err = utf8lite_text_assign(text, ptr, size, flags, NULL);
ck_assert(!err);
ck_assert(!utf8lite_text_assign(&text2, ptr, size,
flags | UTF8LITE_TEXT_VALID, NULL));
ck_assert(text->ptr == text2.ptr);
ck_assert_uint_eq(text->attr, text2.attr);
return text;
}
utf8/src/utf8lite/tests/check_textmap.c 0000644 0001762 0000144 00000027003 13301551651 017622 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include
#include
#include "../src/utf8lite.h"
#include "testutil.h"
#define TEXTMAP_CASE UTF8LITE_TEXTMAP_CASE
#define TEXTMAP_COMPAT UTF8LITE_TEXTMAP_COMPAT
#define TEXTMAP_QUOTE UTF8LITE_TEXTMAP_QUOTE
#define TEXTMAP_RMDI UTF8LITE_TEXTMAP_RMDI
struct utf8lite_text *get_map(const struct utf8lite_text *text, int flags)
{
struct utf8lite_text *val;
struct utf8lite_textmap map;
size_t size;
ck_assert(!utf8lite_textmap_init(&map, flags));
ck_assert(!utf8lite_textmap_set(&map, text));
size = UTF8LITE_TEXT_SIZE(&map.text);
val = alloc(sizeof(*val));
val->ptr = alloc(size + 1);
memcpy(val->ptr, map.text.ptr, size);
val->ptr[size] = '\0';
val->attr = map.text.attr;
utf8lite_textmap_destroy(&map);
return val;
}
struct utf8lite_text *casefold(const struct utf8lite_text *text)
{
return get_map(text, TEXTMAP_CASE);
}
START_TEST(test_map_basic)
{
assert_text_eq(get_map(S("hello"), 0), S("hello"));
assert_text_eq(get_map(S("world"), 0), JS("world"));
assert_text_eq(get_map(JS("foo"), 0), S("foo"));
}
END_TEST
START_TEST(test_map_esc)
{
// backslash
assert_text_eq(get_map(S("\\"), 0), S("\\"));
assert_text_eq(get_map(JS("\\\\"), 0), S("\\"));
assert_text_eq(get_map(JS("\\u005C"), 0), S("\\"));
assert_text_eq(get_map(S("\\\\"), 0), S("\\\\"));
assert_text_eq(get_map(S("\\u005C"), TEXTMAP_CASE), S("\\u005c"));
// quote (')
assert_text_eq(get_map(S("'"), TEXTMAP_QUOTE), S("'"));
assert_text_eq(get_map(JS("'"), TEXTMAP_QUOTE), S("'"));
assert_text_eq(get_map(S("\""), TEXTMAP_QUOTE), S("\""));
assert_text_eq(get_map(JS("\\\""), TEXTMAP_QUOTE), S("\""));
assert_text_eq(get_map(JS("\\u2019"), TEXTMAP_QUOTE), S("\'"));
//assert_text_eq(get_map(JS("\\u201c"), TEXTMAP_QUOTE), S("\""));
assert_text_eq(get_map(S("\\\'"), TEXTMAP_QUOTE), S("\\\'"));
assert_text_eq(get_map(S("\\u2019"), TEXTMAP_QUOTE), S("\\u2019"));
}
END_TEST
START_TEST(test_keep_control_ascii)
{
const struct utf8lite_text *js, *t;
char str[256];
uint8_t i;
assert_text_eq(get_map(S("\a"), 0), S("\a"));
assert_text_eq(get_map(S("\b"), 0), S("\b"));
// C0
for (i = 1; i < 0x20; i++) {
if (0x09 <= i && i <= 0x0D) {
continue;
}
str[0] = (char)i; str[1] = '\0';
t = S(str);
assert_text_eq(get_map(t, 0), t);
sprintf(str, "\\u%04X", i);
js = JS(str);
assert_text_eq(get_map(js, 0), t);
}
// delete
assert_text_eq(get_map(S("\x7F"), 0), S("\x7F"));
assert_text_eq(get_map(JS("\\u007F"), 0), S("\x7F"));
}
END_TEST
START_TEST(test_keep_control_utf8)
{
const struct utf8lite_text *t, *js;
uint8_t str[256];
uint8_t i;
// C1
for (i = 0x80; i < 0xA0; i++) {
if (i == 0x85) {
continue;
}
str[0] = 0xC2; str[1] = i; str[2] = '\0';
t = S((char *)str);
assert_text_eq(get_map(t, 0), t);
sprintf((char *)str, "\\u%04X", i);
js = JS((char *)str);
assert_text_eq(get_map(js, 0), t);
}
}
END_TEST
START_TEST(test_keep_ws_ascii)
{
assert_text_eq(get_map(S("\t"), 0), S("\t"));
assert_text_eq(get_map(S("\n"), 0), S("\n"));
assert_text_eq(get_map(S("\v"), 0), S("\v"));
assert_text_eq(get_map(S("\f"), 0), S("\f"));
assert_text_eq(get_map(S("\r"), 0), S("\r"));
assert_text_eq(get_map(S(" "), 0), S(" "));
}
END_TEST
START_TEST(test_keep_ws_utf8)
{
const struct utf8lite_text *t, *js, *text;
uint8_t str[256];
uint8_t *buf;
unsigned ws[] = { 0x0009, 0x000A, 0x000B, 0x000C, 0x000D,
0x0020, 0x0085, 0x00A0, 0x1680, 0x2000,
0x2001, 0x2002, 0x2003, 0x2004, 0x2005,
0x2006, 0x2007, 0x2008, 0x2009, 0x200A,
0x2028, 0x2029, 0x202F, 0x205F, 0x3000 };
int i, n = sizeof(ws) / sizeof(ws[0]);
for (i = 0; i < n; i++) {
//fprintf(stderr, "i = %d; ws = U+%04X\n", i, ws[i]);
switch (ws[i]) {
case 0x0009:
text = S("\t");
break;
case 0x000A:
text = S("\n");
break;
case 0x000B:
text = S("\v");
break;
case 0x000C:
text = S("\f");
break;
case 0x000D:
text = S("\r");
break;
case 0x0085: // NEXT LINE (NEL)
text = S("\xC2\x85");
break;
case 0x1680: // OGHAM SPACE MARK
text = S("\xE1\x9A\x80");
break;
case 0x2028: // LINE SEPARATOR
text = S("\xE2\x80\xA8");
break;
case 0x2029: // PARAGRAPH SEPARATOR
text = S("\xE2\x80\xA9");
break;
default:
text = S(" ");
break;
}
buf = str;
utf8lite_encode_utf8(ws[i], &buf);
*buf = '\0';
t = S((char *)str);
assert_text_eq(get_map(t, TEXTMAP_COMPAT), text);
sprintf((char *)str, "\\u%04x", ws[i]);
js = JS((char *)str);
assert_text_eq(get_map(js, TEXTMAP_COMPAT), text);
}
}
END_TEST
// removed the following features from textmap, no need to test
#if 0
/*
* Control Characters (Cc)
* -----------------------
*
* U+0000..U+001F (C0)
* U+007F (delete)
* U+0080..U+009F (C1)
*
* Source: UnicodeStandard-8.0, Sec. 23.1, p. 808.
*/
START_TEST(test_rm_control_ascii)
{
char str[256];
uint8_t i;
assert_text_eq(get_map(S("\a"), TYPE_RMCC), S(""));
assert_text_eq(get_map(S("\b"), TYPE_RMCC), S(""));
assert_text_eq(get_map(S("\t"), TYPE_RMCC), S("\t"));
assert_text_eq(get_map(S("\n"), TYPE_RMCC), S("\n"));
assert_text_eq(get_map(S("\v"), TYPE_RMCC), S("\v"));
assert_text_eq(get_map(S("\f"), TYPE_RMCC), S("\f"));
assert_text_eq(get_map(S("\r"), TYPE_RMCC), S("\r"));
// C0
for (i = 1; i < 0x20; i++) {
if (0x09 <= i && i <= 0x0D) {
continue;
}
str[0] = (char)i; str[1] = '\0';
assert_text_eq(get_map(S(str), TYPE_RMCC), S(""));
sprintf(str, "\\u%04X", i);
assert_text_eq(get_map(JS(str), TYPE_RMCC), S(""));
}
// delete
assert_text_eq(get_map(S("\x7F"), TYPE_RMCC), S(""));
assert_text_eq(get_map(JS("\\u007F"), TYPE_RMCC), S(""));
}
END_TEST
START_TEST(test_rm_control_utf8)
{
uint8_t str[256];
uint8_t i;
// C1: JSON
for (i = 0x80; i < 0xA0; i++) {
if (i == 0x85) {
continue;
}
str[0] = 0xC2; str[1] = i; str[2] = '\0';
assert_text_eq(get_map(S((char *)str), TYPE_RMCC), S(""));
sprintf((char *)str, "\\u%04X", i);
assert_text_eq(get_map(JS((char *)str), TYPE_RMCC), S(""));
}
}
END_TEST
START_TEST(test_rm_ws_ascii)
{
assert_text_eq(get_map(S("\t"), TYPE_RMWS), S(""));
assert_text_eq(get_map(S("\n"), TYPE_RMWS), S(""));
assert_text_eq(get_map(S("\v"), TYPE_RMWS), S(""));
assert_text_eq(get_map(S("\f"), TYPE_RMWS), S(""));
assert_text_eq(get_map(S("\r"), TYPE_RMWS), S(""));
assert_text_eq(get_map(S(" "), TYPE_RMWS), S(""));
}
END_TEST
START_TEST(test_rm_ws_utf8)
{
const struct utf8lite_text *t, *js;
uint8_t str[256];
uint8_t *buf;
uint32_t ws[] = { 0x0009, 0x000A, 0x000B, 0x000C, 0x000D,
0x0020, 0x0085, 0x00A0, 0x1680, 0x2000,
0x2001, 0x2002, 0x2003, 0x2004, 0x2005,
0x2006, 0x2007, 0x2008, 0x2009, 0x200A,
0x2028, 0x2029, 0x202F, 0x205F, 0x3000 };
int i, n = sizeof(ws) / sizeof(ws[0]);
for (i = 0; i < n; i++) {
buf = str;
utf8lite_encode_utf8(ws[i], &buf);
*buf = '\0';
t = S((char *)str);
assert_text_eq(get_map(t, TYPE_RMWS), S(""));
sprintf((char *)str, "\\u%04x", ws[i]);
js = JS((char *)str);
assert_text_eq(get_map(js, TYPE_RMWS), S(""));
}
}
END_TEST
#endif
START_TEST(test_casefold_ascii)
{
const struct utf8lite_text *text;
uint8_t buf[2] = { 0, 0 };
uint8_t i;
assert_text_eq(casefold(S("UPPER CASE")), S("upper case"));
assert_text_eq(casefold(S("lower case")), S("lower case"));
assert_text_eq(casefold(S("mIxEd CaSe")), S("mixed case"));
for (i = 0x01; i < 'A'; i++) {
buf[0] = i;
text = S((char *)buf);
assert_text_eq(casefold(text), text);
}
for (i = 'Z' + 1; i < 0x7F; i++) {
buf[0] = i;
text = S((char *)buf);
assert_text_eq(casefold(text), text);
}
// upper
assert_text_eq(casefold(S("ABCDEFGHIJKLMNOPQRSTUVWXYZ")),
S("abcdefghijklmnopqrstuvwxyz"));
// lower
assert_text_eq(casefold(S("abcdefghijklmnopqrstuvwxyz")),
S("abcdefghijklmnopqrstuvwxyz"));
// digit
assert_text_eq(casefold(S("0123456789")), S("0123456789"));
// punct
assert_text_eq(casefold(S("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~")),
S("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~"));
// space
assert_text_eq(casefold(S("\t\n\v\f\r ")), S("\t\n\v\f\r "));
}
END_TEST
START_TEST(test_casefold_utf8)
{
assert_text_eq(casefold(JS("\u1e9e")), JS("ss")); // capital eszett
assert_text_eq(casefold(JS("\u00df")), JS("ss")); // lowercase eszett
}
END_TEST
// removed this feature
#if 0
START_TEST(test_fold_dash)
{
assert_text_eq(get_map(S("-"), TYPE_DASHFOLD), S("-"));
assert_text_eq(get_map(JS("\\u058A"), TYPE_DASHFOLD), S("-"));
assert_text_eq(get_map(JS("\\u2212"), TYPE_DASHFOLD), S("-"));
assert_text_eq(get_map(JS("\\u2E3A"), TYPE_DASHFOLD), S("-"));
assert_text_eq(get_map(JS("\\u2E3B"), TYPE_DASHFOLD), S("-"));
assert_text_eq(get_map(JS("\\uFF0D"), TYPE_DASHFOLD), S("-"));
}
END_TEST
START_TEST(test_nofold_dash)
{
assert_text_eq(get_map(S("-"), 0), S("-"));
assert_text_eq(get_map(JS("\\u058A"), 0), S("\xD6\x8A"));
assert_text_eq(get_map(JS("\\u2212"), 0), S("\xE2\x88\x92"));
assert_text_eq(get_map(JS("\\u2E3A"), 0), S("\xE2\xB8\xBA"));
assert_text_eq(get_map(JS("\\u2E3B"), 0), S("\xE2\xB8\xBB"));
assert_text_eq(get_map(JS("\\uFF0D"), 0), S("\xEF\xBC\x8D"));
}
END_TEST
#endif
START_TEST(test_map_quote)
{
assert_text_eq(get_map(S("'"), TEXTMAP_QUOTE), S("'"));
assert_text_eq(get_map(S("\""), TEXTMAP_QUOTE), S("\""));
assert_text_eq(get_map(JS("\\u2018"), TEXTMAP_QUOTE), S("'"));
assert_text_eq(get_map(JS("\\u2019"), TEXTMAP_QUOTE), S("'"));
//assert_text_eq(get_map(JS("\\u201C"), TEXTMAP_QUOTE), S("\""));
//assert_text_eq(get_map(JS("\\u201D"), TEXTMAP_QUOTE), S("\""));
}
END_TEST
START_TEST(test_nomap_quote)
{
assert_text_eq(get_map(S("'"), 0), S("'"));
assert_text_eq(get_map(S("\""), 0), S("\""));
assert_text_eq(get_map(JS("\\u2018"), 0), S("\xE2\x80\x98"));
assert_text_eq(get_map(JS("\\u2019"), 0), S("\xE2\x80\x99"));
assert_text_eq(get_map(JS("\\u201A"), 0), S("\xE2\x80\x9A"));
assert_text_eq(get_map(JS("\\u201F"), 0), S("\xE2\x80\x9F"));
}
END_TEST
Suite *textmap_suite(void)
{
Suite *s;
TCase *tc;
s = suite_create("textmap");
tc = tcase_create("normalize");
tcase_add_checked_fixture(tc, setup, teardown);
tcase_add_test(tc, test_map_basic);
tcase_add_test(tc, test_map_esc);
// tcase_add_test(tc, test_rm_control_ascii);
tcase_add_test(tc, test_keep_control_ascii);
// tcase_add_test(tc, test_rm_control_utf8);
tcase_add_test(tc, test_keep_control_utf8);
// tcase_add_test(tc, test_rm_ws_ascii);
tcase_add_test(tc, test_keep_ws_ascii);
// tcase_add_test(tc, test_rm_ws_utf8);
tcase_add_test(tc, test_keep_ws_utf8);
tcase_add_test(tc, test_casefold_ascii);
tcase_add_test(tc, test_casefold_utf8);
// tcase_add_test(tc, test_fold_dash);
// tcase_add_test(tc, test_nofold_dash);
tcase_add_test(tc, test_map_quote);
tcase_add_test(tc, test_nomap_quote);
suite_add_tcase(s, tc);
return s;
}
int main(void)
{
int number_failed;
Suite *s;
SRunner *sr;
s = textmap_suite();
sr = srunner_create(s);
srunner_run_all(sr, CK_NORMAL);
number_failed = srunner_ntests_failed(sr);
srunner_free(sr);
return (number_failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
}
utf8/src/utf8lite/tests/check_unicode.c 0000644 0001762 0000144 00000037026 13301551651 017574 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include
#include
#include
#include "../src/utf8lite.h"
#include "testutil.h"
#define NORMALIZATION_TEST "data/ucd/NormalizationTest.txt"
// Unicode Normalization Test
// http://www.unicode.org/Public/UCD/latest/ucd/NormalizationTest.txt
struct normalization_test {
char comment[1024];
int line;
int part;
int32_t source[128];
int source_len;
int32_t nfc[128];
int nfc_len;
int32_t nfd[128];
int nfd_len;
int32_t nfkc[128];
int nfkc_len;
int32_t nfkd[128];
int nfkd_len;
};
struct normalization_test normalization_tests[32768];
int num_normalization_test;
void write_normalization_test(FILE *stream,
const struct normalization_test *test)
{
int i;
for (i = 0; i < test->source_len; i++) {
if (i > 0) {
fprintf(stream, " ");
}
fprintf(stream, "%04X", test->source[i]);
}
fprintf(stream, ";");
for (i = 0; i < test->nfc_len; i++) {
if (i > 0) {
fprintf(stream, " ");
}
fprintf(stream, "%04X", test->nfc[i]);
}
fprintf(stream, ";");
for (i = 0; i < test->nfd_len; i++) {
if (i > 0) {
fprintf(stream, " ");
}
fprintf(stream, "%04X", test->nfd[i]);
}
fprintf(stream, ";");
for (i = 0; i < test->nfkc_len; i++) {
if (i > 0) {
fprintf(stream, " ");
}
fprintf(stream, "%04X", test->nfkc[i]);
}
fprintf(stream, ";");
for (i = 0; i < test->nfkd_len; i++) {
if (i > 0) {
fprintf(stream, " ");
}
fprintf(stream, "%04X", test->nfkd[i]);
}
fprintf(stream, ";");
fprintf(stream, "%s\n", test->comment);
}
void setup_normalization(void)
{
struct normalization_test *test;
FILE *file;
int part;
int field, line, ntest;
uint32_t code;
int32_t *dst;
int *lenp;
char *comment;
int ch;
file = fopen(NORMALIZATION_TEST, "r");
if (!file) {
file = fopen("../"NORMALIZATION_TEST, "r");
}
ck_assert_msg(file != NULL, "file '"NORMALIZATION_TEST"' not found");
ntest = 0;
test = &normalization_tests[ntest];
test->comment[0] = '\0';
test->source_len = 0;
test->nfc_len = 0;
test->nfd_len = 0;
test->nfkc_len = 0;
test->nfkd_len = 0;
dst = test->source;
lenp = &test->source_len;
part = -1;
line = 1;
field = 0;
while ((ch = fgetc(file)) != EOF) {
switch (ch) {
case '#':
comment = &test->comment[0];
do {
*comment++ = (char)ch;
ch = fgetc(file);
} while (ch != EOF && ch != '\n');
*comment = '\0';
if (ch == EOF) {
goto eof;
}
/* fallthrough */
case '\n':
test->line = line;
test->part = part;
if (test->source_len > 0) {
ntest++;
test = &normalization_tests[ntest];
test->comment[0] = '\0';
test->source_len = 0;
test->nfc_len = 0;
test->nfd_len = 0;
test->nfkc_len = 0;
test->nfkd_len = 0;
dst = test->source;
lenp = &test->source_len;
}
line++;
field = 0;
break;
case ';':
field++;
switch (field) {
case 1:
dst = test->nfc;
lenp = &test->nfc_len;
break;
case 2:
dst = test->nfd;
lenp = &test->nfd_len;
break;
case 3:
dst = test->nfkc;
lenp = &test->nfkc_len;
break;
case 4:
dst = test->nfkd;
lenp = &test->nfkd_len;
break;
case 5:
break;
default:
fprintf(stderr, "too many fields\n");
goto inval;
}
break;
case ' ':
break;
case '@':
ck_assert(fscanf(file, "Part%d", &part));
break;
default:
ungetc(ch, file);
ck_assert(fscanf(file, "%"SCNx32, &code));
*dst++ = (int32_t)code;
*lenp = *lenp + 1;
break;
}
}
eof:
num_normalization_test = ntest;
return;
inval:
fprintf(stderr, "invalid character on line %d\n", line);
fclose(file);
}
void teardown_normalization(void)
{
}
int is_utf8(const char *str, size_t len)
{
struct utf8lite_message msg;
const uint8_t *ptr = (const uint8_t *)str;
const uint8_t *end = ptr + len;
int err;
while (ptr < end) {
if ((err = utf8lite_scan_utf8(&ptr, end, &msg))) {
return 0;
}
}
return 1;
}
START_TEST(test_accept_valid_1byte_utf8)
{
ck_assert(is_utf8("\x00", 1));
ck_assert(is_utf8("\x01", 1));
ck_assert(is_utf8("\x7E", 1));
ck_assert(is_utf8("\x7F", 1));
}
END_TEST
START_TEST(test_reject_invalid_1byte_utf8)
{
ck_assert(!is_utf8("\x80", 1));
ck_assert(!is_utf8("\xBF", 1));
ck_assert(!is_utf8("\xC0", 1));
ck_assert(!is_utf8("\xE0", 1));
ck_assert(!is_utf8("\xF0", 1));
ck_assert(!is_utf8("\xF8", 1));
ck_assert(!is_utf8("\xFC", 1));
ck_assert(!is_utf8("\xFE", 1));
ck_assert(!is_utf8("\xFF", 1));
}
END_TEST
START_TEST(test_accept_valid_2byte_utf8)
{
ck_assert(is_utf8("\xC2\x80", 2));
ck_assert(is_utf8("\xC2\x8F", 2));
ck_assert(is_utf8("\xDF\x80", 2));
ck_assert(is_utf8("\xDF\x8F", 2));
}
END_TEST
START_TEST(test_reject_invalid_2byte_utf8)
{
// invalid first byte, valid second byte
ck_assert(!is_utf8("\x80\x80", 2));
ck_assert(!is_utf8("\xC1\x8F", 2));
ck_assert(!is_utf8("\xF5\x80", 2));
ck_assert(!is_utf8("\xFF\x80", 2));
ck_assert(!is_utf8("\xFF\xFF", 2));
// valid first byte, invalid second byte
ck_assert(!is_utf8("\xC2\x00", 2));
ck_assert(!is_utf8("\xC2\x7F", 2));
ck_assert(!is_utf8("\xDF\x00", 2));
ck_assert(!is_utf8("\xDF\x7F", 2));
// too short
ck_assert(!is_utf8("\xE0\x80", 2));
ck_assert(!is_utf8("\xE0\xA0", 2));
ck_assert(!is_utf8("\xE1\x80", 2));
ck_assert(!is_utf8("\xEC\x80", 2));
ck_assert(!is_utf8("\xEE\x80", 2));
ck_assert(!is_utf8("\xED\x80", 2));
ck_assert(!is_utf8("\xEF\x80", 2));
ck_assert(!is_utf8("\xF0\x80", 2));
ck_assert(!is_utf8("\xF0\x90", 2));
ck_assert(!is_utf8("\xF1\x80", 2));
ck_assert(!is_utf8("\xF4\x80", 2));
}
END_TEST
START_TEST(test_accept_valid_3byte_utf8)
{
ck_assert(is_utf8("\xE0\xA0\x80", 3));
ck_assert(is_utf8("\xE0\xA0\xBF", 3));
ck_assert(is_utf8("\xE0\xBF\x80", 3));
ck_assert(is_utf8("\xE0\xBF\xBF", 3));
ck_assert(is_utf8("\xE1\x80\x80", 3));
ck_assert(is_utf8("\xE1\x80\xBF", 3));
ck_assert(is_utf8("\xE1\xBF\x80", 3));
ck_assert(is_utf8("\xE1\xBF\xBF", 3));
ck_assert(is_utf8("\xEC\x80\x80", 3));
ck_assert(is_utf8("\xEC\x80\xBF", 3));
ck_assert(is_utf8("\xEC\xBF\x80", 3));
ck_assert(is_utf8("\xEC\xBF\xBF", 3));
ck_assert(is_utf8("\xED\x80\x80", 3));
ck_assert(is_utf8("\xED\x80\xBF", 3));
ck_assert(is_utf8("\xED\x9F\x80", 3));
ck_assert(is_utf8("\xED\x9F\xBF", 3));
}
END_TEST
START_TEST(test_reject_invalid_3byte_utf8)
{
ck_assert(!is_utf8("\xE0\x80\x80", 3));
ck_assert(!is_utf8("\xE0\x80\xBF", 3));
ck_assert(!is_utf8("\xE0\x9F\x80", 3));
ck_assert(!is_utf8("\xE0\x9F\xBF", 3));
ck_assert(!is_utf8("\xED\xA0\x80", 3));
ck_assert(!is_utf8("\xED\xA0\xBF", 3));
ck_assert(!is_utf8("\xED\xBF\x80", 3));
ck_assert(!is_utf8("\xED\xBF\xBF", 3));
}
END_TEST
START_TEST(test_accept_valid_4byte_utf8)
{
ck_assert(is_utf8("\xF0\x90\x80\x80", 4));
ck_assert(is_utf8("\xF0\x90\x80\xBF", 4));
ck_assert(is_utf8("\xF0\x90\xBF\x80", 4));
ck_assert(is_utf8("\xF0\x90\xBF\xBF", 4));
ck_assert(is_utf8("\xF0\xBF\x80\x80", 4));
ck_assert(is_utf8("\xF0\xBF\x80\xBF", 4));
ck_assert(is_utf8("\xF0\xBF\xBF\x80", 4));
ck_assert(is_utf8("\xF0\xBF\xBF\xBF", 4));
ck_assert(is_utf8("\xF1\x80\x80\x80", 4));
ck_assert(is_utf8("\xF1\x80\x80\xBF", 4));
ck_assert(is_utf8("\xF1\x80\xBF\x80", 4));
ck_assert(is_utf8("\xF1\x80\xBF\xBF", 4));
ck_assert(is_utf8("\xF1\xBF\x80\x80", 4));
ck_assert(is_utf8("\xF1\xBF\x80\xBF", 4));
ck_assert(is_utf8("\xF1\xBF\xBF\x80", 4));
ck_assert(is_utf8("\xF1\xBF\xBF\xBF", 4));
ck_assert(is_utf8("\xF3\x80\x80\x80", 4));
ck_assert(is_utf8("\xF3\x80\x80\xBF", 4));
ck_assert(is_utf8("\xF3\x80\xBF\x80", 4));
ck_assert(is_utf8("\xF3\x80\xBF\xBF", 4));
ck_assert(is_utf8("\xF3\xBF\x80\x80", 4));
ck_assert(is_utf8("\xF3\xBF\x80\xBF", 4));
ck_assert(is_utf8("\xF3\xBF\xBF\x80", 4));
ck_assert(is_utf8("\xF3\xBF\xBF\xBF", 4));
ck_assert(is_utf8("\xF4\x80\x80\x80", 4));
ck_assert(is_utf8("\xF4\x80\x80\xBF", 4));
ck_assert(is_utf8("\xF4\x80\xBF\x80", 4));
ck_assert(is_utf8("\xF4\x80\xBF\xBF", 4));
ck_assert(is_utf8("\xF4\x8F\x80\x80", 4));
ck_assert(is_utf8("\xF4\x8F\x80\xBF", 4));
ck_assert(is_utf8("\xF4\x8F\xBF\x80", 4));
ck_assert(is_utf8("\xF4\x8F\xBF\xBF", 4));
}
END_TEST
START_TEST(test_reject_invalid_4byte_utf8)
{
ck_assert(!is_utf8("\xF0\x80\x80\x80", 4));
ck_assert(!is_utf8("\xF0\x8F\x80\x80", 4));
ck_assert(!is_utf8("\xF4\x90\x80\x80", 4));
ck_assert(!is_utf8("\xF4\xBF\x80\x80", 4));
ck_assert(!is_utf8("\xF5\x80\x80\x80", 4));
ck_assert(!is_utf8("\xFF\x80\x80\x80", 4));
}
END_TEST
static void roundtrip(int32_t code)
{
uint8_t buf[6];
uint8_t *ptr;
int32_t decode;
ptr = buf;
utf8lite_encode_utf8(code, &ptr);
ck_assert_int_eq(ptr - buf, UTF8LITE_UTF8_ENCODE_LEN(code));
ck_assert(is_utf8((const char *)buf, UTF8LITE_UTF8_ENCODE_LEN(code)));
ptr = buf;
utf8lite_decode_utf8((const uint8_t **)&ptr, &decode);
ck_assert_int_eq(ptr - buf, UTF8LITE_UTF8_ENCODE_LEN(code));
ck_assert_int_eq(code, decode);
}
START_TEST(test_encode_decode_utf8)
{
int32_t code;
// U+0000..U+FFFF
for (code = 0; code <= 0xFFFF; code += 0xFF) {
if (!UTF8LITE_IS_UNICODE(code)) {
continue;
}
roundtrip(code);
}
// U+10000..U+3FFFF
roundtrip(0x10000);
roundtrip(0x10001);
roundtrip(0x3FFFE);
roundtrip(0x3FFFF);
// U+40000..U+FFFFF
roundtrip(0x40000);
roundtrip(0x40001);
roundtrip(0xFFFFE);
roundtrip(0xFFFFF);
// U+100000..U+10FFFF
roundtrip(0x100000);
roundtrip(0x100001);
roundtrip(0x10FFFE);
roundtrip(0x10FFFF);
}
END_TEST
static void reverse_roundtrip(int32_t code)
{
uint8_t buf[6];
uint8_t *end = buf + 6;
uint8_t *start, *ptr;
int32_t decode;
ptr = end;
utf8lite_rencode_utf8(code, &ptr);
ck_assert_int_eq(end - ptr, UTF8LITE_UTF8_ENCODE_LEN(code));
ck_assert(is_utf8((const char *)ptr, UTF8LITE_UTF8_ENCODE_LEN(code)));
start = ptr;
utf8lite_decode_utf8((const uint8_t **)&ptr, &decode);
ck_assert_int_eq(ptr - start, UTF8LITE_UTF8_ENCODE_LEN(code));
ck_assert_int_eq(code, decode);
}
START_TEST(test_rencode_decode_utf8)
{
int32_t code;
// U+0000..U+FFFF
for (code = 0; code <= 0xFFFF; code += 0xFF) {
if (!UTF8LITE_IS_UNICODE(code)) {
continue;
}
reverse_roundtrip(code);
}
// U+10000..U+3FFFF
reverse_roundtrip(0x10000);
reverse_roundtrip(0x10001);
reverse_roundtrip(0x3FFFE);
reverse_roundtrip(0x3FFFF);
// U+40000..U+FFFFF
reverse_roundtrip(0x40000);
reverse_roundtrip(0x40001);
reverse_roundtrip(0xFFFFE);
reverse_roundtrip(0xFFFFF);
// U+100000..U+10FFFF
reverse_roundtrip(0x100000);
reverse_roundtrip(0x100001);
reverse_roundtrip(0x10FFFE);
reverse_roundtrip(0x10FFFF);
}
END_TEST
START_TEST(test_normalize_nfc_nfd)
{
int i, j, n = num_normalization_test;
size_t len;
struct normalization_test *test;
int32_t buf[128];
int32_t *dst;
int32_t code;
for (i = 0; i < n; i++) {
test = &normalization_tests[i];
dst = buf;
for (j = 0; j < test->source_len; j++) {
code = test->source[j];
utf8lite_map(0, code, &dst);
}
len = (size_t)(dst - buf);
ck_assert_uint_eq(len, (size_t)test->nfd_len);
utf8lite_order(buf, len);
for (j = 0; j < test->nfd_len; j++) {
if (buf[j] != test->nfd[j]) {
write_normalization_test(stderr, test);
}
ck_assert_int_eq(buf[j], test->nfd[j]);
}
utf8lite_compose(buf, &len);
ck_assert_uint_eq(len, (size_t)test->nfc_len);
for (j = 0; j < test->nfc_len; j++) {
if (buf[j] != test->nfc[j]) {
write_normalization_test(stderr, test);
}
ck_assert_int_eq(buf[j], test->nfc[j]);
}
}
}
END_TEST
START_TEST(test_normalize_nfkc_nfkd)
{
int i, j, n = num_normalization_test;
size_t len;
struct normalization_test *test;
int32_t buf[128];
int32_t *dst;
int32_t code;
for (i = 0; i < n; i++) {
test = &normalization_tests[i];
dst = buf;
for (j = 0; j < test->source_len; j++) {
code = test->source[j];
utf8lite_map(UTF8LITE_DECOMP_ALL, code, &dst);
}
len = (size_t)(dst - buf);
ck_assert_uint_eq(len, (size_t)test->nfkd_len);
utf8lite_order(buf, len);
for (j = 0; j < test->nfkd_len; j++) {
if (buf[j] != test->nfkd[j]) {
write_normalization_test(stderr, test);
}
ck_assert_int_eq(buf[j], test->nfkd[j]);
}
utf8lite_compose(buf, &len);
ck_assert_uint_eq(len, (size_t)test->nfkc_len);
for (j = 0; j < test->nfkc_len; j++) {
if (buf[j] != test->nfkc[j]) {
write_normalization_test(stderr, test);
}
ck_assert_int_eq(buf[j], test->nfkc[j]);
}
}
}
END_TEST
START_TEST(test_whitespace)
{
ck_assert(!utf8lite_isspace(0x08));
ck_assert(utf8lite_isspace('\t'));
ck_assert(utf8lite_isspace('\n'));
ck_assert(utf8lite_isspace('\v'));
ck_assert(utf8lite_isspace('\f'));
ck_assert(utf8lite_isspace('\r'));
ck_assert(!utf8lite_isspace(0x0E));
ck_assert(utf8lite_isspace(' '));
ck_assert(utf8lite_isspace(0x85));
ck_assert(!utf8lite_isspace(0x86));
ck_assert(utf8lite_isspace(0xA0));
ck_assert(utf8lite_isspace(0xA0));
ck_assert(!utf8lite_isspace(0x1FFF));
ck_assert(utf8lite_isspace(0x2000));
ck_assert(utf8lite_isspace(0x2001));
ck_assert(utf8lite_isspace(0x200A));
ck_assert(!utf8lite_isspace(0x200B));
ck_assert(utf8lite_isspace(0x2028));
ck_assert(utf8lite_isspace(0x2029));
ck_assert(!utf8lite_isspace(0x202A));
ck_assert(utf8lite_isspace(0x3000));
ck_assert(!utf8lite_isspace(0x3001));
}
END_TEST
START_TEST(test_ignorable)
{
ck_assert(!utf8lite_isignorable(0x00));
ck_assert(!utf8lite_isignorable(0x7F));
ck_assert(utf8lite_isignorable(0x00AD));
ck_assert(utf8lite_isignorable(0x034F));
ck_assert(utf8lite_isignorable(0x061C));
ck_assert(utf8lite_isignorable(0x115F));
ck_assert(utf8lite_isignorable(0x1160));
ck_assert(utf8lite_isignorable(0xFE00));
ck_assert(utf8lite_isignorable(0x1BCA0));
ck_assert(!utf8lite_isignorable(0xDFFFF));
ck_assert(utf8lite_isignorable(0xE0000));
ck_assert(utf8lite_isignorable(0xE0FFF));
ck_assert(!utf8lite_isignorable(0xE1000));
}
END_TEST
Suite *unicode_suite(void)
{
Suite *s;
TCase *tc;
s = suite_create("unicode");
tc = tcase_create("utf8 validation");
tcase_add_test(tc, test_accept_valid_1byte_utf8);
tcase_add_test(tc, test_reject_invalid_1byte_utf8);
tcase_add_test(tc, test_accept_valid_2byte_utf8);
tcase_add_test(tc, test_reject_invalid_2byte_utf8);
tcase_add_test(tc, test_accept_valid_3byte_utf8);
tcase_add_test(tc, test_reject_invalid_3byte_utf8);
tcase_add_test(tc, test_accept_valid_4byte_utf8);
tcase_add_test(tc, test_reject_invalid_4byte_utf8);
suite_add_tcase(s, tc);
tc = tcase_create("utf8 encoding and decoding");
tcase_add_test(tc, test_encode_decode_utf8);
tcase_add_test(tc, test_rencode_decode_utf8);
suite_add_tcase(s, tc);
tc = tcase_create("utf32 normalization");
tcase_add_checked_fixture(tc, setup_normalization,
teardown_normalization);
tcase_add_test(tc, test_normalize_nfc_nfd);
tcase_add_test(tc, test_normalize_nfkc_nfkd);
suite_add_tcase(s, tc);
tc = tcase_create("utf8 character properties");
tcase_add_test(tc, test_whitespace);
tcase_add_test(tc, test_ignorable);
suite_add_tcase(s, tc);
return s;
}
int main(void)
{
int number_failed;
Suite *s;
SRunner *sr;
s = unicode_suite();
sr = srunner_create(s);
srunner_run_all(sr, CK_NORMAL);
number_failed = srunner_ntests_failed(sr);
srunner_free(sr);
return (number_failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
}
utf8/src/utf8lite/tests/wcwidth9/ 0000755 0001762 0000144 00000000000 13200060072 016365 5 ustar ligges users utf8/src/utf8lite/tests/wcwidth9/wcwidth9.h 0000644 0001762 0000144 00000065536 13301551651 020331 0 ustar ligges users #ifndef WCWIDTH9_H
#define WCWIDTH9_H
#include
#include
struct wcwidth9_interval {
long first;
long last;
};
static const struct wcwidth9_interval wcwidth9_private[] = {
{0x00e000, 0x00f8ff},
{0x0f0000, 0x0ffffd},
{0x100000, 0x10fffd},
};
static const struct wcwidth9_interval wcwidth9_nonprint[] = {
{0x0000, 0x001f},
{0x007f, 0x009f},
{0x00ad, 0x00ad},
{0x070f, 0x070f},
{0x180b, 0x180e},
{0x200b, 0x200f},
{0x2028, 0x2029},
{0x202a, 0x202e},
{0x206a, 0x206f},
{0xd800, 0xdfff},
{0xfeff, 0xfeff},
{0xfff9, 0xfffb},
{0xfffe, 0xffff},
};
static const struct wcwidth9_interval wcwidth9_combining[] = {
{0x0300, 0x036f},
{0x0483, 0x0489},
{0x0591, 0x05bd},
{0x05bf, 0x05bf},
{0x05c1, 0x05c2},
{0x05c4, 0x05c5},
{0x05c7, 0x05c7},
{0x0610, 0x061a},
{0x064b, 0x065f},
{0x0670, 0x0670},
{0x06d6, 0x06dc},
{0x06df, 0x06e4},
{0x06e7, 0x06e8},
{0x06ea, 0x06ed},
{0x0711, 0x0711},
{0x0730, 0x074a},
{0x07a6, 0x07b0},
{0x07eb, 0x07f3},
{0x0816, 0x0819},
{0x081b, 0x0823},
{0x0825, 0x0827},
{0x0829, 0x082d},
{0x0859, 0x085b},
{0x08d4, 0x08e1},
{0x08e3, 0x0903},
{0x093a, 0x093c},
{0x093e, 0x094f},
{0x0951, 0x0957},
{0x0962, 0x0963},
{0x0981, 0x0983},
{0x09bc, 0x09bc},
{0x09be, 0x09c4},
{0x09c7, 0x09c8},
{0x09cb, 0x09cd},
{0x09d7, 0x09d7},
{0x09e2, 0x09e3},
{0x0a01, 0x0a03},
{0x0a3c, 0x0a3c},
{0x0a3e, 0x0a42},
{0x0a47, 0x0a48},
{0x0a4b, 0x0a4d},
{0x0a51, 0x0a51},
{0x0a70, 0x0a71},
{0x0a75, 0x0a75},
{0x0a81, 0x0a83},
{0x0abc, 0x0abc},
{0x0abe, 0x0ac5},
{0x0ac7, 0x0ac9},
{0x0acb, 0x0acd},
{0x0ae2, 0x0ae3},
{0x0b01, 0x0b03},
{0x0b3c, 0x0b3c},
{0x0b3e, 0x0b44},
{0x0b47, 0x0b48},
{0x0b4b, 0x0b4d},
{0x0b56, 0x0b57},
{0x0b62, 0x0b63},
{0x0b82, 0x0b82},
{0x0bbe, 0x0bc2},
{0x0bc6, 0x0bc8},
{0x0bca, 0x0bcd},
{0x0bd7, 0x0bd7},
{0x0c00, 0x0c03},
{0x0c3e, 0x0c44},
{0x0c46, 0x0c48},
{0x0c4a, 0x0c4d},
{0x0c55, 0x0c56},
{0x0c62, 0x0c63},
{0x0c81, 0x0c83},
{0x0cbc, 0x0cbc},
{0x0cbe, 0x0cc4},
{0x0cc6, 0x0cc8},
{0x0cca, 0x0ccd},
{0x0cd5, 0x0cd6},
{0x0ce2, 0x0ce3},
{0x0d01, 0x0d03},
{0x0d3e, 0x0d44},
{0x0d46, 0x0d48},
{0x0d4a, 0x0d4d},
{0x0d57, 0x0d57},
{0x0d62, 0x0d63},
{0x0d82, 0x0d83},
{0x0dca, 0x0dca},
{0x0dcf, 0x0dd4},
{0x0dd6, 0x0dd6},
{0x0dd8, 0x0ddf},
{0x0df2, 0x0df3},
{0x0e31, 0x0e31},
{0x0e34, 0x0e3a},
{0x0e47, 0x0e4e},
{0x0eb1, 0x0eb1},
{0x0eb4, 0x0eb9},
{0x0ebb, 0x0ebc},
{0x0ec8, 0x0ecd},
{0x0f18, 0x0f19},
{0x0f35, 0x0f35},
{0x0f37, 0x0f37},
{0x0f39, 0x0f39},
{0x0f3e, 0x0f3f},
{0x0f71, 0x0f84},
{0x0f86, 0x0f87},
{0x0f8d, 0x0f97},
{0x0f99, 0x0fbc},
{0x0fc6, 0x0fc6},
{0x102b, 0x103e},
{0x1056, 0x1059},
{0x105e, 0x1060},
{0x1062, 0x1064},
{0x1067, 0x106d},
{0x1071, 0x1074},
{0x1082, 0x108d},
{0x108f, 0x108f},
{0x109a, 0x109d},
{0x135d, 0x135f},
{0x1712, 0x1714},
{0x1732, 0x1734},
{0x1752, 0x1753},
{0x1772, 0x1773},
{0x17b4, 0x17d3},
{0x17dd, 0x17dd},
{0x180b, 0x180d},
{0x1885, 0x1886},
{0x18a9, 0x18a9},
{0x1920, 0x192b},
{0x1930, 0x193b},
{0x1a17, 0x1a1b},
{0x1a55, 0x1a5e},
{0x1a60, 0x1a7c},
{0x1a7f, 0x1a7f},
{0x1ab0, 0x1abe},
{0x1b00, 0x1b04},
{0x1b34, 0x1b44},
{0x1b6b, 0x1b73},
{0x1b80, 0x1b82},
{0x1ba1, 0x1bad},
{0x1be6, 0x1bf3},
{0x1c24, 0x1c37},
{0x1cd0, 0x1cd2},
{0x1cd4, 0x1ce8},
{0x1ced, 0x1ced},
{0x1cf2, 0x1cf4},
{0x1cf8, 0x1cf9},
{0x1dc0, 0x1df5},
{0x1dfb, 0x1dff},
{0x20d0, 0x20f0},
{0x2cef, 0x2cf1},
{0x2d7f, 0x2d7f},
{0x2de0, 0x2dff},
{0x302a, 0x302f},
{0x3099, 0x309a},
{0xa66f, 0xa672},
{0xa674, 0xa67d},
{0xa69e, 0xa69f},
{0xa6f0, 0xa6f1},
{0xa802, 0xa802},
{0xa806, 0xa806},
{0xa80b, 0xa80b},
{0xa823, 0xa827},
{0xa880, 0xa881},
{0xa8b4, 0xa8c5},
{0xa8e0, 0xa8f1},
{0xa926, 0xa92d},
{0xa947, 0xa953},
{0xa980, 0xa983},
{0xa9b3, 0xa9c0},
{0xa9e5, 0xa9e5},
{0xaa29, 0xaa36},
{0xaa43, 0xaa43},
{0xaa4c, 0xaa4d},
{0xaa7b, 0xaa7d},
{0xaab0, 0xaab0},
{0xaab2, 0xaab4},
{0xaab7, 0xaab8},
{0xaabe, 0xaabf},
{0xaac1, 0xaac1},
{0xaaeb, 0xaaef},
{0xaaf5, 0xaaf6},
{0xabe3, 0xabea},
{0xabec, 0xabed},
{0xfb1e, 0xfb1e},
{0xfe00, 0xfe0f},
{0xfe20, 0xfe2f},
{0x101fd, 0x101fd},
{0x102e0, 0x102e0},
{0x10376, 0x1037a},
{0x10a01, 0x10a03},
{0x10a05, 0x10a06},
{0x10a0c, 0x10a0f},
{0x10a38, 0x10a3a},
{0x10a3f, 0x10a3f},
{0x10ae5, 0x10ae6},
{0x11000, 0x11002},
{0x11038, 0x11046},
{0x1107f, 0x11082},
{0x110b0, 0x110ba},
{0x11100, 0x11102},
{0x11127, 0x11134},
{0x11173, 0x11173},
{0x11180, 0x11182},
{0x111b3, 0x111c0},
{0x111ca, 0x111cc},
{0x1122c, 0x11237},
{0x1123e, 0x1123e},
{0x112df, 0x112ea},
{0x11300, 0x11303},
{0x1133c, 0x1133c},
{0x1133e, 0x11344},
{0x11347, 0x11348},
{0x1134b, 0x1134d},
{0x11357, 0x11357},
{0x11362, 0x11363},
{0x11366, 0x1136c},
{0x11370, 0x11374},
{0x11435, 0x11446},
{0x114b0, 0x114c3},
{0x115af, 0x115b5},
{0x115b8, 0x115c0},
{0x115dc, 0x115dd},
{0x11630, 0x11640},
{0x116ab, 0x116b7},
{0x1171d, 0x1172b},
{0x11c2f, 0x11c36},
{0x11c38, 0x11c3f},
{0x11c92, 0x11ca7},
{0x11ca9, 0x11cb6},
{0x16af0, 0x16af4},
{0x16b30, 0x16b36},
{0x16f51, 0x16f7e},
{0x16f8f, 0x16f92},
{0x1bc9d, 0x1bc9e},
{0x1d165, 0x1d169},
{0x1d16d, 0x1d172},
{0x1d17b, 0x1d182},
{0x1d185, 0x1d18b},
{0x1d1aa, 0x1d1ad},
{0x1d242, 0x1d244},
{0x1da00, 0x1da36},
{0x1da3b, 0x1da6c},
{0x1da75, 0x1da75},
{0x1da84, 0x1da84},
{0x1da9b, 0x1da9f},
{0x1daa1, 0x1daaf},
{0x1e000, 0x1e006},
{0x1e008, 0x1e018},
{0x1e01b, 0x1e021},
{0x1e023, 0x1e024},
{0x1e026, 0x1e02a},
{0x1e8d0, 0x1e8d6},
{0x1e944, 0x1e94a},
{0xe0100, 0xe01ef},
};
static const struct wcwidth9_interval wcwidth9_doublewidth[] = {
{0x1100, 0x115f},
{0x231a, 0x231b},
{0x2329, 0x232a},
{0x23e9, 0x23ec},
{0x23f0, 0x23f0},
{0x23f3, 0x23f3},
{0x25fd, 0x25fe},
{0x2614, 0x2615},
{0x2648, 0x2653},
{0x267f, 0x267f},
{0x2693, 0x2693},
{0x26a1, 0x26a1},
{0x26aa, 0x26ab},
{0x26bd, 0x26be},
{0x26c4, 0x26c5},
{0x26ce, 0x26ce},
{0x26d4, 0x26d4},
{0x26ea, 0x26ea},
{0x26f2, 0x26f3},
{0x26f5, 0x26f5},
{0x26fa, 0x26fa},
{0x26fd, 0x26fd},
{0x2705, 0x2705},
{0x270a, 0x270b},
{0x2728, 0x2728},
{0x274c, 0x274c},
{0x274e, 0x274e},
{0x2753, 0x2755},
{0x2757, 0x2757},
{0x2795, 0x2797},
{0x27b0, 0x27b0},
{0x27bf, 0x27bf},
{0x2b1b, 0x2b1c},
{0x2b50, 0x2b50},
{0x2b55, 0x2b55},
{0x2e80, 0x2e99},
{0x2e9b, 0x2ef3},
{0x2f00, 0x2fd5},
{0x2ff0, 0x2ffb},
{0x3000, 0x303e},
{0x3041, 0x3096},
{0x3099, 0x30ff},
{0x3105, 0x312d},
{0x3131, 0x318e},
{0x3190, 0x31ba},
{0x31c0, 0x31e3},
{0x31f0, 0x321e},
{0x3220, 0x3247},
{0x3250, 0x32fe},
{0x3300, 0x4dbf},
{0x4e00, 0xa48c},
{0xa490, 0xa4c6},
{0xa960, 0xa97c},
{0xac00, 0xd7a3},
{0xf900, 0xfaff},
{0xfe10, 0xfe19},
{0xfe30, 0xfe52},
{0xfe54, 0xfe66},
{0xfe68, 0xfe6b},
{0xff01, 0xff60},
{0xffe0, 0xffe6},
{0x16fe0, 0x16fe0},
{0x17000, 0x187ec},
{0x18800, 0x18af2},
{0x1b000, 0x1b001},
{0x1f004, 0x1f004},
{0x1f0cf, 0x1f0cf},
{0x1f18e, 0x1f18e},
{0x1f191, 0x1f19a},
{0x1f200, 0x1f202},
{0x1f210, 0x1f23b},
{0x1f240, 0x1f248},
{0x1f250, 0x1f251},
{0x1f300, 0x1f320},
{0x1f32d, 0x1f335},
{0x1f337, 0x1f37c},
{0x1f37e, 0x1f393},
{0x1f3a0, 0x1f3ca},
{0x1f3cf, 0x1f3d3},
{0x1f3e0, 0x1f3f0},
{0x1f3f4, 0x1f3f4},
{0x1f3f8, 0x1f43e},
{0x1f440, 0x1f440},
{0x1f442, 0x1f4fc},
{0x1f4ff, 0x1f53d},
{0x1f54b, 0x1f54e},
{0x1f550, 0x1f567},
{0x1f57a, 0x1f57a},
{0x1f595, 0x1f596},
{0x1f5a4, 0x1f5a4},
{0x1f5fb, 0x1f64f},
{0x1f680, 0x1f6c5},
{0x1f6cc, 0x1f6cc},
{0x1f6d0, 0x1f6d2},
{0x1f6eb, 0x1f6ec},
{0x1f6f4, 0x1f6f6},
{0x1f910, 0x1f91e},
{0x1f920, 0x1f927},
{0x1f930, 0x1f930},
{0x1f933, 0x1f93e},
{0x1f940, 0x1f94b},
{0x1f950, 0x1f95e},
{0x1f980, 0x1f991},
{0x1f9c0, 0x1f9c0},
{0x20000, 0x2fffd},
{0x30000, 0x3fffd},
};
static const struct wcwidth9_interval wcwidth9_ambiguous[] = {
{0x00a1, 0x00a1},
{0x00a4, 0x00a4},
{0x00a7, 0x00a8},
{0x00aa, 0x00aa},
{0x00ad, 0x00ae},
{0x00b0, 0x00b4},
{0x00b6, 0x00ba},
{0x00bc, 0x00bf},
{0x00c6, 0x00c6},
{0x00d0, 0x00d0},
{0x00d7, 0x00d8},
{0x00de, 0x00e1},
{0x00e6, 0x00e6},
{0x00e8, 0x00ea},
{0x00ec, 0x00ed},
{0x00f0, 0x00f0},
{0x00f2, 0x00f3},
{0x00f7, 0x00fa},
{0x00fc, 0x00fc},
{0x00fe, 0x00fe},
{0x0101, 0x0101},
{0x0111, 0x0111},
{0x0113, 0x0113},
{0x011b, 0x011b},
{0x0126, 0x0127},
{0x012b, 0x012b},
{0x0131, 0x0133},
{0x0138, 0x0138},
{0x013f, 0x0142},
{0x0144, 0x0144},
{0x0148, 0x014b},
{0x014d, 0x014d},
{0x0152, 0x0153},
{0x0166, 0x0167},
{0x016b, 0x016b},
{0x01ce, 0x01ce},
{0x01d0, 0x01d0},
{0x01d2, 0x01d2},
{0x01d4, 0x01d4},
{0x01d6, 0x01d6},
{0x01d8, 0x01d8},
{0x01da, 0x01da},
{0x01dc, 0x01dc},
{0x0251, 0x0251},
{0x0261, 0x0261},
{0x02c4, 0x02c4},
{0x02c7, 0x02c7},
{0x02c9, 0x02cb},
{0x02cd, 0x02cd},
{0x02d0, 0x02d0},
{0x02d8, 0x02db},
{0x02dd, 0x02dd},
{0x02df, 0x02df},
{0x0300, 0x036f},
{0x0391, 0x03a1},
{0x03a3, 0x03a9},
{0x03b1, 0x03c1},
{0x03c3, 0x03c9},
{0x0401, 0x0401},
{0x0410, 0x044f},
{0x0451, 0x0451},
{0x2010, 0x2010},
{0x2013, 0x2016},
{0x2018, 0x2019},
{0x201c, 0x201d},
{0x2020, 0x2022},
{0x2024, 0x2027},
{0x2030, 0x2030},
{0x2032, 0x2033},
{0x2035, 0x2035},
{0x203b, 0x203b},
{0x203e, 0x203e},
{0x2074, 0x2074},
{0x207f, 0x207f},
{0x2081, 0x2084},
{0x20ac, 0x20ac},
{0x2103, 0x2103},
{0x2105, 0x2105},
{0x2109, 0x2109},
{0x2113, 0x2113},
{0x2116, 0x2116},
{0x2121, 0x2122},
{0x2126, 0x2126},
{0x212b, 0x212b},
{0x2153, 0x2154},
{0x215b, 0x215e},
{0x2160, 0x216b},
{0x2170, 0x2179},
{0x2189, 0x2189},
{0x2190, 0x2199},
{0x21b8, 0x21b9},
{0x21d2, 0x21d2},
{0x21d4, 0x21d4},
{0x21e7, 0x21e7},
{0x2200, 0x2200},
{0x2202, 0x2203},
{0x2207, 0x2208},
{0x220b, 0x220b},
{0x220f, 0x220f},
{0x2211, 0x2211},
{0x2215, 0x2215},
{0x221a, 0x221a},
{0x221d, 0x2220},
{0x2223, 0x2223},
{0x2225, 0x2225},
{0x2227, 0x222c},
{0x222e, 0x222e},
{0x2234, 0x2237},
{0x223c, 0x223d},
{0x2248, 0x2248},
{0x224c, 0x224c},
{0x2252, 0x2252},
{0x2260, 0x2261},
{0x2264, 0x2267},
{0x226a, 0x226b},
{0x226e, 0x226f},
{0x2282, 0x2283},
{0x2286, 0x2287},
{0x2295, 0x2295},
{0x2299, 0x2299},
{0x22a5, 0x22a5},
{0x22bf, 0x22bf},
{0x2312, 0x2312},
{0x2460, 0x24e9},
{0x24eb, 0x254b},
{0x2550, 0x2573},
{0x2580, 0x258f},
{0x2592, 0x2595},
{0x25a0, 0x25a1},
{0x25a3, 0x25a9},
{0x25b2, 0x25b3},
{0x25b6, 0x25b7},
{0x25bc, 0x25bd},
{0x25c0, 0x25c1},
{0x25c6, 0x25c8},
{0x25cb, 0x25cb},
{0x25ce, 0x25d1},
{0x25e2, 0x25e5},
{0x25ef, 0x25ef},
{0x2605, 0x2606},
{0x2609, 0x2609},
{0x260e, 0x260f},
{0x261c, 0x261c},
{0x261e, 0x261e},
{0x2640, 0x2640},
{0x2642, 0x2642},
{0x2660, 0x2661},
{0x2663, 0x2665},
{0x2667, 0x266a},
{0x266c, 0x266d},
{0x266f, 0x266f},
{0x269e, 0x269f},
{0x26bf, 0x26bf},
{0x26c6, 0x26cd},
{0x26cf, 0x26d3},
{0x26d5, 0x26e1},
{0x26e3, 0x26e3},
{0x26e8, 0x26e9},
{0x26eb, 0x26f1},
{0x26f4, 0x26f4},
{0x26f6, 0x26f9},
{0x26fb, 0x26fc},
{0x26fe, 0x26ff},
{0x273d, 0x273d},
{0x2776, 0x277f},
{0x2b56, 0x2b59},
{0x3248, 0x324f},
{0xe000, 0xf8ff},
{0xfe00, 0xfe0f},
{0xfffd, 0xfffd},
{0x1f100, 0x1f10a},
{0x1f110, 0x1f12d},
{0x1f130, 0x1f169},
{0x1f170, 0x1f18d},
{0x1f18f, 0x1f190},
{0x1f19b, 0x1f1ac},
{0xe0100, 0xe01ef},
{0xf0000, 0xffffd},
{0x100000, 0x10fffd},
};
static const struct wcwidth9_interval wcwidth9_emoji_width[] = {
{0x1f1e6, 0x1f1ff},
{0x1f321, 0x1f321},
{0x1f324, 0x1f32c},
{0x1f336, 0x1f336},
{0x1f37d, 0x1f37d},
{0x1f396, 0x1f397},
{0x1f399, 0x1f39b},
{0x1f39e, 0x1f39f},
{0x1f3cb, 0x1f3ce},
{0x1f3d4, 0x1f3df},
{0x1f3f3, 0x1f3f5},
{0x1f3f7, 0x1f3f7},
{0x1f43f, 0x1f43f},
{0x1f441, 0x1f441},
{0x1f4fd, 0x1f4fd},
{0x1f549, 0x1f54a},
{0x1f56f, 0x1f570},
{0x1f573, 0x1f579},
{0x1f587, 0x1f587},
{0x1f58a, 0x1f58d},
{0x1f590, 0x1f590},
{0x1f5a5, 0x1f5a5},
{0x1f5a8, 0x1f5a8},
{0x1f5b1, 0x1f5b2},
{0x1f5bc, 0x1f5bc},
{0x1f5c2, 0x1f5c4},
{0x1f5d1, 0x1f5d3},
{0x1f5dc, 0x1f5de},
{0x1f5e1, 0x1f5e1},
{0x1f5e3, 0x1f5e3},
{0x1f5e8, 0x1f5e8},
{0x1f5ef, 0x1f5ef},
{0x1f5f3, 0x1f5f3},
{0x1f5fa, 0x1f5fa},
{0x1f6cb, 0x1f6cf},
{0x1f6e0, 0x1f6e5},
{0x1f6e9, 0x1f6e9},
{0x1f6f0, 0x1f6f0},
{0x1f6f3, 0x1f6f3},
};
static const struct wcwidth9_interval wcwidth9_not_assigned[] = {
{0x0378, 0x0379},
{0x0380, 0x0383},
{0x038b, 0x038b},
{0x038d, 0x038d},
{0x03a2, 0x03a2},
{0x0530, 0x0530},
{0x0557, 0x0558},
{0x0560, 0x0560},
{0x0588, 0x0588},
{0x058b, 0x058c},
{0x0590, 0x0590},
{0x05c8, 0x05cf},
{0x05eb, 0x05ef},
{0x05f5, 0x05ff},
{0x061d, 0x061d},
{0x070e, 0x070e},
{0x074b, 0x074c},
{0x07b2, 0x07bf},
{0x07fb, 0x07ff},
{0x082e, 0x082f},
{0x083f, 0x083f},
{0x085c, 0x085d},
{0x085f, 0x089f},
{0x08b5, 0x08b5},
{0x08be, 0x08d3},
{0x0984, 0x0984},
{0x098d, 0x098e},
{0x0991, 0x0992},
{0x09a9, 0x09a9},
{0x09b1, 0x09b1},
{0x09b3, 0x09b5},
{0x09ba, 0x09bb},
{0x09c5, 0x09c6},
{0x09c9, 0x09ca},
{0x09cf, 0x09d6},
{0x09d8, 0x09db},
{0x09de, 0x09de},
{0x09e4, 0x09e5},
{0x09fc, 0x0a00},
{0x0a04, 0x0a04},
{0x0a0b, 0x0a0e},
{0x0a11, 0x0a12},
{0x0a29, 0x0a29},
{0x0a31, 0x0a31},
{0x0a34, 0x0a34},
{0x0a37, 0x0a37},
{0x0a3a, 0x0a3b},
{0x0a3d, 0x0a3d},
{0x0a43, 0x0a46},
{0x0a49, 0x0a4a},
{0x0a4e, 0x0a50},
{0x0a52, 0x0a58},
{0x0a5d, 0x0a5d},
{0x0a5f, 0x0a65},
{0x0a76, 0x0a80},
{0x0a84, 0x0a84},
{0x0a8e, 0x0a8e},
{0x0a92, 0x0a92},
{0x0aa9, 0x0aa9},
{0x0ab1, 0x0ab1},
{0x0ab4, 0x0ab4},
{0x0aba, 0x0abb},
{0x0ac6, 0x0ac6},
{0x0aca, 0x0aca},
{0x0ace, 0x0acf},
{0x0ad1, 0x0adf},
{0x0ae4, 0x0ae5},
{0x0af2, 0x0af8},
{0x0afa, 0x0b00},
{0x0b04, 0x0b04},
{0x0b0d, 0x0b0e},
{0x0b11, 0x0b12},
{0x0b29, 0x0b29},
{0x0b31, 0x0b31},
{0x0b34, 0x0b34},
{0x0b3a, 0x0b3b},
{0x0b45, 0x0b46},
{0x0b49, 0x0b4a},
{0x0b4e, 0x0b55},
{0x0b58, 0x0b5b},
{0x0b5e, 0x0b5e},
{0x0b64, 0x0b65},
{0x0b78, 0x0b81},
{0x0b84, 0x0b84},
{0x0b8b, 0x0b8d},
{0x0b91, 0x0b91},
{0x0b96, 0x0b98},
{0x0b9b, 0x0b9b},
{0x0b9d, 0x0b9d},
{0x0ba0, 0x0ba2},
{0x0ba5, 0x0ba7},
{0x0bab, 0x0bad},
{0x0bba, 0x0bbd},
{0x0bc3, 0x0bc5},
{0x0bc9, 0x0bc9},
{0x0bce, 0x0bcf},
{0x0bd1, 0x0bd6},
{0x0bd8, 0x0be5},
{0x0bfb, 0x0bff},
{0x0c04, 0x0c04},
{0x0c0d, 0x0c0d},
{0x0c11, 0x0c11},
{0x0c29, 0x0c29},
{0x0c3a, 0x0c3c},
{0x0c45, 0x0c45},
{0x0c49, 0x0c49},
{0x0c4e, 0x0c54},
{0x0c57, 0x0c57},
{0x0c5b, 0x0c5f},
{0x0c64, 0x0c65},
{0x0c70, 0x0c77},
{0x0c84, 0x0c84},
{0x0c8d, 0x0c8d},
{0x0c91, 0x0c91},
{0x0ca9, 0x0ca9},
{0x0cb4, 0x0cb4},
{0x0cba, 0x0cbb},
{0x0cc5, 0x0cc5},
{0x0cc9, 0x0cc9},
{0x0cce, 0x0cd4},
{0x0cd7, 0x0cdd},
{0x0cdf, 0x0cdf},
{0x0ce4, 0x0ce5},
{0x0cf0, 0x0cf0},
{0x0cf3, 0x0d00},
{0x0d04, 0x0d04},
{0x0d0d, 0x0d0d},
{0x0d11, 0x0d11},
{0x0d3b, 0x0d3c},
{0x0d45, 0x0d45},
{0x0d49, 0x0d49},
{0x0d50, 0x0d53},
{0x0d64, 0x0d65},
{0x0d80, 0x0d81},
{0x0d84, 0x0d84},
{0x0d97, 0x0d99},
{0x0db2, 0x0db2},
{0x0dbc, 0x0dbc},
{0x0dbe, 0x0dbf},
{0x0dc7, 0x0dc9},
{0x0dcb, 0x0dce},
{0x0dd5, 0x0dd5},
{0x0dd7, 0x0dd7},
{0x0de0, 0x0de5},
{0x0df0, 0x0df1},
{0x0df5, 0x0e00},
{0x0e3b, 0x0e3e},
{0x0e5c, 0x0e80},
{0x0e83, 0x0e83},
{0x0e85, 0x0e86},
{0x0e89, 0x0e89},
{0x0e8b, 0x0e8c},
{0x0e8e, 0x0e93},
{0x0e98, 0x0e98},
{0x0ea0, 0x0ea0},
{0x0ea4, 0x0ea4},
{0x0ea6, 0x0ea6},
{0x0ea8, 0x0ea9},
{0x0eac, 0x0eac},
{0x0eba, 0x0eba},
{0x0ebe, 0x0ebf},
{0x0ec5, 0x0ec5},
{0x0ec7, 0x0ec7},
{0x0ece, 0x0ecf},
{0x0eda, 0x0edb},
{0x0ee0, 0x0eff},
{0x0f48, 0x0f48},
{0x0f6d, 0x0f70},
{0x0f98, 0x0f98},
{0x0fbd, 0x0fbd},
{0x0fcd, 0x0fcd},
{0x0fdb, 0x0fff},
{0x10c6, 0x10c6},
{0x10c8, 0x10cc},
{0x10ce, 0x10cf},
{0x1249, 0x1249},
{0x124e, 0x124f},
{0x1257, 0x1257},
{0x1259, 0x1259},
{0x125e, 0x125f},
{0x1289, 0x1289},
{0x128e, 0x128f},
{0x12b1, 0x12b1},
{0x12b6, 0x12b7},
{0x12bf, 0x12bf},
{0x12c1, 0x12c1},
{0x12c6, 0x12c7},
{0x12d7, 0x12d7},
{0x1311, 0x1311},
{0x1316, 0x1317},
{0x135b, 0x135c},
{0x137d, 0x137f},
{0x139a, 0x139f},
{0x13f6, 0x13f7},
{0x13fe, 0x13ff},
{0x169d, 0x169f},
{0x16f9, 0x16ff},
{0x170d, 0x170d},
{0x1715, 0x171f},
{0x1737, 0x173f},
{0x1754, 0x175f},
{0x176d, 0x176d},
{0x1771, 0x1771},
{0x1774, 0x177f},
{0x17de, 0x17df},
{0x17ea, 0x17ef},
{0x17fa, 0x17ff},
{0x180f, 0x180f},
{0x181a, 0x181f},
{0x1878, 0x187f},
{0x18ab, 0x18af},
{0x18f6, 0x18ff},
{0x191f, 0x191f},
{0x192c, 0x192f},
{0x193c, 0x193f},
{0x1941, 0x1943},
{0x196e, 0x196f},
{0x1975, 0x197f},
{0x19ac, 0x19af},
{0x19ca, 0x19cf},
{0x19db, 0x19dd},
{0x1a1c, 0x1a1d},
{0x1a5f, 0x1a5f},
{0x1a7d, 0x1a7e},
{0x1a8a, 0x1a8f},
{0x1a9a, 0x1a9f},
{0x1aae, 0x1aaf},
{0x1abf, 0x1aff},
{0x1b4c, 0x1b4f},
{0x1b7d, 0x1b7f},
{0x1bf4, 0x1bfb},
{0x1c38, 0x1c3a},
{0x1c4a, 0x1c4c},
{0x1c89, 0x1cbf},
{0x1cc8, 0x1ccf},
{0x1cf7, 0x1cf7},
{0x1cfa, 0x1cff},
{0x1df6, 0x1dfa},
{0x1f16, 0x1f17},
{0x1f1e, 0x1f1f},
{0x1f46, 0x1f47},
{0x1f4e, 0x1f4f},
{0x1f58, 0x1f58},
{0x1f5a, 0x1f5a},
{0x1f5c, 0x1f5c},
{0x1f5e, 0x1f5e},
{0x1f7e, 0x1f7f},
{0x1fb5, 0x1fb5},
{0x1fc5, 0x1fc5},
{0x1fd4, 0x1fd5},
{0x1fdc, 0x1fdc},
{0x1ff0, 0x1ff1},
{0x1ff5, 0x1ff5},
{0x1fff, 0x1fff},
{0x2065, 0x2065},
{0x2072, 0x2073},
{0x208f, 0x208f},
{0x209d, 0x209f},
{0x20bf, 0x20cf},
{0x20f1, 0x20ff},
{0x218c, 0x218f},
{0x23ff, 0x23ff},
{0x2427, 0x243f},
{0x244b, 0x245f},
{0x2b74, 0x2b75},
{0x2b96, 0x2b97},
{0x2bba, 0x2bbc},
{0x2bc9, 0x2bc9},
{0x2bd2, 0x2beb},
{0x2bf0, 0x2bff},
{0x2c2f, 0x2c2f},
{0x2c5f, 0x2c5f},
{0x2cf4, 0x2cf8},
{0x2d26, 0x2d26},
{0x2d28, 0x2d2c},
{0x2d2e, 0x2d2f},
{0x2d68, 0x2d6e},
{0x2d71, 0x2d7e},
{0x2d97, 0x2d9f},
{0x2da7, 0x2da7},
{0x2daf, 0x2daf},
{0x2db7, 0x2db7},
{0x2dbf, 0x2dbf},
{0x2dc7, 0x2dc7},
{0x2dcf, 0x2dcf},
{0x2dd7, 0x2dd7},
{0x2ddf, 0x2ddf},
{0x2e45, 0x2e7f},
{0x2e9a, 0x2e9a},
{0x2ef4, 0x2eff},
{0x2fd6, 0x2fef},
{0x2ffc, 0x2fff},
{0x3040, 0x3040},
{0x3097, 0x3098},
{0x3100, 0x3104},
{0x312e, 0x3130},
{0x318f, 0x318f},
{0x31bb, 0x31bf},
{0x31e4, 0x31ef},
{0x321f, 0x321f},
{0x32ff, 0x32ff},
{0x4db6, 0x4dbf},
{0x9fd6, 0x9fff},
{0xa48d, 0xa48f},
{0xa4c7, 0xa4cf},
{0xa62c, 0xa63f},
{0xa6f8, 0xa6ff},
{0xa7af, 0xa7af},
{0xa7b8, 0xa7f6},
{0xa82c, 0xa82f},
{0xa83a, 0xa83f},
{0xa878, 0xa87f},
{0xa8c6, 0xa8cd},
{0xa8da, 0xa8df},
{0xa8fe, 0xa8ff},
{0xa954, 0xa95e},
{0xa97d, 0xa97f},
{0xa9ce, 0xa9ce},
{0xa9da, 0xa9dd},
{0xa9ff, 0xa9ff},
{0xaa37, 0xaa3f},
{0xaa4e, 0xaa4f},
{0xaa5a, 0xaa5b},
{0xaac3, 0xaada},
{0xaaf7, 0xab00},
{0xab07, 0xab08},
{0xab0f, 0xab10},
{0xab17, 0xab1f},
{0xab27, 0xab27},
{0xab2f, 0xab2f},
{0xab66, 0xab6f},
{0xabee, 0xabef},
{0xabfa, 0xabff},
{0xd7a4, 0xd7af},
{0xd7c7, 0xd7ca},
{0xd7fc, 0xd7ff},
{0xfa6e, 0xfa6f},
{0xfada, 0xfaff},
{0xfb07, 0xfb12},
{0xfb18, 0xfb1c},
{0xfb37, 0xfb37},
{0xfb3d, 0xfb3d},
{0xfb3f, 0xfb3f},
{0xfb42, 0xfb42},
{0xfb45, 0xfb45},
{0xfbc2, 0xfbd2},
{0xfd40, 0xfd4f},
{0xfd90, 0xfd91},
{0xfdc8, 0xfdef},
{0xfdfe, 0xfdff},
{0xfe1a, 0xfe1f},
{0xfe53, 0xfe53},
{0xfe67, 0xfe67},
{0xfe6c, 0xfe6f},
{0xfe75, 0xfe75},
{0xfefd, 0xfefe},
{0xff00, 0xff00},
{0xffbf, 0xffc1},
{0xffc8, 0xffc9},
{0xffd0, 0xffd1},
{0xffd8, 0xffd9},
{0xffdd, 0xffdf},
{0xffe7, 0xffe7},
{0xffef, 0xfff8},
{0xfffe, 0xffff},
{0x1000c, 0x1000c},
{0x10027, 0x10027},
{0x1003b, 0x1003b},
{0x1003e, 0x1003e},
{0x1004e, 0x1004f},
{0x1005e, 0x1007f},
{0x100fb, 0x100ff},
{0x10103, 0x10106},
{0x10134, 0x10136},
{0x1018f, 0x1018f},
{0x1019c, 0x1019f},
{0x101a1, 0x101cf},
{0x101fe, 0x1027f},
{0x1029d, 0x1029f},
{0x102d1, 0x102df},
{0x102fc, 0x102ff},
{0x10324, 0x1032f},
{0x1034b, 0x1034f},
{0x1037b, 0x1037f},
{0x1039e, 0x1039e},
{0x103c4, 0x103c7},
{0x103d6, 0x103ff},
{0x1049e, 0x1049f},
{0x104aa, 0x104af},
{0x104d4, 0x104d7},
{0x104fc, 0x104ff},
{0x10528, 0x1052f},
{0x10564, 0x1056e},
{0x10570, 0x105ff},
{0x10737, 0x1073f},
{0x10756, 0x1075f},
{0x10768, 0x107ff},
{0x10806, 0x10807},
{0x10809, 0x10809},
{0x10836, 0x10836},
{0x10839, 0x1083b},
{0x1083d, 0x1083e},
{0x10856, 0x10856},
{0x1089f, 0x108a6},
{0x108b0, 0x108df},
{0x108f3, 0x108f3},
{0x108f6, 0x108fa},
{0x1091c, 0x1091e},
{0x1093a, 0x1093e},
{0x10940, 0x1097f},
{0x109b8, 0x109bb},
{0x109d0, 0x109d1},
{0x10a04, 0x10a04},
{0x10a07, 0x10a0b},
{0x10a14, 0x10a14},
{0x10a18, 0x10a18},
{0x10a34, 0x10a37},
{0x10a3b, 0x10a3e},
{0x10a48, 0x10a4f},
{0x10a59, 0x10a5f},
{0x10aa0, 0x10abf},
{0x10ae7, 0x10aea},
{0x10af7, 0x10aff},
{0x10b36, 0x10b38},
{0x10b56, 0x10b57},
{0x10b73, 0x10b77},
{0x10b92, 0x10b98},
{0x10b9d, 0x10ba8},
{0x10bb0, 0x10bff},
{0x10c49, 0x10c7f},
{0x10cb3, 0x10cbf},
{0x10cf3, 0x10cf9},
{0x10d00, 0x10e5f},
{0x10e7f, 0x10fff},
{0x1104e, 0x11051},
{0x11070, 0x1107e},
{0x110c2, 0x110cf},
{0x110e9, 0x110ef},
{0x110fa, 0x110ff},
{0x11135, 0x11135},
{0x11144, 0x1114f},
{0x11177, 0x1117f},
{0x111ce, 0x111cf},
{0x111e0, 0x111e0},
{0x111f5, 0x111ff},
{0x11212, 0x11212},
{0x1123f, 0x1127f},
{0x11287, 0x11287},
{0x11289, 0x11289},
{0x1128e, 0x1128e},
{0x1129e, 0x1129e},
{0x112aa, 0x112af},
{0x112eb, 0x112ef},
{0x112fa, 0x112ff},
{0x11304, 0x11304},
{0x1130d, 0x1130e},
{0x11311, 0x11312},
{0x11329, 0x11329},
{0x11331, 0x11331},
{0x11334, 0x11334},
{0x1133a, 0x1133b},
{0x11345, 0x11346},
{0x11349, 0x1134a},
{0x1134e, 0x1134f},
{0x11351, 0x11356},
{0x11358, 0x1135c},
{0x11364, 0x11365},
{0x1136d, 0x1136f},
{0x11375, 0x113ff},
{0x1145a, 0x1145a},
{0x1145c, 0x1145c},
{0x1145e, 0x1147f},
{0x114c8, 0x114cf},
{0x114da, 0x1157f},
{0x115b6, 0x115b7},
{0x115de, 0x115ff},
{0x11645, 0x1164f},
{0x1165a, 0x1165f},
{0x1166d, 0x1167f},
{0x116b8, 0x116bf},
{0x116ca, 0x116ff},
{0x1171a, 0x1171c},
{0x1172c, 0x1172f},
{0x11740, 0x1189f},
{0x118f3, 0x118fe},
{0x11900, 0x11abf},
{0x11af9, 0x11bff},
{0x11c09, 0x11c09},
{0x11c37, 0x11c37},
{0x11c46, 0x11c4f},
{0x11c6d, 0x11c6f},
{0x11c90, 0x11c91},
{0x11ca8, 0x11ca8},
{0x11cb7, 0x11fff},
{0x1239a, 0x123ff},
{0x1246f, 0x1246f},
{0x12475, 0x1247f},
{0x12544, 0x12fff},
{0x1342f, 0x143ff},
{0x14647, 0x167ff},
{0x16a39, 0x16a3f},
{0x16a5f, 0x16a5f},
{0x16a6a, 0x16a6d},
{0x16a70, 0x16acf},
{0x16aee, 0x16aef},
{0x16af6, 0x16aff},
{0x16b46, 0x16b4f},
{0x16b5a, 0x16b5a},
{0x16b62, 0x16b62},
{0x16b78, 0x16b7c},
{0x16b90, 0x16eff},
{0x16f45, 0x16f4f},
{0x16f7f, 0x16f8e},
{0x16fa0, 0x16fdf},
{0x16fe1, 0x16fff},
{0x187ed, 0x187ff},
{0x18af3, 0x1afff},
{0x1b002, 0x1bbff},
{0x1bc6b, 0x1bc6f},
{0x1bc7d, 0x1bc7f},
{0x1bc89, 0x1bc8f},
{0x1bc9a, 0x1bc9b},
{0x1bca4, 0x1cfff},
{0x1d0f6, 0x1d0ff},
{0x1d127, 0x1d128},
{0x1d1e9, 0x1d1ff},
{0x1d246, 0x1d2ff},
{0x1d357, 0x1d35f},
{0x1d372, 0x1d3ff},
{0x1d455, 0x1d455},
{0x1d49d, 0x1d49d},
{0x1d4a0, 0x1d4a1},
{0x1d4a3, 0x1d4a4},
{0x1d4a7, 0x1d4a8},
{0x1d4ad, 0x1d4ad},
{0x1d4ba, 0x1d4ba},
{0x1d4bc, 0x1d4bc},
{0x1d4c4, 0x1d4c4},
{0x1d506, 0x1d506},
{0x1d50b, 0x1d50c},
{0x1d515, 0x1d515},
{0x1d51d, 0x1d51d},
{0x1d53a, 0x1d53a},
{0x1d53f, 0x1d53f},
{0x1d545, 0x1d545},
{0x1d547, 0x1d549},
{0x1d551, 0x1d551},
{0x1d6a6, 0x1d6a7},
{0x1d7cc, 0x1d7cd},
{0x1da8c, 0x1da9a},
{0x1daa0, 0x1daa0},
{0x1dab0, 0x1dfff},
{0x1e007, 0x1e007},
{0x1e019, 0x1e01a},
{0x1e022, 0x1e022},
{0x1e025, 0x1e025},
{0x1e02b, 0x1e7ff},
{0x1e8c5, 0x1e8c6},
{0x1e8d7, 0x1e8ff},
{0x1e94b, 0x1e94f},
{0x1e95a, 0x1e95d},
{0x1e960, 0x1edff},
{0x1ee04, 0x1ee04},
{0x1ee20, 0x1ee20},
{0x1ee23, 0x1ee23},
{0x1ee25, 0x1ee26},
{0x1ee28, 0x1ee28},
{0x1ee33, 0x1ee33},
{0x1ee38, 0x1ee38},
{0x1ee3a, 0x1ee3a},
{0x1ee3c, 0x1ee41},
{0x1ee43, 0x1ee46},
{0x1ee48, 0x1ee48},
{0x1ee4a, 0x1ee4a},
{0x1ee4c, 0x1ee4c},
{0x1ee50, 0x1ee50},
{0x1ee53, 0x1ee53},
{0x1ee55, 0x1ee56},
{0x1ee58, 0x1ee58},
{0x1ee5a, 0x1ee5a},
{0x1ee5c, 0x1ee5c},
{0x1ee5e, 0x1ee5e},
{0x1ee60, 0x1ee60},
{0x1ee63, 0x1ee63},
{0x1ee65, 0x1ee66},
{0x1ee6b, 0x1ee6b},
{0x1ee73, 0x1ee73},
{0x1ee78, 0x1ee78},
{0x1ee7d, 0x1ee7d},
{0x1ee7f, 0x1ee7f},
{0x1ee8a, 0x1ee8a},
{0x1ee9c, 0x1eea0},
{0x1eea4, 0x1eea4},
{0x1eeaa, 0x1eeaa},
{0x1eebc, 0x1eeef},
{0x1eef2, 0x1efff},
{0x1f02c, 0x1f02f},
{0x1f094, 0x1f09f},
{0x1f0af, 0x1f0b0},
{0x1f0c0, 0x1f0c0},
{0x1f0d0, 0x1f0d0},
{0x1f0f6, 0x1f0ff},
{0x1f10d, 0x1f10f},
{0x1f12f, 0x1f12f},
{0x1f16c, 0x1f16f},
{0x1f1ad, 0x1f1e5},
{0x1f203, 0x1f20f},
{0x1f23c, 0x1f23f},
{0x1f249, 0x1f24f},
{0x1f252, 0x1f2ff},
{0x1f6d3, 0x1f6df},
{0x1f6ed, 0x1f6ef},
{0x1f6f7, 0x1f6ff},
{0x1f774, 0x1f77f},
{0x1f7d5, 0x1f7ff},
{0x1f80c, 0x1f80f},
{0x1f848, 0x1f84f},
{0x1f85a, 0x1f85f},
{0x1f888, 0x1f88f},
{0x1f8ae, 0x1f90f},
{0x1f91f, 0x1f91f},
{0x1f928, 0x1f92f},
{0x1f931, 0x1f932},
{0x1f93f, 0x1f93f},
{0x1f94c, 0x1f94f},
{0x1f95f, 0x1f97f},
{0x1f992, 0x1f9bf},
{0x1f9c1, 0x1ffff},
{0x2a6d7, 0x2a6ff},
{0x2b735, 0x2b73f},
{0x2b81e, 0x2b81f},
{0x2cea2, 0x2f7ff},
{0x2fa1e, 0xe0000},
{0xe0002, 0xe001f},
{0xe0080, 0xe00ff},
{0xe01f0, 0xeffff},
{0xffffe, 0xfffff},
};
#define WCWIDTH9_ARRAY_SIZE(arr) ((sizeof(arr)/sizeof((arr)[0])) / ((size_t)(!(sizeof(arr) % sizeof((arr)[0])))))
static inline bool wcwidth9_intable(const struct wcwidth9_interval *table, size_t n_items, int c) {
int mid, bot, top;
if (c < table[0].first) {
return false;
}
bot = 0;
top = (int)(n_items - 1);
while (top >= bot) {
mid = (bot + top) / 2;
if (table[mid].last < c) {
bot = mid + 1;
} else if (table[mid].first > c) {
top = mid - 1;
} else {
return true;
}
}
return false;
}
static inline int wcwidth9(int c) {
if (c < 0 || c > 0x10ffff) {
return -1;
}
if (wcwidth9_intable(wcwidth9_nonprint, WCWIDTH9_ARRAY_SIZE(wcwidth9_nonprint), c)) {
return -1;
}
if (wcwidth9_intable(wcwidth9_combining, WCWIDTH9_ARRAY_SIZE(wcwidth9_combining), c)) {
return -1;
}
if (wcwidth9_intable(wcwidth9_not_assigned, WCWIDTH9_ARRAY_SIZE(wcwidth9_not_assigned), c)) {
return -1;
}
if (wcwidth9_intable(wcwidth9_private, WCWIDTH9_ARRAY_SIZE(wcwidth9_private), c)) {
return -3;
}
if (wcwidth9_intable(wcwidth9_ambiguous, WCWIDTH9_ARRAY_SIZE(wcwidth9_ambiguous), c)) {
return -2;
}
if (wcwidth9_intable(wcwidth9_doublewidth, WCWIDTH9_ARRAY_SIZE(wcwidth9_doublewidth), c)) {
return 2;
}
if (wcwidth9_intable(wcwidth9_emoji_width, WCWIDTH9_ARRAY_SIZE(wcwidth9_emoji_width), c)) {
return 2;
}
return 1;
}
#endif /* WCWIDTH9_H */
utf8/src/utf8lite/tests/wcwidth9/LICENSE 0000644 0001762 0000144 00000037272 13200060072 017405 0 ustar ligges users The code for wcwidth9 came primarily from neovim (which may in turn, also have
come from vim).
Any original code is copyright Joshua Rubin and licensed under the Apache 2.0
license or (only if required by the terms of the vim license) vim license.
The license for neovim follows:
Copyright Neovim contributors. All rights reserved.
Neovim is licensed under the terms of the Apache 2.0 license, except for
parts of Neovim that were contributed under the Vim license (see below).
Neovim's license follows:
====
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
====
The above license applies to all parts of Neovim except (1) parts that were
contributed under the Vim license and (2) externally maintained libraries.
The externally maintained libraries used by Neovim are:
- Klib: a Generic Library in C. MIT/X11 license.
- libuv. Copyright Joyent, Inc. and other Node contributors. Node.js license.
- LuaJIT: a Just-In-Time Compiler for Lua. Copyright Mike Pall. MIT license.
====
Any parts of Neovim that were contributed under the Vim license are licensed
under the Vim license unless the copyright holder gave permission to license
those contributions under the Apache 2.0 license.
The Vim license follows:
VIM LICENSE
I) There are no restrictions on distributing unmodified copies of Vim except
that they must include this license text. You can also distribute
unmodified parts of Vim, likewise unrestricted except that they must
include this license text. You are also allowed to include executables
that you made from the unmodified Vim sources, plus your own usage
examples and Vim scripts.
II) It is allowed to distribute a modified (or extended) version of Vim,
including executables and/or source code, when the following four
conditions are met:
1) This license text must be included unmodified.
2) The modified Vim must be distributed in one of the following five ways:
a) If you make changes to Vim yourself, you must clearly describe in
the distribution how to contact you. When the maintainer asks you
(in any way) for a copy of the modified Vim you distributed, you
must make your changes, including source code, available to the
maintainer without fee. The maintainer reserves the right to
include your changes in the official version of Vim. What the
maintainer will do with your changes and under what license they
will be distributed is negotiable. If there has been no negotiation
then this license, or a later version, also applies to your changes.
The current maintainer is Bram Moolenaar . If this
changes it will be announced in appropriate places (most likely
vim.sf.net, www.vim.org and/or comp.editors). When it is completely
impossible to contact the maintainer, the obligation to send him
your changes ceases. Once the maintainer has confirmed that he has
received your changes they will not have to be sent again.
b) If you have received a modified Vim that was distributed as
mentioned under a) you are allowed to further distribute it
unmodified, as mentioned at I). If you make additional changes the
text under a) applies to those changes.
c) Provide all the changes, including source code, with every copy of
the modified Vim you distribute. This may be done in the form of a
context diff. You can choose what license to use for new code you
add. The changes and their license must not restrict others from
making their own changes to the official version of Vim.
d) When you have a modified Vim which includes changes as mentioned
under c), you can distribute it without the source code for the
changes if the following three conditions are met:
- The license that applies to the changes permits you to distribute
the changes to the Vim maintainer without fee or restriction, and
permits the Vim maintainer to include the changes in the official
version of Vim without fee or restriction.
- You keep the changes for at least three years after last
distributing the corresponding modified Vim. When the maintainer
or someone who you distributed the modified Vim to asks you (in
any way) for the changes within this period, you must make them
available to him.
- You clearly describe in the distribution how to contact you. This
contact information must remain valid for at least three years
after last distributing the corresponding modified Vim, or as long
as possible.
e) When the GNU General Public License (GPL) applies to the changes,
you can distribute the modified Vim under the GNU GPL version 2 or
any later version.
3) A message must be added, at least in the output of the ":version"
command and in the intro screen, such that the user of the modified Vim
is able to see that it was modified. When distributing as mentioned
under 2)e) adding the message is only required for as far as this does
not conflict with the license used for the changes.
4) The contact information as required under 2)a) and 2)d) must not be
removed or changed, except that the person himself can make
corrections.
III) If you distribute a modified version of Vim, you are encouraged to use
the Vim license for your changes and make them available to the
maintainer, including the source code. The preferred way to do this is
by e-mail or by uploading the files to a server and e-mailing the URL.
If the number of changes is small (e.g., a modified Makefile) e-mailing a
context diff will do. The e-mail address to be used is
IV) It is not allowed to remove this license from the distribution of the Vim
sources, parts of it or from a modified version. You may use this
license for previous Vim releases instead of the license that they came
with, at your option.
utf8/src/utf8lite/tests/check_text.c 0000644 0001762 0000144 00000042706 13301551651 017133 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include
#include
#include
#include
#include "../src/utf8lite.h"
#include "testutil.h"
void setup_text(void)
{
setup();
}
void teardown_text(void)
{
teardown();
}
int is_valid_json(const char *str)
{
struct utf8lite_text text;
size_t n = strlen(str);
int err = utf8lite_text_assign(&text, (const uint8_t *)str, n,
UTF8LITE_TEXT_UNESCAPE, NULL);
return !err;
}
int is_valid_raw(const char *str)
{
struct utf8lite_text text;
size_t n = strlen(str);
int err = utf8lite_text_assign(&text, (const uint8_t *)str, n, 0,
NULL);
return !err;
}
const char *unescape(const struct utf8lite_text *text)
{
struct utf8lite_text_iter it;
size_t n = UTF8LITE_TEXT_SIZE(text);
uint8_t *buf = alloc(n + 1);
uint8_t *ptr = buf;
utf8lite_text_iter_make(&it, text);
while (utf8lite_text_iter_advance(&it)) {
utf8lite_encode_utf8(it.current, &ptr);
}
*ptr = '\0';
return (const char *)buf;
}
START_TEST(test_copy)
{
struct utf8lite_text text;
const struct utf8lite_text *other = JS("hello\nworld!");
ck_assert(!utf8lite_text_init_copy(&text, other));
ck_assert(utf8lite_text_equals(&text, other));
utf8lite_text_destroy(&text);
ck_assert(utf8lite_text_equals(other, JS("hello\nworld!")));
}
END_TEST
START_TEST(test_copy_empty)
{
struct utf8lite_text text;
const struct utf8lite_text *other = S("");
ck_assert(!utf8lite_text_init_copy(&text, other));
ck_assert(utf8lite_text_equals(&text, other));
utf8lite_text_destroy(&text);
ck_assert(utf8lite_text_equals(other, S("")));
}
END_TEST
START_TEST(test_copy_null)
{
struct utf8lite_text text;
struct utf8lite_text other;
other.ptr = NULL;
other.attr = 0;
ck_assert(!utf8lite_text_init_copy(&text, &other));
ck_assert(text.ptr == NULL);
ck_assert(utf8lite_text_equals(&text, &other));
utf8lite_text_destroy(&text);
}
END_TEST
START_TEST(test_valid_text)
{
ck_assert(is_valid_json("hello world"));
ck_assert(is_valid_json("escape: \\n\\r\\t"));
ck_assert(is_valid_json("unicode escape: \\u0034"));
ck_assert(is_valid_json("surrogate pair: \\uD834\\uDD1E"));
ck_assert(is_valid_json("B\\u0153uf Bourguignon"));
}
END_TEST
START_TEST(test_invalid_text)
{
ck_assert(!is_valid_json("invalid utf-8 \xBF"));
ck_assert(!is_valid_json("invalid utf-8 \xC2\x7F"));
ck_assert(!is_valid_json("invalid escape \\a"));
ck_assert(!is_valid_json("missing escape \\"));
ck_assert(!is_valid_json("ends early \\u007"));
ck_assert(!is_valid_json("non-hex value \\u0G7F"));
ck_assert(!is_valid_json("\\uD800 high surrogate"));
ck_assert(!is_valid_json("\\uDBFF high surrogate"));
ck_assert(!is_valid_json("\\uD800\\uDC0G invalid hex"));
ck_assert(!is_valid_json("\\uDC00 low surrogate"));
ck_assert(!is_valid_json("\\uDFFF low surrogate"));
ck_assert(!is_valid_json("\\uD84 incomplete"));
ck_assert(!is_valid_json("\\uD804\\u2603 invalid low"));
}
END_TEST
START_TEST(test_valid_raw)
{
ck_assert(is_valid_raw("invalid escape \\a"));
ck_assert(is_valid_raw("missing escape \\"));
ck_assert(is_valid_raw("ends early \\u007"));
ck_assert(is_valid_raw("non-hex value \\u0G7F"));
ck_assert(is_valid_raw("\\uD800 high surrogate"));
ck_assert(is_valid_raw("\\uDBFF high surrogate"));
ck_assert(is_valid_raw("\\uD800\\uDC0G invalid hex"));
ck_assert(is_valid_raw("\\uDC00 low surrogate"));
ck_assert(is_valid_raw("\\uDFFF low surrogate"));
ck_assert(is_valid_raw("\\uD84 incomplete"));
ck_assert(is_valid_raw("\\uD804\\u2603 invalid low"));
ck_assert(is_valid_raw("B\xC5\x93uf Bourguignon"));
}
END_TEST
START_TEST(test_invalid_raw)
{
ck_assert(!is_valid_raw("invalid utf-8 \xBF"));
ck_assert(!is_valid_raw("invalid utf-8 \xC2\x7F"));
}
END_TEST
START_TEST(test_unescape_escape)
{
ck_assert_str_eq(unescape(JS("\\\\")), "\\");
ck_assert_str_eq(unescape(JS("\\/")), "/");
ck_assert_str_eq(unescape(JS("\\\"")), "\"");
ck_assert_str_eq(unescape(JS("\\b")), "\b");
ck_assert_str_eq(unescape(JS("\\f")), "\f");
ck_assert_str_eq(unescape(JS("\\n")), "\n");
ck_assert_str_eq(unescape(JS("\\r")), "\r");
ck_assert_str_eq(unescape(JS("\\t")), "\t");
}
END_TEST
START_TEST(test_unescape_raw)
{
ck_assert_str_eq(unescape(S("\\\\")), "\\\\");
ck_assert_str_eq(unescape(S("\\/")), "\\/");
ck_assert_str_eq(unescape(S("\\\"")), "\\\"");
ck_assert_str_eq(unescape(S("\\b")), "\\b");
ck_assert_str_eq(unescape(S("\\f")), "\\f");
ck_assert_str_eq(unescape(S("\\n")), "\\n");
ck_assert_str_eq(unescape(S("\\r")), "\\r");
ck_assert_str_eq(unescape(S("\\t")), "\\t");
}
END_TEST
START_TEST(test_unescape_utf16)
{
ck_assert_str_eq(unescape(JS("\\u2603")), "\xE2\x98\x83");
ck_assert_str_eq(unescape(JS("\\u0024")), "\x24");
ck_assert_str_eq(unescape(JS("\\uD801\\uDC37")), "\xF0\x90\x90\xB7");
ck_assert_str_eq(unescape(JS("\\uD852\\uDF62")), "\xF0\xA4\xAD\xA2");
}
END_TEST
static int equals(const struct utf8lite_text *x,
const struct utf8lite_text *y)
{
return utf8lite_text_equals(x, y);
}
START_TEST(test_equals_raw)
{
ck_assert(equals(S(""), S("")));
ck_assert(equals(S("hello"), S("hello")));
ck_assert(!equals(S("hello"), S("hell")));
ck_assert(!equals(S("hello"), S("hell_")));
}
END_TEST
START_TEST(test_equals_escape)
{
ck_assert(equals(JS("\\\\"), JS("\\\\")));
ck_assert(equals(JS("\\n"), JS("\\n")));
ck_assert(!equals(JS("\\\\"), JS("\\\\\\\\")));
ck_assert(!equals(JS("\\n"), JS("\\\\n")));
}
END_TEST
START_TEST(test_equals_mixed)
{
ck_assert(equals(JS("\\\\"), S("\\")));
ck_assert(equals(S("\\"), JS("\\\\")));
ck_assert(equals(JS("\\n"), S("\n")));
ck_assert(equals(S("\n"), JS("\\n")));
ck_assert(equals(S("\\"), JS("\\\\")));
ck_assert(equals(JS("\\\\"), S("\\")));
ck_assert(!equals(JS("\\n"), S("\\n")));
ck_assert(!equals(S("\\n"), JS("\\n")));
ck_assert(!equals(JS("\\\\\\\\"), S("\\")));
ck_assert(!equals(S("\\"), JS("\\\\\\\\")));
}
END_TEST
static int compare(const struct utf8lite_text *x,
const struct utf8lite_text *y)
{
return utf8lite_text_compare(x, y);
}
START_TEST(test_compare_raw)
{
ck_assert(!compare(S(""), S("")));
ck_assert(!compare(S("hello"), S("hello")));
ck_assert(compare(S("hello"), S("hell")) > 0);
ck_assert(compare(S("hell"), S("hello")) < 0);
ck_assert(compare(S("hello"), S("hellp")) < 0);
}
END_TEST
START_TEST(test_compare_escape)
{
ck_assert(!compare(JS("\\\\"), JS("\\\\")));
ck_assert(!compare(JS("\\n"), JS("\\n")));
ck_assert(compare(JS("\\\\"), JS("\\\\\\\\")) < 0);
ck_assert(compare(JS("\\n"), JS("\\\\n")) < 0);
ck_assert(compare(JS("\\nhello"), JS("\\nhell")) > 0);
ck_assert(compare(JS("\\nhello"), JS("\\nhellp")) < 0);
}
END_TEST
START_TEST(test_compare_mixed)
{
ck_assert(!compare(JS("\\\\"), S("\\")));
ck_assert(!compare(JS("\\n"), S("\n")));
ck_assert(!compare(S("\\"), JS("\\\\")));
ck_assert(!compare(S("\n"), JS("\\n")));
ck_assert(compare(S("\\n"), JS("\\n")) > 0);
ck_assert(compare(JS("\\n"), S("\\n")) < 0);
}
END_TEST
static size_t hash(const struct utf8lite_text *text)
{
return utf8lite_text_hash(text);
}
START_TEST(test_hash)
{
ck_assert_uint_eq(hash(S("")), hash(JS("")));
ck_assert_uint_eq(hash(S("\\")), hash(JS("\\\\")));
ck_assert_uint_eq(hash(S("\xC2\xA1")), hash(JS("\\u00a1")));
ck_assert_uint_eq(hash(S("\xE2\x98\x83")),
hash(JS("\\u2603")));
ck_assert_uint_eq(hash(S("\xF0\x9F\x98\x80")),
hash(JS("\\ud83d\\ude00")));
ck_assert_uint_eq(hash(S("new\nline")),
hash(JS("new\\nline")));
}
END_TEST
static struct utf8lite_text_iter text_iter;
static void start (const struct utf8lite_text *text)
{
utf8lite_text_iter_make(&text_iter, text);
}
static int next(void)
{
if (utf8lite_text_iter_advance(&text_iter)) {
return (int)text_iter.current;
} else {
return -1;
}
}
static int has_next()
{
struct utf8lite_text_iter it = text_iter;
return utf8lite_text_iter_advance(&it);
}
static int prev(void)
{
if (utf8lite_text_iter_retreat(&text_iter)) {
return (int)text_iter.current;
} else {
return -1;
}
}
static int has_prev()
{
struct utf8lite_text_iter it = text_iter;
return utf8lite_text_iter_retreat(&it);
}
START_TEST(test_iter_empty)
{
start(JS(""));
ck_assert(!has_next());
ck_assert(!has_prev());
ck_assert_int_eq(next(), -1);
ck_assert(!has_next());
ck_assert(!has_prev());
ck_assert_int_eq(prev(), -1);
ck_assert(!has_next());
ck_assert(!has_prev());
start(JS(""));
ck_assert_int_eq(prev(), -1);
ck_assert_int_eq(next(), -1);
start(JS(""));
ck_assert_int_eq(next(), -1);
ck_assert_int_eq(next(), -1);
ck_assert_int_eq(prev(), -1);
ck_assert_int_eq(prev(), -1);
start(JS(""));
ck_assert_int_eq(prev(), -1);
ck_assert_int_eq(prev(), -1);
ck_assert_int_eq(next(), -1);
ck_assert_int_eq(next(), -1);
}
END_TEST
START_TEST(test_iter_single)
{
start(JS("a"));
ck_assert(has_next());
ck_assert(!has_prev());
ck_assert_int_eq(next(), 'a');
ck_assert(!has_next());
ck_assert(!has_prev());
ck_assert_int_eq(prev(), -1);
ck_assert(has_next());
ck_assert(!has_prev());
ck_assert_int_eq(next(), 'a');
ck_assert(!has_next());
ck_assert(!has_prev());
ck_assert_int_eq(next(), -1);
ck_assert(!has_next());
ck_assert(has_prev());
ck_assert_int_eq(prev(), 'a');
ck_assert(!has_next());
ck_assert(!has_prev());
ck_assert_int_eq(prev(), -1);
ck_assert(has_next());
ck_assert(!has_prev());
}
END_TEST
START_TEST(test_iter_ascii)
{
start(JS("abba zabba"));
// forward
ck_assert_int_eq(prev(), -1);
ck_assert_int_eq(next(), 'a');
ck_assert_int_eq(next(), 'b');
ck_assert_int_eq(next(), 'b');
ck_assert_int_eq(next(), 'a');
ck_assert_int_eq(next(), ' ');
ck_assert_int_eq(next(), 'z');
ck_assert_int_eq(next(), 'a');
ck_assert_int_eq(next(), 'b');
ck_assert_int_eq(next(), 'b');
ck_assert_int_eq(next(), 'a');
ck_assert_int_eq(next(), -1);
ck_assert_int_eq(next(), -1);
// backward
ck_assert_int_eq(prev(), 'a');
ck_assert_int_eq(prev(), 'b');
ck_assert_int_eq(prev(), 'b');
ck_assert_int_eq(prev(), 'a');
ck_assert_int_eq(prev(), 'z');
ck_assert_int_eq(prev(), ' ');
ck_assert_int_eq(prev(), 'a');
ck_assert_int_eq(prev(), 'b');
ck_assert_int_eq(prev(), 'b');
ck_assert_int_eq(prev(), 'a');
ck_assert_int_eq(prev(), -1);
ck_assert_int_eq(prev(), -1);
}
END_TEST
START_TEST(test_iter_bidi1)
{
start(JS("abc"));
ck_assert_int_eq(next(), 'a');
ck_assert_int_eq(next(), 'b');
ck_assert_int_eq(prev(), 'a');
ck_assert_int_eq(next(), 'b');
ck_assert_int_eq(prev(), 'a');
ck_assert_int_eq(next(), 'b');
ck_assert_int_eq(next(), 'c');
ck_assert_int_eq(next(), -1);
}
END_TEST
START_TEST(test_iter_bidi2)
{
start(JS("ab"));
ck_assert_int_eq(next(), 'a');
ck_assert_int_eq(prev(), -1);
ck_assert_int_eq(next(), 'a');
ck_assert_int_eq(next(), 'b');
ck_assert_int_eq(next(), -1);
ck_assert_int_eq(prev(), 'b');
ck_assert_int_eq(prev(), 'a');
ck_assert_int_eq(prev(), -1);
ck_assert_int_eq(next(), 'a');
}
END_TEST
START_TEST(test_iter_utf8)
{
start(JS("\xE2\x98\x83 \xF0\x9F\x99\x82 \xC2\xA7\xC2\xA4"));
ck_assert_int_eq(next(), 0x2603); // \xE2\x98\x83
ck_assert_int_eq(next(), ' ');
ck_assert_int_eq(next(), 0x1F642); // \xF0\x9F\x99\x82
ck_assert_int_eq(next(), ' ');
ck_assert_int_eq(next(), 0xA7); // \xC2\xA7
ck_assert_int_eq(next(), 0xA4); // \xC2\xA4
ck_assert_int_eq(next(), -1);
ck_assert_int_eq(prev(), 0xA4);
ck_assert_int_eq(prev(), 0xA7);
ck_assert_int_eq(prev(), ' ');
ck_assert_int_eq(prev(), 0x1F642);
ck_assert_int_eq(prev(), ' ');
ck_assert_int_eq(prev(), 0x2603);
ck_assert_int_eq(prev(), -1);
}
END_TEST
START_TEST(test_iter_escape)
{
start(JS("nn\\\\\\n\\nn\\\\n"));
ck_assert_int_eq(next(), 'n');
ck_assert_int_eq(next(), 'n');
ck_assert_int_eq(next(), '\\');
ck_assert_int_eq(next(), '\n');
ck_assert_int_eq(next(), '\n');
ck_assert_int_eq(next(), 'n');
ck_assert_int_eq(next(), '\\');
ck_assert_int_eq(next(), 'n');
ck_assert_int_eq(next(), -1);
ck_assert_int_eq(prev(), 'n');
ck_assert_int_eq(prev(), '\\');
ck_assert_int_eq(prev(), 'n');
ck_assert_int_eq(prev(), '\n');
ck_assert_int_eq(prev(), '\n');
ck_assert_int_eq(prev(), '\\');
ck_assert_int_eq(prev(), 'n');
ck_assert_int_eq(prev(), 'n');
ck_assert_int_eq(prev(), -1);
}
END_TEST
START_TEST(test_iter_uescape)
{
start(JS("\\u2603 \\uD83D\\uDE42 \\u00a7\\u00a4"));
ck_assert_int_eq(next(), 0x2603);
ck_assert_int_eq(next(), ' ');
ck_assert_int_eq(next(), 0x1F642);
ck_assert_int_eq(next(), ' ');
ck_assert_int_eq(next(), 0xA7);
ck_assert_int_eq(next(), 0xA4);
ck_assert_int_eq(next(), -1);
ck_assert_int_eq(prev(), 0xA4);
ck_assert_int_eq(prev(), 0xA7);
ck_assert_int_eq(prev(), ' ');
ck_assert_int_eq(prev(), 0x1F642);
ck_assert_int_eq(prev(), ' ');
ck_assert_int_eq(prev(), 0x2603);
ck_assert_int_eq(prev(), -1);
}
END_TEST
struct type {
const char *string;
int32_t value;
size_t attr;
};
#define ESC UTF8LITE_TEXT_ESC_BIT
#define UTF8 0
START_TEST(test_iter_random)
{
const struct type types[] = {
// escaped
{ "\\\"", '\"', ESC },
{ "\\\\", '\\', ESC },
{ "\\/", '/', ESC },
{ "\\b", '\b', ESC },
{ "\\f", '\f', ESC },
{ "\\n", '\n', ESC },
{ "\\r", '\r', ESC },
{ "\\t", '\t', ESC },
// not escaped
{ "\"", '\"', 0 },
{ "/", '/', 0 },
{ "b", 'b', 0 },
{ "f", 'f', 0 },
{ "n", 'n', 0 },
{ "r", 'r', 0 },
{ "t", 't', 0 },
{ "u", 'u', 0 },
// 2-byte UTF-8
{ "\xC2\xA7", 0xA7, UTF8 },
{ "\\u00a7", 0xA7, ESC|UTF8 },
// 3-byte UTF-8
{ "\xE2\x98\x83", 0x2603, UTF8 },
{ "\\u2603", 0x2603, ESC|UTF8 },
// 4-byte UTF-8
{ "\xE2\x98\x83", 0x2603, UTF8 },
{ "\\uD83D\\uDE42", 0x1F642, ESC|UTF8 }
};
int ntype = sizeof(types) / sizeof(types[0]);
struct utf8lite_text text;
struct utf8lite_text_iter iter;
uint8_t buffer[1024 * 12];
int toks[1024];
int ntok_max = 1024 - 1;
const uint8_t *ptr;
int ntok;
size_t len, size, attr;
int i, id;
srand((unsigned)_i);
ntok = (337 * (_i)) % ntok_max;
size = 0;
attr = 0;
for (i = 0; i < ntok; i++) {
id = rand() % ntype;
toks[i] = id;
len = strlen(types[id].string);
memcpy(buffer + size, types[id].string, len);
size += len;
attr |= types[id].attr;
}
ptr = buffer;
ck_assert(!utf8lite_text_assign(&text, ptr, size,
UTF8LITE_TEXT_UNESCAPE, NULL));
ck_assert(UTF8LITE_TEXT_SIZE(&text) == size);
ck_assert(UTF8LITE_TEXT_BITS(&text) == attr);
utf8lite_text_iter_make(&iter, &text);
ck_assert(!utf8lite_text_iter_retreat(&iter));
ck_assert(iter.ptr == ptr);
// forward iteration
for (i = 0; i < ntok; i++) {
ck_assert(utf8lite_text_iter_advance(&iter));
id = toks[i];
ck_assert_int_eq(iter.current, types[id].value);
//ck_assert_uint_eq(iter.attr, types[id].attr);
len = strlen(types[id].string);
ptr += len;
ck_assert(iter.ptr == ptr);
}
ck_assert(!utf8lite_text_iter_advance(&iter));
ck_assert(!utf8lite_text_iter_advance(&iter));
ck_assert(iter.ptr == ptr);
// reverse iteration
while (i-- > 0) {
ck_assert(utf8lite_text_iter_retreat(&iter));
id = toks[i];
ck_assert_int_eq(iter.current, types[id].value);
//ck_assert_uint_eq(iter.attr, types[id].attr);
ck_assert(iter.ptr == ptr);
len = strlen(types[id].string);
ptr -= len;
}
ck_assert(!utf8lite_text_iter_retreat(&iter));
ck_assert(!utf8lite_text_iter_retreat(&iter));
ck_assert(iter.ptr == ptr);
}
END_TEST
Suite *text_suite(void)
{
Suite *s;
TCase *tc;
s = suite_create("text");
tc = tcase_create("copy");
tcase_add_checked_fixture(tc, setup_text, teardown_text);
tcase_add_test(tc, test_copy);
tcase_add_test(tc, test_copy_empty);
tcase_add_test(tc, test_copy_null);
suite_add_tcase(s, tc);
tc = tcase_create("validation");
tcase_add_checked_fixture(tc, setup_text, teardown_text);
tcase_add_test(tc, test_valid_text);
tcase_add_test(tc, test_invalid_text);
tcase_add_test(tc, test_valid_raw);
tcase_add_test(tc, test_invalid_raw);
suite_add_tcase(s, tc);
tc = tcase_create("unescaping");
tcase_add_checked_fixture(tc, setup_text, teardown_text);
tcase_add_test(tc, test_unescape_escape);
tcase_add_test(tc, test_unescape_raw);
tcase_add_test(tc, test_unescape_utf16);
suite_add_tcase(s, tc);
tc = tcase_create("comparison");
tcase_add_checked_fixture(tc, setup_text, teardown_text);
tcase_add_test(tc, test_equals_raw);
tcase_add_test(tc, test_equals_escape);
tcase_add_test(tc, test_equals_mixed);
tcase_add_test(tc, test_compare_raw);
tcase_add_test(tc, test_compare_escape);
tcase_add_test(tc, test_compare_mixed);
tcase_add_test(tc, test_hash);
suite_add_tcase(s, tc);
tc = tcase_create("iteration");
tcase_add_checked_fixture(tc, setup_text, teardown_text);
tcase_add_test(tc, test_iter_empty);
tcase_add_test(tc, test_iter_single);
tcase_add_test(tc, test_iter_ascii);
tcase_add_test(tc, test_iter_bidi1);
tcase_add_test(tc, test_iter_bidi2);
tcase_add_test(tc, test_iter_utf8);
tcase_add_test(tc, test_iter_escape);
tcase_add_test(tc, test_iter_uescape);
tcase_add_loop_test(tc, test_iter_random, 0, 50);
suite_add_tcase(s, tc);
return s;
}
int main(void)
{
int nfail;
Suite *s;
SRunner *sr;
s = text_suite();
sr = srunner_create(s);
srunner_run_all(sr, CK_NORMAL);
nfail = srunner_ntests_failed(sr);
srunner_free(sr);
return (nfail == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
}
utf8/src/utf8lite/tests/check_render.c 0000644 0001762 0000144 00000057206 13301551651 017427 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include
#include
#include
#include "../src/utf8lite.h"
#include "testutil.h"
struct utf8lite_render render;
void setup_render(void)
{
setup();
ck_assert(!utf8lite_render_init(&render, 0));
}
void teardown_render(void)
{
utf8lite_render_destroy(&render);
teardown();
}
static void clear(void)
{
utf8lite_render_clear(&render);
}
static void spaces(int n)
{
ck_assert(!utf8lite_render_chars(&render, ' ', n));
}
static void newlines(int n)
{
ck_assert(!utf8lite_render_newlines(&render, n));
}
static void indent(int n)
{
ck_assert(!utf8lite_render_indent(&render, n));
}
static void set_flags(int flags)
{
ck_assert(!utf8lite_render_set_flags(&render, flags));
}
static void set_newline(const char *newline)
{
ck_assert(!utf8lite_render_set_newline(&render, newline));
}
static void set_tab(const char *tab)
{
ck_assert(!utf8lite_render_set_tab(&render, tab));
}
static int width(const struct utf8lite_text *text)
{
struct utf8lite_graphscan scan;
int width, w;
width = 0;
utf8lite_graphscan_make(&scan, text);
while (utf8lite_graphscan_advance(&scan)) {
ck_assert(!utf8lite_graph_measure(&scan.current,
render.flags, &w));
if (w == -1) {
return w;
}
ck_assert(w >= 0);
ck_assert(width <= INT_MAX - w);
width += w;
}
return width;
}
START_TEST(test_format_spaces)
{
spaces(-1);
ck_assert_str_eq(render.string, "");
spaces(0);
ck_assert_str_eq(render.string, "");
spaces(1);
ck_assert_str_eq(render.string, " ");
clear();
spaces(2);
ck_assert_str_eq(render.string, " ");
clear();
spaces(3);
ck_assert_str_eq(render.string, " ");
clear();
}
END_TEST
START_TEST(test_format_newlines)
{
newlines(-1);
ck_assert_str_eq(render.string, "");
newlines(0);
ck_assert_str_eq(render.string, "");
newlines(1);
ck_assert_str_eq(render.string, "\n");
clear();
newlines(2);
ck_assert_str_eq(render.string, "\n\n");
clear();
newlines(3);
ck_assert_str_eq(render.string, "\n\n\n");
clear();
}
END_TEST
START_TEST(test_format_newlines_custom)
{
set_newline("");
newlines(-1);
ck_assert_str_eq(render.string, "");
newlines(0);
ck_assert_str_eq(render.string, "");
newlines(1);
ck_assert_str_eq(render.string, "");
clear();
newlines(2);
ck_assert_str_eq(render.string, "");
clear();
newlines(3);
ck_assert_str_eq(render.string, "");
clear();
}
END_TEST
START_TEST(test_format_indent)
{
indent(-1);
ck_assert_str_eq(render.string, "");
ck_assert(!utf8lite_render_string(&render, "I. "));
ck_assert_str_eq(render.string, "I. ");
indent(2);
ck_assert(!utf8lite_render_string(&render, "Level 1"));
ck_assert_str_eq(render.string, "I. Level 1");
newlines(1);
ck_assert(!utf8lite_render_string(&render, "A. Level 2"));
ck_assert_str_eq(render.string, "I. Level 1\n\t\tA. Level 2");
newlines(1);
indent(-1);
ck_assert(!utf8lite_render_string(&render, "B."));
ck_assert_str_eq(render.string, "I. Level 1\n\t\tA. Level 2\n\tB.");
indent(-2);
newlines(1);
ck_assert(!utf8lite_render_string(&render, "II."));
ck_assert_str_eq(render.string,
"I. Level 1\n\t\tA. Level 2\n\tB.\nII.");
}
END_TEST
START_TEST(test_format_indent_custom)
{
set_tab("");
ck_assert(!utf8lite_render_string(&render, "I"));
newlines(1);
indent(1);
ck_assert(!utf8lite_render_string(&render, "A"));
newlines(1);
indent(1);
ck_assert(!utf8lite_render_string(&render, "1"));
newlines(1);
ck_assert(!utf8lite_render_string(&render, "2"));
indent(-1);
newlines(1);
ck_assert(!utf8lite_render_string(&render, "B"));
newlines(1);
ck_assert(!utf8lite_render_string(&render, "C"));
newlines(1);
ck_assert_str_eq(render.string,
"I\nA\n1\n2\n"
"B\nC\n");
}
END_TEST
START_TEST(test_format_printf)
{
ck_assert(!utf8lite_render_printf(&render, "%s", ""));
ck_assert_str_eq(render.string, "");
clear();
ck_assert(!utf8lite_render_printf(&render, "%s %d", "hello", 99));
ck_assert_str_eq(render.string, "hello 99");
clear();
ck_assert(!utf8lite_render_printf(&render, "%s", "\n"));
ck_assert_str_eq(render.string, "\n");
clear();
set_flags(UTF8LITE_ESCAPE_CONTROL);
ck_assert(!utf8lite_render_printf(&render, "%s", "\n"));
ck_assert_str_eq(render.string, "\\n");
clear();
}
END_TEST
struct escape_test {
const char *raw;
const char *c;
const char *json;
};
START_TEST(test_escape_control)
{
const struct escape_test tests[] = {
{ "\x01", "\\u0001", "\\u0001" },
{ "\a", "\\a", "\\u0007" },
{ "\b", "\\b", "\\b" },
{ "\f", "\\f", "\\f" },
{ "\n", "\\n", "\\n" },
{ "\r", "\\r", "\\r" },
{ "\t", "\\t", "\\t" },
{ "\v", "\\v", "\\u000b" },
{ "\x7F", "\\u007f", "\\u007f" },
{ "\xC2\x80", "\\u0080", "\\u0080"},
{ "\xC2\x9F", "\\u009f", "\\u009f"},
{ "\xE0\xB8\x80", "\\u0e00", "\\u0e00" },
{ "\xE2\x80\xA9", "\\u2029", "\\u2029" },
{ "\xF4\x8F\xBF\xBF", "\\U0010ffff", "\\udbff\\udfff" }
};
int flag = UTF8LITE_ESCAPE_CONTROL;
int i, n = sizeof(tests) / sizeof(tests[0]);
for (i = 0; i < n; i++) {
set_flags(0);
ck_assert(!utf8lite_render_string(&render, tests[i].raw));
ck_assert_str_eq(render.string, tests[i].raw);
utf8lite_render_clear(&render);
set_flags(flag | UTF8LITE_ENCODE_C);
ck_assert(!utf8lite_render_string(&render, tests[i].raw));
ck_assert_str_eq(render.string, tests[i].c);
utf8lite_render_clear(&render);
set_flags(flag | UTF8LITE_ENCODE_JSON);
ck_assert(!utf8lite_render_string(&render, tests[i].raw));
ck_assert_str_eq(render.string, tests[i].json);
utf8lite_render_clear(&render);
}
}
END_TEST
START_TEST(test_escape_dquote)
{
set_flags(0);
ck_assert(!utf8lite_render_string(&render, "\""));
ck_assert_str_eq(render.string, "\"");
utf8lite_render_clear(&render);
set_flags(UTF8LITE_ESCAPE_DQUOTE);
ck_assert(!utf8lite_render_string(&render, "\""));
ck_assert_str_eq(render.string, "\\\"");
utf8lite_render_clear(&render);
}
END_TEST
START_TEST(test_escape_squote)
{
set_flags(0);
ck_assert(!utf8lite_render_string(&render, "\'"));
ck_assert_str_eq(render.string, "\'");
utf8lite_render_clear(&render);
set_flags(UTF8LITE_ESCAPE_SQUOTE);
ck_assert(!utf8lite_render_string(&render, "\'"));
ck_assert_str_eq(render.string, "\\\'");
utf8lite_render_clear(&render);
}
END_TEST
START_TEST(test_escape_backslash)
{
int flags[] = {
UTF8LITE_ESCAPE_CONTROL,
UTF8LITE_ESCAPE_DQUOTE,
UTF8LITE_ESCAPE_SQUOTE,
UTF8LITE_ESCAPE_EXTENDED,
UTF8LITE_ESCAPE_UTF8
};
int i, n = sizeof(flags) / sizeof(flags[0]);
set_flags(0);
ck_assert(!utf8lite_render_string(&render, "\\"));
ck_assert_str_eq(render.string, "\\");
utf8lite_render_clear(&render);
for (i = 0; i < n; i++) {
set_flags(flags[i]);
ck_assert(!utf8lite_render_string(&render, "\\"));
ck_assert_str_eq(render.string, "\\\\");
utf8lite_render_clear(&render);
}
}
END_TEST
START_TEST(test_escape_extended)
{
const struct escape_test tests[] = {
{ "\x01", "\x01", "\x01" },
{ "\x20", "\x20", "\x20" },
{ "\x7E", "\x7E", "\x7E" },
{ "\x7F", "\x7F", "\x7F" },
{ "\xC2\x80", "\xC2\x80", "\xC2\x80" },
{ "\xC2\xA0", "\xC2\xA0", "\xC2\xA0" },
{ "\xEF\xBF\xBD", "\xEF\xBF\xBD", "\xEF\xBF\xBD" },
{ "\xEF\xBF\xBF", "\xEF\xBF\xBF", "\xEF\xBF\xBF" },
{ "\xF0\x90\x80\x80", "\\U00010000", "\\ud800\\udc00" },
{ "\xF0\xAF\xA8\x9D", "\\U0002fa1d", "\\ud87e\\ude1d" },
{ "\xF4\x8F\xBF\xBF", "\\U0010ffff", "\\udbff\\udfff" }
};
int flag = UTF8LITE_ESCAPE_EXTENDED;
int i, n = sizeof(tests) / sizeof(tests[0]);
for (i = 0; i < n; i++) {
set_flags(0);
ck_assert(!utf8lite_render_string(&render, tests[i].raw));
ck_assert_str_eq(render.string, tests[i].raw);
utf8lite_render_clear(&render);
set_flags(flag | UTF8LITE_ENCODE_C);
ck_assert(!utf8lite_render_string(&render, tests[i].raw));
ck_assert_str_eq(render.string, tests[i].c);
utf8lite_render_clear(&render);
set_flags(flag | UTF8LITE_ENCODE_JSON);
ck_assert(!utf8lite_render_string(&render, tests[i].raw));
ck_assert_str_eq(render.string, tests[i].json);
utf8lite_render_clear(&render);
}
}
END_TEST
START_TEST(test_escape_utf8)
{
const struct escape_test tests[] = {
{ "\x01", "\x01", "\x01" },
{ "\x20", "\x20", "\x20" },
{ "\x7E", "\x7E", "\x7E" },
{ "\x7F", "\x7F", "\x7F" },
{ "\xC2\x80", "\\u0080", "\\u0080" },
{ "\xC2\xA0", "\\u00a0", "\\u00a0" },
{ "\xEF\xBF\xBD", "\\ufffd", "\\ufffd" },
{ "\xEF\xBF\xBF", "\\uffff", "\\uffff" },
{ "\xF0\x90\x80\x80", "\\U00010000", "\\ud800\\udc00" },
{ "\xF0\xAF\xA8\x9D", "\\U0002fa1d", "\\ud87e\\ude1d" },
{ "\xF4\x8F\xBF\xBF", "\\U0010ffff", "\\udbff\\udfff" }
};
int flag = UTF8LITE_ESCAPE_UTF8;
int i, n = sizeof(tests) / sizeof(tests[0]);
for (i = 0; i < n; i++) {
set_flags(0);
ck_assert(!utf8lite_render_string(&render, tests[i].raw));
ck_assert_str_eq(render.string, tests[i].raw);
utf8lite_render_clear(&render);
set_flags(flag | UTF8LITE_ENCODE_C);
ck_assert(!utf8lite_render_string(&render, tests[i].raw));
ck_assert_str_eq(render.string, tests[i].c);
utf8lite_render_clear(&render);
set_flags(flag | UTF8LITE_ENCODE_JSON);
ck_assert(!utf8lite_render_string(&render, tests[i].raw));
ck_assert_str_eq(render.string, tests[i].json);
utf8lite_render_clear(&render);
}
}
END_TEST
START_TEST(test_encode_char)
{
set_flags(0);
ck_assert(!utf8lite_render_char(&render, 'x'));
ck_assert_str_eq(render.string, "x");
ck_assert(!utf8lite_render_char(&render, 0x200B));
ck_assert_str_eq(render.string, "x\xE2\x80\x8B");
ck_assert(!utf8lite_render_char(&render, 'x'));
ck_assert_str_eq(render.string, "x\xE2\x80\x8Bx");
utf8lite_render_clear(&render);
set_flags(UTF8LITE_ENCODE_RMDI);
ck_assert(!utf8lite_render_char(&render, 'x'));
ck_assert_str_eq(render.string, "x");
ck_assert(!utf8lite_render_char(&render, 0x200B));
ck_assert_str_eq(render.string, "x");
ck_assert(!utf8lite_render_char(&render, 'x'));
ck_assert_str_eq(render.string, "xx");
utf8lite_render_clear(&render);
}
END_TEST
START_TEST(test_encode_rmdi)
{
char buffer[32];
uint8_t *end;
int32_t codes[] = {
0x00AD, 0x200B, 0x200C, 0x200D, 0x200E, 0x200F, 0x034F,
0xFEFF, 0xE0001, 0xE0020, 0xE01EF
};
int flag = UTF8LITE_ENCODE_RMDI;
int i, n = sizeof(codes) / sizeof(codes[0]);
for (i = 0; i < n; i++) {
end = (uint8_t *)buffer;
utf8lite_encode_utf8(codes[i], &end);
*end++ = '\0';
set_flags(0);
ck_assert(!utf8lite_render_string(&render, buffer));
ck_assert_str_eq(render.string, buffer);
utf8lite_render_clear(&render);
set_flags(flag);
ck_assert(!utf8lite_render_string(&render, buffer));
ck_assert_str_eq(render.string, "");
utf8lite_render_clear(&render);
}
}
END_TEST
START_TEST(test_encode_emoji_plain)
{
set_flags(0);
ck_assert(!utf8lite_render_text(&render, JS("\\uD83D\\uDCF8")));
ck_assert_str_eq(render.string, "\xf0\x9f\x93\xb8"); // U+1F4F8
clear();
ck_assert(!utf8lite_render_text(&render, JS("\\uD83D\\uDCF8\\u20E0")));
ck_assert_str_eq(render.string, "\xf0\x9f\x93\xb8\xe2\x83\xa0");
clear();
set_flags(UTF8LITE_ESCAPE_UTF8);
ck_assert(!utf8lite_render_text(&render, JS("\\uD83D\\uDCF8")));
ck_assert_str_eq(render.string, "\\U0001f4f8");
clear();
ck_assert(!utf8lite_render_text(&render, JS("\\uD83D\\uDCF8\\u20E0")));
ck_assert_str_eq(render.string, "\\U0001f4f8\\u20e0");
clear();
}
END_TEST
START_TEST(test_encode_emoji_zwsp)
{
set_flags(UTF8LITE_ENCODE_EMOJIZWSP);
ck_assert(!utf8lite_render_text(&render, JS("\\u2614")));
ck_assert_str_eq(render.string, "\xe2\x98\x94\xe2\x80\x8b");
clear();
set_flags(UTF8LITE_ENCODE_EMOJIZWSP | UTF8LITE_ESCAPE_UTF8);
ck_assert(!utf8lite_render_text(&render, JS("\\u2614")));
ck_assert_str_eq(render.string, "\\u2614");
clear();
set_flags(UTF8LITE_ENCODE_EMOJIZWSP | UTF8LITE_ESCAPE_EXTENDED);
ck_assert(!utf8lite_render_text(&render, JS("\\u2614")));
ck_assert_str_eq(render.string, "\xe2\x98\x94\xe2\x80\x8b");
clear();
}
END_TEST
START_TEST(test_encode_emoji_extended_zwsp)
{
set_flags(UTF8LITE_ENCODE_EMOJIZWSP);
ck_assert(!utf8lite_render_text(&render, JS("\\uD83D\\uDCF8")));
ck_assert_str_eq(render.string, "\xf0\x9f\x93\xb8\xe2\x80\x8b");
clear();
ck_assert(!utf8lite_render_text(&render, JS("\\uD83D\\uDCF8\\u20E0")));
ck_assert_str_eq(render.string,
"\xf0\x9f\x93\xb8\xe2\x83\xa0\xe2\x80\x8b");
clear();
set_flags(UTF8LITE_ENCODE_EMOJIZWSP | UTF8LITE_ESCAPE_UTF8);
ck_assert(!utf8lite_render_text(&render, JS("\\uD83D\\uDCF8")));
ck_assert_str_eq(render.string, "\\U0001f4f8");
clear();
ck_assert(!utf8lite_render_text(&render, JS("\\uD83D\\uDCF8\\u20E0")));
ck_assert_str_eq(render.string, "\\U0001f4f8\\u20e0");
clear();
set_flags(UTF8LITE_ENCODE_EMOJIZWSP | UTF8LITE_ESCAPE_EXTENDED);
ck_assert(!utf8lite_render_text(&render, JS("\\uD83D\\uDCF8")));
ck_assert_str_eq(render.string, "\\U0001f4f8");
clear();
ck_assert(!utf8lite_render_text(&render, JS("\\uD83D\\uDCF8\\u20E0")));
ck_assert_str_eq(render.string, "\\U0001f4f8\xe2\x83\xa0");
clear();
}
END_TEST
START_TEST(test_encode_emoji_zwsp_rmdi)
{
set_flags(UTF8LITE_ENCODE_EMOJIZWSP | UTF8LITE_ENCODE_RMDI);
ck_assert(!utf8lite_render_text(&render, JS("\\u2614")));
ck_assert_str_eq(render.string, "\xe2\x98\x94\xe2\x80\x8b");
clear();
set_flags(UTF8LITE_ENCODE_EMOJIZWSP | UTF8LITE_ESCAPE_UTF8);
ck_assert(!utf8lite_render_text(&render, JS("\\u2614")));
ck_assert_str_eq(render.string, "\\u2614");
clear();
set_flags(UTF8LITE_ENCODE_EMOJIZWSP | UTF8LITE_ESCAPE_EXTENDED);
ck_assert(!utf8lite_render_text(&render, JS("\\u2614")));
ck_assert_str_eq(render.string, "\xe2\x98\x94\xe2\x80\x8b");
clear();
}
END_TEST
START_TEST(test_encode_emoji_zwj_sequence)
{
set_flags(0);
// \U0001F469\u200D\u2764\uFE0F\u200D\U0001F48B\u200D\U0001F469
ck_assert(!utf8lite_render_text(&render, JS("\\ud83d\\udc69\\u200d\\u2764\\ufe0f\\u200d\\ud83d\\udc8b\\u200d\\ud83d\\udc69")));
assert_text_eq(S(render.string), JS("\\ud83d\\udc69\\u200d\\u2764\\ufe0f\\u200d\\ud83d\\udc8b\\u200d\\ud83d\\udc69"));
clear();
set_flags(UTF8LITE_ENCODE_EMOJIZWSP | UTF8LITE_ENCODE_RMDI);
ck_assert(!utf8lite_render_text(&render, JS("\\ud83d\\udc69\\u200d\\u2764\\ufe0f\\u200d\\ud83d\\udc8b\\u200d\\ud83d\\udc69")));
assert_text_eq(S(render.string), JS("\\ud83d\\udc69\\u200d\\u2764\\ufe0f\\u200d\\ud83d\\udc8b\\u200d\\ud83d\\udc69\u200b"));
clear();
}
END_TEST
START_TEST(test_byte_single)
{
char byte;
set_flags(UTF8LITE_ESCAPE_CONTROL);
byte = 0x01;
ck_assert(!utf8lite_render_raw(&render, &byte, 1));
ck_assert_int_eq(render.string[0], byte);
byte = (char)0xff;
ck_assert(!utf8lite_render_raw(&render, &byte, 1));
ck_assert_int_eq(render.string[0], 0x01);
ck_assert_int_eq(render.string[1], (char)0xff);
}
END_TEST
START_TEST(test_byte_multiple)
{
const char *bytes = "\x01\x02\x80\x00\x99\xfe";
size_t i, n = 6;
set_flags(UTF8LITE_ESCAPE_CONTROL);
ck_assert(!utf8lite_render_raw(&render, bytes, sizeof(bytes)));
for (i = 0; i < n; i++) {
ck_assert_int_eq(render.string[i], bytes[i]);
}
}
END_TEST
START_TEST(test_width_control_raw)
{
set_flags(0);
ck_assert_int_eq(width(S("\x01")), -1);
ck_assert_int_eq(width(S("\a")), -1);
ck_assert_int_eq(width(S("\n")), -1);
ck_assert_int_eq(width(S("\r\n")), -1);
ck_assert_int_eq(width(S("\x7F")), -1);
ck_assert_int_eq(width(JS("\\u0e00")), -1);
ck_assert_int_eq(width(JS("\\u2029")), -1);
ck_assert_int_eq(width(JS("\\u2029")), -1);
ck_assert_int_eq(width(JS("\\udbff\\udfff")), -1); // U+0010FFFF
}
END_TEST
START_TEST(test_width_control_esc)
{
set_flags(UTF8LITE_ESCAPE_CONTROL);
ck_assert_int_eq(width(S("\x01")), 6);
ck_assert_int_eq(width(S("\a")), 2);
ck_assert_int_eq(width(S("\n")), 2);
ck_assert_int_eq(width(S("\r\n")), 4);
ck_assert_int_eq(width(S("\x7F")), 6);
ck_assert_int_eq(width(JS("\\u0e00")), 6);
ck_assert_int_eq(width(JS("\\u2029")), 6);
ck_assert_int_eq(width(JS("\\u2029")), 6);
ck_assert_int_eq(width(JS("\\udbff\\udfff")), 10); // U+0010FFFF
set_flags(UTF8LITE_ESCAPE_CONTROL | UTF8LITE_ENCODE_JSON);
ck_assert_int_eq(width(S("\x01")), 6);
ck_assert_int_eq(width(S("\a")), 6);
ck_assert_int_eq(width(S("\n")), 2);
ck_assert_int_eq(width(S("\r\n")), 4);
ck_assert_int_eq(width(S("\x7F")), 6);
ck_assert_int_eq(width(JS("\\u0e00")), 6);
ck_assert_int_eq(width(JS("\\u2029")), 6);
ck_assert_int_eq(width(JS("\\u2029")), 6);
ck_assert_int_eq(width(JS("\\udbff\\udfff")), 12); // U+0010FFFF
}
END_TEST
START_TEST(test_width_ignorable_raw)
{
char buffer[32];
uint8_t *end;
int32_t codes[] = {
0x00AD, 0x200B, 0x200C, 0x200D, 0x200E, 0x200F, 0x034F,
0xFEFF, 0xE0001, 0xE0020, 0xE01EF
};
int i, n = sizeof(codes) / sizeof(codes[0]);
for (i = 0; i < n; i++) {
end = (uint8_t *)buffer;
utf8lite_encode_utf8(codes[i], &end);
*end++ = '\0';
set_flags(0);
ck_assert_int_eq(width(S(buffer)), 0);
set_flags(UTF8LITE_ESCAPE_UTF8);
if (codes[i] <= 0xFFFF) {
ck_assert_int_eq(width(S(buffer)), 6);
} else {
ck_assert_int_eq(width(S(buffer)), 10);
}
set_flags(UTF8LITE_ESCAPE_EXTENDED);
if (codes[i] <= 0xFFFF) {
ck_assert_int_eq(width(S(buffer)), 0);
} else {
ck_assert_int_eq(width(S(buffer)), 10);
}
}
}
END_TEST
START_TEST(test_width_ignorable_rm)
{
char buffer[32];
uint8_t *end;
int32_t codes[] = {
0x00AD, 0x200B, 0x200C, 0x200D, 0x200E, 0x200F, 0x034F,
0xFEFF, 0xE0001, 0xE0020, 0xE01EF
};
int i, n = sizeof(codes) / sizeof(codes[0]);
for (i = 0; i < n; i++) {
end = (uint8_t *)buffer;
utf8lite_encode_utf8(codes[i], &end);
*end++ = '\0';
set_flags(UTF8LITE_ENCODE_RMDI);
ck_assert_int_eq(width(S(buffer)), 0);
set_flags(UTF8LITE_ESCAPE_CONTROL);
ck_assert_int_eq(width(S(buffer)), 0);
}
}
END_TEST
START_TEST(test_width_dquote)
{
set_flags(0);
ck_assert_int_eq(width(S("\"")), 1);
set_flags(UTF8LITE_ESCAPE_DQUOTE);
ck_assert_int_eq(width(S("\"")), 2);
}
END_TEST
START_TEST(test_width_squote)
{
set_flags(0);
ck_assert_int_eq(width(S("'")), 1);
set_flags(UTF8LITE_ESCAPE_SQUOTE);
ck_assert_int_eq(width(S("'")), 2);
}
END_TEST
START_TEST(test_width_backslash)
{
set_flags(0);
ck_assert_int_eq(width(S("\\")), 1);
ck_assert_int_eq(width(JS("\\\\")), 1);
set_flags(UTF8LITE_ESCAPE_UTF8);
ck_assert_int_eq(width(S("\\")), 2);
ck_assert_int_eq(width(JS("\\\\")), 2);
}
END_TEST
START_TEST(test_width_ascii)
{
set_flags(0);
ck_assert_int_eq(width(S(" ")), 1);
ck_assert_int_eq(width(S("~")), 1);
set_flags(UTF8LITE_ESCAPE_UTF8);
ck_assert_int_eq(width(S(" ")), 1);
ck_assert_int_eq(width(S("~")), 1);
set_flags(UTF8LITE_ESCAPE_EXTENDED);
ck_assert_int_eq(width(S(" ")), 1);
ck_assert_int_eq(width(S("~")), 1);
}
END_TEST
START_TEST(test_width_narrow)
{
set_flags(0);
ck_assert_int_eq(width(JS("\\u00a0")), 1);
ck_assert_int_eq(width(JS("\\u00ff")), 1);
ck_assert_int_eq(width(JS("\\u0100")), 1);
ck_assert_int_eq(width(JS("\\u0101")), 1);
ck_assert_int_eq(width(JS("\\u010b")), 1);
}
END_TEST
START_TEST(test_width_ambiguous)
{
set_flags(0);
ck_assert_int_eq(width(JS("\\u00a1")), 1);
ck_assert_int_eq(width(JS("\\u016b")), 1);
ck_assert_int_eq(width(JS("\\ufffd")), 1);
ck_assert_int_eq(width(JS("\\ud83c\\udd00")), 1); // U+1F100
set_flags(UTF8LITE_ENCODE_AMBIGWIDE);
ck_assert_int_eq(width(JS("\\u00a1")), 2);
ck_assert_int_eq(width(JS("\\u016b")), 2);
ck_assert_int_eq(width(JS("\\ufffd")), 2);
ck_assert_int_eq(width(JS("\\ud83c\\udd00")), 2); // U+1F100
}
END_TEST
START_TEST(test_width_wide)
{
set_flags(0);
ck_assert_int_eq(width(JS("\\uff01")), 2);
ck_assert_int_eq(width(JS("\\uff02")), 2);
ck_assert_int_eq(width(JS("\\uff03")), 2);
ck_assert_int_eq(width(JS("\\uff04")), 2);
}
END_TEST
START_TEST(test_width_mark)
{
set_flags(0);
ck_assert_int_eq(width(JS("a\\u0300")), 1);
ck_assert_int_eq(width(JS("a\\u030b")), 1);
ck_assert_int_eq(width(JS("\\u0600a")), 1); // in theory, not practice
// isolated mark
// (not sure what the right behavior is here)
ck_assert_int_eq(width(JS("\\u0300")), 0);
ck_assert_int_eq(width(JS("\\u030b")), 0);
ck_assert_int_eq(width(JS("\\u0600")), 0);
}
END_TEST
START_TEST(test_width_emoji)
{
set_flags(0);
ck_assert_int_eq(width(JS("\\uD83D\\uDCF8")), 2); // U+1F4F8
ck_assert_int_eq(width(JS("\\uD83D\\uDCF8\\u20E0")), 2);
// family of 4
ck_assert_int_eq(width(JS("\\ud83d\\udc68"
"\\u200d\\ud83d\\udc69"
"\\u200d\\ud83d\\udc66"
"\\u200d\\ud83d\\udc66")), 2);
// rainbow flag
ck_assert_int_eq(width(JS("\\ud83c\\udff3\\ufe0f"
"\\u200d\\ud83c\\udf08")), 2);
}
END_TEST
START_TEST(test_width_emoji_escape)
{
set_flags(UTF8LITE_ENCODE_C | UTF8LITE_ESCAPE_CONTROL
| UTF8LITE_ESCAPE_UTF8);
ck_assert_int_eq(width(JS("\\uD83D\\uDC87\\u200D\\u2642\\uFE0F")),
28);
}
END_TEST
Suite *render_suite(void)
{
Suite *s;
TCase *tc;
s = suite_create("render");
tc = tcase_create("format");
tcase_add_checked_fixture(tc, setup_render, teardown_render);
tcase_add_test(tc, test_format_spaces);
tcase_add_test(tc, test_format_newlines);
tcase_add_test(tc, test_format_newlines_custom);
tcase_add_test(tc, test_format_indent);
tcase_add_test(tc, test_format_indent_custom);
tcase_add_test(tc, test_format_printf);
suite_add_tcase(s, tc);
tc = tcase_create("escape");
tcase_add_checked_fixture(tc, setup_render, teardown_render);
tcase_add_test(tc, test_escape_control);
tcase_add_test(tc, test_escape_dquote);
tcase_add_test(tc, test_escape_squote);
tcase_add_test(tc, test_escape_backslash);
tcase_add_test(tc, test_escape_extended);
tcase_add_test(tc, test_escape_utf8);
suite_add_tcase(s, tc);
tc = tcase_create("encode");
tcase_add_checked_fixture(tc, setup_render, teardown_render);
tcase_add_test(tc, test_encode_char);
tcase_add_test(tc, test_encode_rmdi);
tcase_add_test(tc, test_encode_emoji_plain);
tcase_add_test(tc, test_encode_emoji_zwsp);
tcase_add_test(tc, test_encode_emoji_extended_zwsp);
tcase_add_test(tc, test_encode_emoji_zwsp_rmdi);
tcase_add_test(tc, test_encode_emoji_zwj_sequence);
suite_add_tcase(s, tc);
tc = tcase_create("bytes");
tcase_add_test(tc, test_byte_single);
tcase_add_test(tc, test_byte_multiple);
suite_add_tcase(s, tc);
tc = tcase_create("width");
tcase_add_checked_fixture(tc, setup_render, teardown_render);
tcase_add_test(tc, test_width_control_raw);
tcase_add_test(tc, test_width_control_esc);
tcase_add_test(tc, test_width_ignorable_raw);
tcase_add_test(tc, test_width_ignorable_rm);
tcase_add_test(tc, test_width_dquote);
tcase_add_test(tc, test_width_squote);
tcase_add_test(tc, test_width_backslash);
tcase_add_test(tc, test_width_ascii);
tcase_add_test(tc, test_width_narrow);
tcase_add_test(tc, test_width_ambiguous);
tcase_add_test(tc, test_width_wide);
tcase_add_test(tc, test_width_mark);
tcase_add_test(tc, test_width_emoji);
tcase_add_test(tc, test_width_emoji_escape);
suite_add_tcase(s, tc);
return s;
}
int main(void)
{
int number_failed;
Suite *s;
SRunner *sr;
s = render_suite();
sr = srunner_create(s);
srunner_run_all(sr, CK_NORMAL);
number_failed = srunner_ntests_failed(sr);
srunner_free(sr);
return (number_failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
}
utf8/src/utf8lite/tests/check_graphscan.c 0000644 0001762 0000144 00000017572 13301551651 020120 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include
#include
#include "../src/utf8lite.h"
#include "testutil.h"
#define GRAPH_BREAK_TEST "data/ucd/auxiliary/GraphemeBreakTest.txt"
struct utf8lite_graphscan scan;
void setup_scan(void)
{
setup();
}
void teardown_scan(void)
{
teardown();
}
void start(const struct utf8lite_text *text)
{
utf8lite_graphscan_make(&scan, text);
}
const struct utf8lite_text *next(void)
{
struct utf8lite_text *graph;
if (!utf8lite_graphscan_advance(&scan)) {
return NULL;
}
graph = alloc(sizeof(*graph));
*graph = scan.current.text;
return graph;
}
const struct utf8lite_text *prev(void)
{
struct utf8lite_text *graph;
if (!utf8lite_graphscan_retreat(&scan)) {
return NULL;
}
graph = alloc(sizeof(*graph));
*graph = scan.current.text;
return graph;
}
START_TEST(test_empty)
{
start(S(""));
ck_assert(next() == NULL);
ck_assert(next() == NULL);
ck_assert(prev() == NULL);
ck_assert(prev() == NULL);
}
END_TEST
START_TEST(test_single)
{
start(S("x"));
ck_assert(prev() == NULL);
assert_text_eq(next(), S("x"));
ck_assert(prev() == NULL);
assert_text_eq(next(), S("x"));
ck_assert(next() == NULL);
ck_assert(next() == NULL);
assert_text_eq(prev(), S("x"));
ck_assert(prev() == NULL);
ck_assert(prev() == NULL);
}
END_TEST
START_TEST(test_emoji_modifier)
{
// This is an emoji followed by E_Modifier, but the emoji does not
// have Grapheme Break Property 'E_Base' or 'E_Base_GAZ'
// Any + E_Modifier
start(JS("\\uD83D\\uDE0A\\uD83C\\uDFFB")); // U+1F60A U+1F3FB
// assert_text_eq(next(), (JS("\\uD83D\\uDE0A\\uD83C\\uDFFB"));
assert_text_eq(next(), JS("\\uD83D\\uDE0A"));
assert_text_eq(next(), JS("\\uD83C\\uDFFB"));
ck_assert(next() == NULL);
}
END_TEST
START_TEST(test_emoji_zwj_sequence)
{
// \U0001F469\u200D\u2764\uFE0F\u200D\U0001F48B\u200D\U0001F469
start(JS("\\ud83d\\udc69\\u200d\\u2764\\ufe0f\\u200d\\ud83d\\udc8b\\u200d\\ud83d\\udc69"));
assert_text_eq(next(), JS("\\ud83d\\udc69\\u200d\\u2764\\ufe0f\\u200d\\ud83d\\udc8b\\u200d\\ud83d\\udc69"));
ck_assert(next() == NULL);
}
END_TEST
// Unicode Grapheme Break Test
// http://www.unicode.org/Public/UCD/latest/ucd/auxiliary/GraphemeBreakTest.txt
struct unitest {
char comment[4096];
unsigned line;
int is_ascii;
struct utf8lite_text text;
uint8_t buf[4096];
int32_t code[256];
int can_break_before[256];
uint8_t *code_end[256];
unsigned ncode;
uint8_t *break_begin[256];
uint8_t *break_end[256];
unsigned nbreak;
};
struct unitest unitests[4096];
unsigned nunitest;
void write_unitest(FILE *stream, const struct unitest *test)
{
unsigned i, n = test->ncode;
for (i = 0; i < n; i++) {
fprintf(stream, "%s %04X ",
(test->can_break_before[i]) ? "\xC3\xB7" : "\xC3\x97",
test->code[i]);
}
fprintf(stream, "\xC3\xB7 %s\n", test->comment);
}
void setup_unicode(void)
{
struct unitest *test;
FILE *file;
unsigned code, line, nbreak, ncode;
uint8_t *dst;
char *comment;
int ch, is_ascii;
setup_scan();
file = fopen(GRAPH_BREAK_TEST, "r");
if (!file) {
file = fopen("../"GRAPH_BREAK_TEST, "r");
}
nunitest = 0;
test = &unitests[0];
line = 1;
ncode = 0;
nbreak = 0;
is_ascii = 1;
test->text.ptr = &test->buf[0];
dst = test->text.ptr;
ck_assert_msg(file != NULL, "file '"GRAPH_BREAK_TEST"' not found");
while ((ch = fgetc(file)) != EOF) {
switch (ch) {
case '#':
comment = &test->comment[0];
do {
*comment++ = (char)ch;
ch = fgetc(file);
} while (ch != EOF && ch != '\n');
*comment = '\0';
if (ch == EOF) {
goto eof;
}
/* fallthrough */
case '\n':
*dst = '\0';
test->line = line;
test->is_ascii = is_ascii;
test->text.attr = (size_t)(dst - test->text.ptr);
if (ncode > 0) {
test->ncode = ncode;
test->nbreak = nbreak;
ncode = 0;
nbreak = 0;
is_ascii = 1;
nunitest++;
test = &unitests[nunitest];
test->text.ptr = &test->buf[0];
test->comment[0] = '\0';
dst = test->text.ptr;
}
line++;
break;
case 0xC3:
ch = fgetc(file);
if (ch == EOF) {
goto eof;
} else if (ch == 0x97) {
// MULTIPLICATON SIGN (U+00D7) 0xC3 0x97
test->can_break_before[ncode] = 0;
} else if (ch == 0xB7) {
// DIVISION SIGN (U+00F7) 0xC3 0xB7
test->can_break_before[ncode] = 1;
} else {
goto inval;
}
if (test->can_break_before[ncode]) {
test->break_begin[nbreak] = dst;
if (nbreak > 0) {
test->break_end[nbreak - 1] = dst;
}
nbreak++;
}
if (fscanf(file, "%x", &code)) {
test->code[ncode] = (int32_t)code;
if (code > 0x7F) {
is_ascii = 0;
}
utf8lite_encode_utf8((int32_t)code, &dst);
test->code_end[ncode] = dst;
ncode++;
} else {
test->break_end[nbreak - 1] = dst;
nbreak--;
}
break;
}
}
eof:
fclose(file);
return;
inval:
fprintf(stderr, "invalid character on line %d\n", line);
fclose(file);
}
void teardown_unicode(void)
{
teardown_scan();
}
START_TEST(test_unicode_forward)
{
struct unitest *test;
unsigned i, j;
for (i = 0; i < nunitest; i++) {
test = &unitests[i];
//fprintf(stderr, "[%u]: ", i);
//write_unitest(stderr, test);
utf8lite_graphscan_make(&scan, &test->text);
for (j = 0; j < test->nbreak; j++) {
//fprintf(stderr, "Break %u\n", j);
ck_assert(utf8lite_graphscan_advance(&scan));
ck_assert(scan.current.text.ptr
== test->break_begin[j]);
ck_assert(scan.current.text.ptr
+ UTF8LITE_TEXT_SIZE(&scan.current.text)
== test->break_end[j]);
}
ck_assert(!utf8lite_graphscan_advance(&scan));
}
}
END_TEST
START_TEST(test_unicode_backward)
{
struct unitest *test;
unsigned i, j;
for (i = 0; i < nunitest; i++) {
test = &unitests[i];
//fprintf(stderr, "[%u]: ", i);
//write_unitest(stderr, test);
utf8lite_graphscan_make(&scan, &test->text);
utf8lite_graphscan_skip(&scan);
ck_assert(scan.current.text.ptr
== test->break_end[test->nbreak]);
ck_assert(scan.current.text.attr == 0);
j = test->nbreak;
while (j-- > 0) {
//fprintf(stderr, "Break %u\n", j);
ck_assert(utf8lite_graphscan_retreat(&scan));
ck_assert(scan.current.text.ptr
== test->break_begin[j]);
ck_assert(scan.current.text.ptr
+ UTF8LITE_TEXT_SIZE(&scan.current.text)
== test->break_end[j]);
}
//fprintf(stderr, "Start\n");
ck_assert(!utf8lite_graphscan_retreat(&scan));
ck_assert(!utf8lite_graphscan_retreat(&scan));
}
}
END_TEST
Suite *graphscan_suite(void)
{
Suite *s;
TCase *tc;
s = suite_create("graphscan");
tc = tcase_create("core");
tcase_add_checked_fixture(tc, setup_scan, teardown_scan);
tcase_add_test(tc, test_empty);
tcase_add_test(tc, test_single);
tcase_add_test(tc, test_emoji_modifier);
tcase_add_test(tc, test_emoji_zwj_sequence);
suite_add_tcase(s, tc);
tc = tcase_create("Unicode GraphemeBreakTest.txt");
tcase_add_checked_fixture(tc, setup_unicode, teardown_unicode);
tcase_add_test(tc, test_unicode_forward);
tcase_add_test(tc, test_unicode_backward);
suite_add_tcase(s, tc);
return s;
}
int main(void)
{
int number_failed;
Suite *s;
SRunner *sr;
s = graphscan_suite();
sr = srunner_create(s);
srunner_run_all(sr, CK_NORMAL);
number_failed = srunner_ntests_failed(sr);
srunner_free(sr);
return (number_failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
}
utf8/src/utf8lite/tests/check_charwidth.c 0000644 0001762 0000144 00000004610 13301551651 020114 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include
#include
#include "../src/utf8lite.h"
#include "wcwidth9/wcwidth9.h"
#include "testutil.h"
/*
* This check is kind of meaningless. wcwidth9 has Unicode 9.0.0, gives
* different behavior for lots of characters.
*/
START_TEST(test_wcwidth9)
{
int prop, prop0, ok, nfail;
int32_t code;
nfail = 0;
for (code = 0; code <= UTF8LITE_CODE_MAX; code++) {
prop0 = (code < 0x10FFFE) ? wcwidth9(code) : -3;
prop = utf8lite_charwidth(code);
switch (prop) {
case UTF8LITE_CHARWIDTH_NONE:
ok = prop0 == -1 || prop0 == -3 || prop0 == 1;
break;
case UTF8LITE_CHARWIDTH_IGNORABLE:
ok = prop0 == -1 || prop0 >= 1;
break;
case UTF8LITE_CHARWIDTH_MARK:
ok = prop0 == -1 || prop0 == 1;
break;
case UTF8LITE_CHARWIDTH_NARROW:
ok = prop0 == 1 || prop0 == -1;
break;
case UTF8LITE_CHARWIDTH_AMBIGUOUS:
ok = prop0 == -2;
break;
case UTF8LITE_CHARWIDTH_WIDE:
ok = prop0 == 2 || prop0 == -1;
break;
case UTF8LITE_CHARWIDTH_EMOJI:
ok = prop0 == 2 || prop0 == 1 || prop0 == -1 || prop0 == -2;
break;
default:
ok = 0;
break;
}
if (!ok) {
nfail++;
printf("U+%04X wcwidth9: %d corpus: %d\n", code, prop0, prop);
}
}
ck_assert(nfail == 0);
}
END_TEST
Suite *charwidth_suite(void)
{
Suite *s;
TCase *tc;
s = suite_create("charwidth");
tc = tcase_create("wcwidth9");
tcase_add_test(tc, test_wcwidth9);
suite_add_tcase(s, tc);
return s;
}
int main(void)
{
int number_failed;
Suite *s;
SRunner *sr;
s = charwidth_suite();
sr = srunner_create(s);
srunner_run_all(sr, CK_NORMAL);
number_failed = srunner_ntests_failed(sr);
srunner_free(sr);
return (number_failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
}
utf8/src/utf8lite/src/ 0000755 0001762 0000144 00000000000 13301551650 014261 5 ustar ligges users utf8/src/utf8lite/src/graphscan.c 0000644 0001762 0000144 00000023105 13301551651 016375 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include
#include "private/graphbreak.h"
#include "utf8lite.h"
#define NEXT() \
do { \
scan->ptr = scan->iter.ptr; \
if (utf8lite_text_iter_advance(&scan->iter)) { \
scan->prop = graph_break(scan->iter.current); \
} else { \
scan->prop = -1; \
} \
} while (0)
void utf8lite_graphscan_make(struct utf8lite_graphscan *scan,
const struct utf8lite_text *text)
{
utf8lite_text_iter_make(&scan->iter, text);
utf8lite_graphscan_reset(scan);
}
void utf8lite_graphscan_reset(struct utf8lite_graphscan *scan)
{
utf8lite_text_iter_reset(&scan->iter);
scan->current.text.ptr = (uint8_t *)scan->iter.ptr;
scan->current.text.attr = (scan->iter.text_attr
& ~UTF8LITE_TEXT_SIZE_MASK);
NEXT();
}
void utf8lite_graphscan_skip(struct utf8lite_graphscan *scan)
{
utf8lite_text_iter_skip(&scan->iter);
scan->current.text.ptr = (uint8_t *)scan->iter.ptr;
scan->current.text.attr = (scan->iter.text_attr
& ~UTF8LITE_TEXT_SIZE_MASK);
scan->prop = -1;
}
int utf8lite_graphscan_advance(struct utf8lite_graphscan *scan)
{
scan->current.text.ptr = (uint8_t *)scan->ptr;
scan->current.text.attr = (scan->iter.text_attr
& ~UTF8LITE_TEXT_SIZE_MASK);
Start:
// GB2: Break at the end of text
if (scan->prop < 0) {
goto Break;
}
switch ((enum graph_break_prop)scan->prop) {
case GRAPH_BREAK_CR:
NEXT();
goto CR;
case GRAPH_BREAK_CONTROL:
case GRAPH_BREAK_LF:
// Break after controls
// GB4: (Newline | LF) +
NEXT();
goto Break;
case GRAPH_BREAK_L:
NEXT();
goto L;
case GRAPH_BREAK_LV:
case GRAPH_BREAK_V:
NEXT();
goto V;
case GRAPH_BREAK_LVT:
case GRAPH_BREAK_T:
NEXT();
goto T;
case GRAPH_BREAK_PREPEND:
NEXT();
goto Prepend;
case GRAPH_BREAK_E_BASE:
case GRAPH_BREAK_E_BASE_GAZ:
NEXT();
goto E_Base;
case GRAPH_BREAK_ZWJ:
NEXT();
goto ZWJ;
case GRAPH_BREAK_REGIONAL_INDICATOR:
NEXT();
goto Regional_Indicator;
case GRAPH_BREAK_E_MODIFIER:
case GRAPH_BREAK_GLUE_AFTER_ZWJ:
NEXT();
goto MaybeBreak;
case GRAPH_BREAK_EXTEND:
case GRAPH_BREAK_SPACINGMARK:
case GRAPH_BREAK_OTHER:
NEXT();
goto MaybeBreak;
}
assert(0 && "unhandled grapheme break property");
CR:
// GB3: Do not break within CRLF
// GB4: Otherwise break after controls
if (scan->prop == GRAPH_BREAK_LF) {
NEXT();
}
goto Break;
L:
// GB6: Do not break Hangul syllable sequences.
switch (scan->prop) {
case GRAPH_BREAK_L:
NEXT();
goto L;
case GRAPH_BREAK_V:
case GRAPH_BREAK_LV:
NEXT();
goto V;
case GRAPH_BREAK_LVT:
NEXT();
goto T;
default:
goto MaybeBreak;
}
V:
// GB7: Do not break Hangul syllable sequences.
switch (scan->prop) {
case GRAPH_BREAK_V:
NEXT();
goto V;
case GRAPH_BREAK_T:
NEXT();
goto T;
default:
goto MaybeBreak;
}
T:
// GB8: Do not break Hangul syllable sequences.
switch (scan->prop) {
case GRAPH_BREAK_T:
NEXT();
goto T;
default:
goto MaybeBreak;
}
Prepend:
switch (scan->prop) {
case GRAPH_BREAK_CONTROL:
case GRAPH_BREAK_CR:
case GRAPH_BREAK_LF:
// GB5: break before controls
goto Break;
default:
// GB9b: do not break after Prepend characters.
goto Start;
}
E_Base:
// GB9: Do not break before extending characters
// GB10: Do not break within emoji modifier sequences
while (scan->prop == GRAPH_BREAK_EXTEND) {
NEXT();
}
if (scan->prop == GRAPH_BREAK_E_MODIFIER) {
NEXT();
}
goto MaybeBreak;
ZWJ:
// Do not break within emoji zwj sequences
// GB11: ZWJ * (Glue_After_Zwj | EBG)
switch (scan->prop) {
case GRAPH_BREAK_GLUE_AFTER_ZWJ:
NEXT();
goto MaybeBreak;
case GRAPH_BREAK_E_BASE_GAZ:
NEXT();
goto E_Base;
default:
goto MaybeBreak;
}
Regional_Indicator:
// Do not break within emoji flag sequences. That is, do not break
// between regional indicator (RI) symbols if there is an odd number
// of RI characters before the break point
if (scan->prop == GRAPH_BREAK_REGIONAL_INDICATOR) {
// GB12/13: [^RI] RI * RI
NEXT();
}
goto MaybeBreak;
MaybeBreak:
// GB9: Do not break before extending characters or ZWJ.
// GB9a: Do not break before SpacingMark [extended grapheme clusters]
// GB999: Otherwise, break everywhere
switch (scan->prop) {
case GRAPH_BREAK_EXTEND:
case GRAPH_BREAK_SPACINGMARK:
NEXT();
goto MaybeBreak;
case GRAPH_BREAK_ZWJ:
NEXT();
goto ZWJ;
default:
goto Break;
}
Break:
scan->current.text.attr |= (size_t)(scan->ptr - scan->current.text.ptr);
return (scan->ptr == scan->current.text.ptr) ? 0 : 1;
}
#define PREV() \
do { \
if (utf8lite_text_iter_retreat(&prev)) { \
prop = graph_break(prev.current); \
} else { \
prop = -1; \
} \
} while (0)
static int regional_indicator_odd(const struct utf8lite_text_iter *prev)
{
struct utf8lite_text_iter it = *prev;
int odd = 1, prop;
while (utf8lite_text_iter_retreat(&it)) {
prop = graph_break(it.current);
if (prop == GRAPH_BREAK_REGIONAL_INDICATOR) {
odd = odd ? 0 : 1;
} else {
return odd;
}
}
return odd;
}
static int follows_e_base(const struct utf8lite_text_iter *prev)
{
struct utf8lite_text_iter it = *prev;
int prop;
while (utf8lite_text_iter_retreat(&it)) {
prop = graph_break(it.current);
switch (prop) {
case GRAPH_BREAK_E_BASE:
case GRAPH_BREAK_E_BASE_GAZ:
return 1;
case GRAPH_BREAK_EXTEND:
break;
default:
return 0;
}
}
return 0;
}
int utf8lite_graphscan_retreat(struct utf8lite_graphscan *scan)
{
struct utf8lite_text_iter prev;
int prop;
// see if there is a previous character
prev = scan->iter;
if (!utf8lite_text_iter_retreat(&prev)) {
// already at the start
return 0;
}
// if so, start of current grapheme becomes end of previous
scan->current.text.attr = (scan->iter.text_attr
& ~UTF8LITE_TEXT_SIZE_MASK);
scan->ptr = scan->current.text.ptr;
// position iter after the last character, prev before
while (prev.ptr != scan->ptr) {
scan->iter = prev;
utf8lite_text_iter_retreat(&prev);
}
// update iterator property
if (scan->iter.current < 0) {
scan->prop = -1;
} else {
scan->prop = graph_break(scan->iter.current);
}
if (prev.current < 0) {
prop = -1;
} else {
prop = graph_break(prev.current);
}
Start:
// at the start of the text
if (prop < 0) {
goto Break;
}
switch ((enum graph_break_prop)prop) {
case GRAPH_BREAK_CONTROL:
case GRAPH_BREAK_CR:
// GB4: Break after controls
PREV();
goto Break;
case GRAPH_BREAK_LF:
PREV();
goto LF;
case GRAPH_BREAK_L:
case GRAPH_BREAK_LV:
case GRAPH_BREAK_LVT:
PREV();
goto L;
case GRAPH_BREAK_V:
PREV();
goto V;
case GRAPH_BREAK_T:
PREV();
goto T;
case GRAPH_BREAK_EXTEND:
case GRAPH_BREAK_SPACINGMARK:
case GRAPH_BREAK_ZWJ:
PREV();
goto Extend;
case GRAPH_BREAK_E_MODIFIER:
PREV();
goto E_Modifier;
case GRAPH_BREAK_GLUE_AFTER_ZWJ:
case GRAPH_BREAK_E_BASE_GAZ:
PREV();
goto Glue_After_ZWJ;
case GRAPH_BREAK_REGIONAL_INDICATOR:
PREV();
goto Regional_Indicator;
case GRAPH_BREAK_E_BASE:
case GRAPH_BREAK_PREPEND:
case GRAPH_BREAK_OTHER:
PREV();
goto MaybeBreak;
}
assert(0 && "unhandled graph break property");
LF:
// GB3: Do not break between a CR and LF
// GB4: Otherwise, break after controls.
if (prop == GRAPH_BREAK_CR) {
PREV();
}
goto Break;
L:
// GB6: Do not break Hangul syllable sequences
switch (prop) {
case GRAPH_BREAK_L:
PREV();
goto L;
default:
goto MaybeBreak;
}
V:
// GB6, GB7: Do not break Hangul syllable sequences
switch (prop) {
case GRAPH_BREAK_V:
PREV();
goto V;
case GRAPH_BREAK_L:
case GRAPH_BREAK_LV:
PREV();
goto L;
default:
goto MaybeBreak;
}
T:
// GB6, GB7, GB8: Do not break Hangul syllable sequences
switch (prop) {
case GRAPH_BREAK_LV:
case GRAPH_BREAK_LVT:
PREV();
goto L;
case GRAPH_BREAK_V:
PREV();
goto V;
case GRAPH_BREAK_T:
PREV();
goto T;
default:
goto MaybeBreak;
}
Extend:
switch (prop) {
// GB4: Break after controls
case GRAPH_BREAK_CONTROL:
case GRAPH_BREAK_CR:
case GRAPH_BREAK_LF:
goto Break;
// GB9: Do not break before extending characters or ZWJ.
// GB9a: Do not break before SpacingMarks
default:
goto Start;
}
E_Modifier:
// GB10: Do not break within emoji modifier sequences
if (prop == GRAPH_BREAK_EXTEND && follows_e_base(&prev)) {
while (prop == GRAPH_BREAK_EXTEND) {
PREV();
}
}
switch (prop) {
case GRAPH_BREAK_E_BASE:
PREV();
goto MaybeBreak;
case GRAPH_BREAK_E_BASE_GAZ:
PREV();
goto Glue_After_ZWJ;
default:
goto MaybeBreak;
}
Glue_After_ZWJ:
// GB11 Dro not break within emoji zwj sequences
if (prop == GRAPH_BREAK_ZWJ) {
PREV();
goto Extend;
}
goto MaybeBreak;
Regional_Indicator:
// GB12, GB13: Do not break within emoji flag sequences
if (prop == GRAPH_BREAK_REGIONAL_INDICATOR) {
if (regional_indicator_odd(&prev)) {
PREV();
}
}
goto MaybeBreak;
MaybeBreak:
switch (prop) {
// GB9b: Do not break after Prepend characters
case GRAPH_BREAK_PREPEND:
PREV();
goto MaybeBreak;
default:
goto Break;
}
Break:
scan->current.text.ptr = (uint8_t *)prev.ptr;
scan->current.text.attr |= (size_t)(scan->ptr - scan->current.text.ptr);
return (scan->ptr == scan->current.text.ptr) ? 0 : 1;
}
utf8/src/utf8lite/src/private/ 0000755 0001762 0000144 00000000000 13200060072 015722 5 ustar ligges users utf8/src/utf8lite/src/private/charwidth.h 0000644 0001762 0000144 00000502406 13301551651 020071 0 ustar ligges users /* This file is automatically generated. DO NOT EDIT!
Instead, edit gen-charwidth.py and re-run. */
/*
* Unicode East_Asian_Width property values.
*
* Defined in UAX #11 "East Asian Width"
*
* http://www.unicode.org/reports/tr11/
*
* We use the two-stage lookup strategy described at
*
* http://www.strchr.com/multi-stage_tables
*
*/
#ifndef CHARWIDTH_H
#define CHARWIDTH_H
#include
enum charwidth_prop {
CHARWIDTH_NONE = 0,
CHARWIDTH_IGNORABLE = 1,
CHARWIDTH_MARK = 2,
CHARWIDTH_NARROW = 3,
CHARWIDTH_AMBIGUOUS = 4,
CHARWIDTH_WIDE = 5,
CHARWIDTH_EMOJI = 6
};
static const uint8_t charwidth_stage1[] = {
/* U+0000 */ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
/* U+0800 */ 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
/* U+1000 */ 32, 33, 34, 35, 36, 37, 38, 39, 35, 35, 35, 35, 35, 40, 41, 42,
/* U+1800 */ 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 35, 53, 35, 35, 54, 55,
/* U+2000 */ 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
/* U+2800 */ 35, 35, 72, 35, 35, 35, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82,
/* U+3000 */ 83, 84, 85, 86, 87, 88, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+3800 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+4000 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+4800 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 89, 81, 81, 81, 81,
/* U+5000 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+5800 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+6000 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+6800 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+7000 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+7800 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+8000 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+8800 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+9000 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+9800 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 90,
/* U+A000 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 91, 35, 35, 92, 93, 35, 94,
/* U+A800 */ 95, 96, 97, 98, 99,100,101,102, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+B000 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+B800 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+C000 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+C800 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+D000 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,103,
/* U+D800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+E000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+E800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+F000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+F800 */104,104, 81, 81,105,106,107,108, 35, 35,109,110,111,112,113,114,
/* U+10000 */115,116,117,118,104,119,120,121, 35,122,123,104, 35, 35,124,104,
/* U+10800 */125,126,127,128,129,130,131,132,133,134,104,104,135,104,104,104,
/* U+11000 */136,137,138,139,140,141,142,104,143,144,104,145,146,147,148,104,
/* U+11800 */104,149,104,104,150,151,104,104,152,153,154,104,104,104,104,104,
/* U+12000 */ 35, 35, 35, 35, 35, 35, 35,155,156, 35,157,104,104,104,104,104,
/* U+12800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+13000 */ 35, 35, 35, 35, 35, 35, 35, 35,158,104,104,104,104,104,104,104,
/* U+13800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+14000 */104,104,104,104,104,104,104,104, 35, 35, 35, 35,159,104,104,104,
/* U+14800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+15000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+15800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+16000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+16800 */ 35, 35, 35, 35,160,161,162,163,104,104,104,104,104,104,164,165,
/* U+17000 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+17800 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+18000 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,166,
/* U+18800 */ 81, 81, 81, 81, 81,167,104,104,104,104,104,104,104,104,104,104,
/* U+19000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+19800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+1A000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+1A800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+1B000 */ 81, 81,168, 81, 81,169,104,104,104,104,104,104,104,104,104,104,
/* U+1B800 */104,104,104,104,104,104,104,104,170,171,104,104,104,104,104,104,
/* U+1C000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+1C800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+1D000 */ 35,172,173,174,175,104,176,104,177,178,179, 35, 35,180, 35,181,
/* U+1D800 */ 35, 35, 35, 35,182,183,104,104,104,104,104,104,104,104,104,104,
/* U+1E000 */184,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+1E800 */ 35,185,186,104,104,104,104,104,104,104,104,104,187,188,104,104,
/* U+1F000 */189,190,191,192,193,104,194,195,196,197,198,199,200,201,202,203,
/* U+1F800 */204,205,206,207,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+20000 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+20800 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+21000 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+21800 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+22000 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+22800 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+23000 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+23800 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+24000 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+24800 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+25000 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+25800 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+26000 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+26800 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+27000 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+27800 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+28000 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+28800 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+29000 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+29800 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+2A000 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,208, 81, 81,
/* U+2A800 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+2B000 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,209, 81,
/* U+2B800 */210, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+2C000 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+2C800 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,211, 81, 81,
/* U+2D000 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+2D800 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+2E000 */ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
/* U+2E800 */ 81, 81, 81, 81, 81, 81, 81,212,104,104,104,104,104,104,104,104,
/* U+2F000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+2F800 */ 81, 81, 81, 81,213,104,104,104,104,104,104,104,104,104,104,104,
/* U+30000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+30800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+31000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+31800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+32000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+32800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+33000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+33800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+34000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+34800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+35000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+35800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+36000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+36800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+37000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+37800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+38000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+38800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+39000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+39800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+3A000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+3A800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+3B000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+3B800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+3C000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+3C800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+3D000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+3D800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+3E000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+3E800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+3F000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+3F800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+40000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+40800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+41000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+41800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+42000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+42800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+43000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+43800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+44000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+44800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+45000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+45800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+46000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+46800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+47000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+47800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+48000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+48800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+49000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+49800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+4A000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+4A800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+4B000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+4B800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+4C000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+4C800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+4D000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+4D800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+4E000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+4E800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+4F000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+4F800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+50000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+50800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+51000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+51800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+52000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+52800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+53000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+53800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+54000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+54800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+55000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+55800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+56000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+56800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+57000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+57800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+58000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+58800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+59000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+59800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+5A000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+5A800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+5B000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+5B800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+5C000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+5C800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+5D000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+5D800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+5E000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+5E800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+5F000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+5F800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+60000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+60800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+61000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+61800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+62000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+62800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+63000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+63800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+64000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+64800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+65000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+65800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+66000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+66800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+67000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+67800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+68000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+68800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+69000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+69800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+6A000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+6A800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+6B000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+6B800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+6C000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+6C800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+6D000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+6D800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+6E000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+6E800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+6F000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+6F800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+70000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+70800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+71000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+71800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+72000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+72800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+73000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+73800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+74000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+74800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+75000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+75800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+76000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+76800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+77000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+77800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+78000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+78800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+79000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+79800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+7A000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+7A800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+7B000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+7B800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+7C000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+7C800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+7D000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+7D800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+7E000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+7E800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+7F000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+7F800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+80000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+80800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+81000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+81800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+82000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+82800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+83000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+83800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+84000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+84800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+85000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+85800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+86000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+86800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+87000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+87800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+88000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+88800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+89000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+89800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+8A000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+8A800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+8B000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+8B800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+8C000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+8C800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+8D000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+8D800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+8E000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+8E800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+8F000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+8F800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+90000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+90800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+91000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+91800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+92000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+92800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+93000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+93800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+94000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+94800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+95000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+95800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+96000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+96800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+97000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+97800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+98000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+98800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+99000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+99800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+9A000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+9A800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+9B000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+9B800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+9C000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+9C800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+9D000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+9D800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+9E000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+9E800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+9F000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+9F800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+A0000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+A0800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+A1000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+A1800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+A2000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+A2800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+A3000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+A3800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+A4000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+A4800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+A5000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+A5800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+A6000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+A6800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+A7000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+A7800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+A8000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+A8800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+A9000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+A9800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+AA000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+AA800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+AB000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+AB800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+AC000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+AC800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+AD000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+AD800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+AE000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+AE800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+AF000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+AF800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+B0000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+B0800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+B1000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+B1800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+B2000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+B2800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+B3000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+B3800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+B4000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+B4800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+B5000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+B5800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+B6000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+B6800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+B7000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+B7800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+B8000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+B8800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+B9000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+B9800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+BA000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+BA800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+BB000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+BB800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+BC000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+BC800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+BD000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+BD800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+BE000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+BE800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+BF000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+BF800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+C0000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+C0800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+C1000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+C1800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+C2000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+C2800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+C3000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+C3800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+C4000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+C4800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+C5000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+C5800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+C6000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+C6800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+C7000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+C7800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+C8000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+C8800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+C9000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+C9800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+CA000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+CA800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+CB000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+CB800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+CC000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+CC800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+CD000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+CD800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+CE000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+CE800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+CF000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+CF800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+D0000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+D0800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+D1000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+D1800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+D2000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+D2800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+D3000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+D3800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+D4000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+D4800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+D5000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+D5800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+D6000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+D6800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+D7000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+D7800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+D8000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+D8800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+D9000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+D9800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+DA000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+DA800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+DB000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+DB800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+DC000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+DC800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+DD000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+DD800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+DE000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+DE800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+DF000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+DF800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+E0000 */214,214,214,214,214,214,214,214,214,214,214,214,214,214,214,214,
/* U+E0800 */214,214,214,214,214,214,214,214,214,214,214,214,214,214,214,214,
/* U+E1000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+E1800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+E2000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+E2800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+E3000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+E3800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+E4000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+E4800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+E5000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+E5800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+E6000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+E6800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+E7000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+E7800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+E8000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+E8800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+E9000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+E9800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+EA000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+EA800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+EB000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+EB800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+EC000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+EC800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+ED000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+ED800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+EE000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+EE800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+EF000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+EF800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+F0000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+F0800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+F1000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+F1800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+F2000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+F2800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+F3000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+F3800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+F4000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+F4800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+F5000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+F5800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+F6000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+F6800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+F7000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+F7800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+F8000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+F8800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+F9000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+F9800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+FA000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+FA800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+FB000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+FB800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+FC000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+FC800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+FD000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+FD800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+FE000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+FE800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+FF000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+FF800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+100000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+100800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+101000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+101800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+102000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+102800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+103000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+103800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+104000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+104800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+105000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+105800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+106000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+106800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+107000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+107800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+108000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+108800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+109000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+109800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+10A000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+10A800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+10B000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+10B800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+10C000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+10C800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+10D000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+10D800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+10E000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+10E800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+10F000 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,
/* U+10F800 */104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104
};
static const int8_t charwidth_stage2[][128] = {
/* block 0 */
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0
},
/* block 1 */
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
3, 4, 3, 3, 4, 3, 3, 4, 4, 3, 4, 3, 3, 1, 4, 3,
4, 4, 4, 4, 4, 3, 4, 4, 4, 4, 4, 3, 4, 4, 4, 4,
3, 3, 3, 3, 3, 3, 4, 3, 3, 3, 3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
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
},
/* block 214 */
{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
}
};
static int charwidth(int32_t code)
{
const int32_t block_size = 128;
uint8_t i = charwidth_stage1[code / block_size];
return charwidth_stage2[i][code % block_size];
}
#endif /* CHARWIDTH_H */
utf8/src/utf8lite/src/private/compose.h 0000644 0001762 0000144 00000362405 13301551651 017564 0 ustar ligges users /* This file is automatically generated. DO NOT EDIT!
Instead, edit gen-compose.py and re-run. */
/*
* Unicode primary composites.
*
* Defined in Unicode Sec 3.11 "Normalization Forms"
*
* We use the two-stage lookup strategy described at
*
* http://www.strchr.com/multi-stage_tables
*
*/
#ifndef UNICODE_COMPOSE_H
#define UNICODE_COMPOSE_H
#include
/* composition
* -----------
* offset: the offset into the primary and combiner arrays,
* or 0 if there are no compositions
* length: the number of compositions for the codepont
*/
struct composition {
unsigned offset : 11;
unsigned length : 5;
};
#define COMPOSITION_BLOCK_SIZE 256
#define COMPOSITION_HANGUL_LPART 940
#define COMPOSITION_HANGUL_LVPART 941
static const uint8_t composition_stage1[] = {
/* U+0000 */ 0, 1, 2, 3, 4, 5, 6, 5, 5, 7, 5, 8, 9, 10, 5, 5,
/* U+1000 */ 11, 12, 5, 5, 5, 5, 5, 5, 5, 5, 5, 13, 5, 5, 14, 15,
/* U+2000 */ 5, 16, 17, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
/* U+3000 */ 18, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
/* U+4000 */ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
/* U+5000 */ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
/* U+6000 */ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
/* U+7000 */ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
/* U+8000 */ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
/* U+9000 */ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
/* U+A000 */ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 19, 20, 21, 22,
/* U+B000 */ 23, 24, 25, 19, 20, 21, 22, 23, 24, 25, 19, 20, 21, 22, 23, 24,
/* U+C000 */ 25, 19, 20, 21, 22, 23, 24, 25, 19, 20, 21, 22, 23, 24, 25, 19,
/* U+D000 */ 20, 21, 22, 23, 24, 25, 19, 26, 5, 5, 5, 5, 5, 5, 5, 5,
/* U+E000 */ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
/* U+F000 */ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
/* U+10000 */ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
/* U+11000 */ 27, 28, 5, 29, 30, 31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U+106000 */ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
/* U+107000 */ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
/* U+108000 */ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
/* U+109000 */ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
/* U+10A000 */ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
/* U+10B000 */ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
/* U+10C000 */ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
/* U+10D000 */ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
/* U+10E000 */ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
/* U+10F000 */ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5
};
static const struct composition composition_stage2[][256] = {
/* block 0 */
{{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 1}, { 1, 1}, { 2, 1},
{ 0, 0}, { 0, 0}, { 3,16}, { 19, 3}, { 22, 5}, { 27, 6}, { 33,17},
{ 50, 1}, { 51, 7}, { 58, 7}, { 65,15}, { 80, 1}, { 81, 5}, { 86, 6},
{ 92, 3}, { 95, 9}, {104,16}, {120, 2}, { 0, 0}, {122, 8}, {130, 7},
{137, 7}, {144,19}, {163, 2}, {165, 6}, {171, 2}, {173, 9}, {182, 6},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {188,16},
{204, 3}, {207, 5}, {212, 6}, {218,17}, {235, 1}, {236, 7}, {243, 8},
{251,14}, {265, 2}, {267, 5}, {272, 6}, {278, 3}, {281, 9}, {290,16},
{306, 2}, { 0, 0}, {308, 8}, {316, 7}, {323, 8}, {331,19}, {350, 2},
{352, 7}, {359, 2}, {361,10}, {371, 6}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{377, 3}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {380, 4}, { 0, 0},
{384, 1}, {385, 1}, {386, 2}, {388, 1}, { 0, 0}, { 0, 0}, {389, 4},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {393, 1}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, {394, 4}, {398, 3}, {401, 1}, { 0, 0}, {402, 1},
{ 0, 0}, { 0, 0}, { 0, 0}, {403, 4}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, {407, 4}, { 0, 0}, {411, 1}, {412, 1}, {413, 2},
{415, 1}, { 0, 0}, { 0, 0}, {416, 4}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, {420, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {421, 4},
{425, 3}, {428, 1}, { 0, 0}, {429, 1}, { 0, 0}, { 0, 0}, { 0, 0},
{430, 4}, { 0, 0}, { 0, 0}, { 0, 0}
},
/* block 1 */
{{ 0, 0}, { 0, 0}, {434, 4}, {438, 4}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {442, 2}, {444, 2}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {446, 2},
{448, 2}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {450, 1},
{451, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {452, 1}, {453, 1},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {454, 1},
{455, 1}, {456, 1}, {457, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, {458, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {459, 5},
{464, 5}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{469, 5}, {474, 5}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, {479, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, {480, 1}, {481, 1}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}
},
/* block 2 */
{{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, {482, 1}, {483, 1}, {484, 1}, {485, 1},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {486, 1}, {487, 1}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {488, 1},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}
},
/* block 3 */
{{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {489, 7}, { 0, 0},
{ 0, 0}, { 0, 0}, {496, 4}, { 0, 0}, {500, 5}, { 0, 0}, {505, 7},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {512, 4}, { 0, 0},
{516, 1}, { 0, 0}, { 0, 0}, { 0, 0}, {517, 6}, { 0, 0}, { 0, 0},
{ 0, 0}, {523, 5}, { 0, 0}, { 0, 0}, {528, 1}, { 0, 0}, {529, 1},
{ 0, 0}, { 0, 0}, {530, 8}, { 0, 0}, { 0, 0}, { 0, 0}, {538, 4},
{ 0, 0}, {542, 6}, { 0, 0}, {548, 8}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, {556, 4}, { 0, 0}, {560, 2}, { 0, 0}, { 0, 0},
{ 0, 0}, {562, 8}, { 0, 0}, { 0, 0}, { 0, 0}, {570, 6}, {576, 3},
{579, 3}, { 0, 0}, { 0, 0}, {582, 1}, { 0, 0}, { 0, 0}, { 0, 0},
{583, 2}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}
},
/* block 4 */
{{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {585, 1},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, {586, 2}, { 0, 0}, { 0, 0}, {588, 1}, { 0, 0},
{589, 3}, {592, 2}, {594, 1}, {595, 4}, { 0, 0}, {599, 1}, { 0, 0},
{ 0, 0}, { 0, 0}, {600, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{601, 4}, { 0, 0}, { 0, 0}, { 0, 0}, {605, 1}, { 0, 0}, { 0, 0},
{ 0, 0}, {606, 1}, { 0, 0}, {607, 1}, { 0, 0}, { 0, 0}, {608, 2},
{ 0, 0}, { 0, 0}, {610, 1}, { 0, 0}, {611, 3}, {614, 2}, {616, 1},
{617, 4}, { 0, 0}, {621, 1}, { 0, 0}, { 0, 0}, { 0, 0}, {622, 1},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {623, 4}, { 0, 0}, { 0, 0},
{ 0, 0}, {627, 1}, { 0, 0}, { 0, 0}, { 0, 0}, {628, 1}, { 0, 0},
{629, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, {630, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {631, 1}, {632, 1}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {633, 1},
{634, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, {635, 1}, {636, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}
},
/* block 5 */
{{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}
},
/* block 6 */
{{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {637, 3}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, {640, 1}, { 0, 0}, {641, 1}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {642, 1}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{643, 1}, { 0, 0}, { 0, 0}, {644, 1}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}
},
/* block 7 */
{{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {645, 1}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {646, 1},
{ 0, 0}, { 0, 0}, {647, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, {648, 2}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}
},
/* block 8 */
{{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, {650, 3}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {653, 1},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, {654, 2}, {656, 1}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}
},
/* block 9 */
{{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{657, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, {658, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, {659, 3}, { 0, 0}, { 0, 0}, { 0, 0}, {662, 1},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}
},
/* block 10 */
{{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{663, 2}, {665, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{666, 3}, { 0, 0}, { 0, 0}, {669, 1}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}
},
/* block 11 */
{{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, {670, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}
},
/* block 12 */
{{940, 1}, {940, 1}, {940, 1}, {940, 1}, {940, 1}, {940, 1}, {940, 1},
{940, 1}, {940, 1}, {940, 1}, {940, 1}, {940, 1}, {940, 1}, {940, 1},
{940, 1}, {940, 1}, {940, 1}, {940, 1}, {940, 1}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}
},
/* block 13 */
{{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {671, 1}, { 0, 0},
{672, 1}, { 0, 0}, {673, 1}, { 0, 0}, {674, 1}, { 0, 0}, {675, 1},
{ 0, 0}, { 0, 0}, { 0, 0}, {676, 1}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, {677, 1}, { 0, 0}, {678, 1}, { 0, 0}, {679, 1},
{680, 1}, { 0, 0}, { 0, 0}, {681, 1}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}
},
/* block 14 */
{{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {682, 1}, {683, 1},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {684, 1},
{685, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{686, 1}, {687, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {688, 2},
{690, 2}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, {692, 1}, {693, 1}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, {694, 1}, {695, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}
},
/* block 15 */
{{696, 4}, {700, 4}, {704, 1}, {705, 1}, {706, 1}, {707, 1}, {708, 1},
{709, 1}, {710, 4}, {714, 4}, {718, 1}, {719, 1}, {720, 1}, {721, 1},
{722, 1}, {723, 1}, {724, 2}, {726, 2}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, {728, 2}, {730, 2}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {732, 4}, {736, 4}, {740, 1},
{741, 1}, {742, 1}, {743, 1}, {744, 1}, {745, 1}, {746, 4}, {750, 4},
{754, 1}, {755, 1}, {756, 1}, {757, 1}, {758, 1}, {759, 1}, {760, 3},
{763, 3}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{766, 3}, {769, 3}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, {772, 2}, {774, 2}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, {776, 2}, {778, 2}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, {780, 3}, {783, 3}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {786, 3}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {789, 4}, {793, 4},
{797, 1}, {798, 1}, {799, 1}, {800, 1}, {801, 1}, {802, 1}, {803, 4},
{807, 4}, {811, 1}, {812, 1}, {813, 1}, {814, 1}, {815, 1}, {816, 1},
{817, 1}, { 0, 0}, { 0, 0}, { 0, 0}, {818, 1}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {819, 1}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{820, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, {821, 3}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, {824, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, {825, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, {826, 3}, { 0, 0}
},
/* block 16 */
{{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {829, 1}, { 0, 0}, {830, 1},
{ 0, 0}, {831, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {832, 1}, { 0, 0},
{833, 1}, { 0, 0}, {834, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}
},
/* block 17 */
{{ 0, 0}, { 0, 0}, { 0, 0}, {835, 1}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, {836, 1}, { 0, 0}, { 0, 0}, {837, 1}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{838, 1}, { 0, 0}, {839, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {840, 1}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {841, 1}, { 0, 0}, {842, 1},
{ 0, 0}, { 0, 0}, {843, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{844, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {845, 1},
{ 0, 0}, { 0, 0}, {846, 1}, {847, 1}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, {848, 1}, {849, 1}, { 0, 0}, { 0, 0}, {850, 1},
{851, 1}, { 0, 0}, { 0, 0}, {852, 1}, {853, 1}, {854, 1}, {855, 1},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {856, 1}, {857, 1}, { 0, 0},
{ 0, 0}, {858, 1}, {859, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {860, 1}, {861, 1},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, {862, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{863, 1}, {864, 1}, { 0, 0}, {865, 1}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, {866, 1}, {867, 1}, {868, 1}, {869, 1},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}
},
/* block 18 */
{{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{870, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {871, 1}, { 0, 0},
{872, 1}, { 0, 0}, {873, 1}, { 0, 0}, {874, 1}, { 0, 0}, {875, 1},
{ 0, 0}, {876, 1}, { 0, 0}, {877, 1}, { 0, 0}, {878, 1}, { 0, 0},
{879, 1}, { 0, 0}, {880, 1}, { 0, 0}, {881, 1}, { 0, 0}, {882, 1},
{ 0, 0}, { 0, 0}, {883, 1}, { 0, 0}, {884, 1}, { 0, 0}, {885, 1},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {886, 2},
{ 0, 0}, { 0, 0}, {888, 2}, { 0, 0}, { 0, 0}, {890, 2}, { 0, 0},
{ 0, 0}, {892, 2}, { 0, 0}, { 0, 0}, {894, 2}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, {896, 1}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {897, 1}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, {898, 1}, { 0, 0}, {899, 1}, { 0, 0},
{900, 1}, { 0, 0}, {901, 1}, { 0, 0}, {902, 1}, { 0, 0}, {903, 1},
{ 0, 0}, {904, 1}, { 0, 0}, {905, 1}, { 0, 0}, {906, 1}, { 0, 0},
{907, 1}, { 0, 0}, {908, 1}, { 0, 0}, {909, 1}, { 0, 0}, { 0, 0},
{910, 1}, { 0, 0}, {911, 1}, { 0, 0}, {912, 1}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {913, 2}, { 0, 0}, { 0, 0},
{915, 2}, { 0, 0}, { 0, 0}, {917, 2}, { 0, 0}, { 0, 0}, {919, 2},
{ 0, 0}, { 0, 0}, {921, 2}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, {923, 1}, {924, 1}, {925, 1}, {926, 1}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, {927, 1}, { 0, 0}, { 0, 0}
},
/* block 19 */
{{941, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{941, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{941, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{941, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{941, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{941, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{941, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{941, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{941, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{941, 1}, { 0, 0}, { 0, 0}, { 0, 0}
},
/* block 20 */
{{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}
},
/* block 21 */
{{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {941, 1},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {941, 1},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {941, 1},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {941, 1},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {941, 1},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {941, 1},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {941, 1},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {941, 1},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {941, 1},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}
},
/* block 22 */
{{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}
},
/* block 23 */
{{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}
},
/* block 24 */
{{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}
},
/* block 25 */
{{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}
},
/* block 26 */
{{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, {941, 1}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}
},
/* block 27 */
{{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {928, 1},
{ 0, 0}, {929, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, {930, 1}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}
},
/* block 28 */
{{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{931, 1}, {932, 1}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}
},
/* block 29 */
{{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, {933, 2}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}
},
/* block 30 */
{{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, {935, 3}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}
},
/* block 31 */
{{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, {938, 1}, {939, 1}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0},
{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}
}
};
static const int32_t composition_combiner[] = {
/* 0 */ 0x0338,0x0338,0x0338,0x0300,0x0301,0x0302,0x0303,0x0304,
/* 8 */ 0x0306,0x0307,0x0308,0x0309,0x030A,0x030C,0x030F,0x0311,
/* 16 */ 0x0323,0x0325,0x0328,0x0307,0x0323,0x0331,0x0301,0x0302,
/* 24 */ 0x0307,0x030C,0x0327,0x0307,0x030C,0x0323,0x0327,0x032D,
/* 32 */ 0x0331,0x0300,0x0301,0x0302,0x0303,0x0304,0x0306,0x0307,
/* 40 */ 0x0308,0x0309,0x030C,0x030F,0x0311,0x0323,0x0327,0x0328,
/* 48 */ 0x032D,0x0330,0x0307,0x0301,0x0302,0x0304,0x0306,0x0307,
/* 56 */ 0x030C,0x0327,0x0302,0x0307,0x0308,0x030C,0x0323,0x0327,
/* 64 */ 0x032E,0x0300,0x0301,0x0302,0x0303,0x0304,0x0306,0x0307,
/* 72 */ 0x0308,0x0309,0x030C,0x030F,0x0311,0x0323,0x0328,0x0330,
/* 80 */ 0x0302,0x0301,0x030C,0x0323,0x0327,0x0331,0x0301,0x030C,
/* 88 */ 0x0323,0x0327,0x032D,0x0331,0x0301,0x0307,0x0323,0x0300,
/* 96 */ 0x0301,0x0303,0x0307,0x030C,0x0323,0x0327,0x032D,0x0331,
/* 104 */ 0x0300,0x0301,0x0302,0x0303,0x0304,0x0306,0x0307,0x0308,
/* 112 */ 0x0309,0x030B,0x030C,0x030F,0x0311,0x031B,0x0323,0x0328,
/* 120 */ 0x0301,0x0307,0x0301,0x0307,0x030C,0x030F,0x0311,0x0323,
/* 128 */ 0x0327,0x0331,0x0301,0x0302,0x0307,0x030C,0x0323,0x0326,
/* 136 */ 0x0327,0x0307,0x030C,0x0323,0x0326,0x0327,0x032D,0x0331,
/* 144 */ 0x0300,0x0301,0x0302,0x0303,0x0304,0x0306,0x0308,0x0309,
/* 152 */ 0x030A,0x030B,0x030C,0x030F,0x0311,0x031B,0x0323,0x0324,
/* 160 */ 0x0328,0x032D,0x0330,0x0303,0x0323,0x0300,0x0301,0x0302,
/* 168 */ 0x0307,0x0308,0x0323,0x0307,0x0308,0x0300,0x0301,0x0302,
/* 176 */ 0x0303,0x0304,0x0307,0x0308,0x0309,0x0323,0x0301,0x0302,
/* 184 */ 0x0307,0x030C,0x0323,0x0331,0x0300,0x0301,0x0302,0x0303,
/* 192 */ 0x0304,0x0306,0x0307,0x0308,0x0309,0x030A,0x030C,0x030F,
/* 200 */ 0x0311,0x0323,0x0325,0x0328,0x0307,0x0323,0x0331,0x0301,
/* 208 */ 0x0302,0x0307,0x030C,0x0327,0x0307,0x030C,0x0323,0x0327,
/* 216 */ 0x032D,0x0331,0x0300,0x0301,0x0302,0x0303,0x0304,0x0306,
/* 224 */ 0x0307,0x0308,0x0309,0x030C,0x030F,0x0311,0x0323,0x0327,
/* 232 */ 0x0328,0x032D,0x0330,0x0307,0x0301,0x0302,0x0304,0x0306,
/* 240 */ 0x0307,0x030C,0x0327,0x0302,0x0307,0x0308,0x030C,0x0323,
/* 248 */ 0x0327,0x032E,0x0331,0x0300,0x0301,0x0302,0x0303,0x0304,
/* 256 */ 0x0306,0x0308,0x0309,0x030C,0x030F,0x0311,0x0323,0x0328,
/* 264 */ 0x0330,0x0302,0x030C,0x0301,0x030C,0x0323,0x0327,0x0331,
/* 272 */ 0x0301,0x030C,0x0323,0x0327,0x032D,0x0331,0x0301,0x0307,
/* 280 */ 0x0323,0x0300,0x0301,0x0303,0x0307,0x030C,0x0323,0x0327,
/* 288 */ 0x032D,0x0331,0x0300,0x0301,0x0302,0x0303,0x0304,0x0306,
/* 296 */ 0x0307,0x0308,0x0309,0x030B,0x030C,0x030F,0x0311,0x031B,
/* 304 */ 0x0323,0x0328,0x0301,0x0307,0x0301,0x0307,0x030C,0x030F,
/* 312 */ 0x0311,0x0323,0x0327,0x0331,0x0301,0x0302,0x0307,0x030C,
/* 320 */ 0x0323,0x0326,0x0327,0x0307,0x0308,0x030C,0x0323,0x0326,
/* 328 */ 0x0327,0x032D,0x0331,0x0300,0x0301,0x0302,0x0303,0x0304,
/* 336 */ 0x0306,0x0308,0x0309,0x030A,0x030B,0x030C,0x030F,0x0311,
/* 344 */ 0x031B,0x0323,0x0324,0x0328,0x032D,0x0330,0x0303,0x0323,
/* 352 */ 0x0300,0x0301,0x0302,0x0307,0x0308,0x030A,0x0323,0x0307,
/* 360 */ 0x0308,0x0300,0x0301,0x0302,0x0303,0x0304,0x0307,0x0308,
/* 368 */ 0x0309,0x030A,0x0323,0x0301,0x0302,0x0307,0x030C,0x0323,
/* 376 */ 0x0331,0x0300,0x0301,0x0342,0x0300,0x0301,0x0303,0x0309,
/* 384 */ 0x0304,0x0301,0x0301,0x0304,0x0301,0x0300,0x0301,0x0303,
/* 392 */ 0x0309,0x0301,0x0300,0x0301,0x0303,0x0309,0x0301,0x0304,
/* 400 */ 0x0308,0x0304,0x0301,0x0300,0x0301,0x0304,0x030C,0x0300,
/* 408 */ 0x0301,0x0303,0x0309,0x0304,0x0301,0x0301,0x0304,0x0301,
/* 416 */ 0x0300,0x0301,0x0303,0x0309,0x0301,0x0300,0x0301,0x0303,
/* 424 */ 0x0309,0x0301,0x0304,0x0308,0x0304,0x0301,0x0300,0x0301,
/* 432 */ 0x0304,0x030C,0x0300,0x0301,0x0303,0x0309,0x0300,0x0301,
/* 440 */ 0x0303,0x0309,0x0300,0x0301,0x0300,0x0301,0x0300,0x0301,
/* 448 */ 0x0300,0x0301,0x0307,0x0307,0x0307,0x0307,0x0301,0x0301,
/* 456 */ 0x0308,0x0308,0x0307,0x0300,0x0301,0x0303,0x0309,0x0323,
/* 464 */ 0x0300,0x0301,0x0303,0x0309,0x0323,0x0300,0x0301,0x0303,
/* 472 */ 0x0309,0x0323,0x0300,0x0301,0x0303,0x0309,0x0323,0x030C,
/* 480 */ 0x0304,0x0304,0x0304,0x0304,0x0306,0x0306,0x0304,0x0304,
/* 488 */ 0x030C,0x0300,0x0301,0x0304,0x0306,0x0313,0x0314,0x0345,
/* 496 */ 0x0300,0x0301,0x0313,0x0314,0x0300,0x0301,0x0313,0x0314,
/* 504 */ 0x0345,0x0300,0x0301,0x0304,0x0306,0x0308,0x0313,0x0314,
/* 512 */ 0x0300,0x0301,0x0313,0x0314,0x0314,0x0300,0x0301,0x0304,
/* 520 */ 0x0306,0x0308,0x0314,0x0300,0x0301,0x0313,0x0314,0x0345,
/* 528 */ 0x0345,0x0345,0x0300,0x0301,0x0304,0x0306,0x0313,0x0314,
/* 536 */ 0x0342,0x0345,0x0300,0x0301,0x0313,0x0314,0x0300,0x0301,
/* 544 */ 0x0313,0x0314,0x0342,0x0345,0x0300,0x0301,0x0304,0x0306,
/* 552 */ 0x0308,0x0313,0x0314,0x0342,0x0300,0x0301,0x0313,0x0314,
/* 560 */ 0x0313,0x0314,0x0300,0x0301,0x0304,0x0306,0x0308,0x0313,
/* 568 */ 0x0314,0x0342,0x0300,0x0301,0x0313,0x0314,0x0342,0x0345,
/* 576 */ 0x0300,0x0301,0x0342,0x0300,0x0301,0x0342,0x0345,0x0301,
/* 584 */ 0x0308,0x0308,0x0306,0x0308,0x0301,0x0300,0x0306,0x0308,
/* 592 */ 0x0306,0x0308,0x0308,0x0300,0x0304,0x0306,0x0308,0x0301,
/* 600 */ 0x0308,0x0304,0x0306,0x0308,0x030B,0x0308,0x0308,0x0308,
/* 608 */ 0x0306,0x0308,0x0301,0x0300,0x0306,0x0308,0x0306,0x0308,
/* 616 */ 0x0308,0x0300,0x0304,0x0306,0x0308,0x0301,0x0308,0x0304,
/* 624 */ 0x0306,0x0308,0x030B,0x0308,0x0308,0x0308,0x0308,0x030F,
/* 632 */ 0x030F,0x0308,0x0308,0x0308,0x0308,0x0653,0x0654,0x0655,
/* 640 */ 0x0654,0x0654,0x0654,0x0654,0x0654,0x093C,0x093C,0x093C,
/* 648 */ 0x09BE,0x09D7,0x0B3E,0x0B56,0x0B57,0x0BD7,0x0BBE,0x0BD7,
/* 656 */ 0x0BBE,0x0C56,0x0CD5,0x0CC2,0x0CD5,0x0CD6,0x0CD5,0x0D3E,
/* 664 */ 0x0D57,0x0D3E,0x0DCA,0x0DCF,0x0DDF,0x0DCA,0x102E,0x1B35,
/* 672 */ 0x1B35,0x1B35,0x1B35,0x1B35,0x1B35,0x1B35,0x1B35,0x1B35,
/* 680 */ 0x1B35,0x1B35,0x0304,0x0304,0x0304,0x0304,0x0307,0x0307,
/* 688 */ 0x0302,0x0306,0x0302,0x0306,0x0302,0x0302,0x0302,0x0302,
/* 696 */ 0x0300,0x0301,0x0342,0x0345,0x0300,0x0301,0x0342,0x0345,
/* 704 */ 0x0345,0x0345,0x0345,0x0345,0x0345,0x0345,0x0300,0x0301,
/* 712 */ 0x0342,0x0345,0x0300,0x0301,0x0342,0x0345,0x0345,0x0345,
/* 720 */ 0x0345,0x0345,0x0345,0x0345,0x0300,0x0301,0x0300,0x0301,
/* 728 */ 0x0300,0x0301,0x0300,0x0301,0x0300,0x0301,0x0342,0x0345,
/* 736 */ 0x0300,0x0301,0x0342,0x0345,0x0345,0x0345,0x0345,0x0345,
/* 744 */ 0x0345,0x0345,0x0300,0x0301,0x0342,0x0345,0x0300,0x0301,
/* 752 */ 0x0342,0x0345,0x0345,0x0345,0x0345,0x0345,0x0345,0x0345,
/* 760 */ 0x0300,0x0301,0x0342,0x0300,0x0301,0x0342,0x0300,0x0301,
/* 768 */ 0x0342,0x0300,0x0301,0x0342,0x0300,0x0301,0x0300,0x0301,
/* 776 */ 0x0300,0x0301,0x0300,0x0301,0x0300,0x0301,0x0342,0x0300,
/* 784 */ 0x0301,0x0342,0x0300,0x0301,0x0342,0x0300,0x0301,0x0342,
/* 792 */ 0x0345,0x0300,0x0301,0x0342,0x0345,0x0345,0x0345,0x0345,
/* 800 */ 0x0345,0x0345,0x0345,0x0300,0x0301,0x0342,0x0345,0x0300,
/* 808 */ 0x0301,0x0342,0x0345,0x0345,0x0345,0x0345,0x0345,0x0345,
/* 816 */ 0x0345,0x0345,0x0345,0x0345,0x0345,0x0300,0x0301,0x0342,
/* 824 */ 0x0345,0x0345,0x0300,0x0301,0x0342,0x0338,0x0338,0x0338,
/* 832 */ 0x0338,0x0338,0x0338,0x0338,0x0338,0x0338,0x0338,0x0338,
/* 840 */ 0x0338,0x0338,0x0338,0x0338,0x0338,0x0338,0x0338,0x0338,
/* 848 */ 0x0338,0x0338,0x0338,0x0338,0x0338,0x0338,0x0338,0x0338,
/* 856 */ 0x0338,0x0338,0x0338,0x0338,0x0338,0x0338,0x0338,0x0338,
/* 864 */ 0x0338,0x0338,0x0338,0x0338,0x0338,0x0338,0x3099,0x3099,
/* 872 */ 0x3099,0x3099,0x3099,0x3099,0x3099,0x3099,0x3099,0x3099,
/* 880 */ 0x3099,0x3099,0x3099,0x3099,0x3099,0x3099,0x3099,0x309A,
/* 888 */ 0x3099,0x309A,0x3099,0x309A,0x3099,0x309A,0x3099,0x309A,
/* 896 */ 0x3099,0x3099,0x3099,0x3099,0x3099,0x3099,0x3099,0x3099,
/* 904 */ 0x3099,0x3099,0x3099,0x3099,0x3099,0x3099,0x3099,0x3099,
/* 912 */ 0x3099,0x3099,0x309A,0x3099,0x309A,0x3099,0x309A,0x3099,
/* 920 */ 0x309A,0x3099,0x309A,0x3099,0x3099,0x3099,0x3099,0x3099,
/* 928 */ 0x110BA,0x110BA,0x110BA,0x11127,0x11127,0x1133E,0x11357,0x114B0,
/* 936 */ 0x114BA,0x114BD,0x115AF,0x115AF
};
static const int32_t composition_primary[] = {
/* 0 */ 0x226E,0x2260,0x226F,0x00C0,0x00C1,0x00C2,0x00C3,0x0100,
/* 8 */ 0x0102,0x0226,0x00C4,0x1EA2,0x00C5,0x01CD,0x0200,0x0202,
/* 16 */ 0x1EA0,0x1E00,0x0104,0x1E02,0x1E04,0x1E06,0x0106,0x0108,
/* 24 */ 0x010A,0x010C,0x00C7,0x1E0A,0x010E,0x1E0C,0x1E10,0x1E12,
/* 32 */ 0x1E0E,0x00C8,0x00C9,0x00CA,0x1EBC,0x0112,0x0114,0x0116,
/* 40 */ 0x00CB,0x1EBA,0x011A,0x0204,0x0206,0x1EB8,0x0228,0x0118,
/* 48 */ 0x1E18,0x1E1A,0x1E1E,0x01F4,0x011C,0x1E20,0x011E,0x0120,
/* 56 */ 0x01E6,0x0122,0x0124,0x1E22,0x1E26,0x021E,0x1E24,0x1E28,
/* 64 */ 0x1E2A,0x00CC,0x00CD,0x00CE,0x0128,0x012A,0x012C,0x0130,
/* 72 */ 0x00CF,0x1EC8,0x01CF,0x0208,0x020A,0x1ECA,0x012E,0x1E2C,
/* 80 */ 0x0134,0x1E30,0x01E8,0x1E32,0x0136,0x1E34,0x0139,0x013D,
/* 88 */ 0x1E36,0x013B,0x1E3C,0x1E3A,0x1E3E,0x1E40,0x1E42,0x01F8,
/* 96 */ 0x0143,0x00D1,0x1E44,0x0147,0x1E46,0x0145,0x1E4A,0x1E48,
/* 104 */ 0x00D2,0x00D3,0x00D4,0x00D5,0x014C,0x014E,0x022E,0x00D6,
/* 112 */ 0x1ECE,0x0150,0x01D1,0x020C,0x020E,0x01A0,0x1ECC,0x01EA,
/* 120 */ 0x1E54,0x1E56,0x0154,0x1E58,0x0158,0x0210,0x0212,0x1E5A,
/* 128 */ 0x0156,0x1E5E,0x015A,0x015C,0x1E60,0x0160,0x1E62,0x0218,
/* 136 */ 0x015E,0x1E6A,0x0164,0x1E6C,0x021A,0x0162,0x1E70,0x1E6E,
/* 144 */ 0x00D9,0x00DA,0x00DB,0x0168,0x016A,0x016C,0x00DC,0x1EE6,
/* 152 */ 0x016E,0x0170,0x01D3,0x0214,0x0216,0x01AF,0x1EE4,0x1E72,
/* 160 */ 0x0172,0x1E76,0x1E74,0x1E7C,0x1E7E,0x1E80,0x1E82,0x0174,
/* 168 */ 0x1E86,0x1E84,0x1E88,0x1E8A,0x1E8C,0x1EF2,0x00DD,0x0176,
/* 176 */ 0x1EF8,0x0232,0x1E8E,0x0178,0x1EF6,0x1EF4,0x0179,0x1E90,
/* 184 */ 0x017B,0x017D,0x1E92,0x1E94,0x00E0,0x00E1,0x00E2,0x00E3,
/* 192 */ 0x0101,0x0103,0x0227,0x00E4,0x1EA3,0x00E5,0x01CE,0x0201,
/* 200 */ 0x0203,0x1EA1,0x1E01,0x0105,0x1E03,0x1E05,0x1E07,0x0107,
/* 208 */ 0x0109,0x010B,0x010D,0x00E7,0x1E0B,0x010F,0x1E0D,0x1E11,
/* 216 */ 0x1E13,0x1E0F,0x00E8,0x00E9,0x00EA,0x1EBD,0x0113,0x0115,
/* 224 */ 0x0117,0x00EB,0x1EBB,0x011B,0x0205,0x0207,0x1EB9,0x0229,
/* 232 */ 0x0119,0x1E19,0x1E1B,0x1E1F,0x01F5,0x011D,0x1E21,0x011F,
/* 240 */ 0x0121,0x01E7,0x0123,0x0125,0x1E23,0x1E27,0x021F,0x1E25,
/* 248 */ 0x1E29,0x1E2B,0x1E96,0x00EC,0x00ED,0x00EE,0x0129,0x012B,
/* 256 */ 0x012D,0x00EF,0x1EC9,0x01D0,0x0209,0x020B,0x1ECB,0x012F,
/* 264 */ 0x1E2D,0x0135,0x01F0,0x1E31,0x01E9,0x1E33,0x0137,0x1E35,
/* 272 */ 0x013A,0x013E,0x1E37,0x013C,0x1E3D,0x1E3B,0x1E3F,0x1E41,
/* 280 */ 0x1E43,0x01F9,0x0144,0x00F1,0x1E45,0x0148,0x1E47,0x0146,
/* 288 */ 0x1E4B,0x1E49,0x00F2,0x00F3,0x00F4,0x00F5,0x014D,0x014F,
/* 296 */ 0x022F,0x00F6,0x1ECF,0x0151,0x01D2,0x020D,0x020F,0x01A1,
/* 304 */ 0x1ECD,0x01EB,0x1E55,0x1E57,0x0155,0x1E59,0x0159,0x0211,
/* 312 */ 0x0213,0x1E5B,0x0157,0x1E5F,0x015B,0x015D,0x1E61,0x0161,
/* 320 */ 0x1E63,0x0219,0x015F,0x1E6B,0x1E97,0x0165,0x1E6D,0x021B,
/* 328 */ 0x0163,0x1E71,0x1E6F,0x00F9,0x00FA,0x00FB,0x0169,0x016B,
/* 336 */ 0x016D,0x00FC,0x1EE7,0x016F,0x0171,0x01D4,0x0215,0x0217,
/* 344 */ 0x01B0,0x1EE5,0x1E73,0x0173,0x1E77,0x1E75,0x1E7D,0x1E7F,
/* 352 */ 0x1E81,0x1E83,0x0175,0x1E87,0x1E85,0x1E98,0x1E89,0x1E8B,
/* 360 */ 0x1E8D,0x1EF3,0x00FD,0x0177,0x1EF9,0x0233,0x1E8F,0x00FF,
/* 368 */ 0x1EF7,0x1E99,0x1EF5,0x017A,0x1E91,0x017C,0x017E,0x1E93,
/* 376 */ 0x1E95,0x1FED,0x0385,0x1FC1,0x1EA6,0x1EA4,0x1EAA,0x1EA8,
/* 384 */ 0x01DE,0x01FA,0x01FC,0x01E2,0x1E08,0x1EC0,0x1EBE,0x1EC4,
/* 392 */ 0x1EC2,0x1E2E,0x1ED2,0x1ED0,0x1ED6,0x1ED4,0x1E4C,0x022C,
/* 400 */ 0x1E4E,0x022A,0x01FE,0x01DB,0x01D7,0x01D5,0x01D9,0x1EA7,
/* 408 */ 0x1EA5,0x1EAB,0x1EA9,0x01DF,0x01FB,0x01FD,0x01E3,0x1E09,
/* 416 */ 0x1EC1,0x1EBF,0x1EC5,0x1EC3,0x1E2F,0x1ED3,0x1ED1,0x1ED7,
/* 424 */ 0x1ED5,0x1E4D,0x022D,0x1E4F,0x022B,0x01FF,0x01DC,0x01D8,
/* 432 */ 0x01D6,0x01DA,0x1EB0,0x1EAE,0x1EB4,0x1EB2,0x1EB1,0x1EAF,
/* 440 */ 0x1EB5,0x1EB3,0x1E14,0x1E16,0x1E15,0x1E17,0x1E50,0x1E52,
/* 448 */ 0x1E51,0x1E53,0x1E64,0x1E65,0x1E66,0x1E67,0x1E78,0x1E79,
/* 456 */ 0x1E7A,0x1E7B,0x1E9B,0x1EDC,0x1EDA,0x1EE0,0x1EDE,0x1EE2,
/* 464 */ 0x1EDD,0x1EDB,0x1EE1,0x1EDF,0x1EE3,0x1EEA,0x1EE8,0x1EEE,
/* 472 */ 0x1EEC,0x1EF0,0x1EEB,0x1EE9,0x1EEF,0x1EED,0x1EF1,0x01EE,
/* 480 */ 0x01EC,0x01ED,0x01E0,0x01E1,0x1E1C,0x1E1D,0x0230,0x0231,
/* 488 */ 0x01EF,0x1FBA,0x0386,0x1FB9,0x1FB8,0x1F08,0x1F09,0x1FBC,
/* 496 */ 0x1FC8,0x0388,0x1F18,0x1F19,0x1FCA,0x0389,0x1F28,0x1F29,
/* 504 */ 0x1FCC,0x1FDA,0x038A,0x1FD9,0x1FD8,0x03AA,0x1F38,0x1F39,
/* 512 */ 0x1FF8,0x038C,0x1F48,0x1F49,0x1FEC,0x1FEA,0x038E,0x1FE9,
/* 520 */ 0x1FE8,0x03AB,0x1F59,0x1FFA,0x038F,0x1F68,0x1F69,0x1FFC,
/* 528 */ 0x1FB4,0x1FC4,0x1F70,0x03AC,0x1FB1,0x1FB0,0x1F00,0x1F01,
/* 536 */ 0x1FB6,0x1FB3,0x1F72,0x03AD,0x1F10,0x1F11,0x1F74,0x03AE,
/* 544 */ 0x1F20,0x1F21,0x1FC6,0x1FC3,0x1F76,0x03AF,0x1FD1,0x1FD0,
/* 552 */ 0x03CA,0x1F30,0x1F31,0x1FD6,0x1F78,0x03CC,0x1F40,0x1F41,
/* 560 */ 0x1FE4,0x1FE5,0x1F7A,0x03CD,0x1FE1,0x1FE0,0x03CB,0x1F50,
/* 568 */ 0x1F51,0x1FE6,0x1F7C,0x03CE,0x1F60,0x1F61,0x1FF6,0x1FF3,
/* 576 */ 0x1FD2,0x0390,0x1FD7,0x1FE2,0x03B0,0x1FE7,0x1FF4,0x03D3,
/* 584 */ 0x03D4,0x0407,0x04D0,0x04D2,0x0403,0x0400,0x04D6,0x0401,
/* 592 */ 0x04C1,0x04DC,0x04DE,0x040D,0x04E2,0x0419,0x04E4,0x040C,
/* 600 */ 0x04E6,0x04EE,0x040E,0x04F0,0x04F2,0x04F4,0x04F8,0x04EC,
/* 608 */ 0x04D1,0x04D3,0x0453,0x0450,0x04D7,0x0451,0x04C2,0x04DD,
/* 616 */ 0x04DF,0x045D,0x04E3,0x0439,0x04E5,0x045C,0x04E7,0x04EF,
/* 624 */ 0x045E,0x04F1,0x04F3,0x04F5,0x04F9,0x04ED,0x0457,0x0476,
/* 632 */ 0x0477,0x04DA,0x04DB,0x04EA,0x04EB,0x0622,0x0623,0x0625,
/* 640 */ 0x0624,0x0626,0x06C2,0x06D3,0x06C0,0x0929,0x0931,0x0934,
/* 648 */ 0x09CB,0x09CC,0x0B4B,0x0B48,0x0B4C,0x0B94,0x0BCA,0x0BCC,
/* 656 */ 0x0BCB,0x0C48,0x0CC0,0x0CCA,0x0CC7,0x0CC8,0x0CCB,0x0D4A,
/* 664 */ 0x0D4C,0x0D4B,0x0DDA,0x0DDC,0x0DDE,0x0DDD,0x1026,0x1B06,
/* 672 */ 0x1B08,0x1B0A,0x1B0C,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,0x1F6F,0x1FA9,0x1FAA,0x1FAB,0x1FAC,0x1FAD,0x1FAE,
/* 816 */ 0x1FAF,0x1FB2,0x1FC2,0x1FF2,0x1FB7,0x1FCD,0x1FCE,0x1FCF,
/* 824 */ 0x1FC7,0x1FF7,0x1FDD,0x1FDE,0x1FDF,0x219A,0x219B,0x21AE,
/* 832 */ 0x21CD,0x21CF,0x21CE,0x2204,0x2209,0x220C,0x2224,0x2226,
/* 840 */ 0x2241,0x2244,0x2247,0x2249,0x226D,0x2262,0x2270,0x2271,
/* 848 */ 0x2274,0x2275,0x2278,0x2279,0x2280,0x2281,0x22E0,0x22E1,
/* 856 */ 0x2284,0x2285,0x2288,0x2289,0x22E2,0x22E3,0x22AC,0x22AD,
/* 864 */ 0x22AE,0x22AF,0x22EA,0x22EB,0x22EC,0x22ED,0x3094,0x304C,
/* 872 */ 0x304E,0x3050,0x3052,0x3054,0x3056,0x3058,0x305A,0x305C,
/* 880 */ 0x305E,0x3060,0x3062,0x3065,0x3067,0x3069,0x3070,0x3071,
/* 888 */ 0x3073,0x3074,0x3076,0x3077,0x3079,0x307A,0x307C,0x307D,
/* 896 */ 0x309E,0x30F4,0x30AC,0x30AE,0x30B0,0x30B2,0x30B4,0x30B6,
/* 904 */ 0x30B8,0x30BA,0x30BC,0x30BE,0x30C0,0x30C2,0x30C5,0x30C7,
/* 912 */ 0x30C9,0x30D0,0x30D1,0x30D3,0x30D4,0x30D6,0x30D7,0x30D9,
/* 920 */ 0x30DA,0x30DC,0x30DD,0x30F7,0x30F8,0x30F9,0x30FA,0x30FE,
/* 928 */ 0x1109A,0x1109C,0x110AB,0x1112E,0x1112F,0x1134B,0x1134C,0x114BC,
/* 936 */ 0x114BB,0x114BE,0x115BA,0x115BB
};
#endif /* UNICODE_COMPOSE_H */
utf8/src/utf8lite/src/private/array.h 0000644 0001762 0000144 00000005262 13301551651 017230 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef UTF8LITE_ARRAY_H
#define UTF8LITE_ARRAY_H
/**
* \file array.h
*
* Dynamic array, growing to accommodate more elements.
*/
#include
/**
* Grow an array to accommodate more elements, possibly re-allocating.
*
* \param baseptr pointer to pointer to first element
* \param sizeptr pointer to the capacity (in elements) of the array
* \param width size of each element
* \param count number of occupied elements
* \param nadd number of elements to append after the `count` occupied
* elements
*
* \returns 0 on success
*/
int utf8lite_array_grow(void **baseptr, int *sizeptr, size_t width, int count,
int nadd);
/**
* Determine the capacity for an array that needs to grow.
*
* \param sizeptr pointer to the capacity (in elements) of the array
* \param width size of each element
* \param count number of occupied elements
* \param nadd number of elements to append after the `count` occupied
* elements
*
* \returns 0 on success, `UTF8LITE_ERROR_OVERFLOW` on overflow
*/
int utf8lite_array_size_add(int *sizeptr, size_t width, int count, int nadd);
/**
* Grow an big array to accommodate more elements, possibly re-allocating.
*
* \param baseptr pointer to pointer to first element
* \param sizeptr pointer to the capacity (in elements) of the array
* \param width size of each element
* \param count number of occupied elements
* \param nadd number of elements to append after the `count` occupied
* elements
*
* \returns 0 on success
*/
int utf8lite_bigarray_grow(void **baseptr, size_t *sizeptr, size_t width,
size_t count, size_t nadd);
/**
* Determine the capacity for an array that needs to grow.
*
* \param sizeptr pointer to the capacity (in elements) of the array
* \param width size of each element
* \param count number of occupied elements
* \param nadd number of elements to append after the `count` occupied
* elements
*
* \returns 0 on success, `UTF8LITE_ERROR_OVERFLOW` on overflow
*/
int utf8lite_bigarray_size_add(size_t *sizeptr, size_t width, size_t count,
size_t nadd);
#endif /* UTF8LITE_ARRAY_H */
utf8/src/utf8lite/src/private/combining.h 0000644 0001762 0000144 00000254710 13301551651 020063 0 ustar ligges users /* This file is automatically generated. DO NOT EDIT!
Instead, edit gen-combining.py and re-run. */
/*
* Canonical_Combining_Class property values.
*
* Defined in UAX #44 "Unicode Character Database"
*
* http://www.unicode.org/reports/tr44/
*
* Section 5.7.4, Table 15.
*
*
* We use the two-stage lookup strategy described at
*
* http://www.strchr.com/multi-stage_tables
*
*/
#ifndef UNICODE_COMBINING_H
#define UNICODE_COMBINING_H
#include
static const uint8_t combining_class_stage1[] = {
/* U+0000 */ 0, 0, 0, 0, 0, 0, 1, 0, 0, 2, 0, 3, 4, 5, 6, 7,
/* U+0800 */ 8, 9, 10, 11, 11, 11, 11, 12, 13, 11, 14, 15, 16, 17, 18, 19,
/* U+1000 */ 20, 21, 0, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 0, 23, 24,
/* U+1800 */ 0, 25, 26, 0, 27, 28, 29, 30, 31, 32, 0, 33, 0, 0, 0, 0,
/* U+2000 */ 0, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* U+2800 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 35, 36, 37, 0, 0, 0, 0,
/* U+3000 */ 38, 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* U+3800 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* U+4000 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* U+4800 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* U+5000 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* U+5800 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* U+6000 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* U+6800 */ 0, 0, 0, 0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 0, 0, 0, 0, 0,
/* U+10D000 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* U+10D800 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* U+10E000 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* U+10E800 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* U+10F000 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* U+10F800 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
};
static const uint8_t combining_class_stage2[][128] = {
/* block 0 */
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
},
/* block 1 */
{230,230,230,230,230,230,230,230,230,230,230,230,230,230,230,230,
230,230,230,230,230,232,220,220,220,220,232,216,220,220,220,220,
220,202,202,220,220,220,220,202,202,220,220,220,220,220,220,220,
220,220,220,220, 1, 1, 1, 1, 1,220,220,220,220,230,230,230,
230,230,230,230,230,240,230,220,220,220,230,230,230,220,220, 0,
230,230,230,220,220,220,220,230,232,220,220,230,233,234,234,233,
234,234,233,230,230,230,230,230,230,230,230,230,230,230,230,230,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
},
/* block 2 */
{ 0, 0, 0,230,230,230,230,230, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
},
/* block 3 */
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0,220,230,230,230,230,220,230,230,230,222,220,230,230,230,230,
230,230,220,220,220,220,220,220,230,230,220,230,230,222,228,230,
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 19, 20, 21, 22, 0, 23,
0, 24, 25, 0,230,220, 0, 18, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
},
/* block 4 */
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
230,230,230,230,230,230,230,230, 30, 31, 32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 27, 28, 29, 30, 31,
32, 33, 34,230,230,220,220,230,230,230,230,230,220,230,230,220,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
35, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
},
/* block 5 */
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,230,230,230,230,230,230,230, 0, 0,230,
230,230,230,220,230, 0, 0,230,230, 0,220,230,230,220, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
},
/* block 6 */
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 36, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
230,220,230,230,220,230,230,220,220,220,230,220,220,230,220,230,
230,230,220,230,220,230,220,230,220,230,230, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
},
/* block 7 */
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,230,230,230,230,230,
230,230,220,230, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
},
/* block 8 */
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,230,230,230,230, 0,230,230,230,230,230,
230,230,230,230, 0,230,230,230, 0,230,230,230,230,230, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0,220,220,220, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
},
/* block 9 */
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0,230,230,230,230,230,230,230,230,230,230,230,230,
230,230, 0,220,230,230,220,230,230,220,230,230,230,220,220,220,
27, 28, 29,230,230,230,220,230,230,220,220,230,230,230,230,230
},
/* block 10 */
{ 0, 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230,230,230,230,220,230,230,234,214,220,
202,230,230,230,230,230,230,230,230,230,230,230,230,230,230,230,
230,230,230,230,230,230,230,230,230,230,230,230,230,230,230,230,
230,230,230,230,230,230,232,228,228,220, 0,230,233,220,230,220
},
/* block 34 */
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
230,230, 1, 1,230,230,230,230, 1, 1, 1,230,230, 0, 0, 0,
0,230, 0, 0, 0, 1, 1,230,220,230, 1, 1,220,220,220,220,
230, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
},
/* block 35 */
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,230,
230,230, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
},
/* block 36 */
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0,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, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
},
/* block 76 */
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0,230,230,230, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
},
/* block 77 */
{230,230,230,230,230,230,230, 0,230,230,230,230,230,230,230,230,
230,230,230,230,230,230,230,230,230, 0, 0,230,230,230,230,230,
230,230, 0,230,230, 0,230,230,230,230,230, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
},
/* block 78 */
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
220,220,220,220,220,220,220, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
},
/* block 79 */
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0,230,230,230,230,230,230, 7, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
}
};
static uint8_t combining_class(int32_t code)
{
const int32_t block_size = 128;
uint8_t i = combining_class_stage1[code / block_size];
return combining_class_stage2[i][code % block_size];
}
#endif /* UNICODE_COMBINING_H */
utf8/src/utf8lite/src/private/graphbreak.h 0000644 0001762 0000144 00000337451 13301551651 020230 0 ustar ligges users /* This file is automatically generated. DO NOT EDIT!
Instead, edit gen-graphbreak.py and re-run. */
/*
* Unicode Grapheme_Break property values.
*
* Defined in UAX #29 "Unicode Text Segmentation"
*
* http://www.unicode.org/reports/tr29/
*
* Section 4.1, Table 3.
*
*
* We use the two-stage lookup strategy described at
*
* http://www.strchr.com/multi-stage_tables
*
*/
#ifndef UNICODE_GRAPHBREAK_H
#define UNICODE_GRAPHBREAK_H
#include
enum graph_break_prop {
GRAPH_BREAK_OTHER = 0,
GRAPH_BREAK_CR = 1,
GRAPH_BREAK_CONTROL = 2,
GRAPH_BREAK_E_BASE = 3,
GRAPH_BREAK_E_BASE_GAZ = 4,
GRAPH_BREAK_E_MODIFIER = 5,
GRAPH_BREAK_EXTEND = 6,
GRAPH_BREAK_GLUE_AFTER_ZWJ = 7,
GRAPH_BREAK_L = 8,
GRAPH_BREAK_LF = 9,
GRAPH_BREAK_LV = 10,
GRAPH_BREAK_LVT = 11,
GRAPH_BREAK_PREPEND = 12,
GRAPH_BREAK_REGIONAL_INDICATOR = 13,
GRAPH_BREAK_SPACINGMARK = 14,
GRAPH_BREAK_T = 15,
GRAPH_BREAK_V = 16,
GRAPH_BREAK_ZWJ = 17
};
static const uint8_t graph_break_stage1[] = {
/* U+0000 */ 0, 1, 2, 2, 2, 2, 3, 2, 2, 4, 2, 5, 6, 7, 8, 9,
/* U+0800 */ 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
/* U+1000 */ 26, 27, 28, 29, 2, 2, 30, 2, 2, 2, 2, 2, 2, 2, 31, 32,
/* U+1800 */ 33, 34, 35, 2, 36, 37, 38, 39, 40, 41, 2, 42, 2, 2, 2, 2,
/* U+2000 */ 43, 44, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 45, 46, 47, 2,
/* U+2800 */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 48, 49, 50, 2, 2, 2, 2,
/* U+3000 */ 51, 52, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
/* U+3800 */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
/* U+4000 */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
/* U+4800 */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
/* U+5000 */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
/* U+5800 */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
/* U+6000 */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
/* U+6800 */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
/* U+7000 */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
/* U+7800 */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
/* U+8000 */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
/* U+8800 */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
/* U+9000 */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
/* U+9800 */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
/* U+A000 */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 53, 54, 2, 2,
/* U+A800 */ 55, 56, 57, 58, 59, 60, 2, 61, 62, 63, 64, 65, 66, 67, 68, 62,
/* U+B000 */ 63, 64, 65, 66, 67, 68, 62, 63, 64, 65, 66, 67, 68, 62, 63, 64,
/* U+B800 */ 65, 66, 67, 68, 62, 63, 64, 65, 66, 67, 68, 62, 63, 64, 65, 66,
/* U+C000 */ 67, 68, 62, 63, 64, 65, 66, 67, 68, 62, 63, 64, 65, 66, 67, 68,
/* U+C800 */ 62, 63, 64, 65, 66, 67, 68, 62, 63, 64, 65, 66, 67, 68, 62, 63,
/* U+D000 */ 64, 65, 66, 67, 68, 62, 63, 64, 65, 66, 67, 68, 62, 63, 64, 69,
/* U+D800 */ 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70,
/* U+E000 */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
/* U+E800 */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
/* U+F000 */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
/* U+F800 */ 2, 2, 2, 2, 2, 2, 71, 2, 2, 2, 2, 2, 72, 73, 2, 74,
/* U+10000 */ 2, 2, 2, 75, 2, 76, 77, 2, 2, 2, 2, 2, 2, 2, 2, 2,
/* U+10800 */ 2, 2, 2, 2, 78, 79, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
/* U+11000 */ 80, 81, 82, 83, 84, 85, 86, 2, 87, 88, 2, 89, 90, 91, 92, 2,
/* U+11800 */ 2, 2, 2, 2, 93, 94, 2, 2, 95, 96, 97, 2, 2, 2, 2, 2,
/* U+12000 */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
/* U+12800 */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
/* U+13000 */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
/* U+13800 */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
/* U+14000 */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
/* U+14800 */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
/* U+15000 */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
/* U+15800 */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
/* U+16000 */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 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 0, 0, 0, 0, 0, 0, 0
},
/* block 27 */
{ 0, 0, 6, 0, 14, 6, 6, 0, 0, 0, 0, 0, 0, 6, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
},
/* block 28 */
{ 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16
},
/* block 29 */
{ 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
16, 16, 16, 16, 16, 16, 16, 16, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 6, 6, 14, 14,
0, 0, 0, 0, 0, 14, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0
},
/* block 61 */
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 14, 14, 6, 14, 14, 6, 14, 14, 0, 14, 6, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
},
/* block 62 */
{ 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 10, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 10, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11
},
/* block 63 */
{ 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 10, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 10, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 10, 11, 11, 11
},
/* block 64 */
{ 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 10, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 10, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11
},
/* block 65 */
{ 11, 11, 11, 11, 11, 11, 11, 11, 10, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 10, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 10, 11, 11, 11, 11, 11, 11, 11
},
/* block 66 */
{ 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 10, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 10, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11
},
/* block 67 */
{ 11, 11, 11, 11, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 10, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 10, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11
},
/* block 68 */
{ 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 10, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 10, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11
},
/* block 69 */
{ 11, 11, 11, 11, 11, 11, 11, 11, 10, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
16, 16, 16, 16, 16, 16, 16, 0, 0, 0, 0, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 0, 0, 0, 0
},
/* block 70 */
{ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2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6, 6,
6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6
},
/* block 123 */
{ 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6
},
/* block 124 */
{ 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2
}
};
static int graph_break(int32_t code)
{
const int32_t block_size = 128;
uint8_t i = graph_break_stage1[code / block_size];
return graph_break_stage2[i][code % block_size];
}
#endif /* UNICODE_GRAPHBREAK_H */
utf8/src/utf8lite/src/private/decompose.h 0000644 0001762 0000144 00000741174 13301551651 020101 0 ustar ligges users /* This file is automatically generated. DO NOT EDIT!
Instead, edit gen-decompose.py and re-run. */
/*
* Decomposition mappings.
*
* Defined in UAX #44 "Unicode Character Database"
*
* http://www.unicode.org/reports/tr44/
*
* Section 5.7.3, Table 14.
*
*
* We use a two-stage lookup strategy as described at
*
* http://www.strchr.com/multi-stage_tables
*
*/
#ifndef UNICODE_DECOMPOSE_H
#define UNICODE_DECOMPOSE_H
#include
/* decomposition_type
* ------------------
* compatibility decompositions have decomposition_type != 0
*/
enum decomposition_type {
DECOMPOSITION_HANGUL = -1,
DECOMPOSITION_NONE = 0,
DECOMPOSITION_FONT = 1,
DECOMPOSITION_NOBREAK = 2,
DECOMPOSITION_INITIAL = 3,
DECOMPOSITION_MEDIAL = 4,
DECOMPOSITION_FINAL = 5,
DECOMPOSITION_ISOLATED = 6,
DECOMPOSITION_CIRCLE = 7,
DECOMPOSITION_SUPER = 8,
DECOMPOSITION_SUB = 9,
DECOMPOSITION_VERTICAL = 10,
DECOMPOSITION_WIDE = 11,
DECOMPOSITION_NARROW = 12,
DECOMPOSITION_SMALL = 13,
DECOMPOSITION_SQUARE = 14,
DECOMPOSITION_FRACTION = 15,
DECOMPOSITION_COMPAT = 16
};
/* decomposition
* -------------
* type: the decomposition_type
*
* length: the length (in codepoints) of the decomposition mapping,
* or 0 if there is no decomposition
*
* data: the mapped-to codepoint (length = 1), or
* an index into the `decomposition_mapping` array, pointing
* to the first codepoint in the mapping (length > 1)
*/
struct decomposition {
int type : 6;
unsigned length : 5;
unsigned data : 21;
};
#define DECOMPOSITION_BLOCK_SIZE 256
static const uint8_t decomposition_stage1[] = {
/* U+0000 */ 0, 1, 2, 3, 4, 5, 6, 7, 7, 8, 9, 10, 11, 12, 13, 14,
/* U+1000 */ 15, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 16, 7, 17, 18, 19,
/* U+2000 */ 20, 21, 22, 23, 24, 7, 7, 7, 7, 7, 25, 7, 26, 27, 28, 29,
/* U+3000 */ 30, 31, 32, 33, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
/* U+4000 */ 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
/* U+5000 */ 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
/* U+6000 */ 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
/* U+7000 */ 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
/* U+8000 */ 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
/* U+9000 */ 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
/* U+A000 */ 7, 7, 7, 7, 7, 7, 34, 35, 7, 7, 7, 36, 37, 37, 37, 37,
/* U+B000 */ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
/* U+C000 */ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
/* U+D000 */ 37, 37, 37, 37, 37, 37, 37, 38, 7, 7, 7, 7, 7, 7, 7, 7,
/* U+E000 */ 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
/* U+F000 */ 7, 7, 7, 7, 7, 7, 7, 7, 7, 39, 40, 41, 42, 43, 44, 45,
/* U+10000 */ 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
/* U+11000 */ 46, 47, 7, 48, 49, 50, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
/* U+12000 */ 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
/* U+13000 */ 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,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 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
/* U+109000 */ 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
/* U+10A000 */ 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
/* U+10B000 */ 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
/* U+10C000 */ 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
/* U+10D000 */ 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
/* U+10E000 */ 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
/* U+10F000 */ 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7
};
static const struct decomposition decomposition_stage2[][256] = {
/* block 0 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{2,1,0x00020},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{16,2,0x00000},{0,0,0},
{8,1,0x00061},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{16,2,0x00002},{0,0,0},{0,0,0},{8,1,0x00032},{8,1,0x00033},
{16,2,0x00004},{16,1,0x003BC},{0,0,0},{0,0,0},{16,2,0x00006},
{8,1,0x00031},{8,1,0x0006F},{0,0,0},{15,3,0x00008},{15,3,0x0000B},
{15,3,0x0000E},{0,0,0},{0,2,0x00011},{0,2,0x00013},{0,2,0x00015},
{0,2,0x00017},{0,2,0x00019},{0,2,0x0001B},{0,0,0},{0,2,0x0001D},
{0,2,0x0001F},{0,2,0x00021},{0,2,0x00023},{0,2,0x00025},{0,2,0x00027},
{0,2,0x00029},{0,2,0x0002B},{0,2,0x0002D},{0,0,0},{0,2,0x0002F},
{0,2,0x00031},{0,2,0x00033},{0,2,0x00035},{0,2,0x00037},{0,2,0x00039},
{0,0,0},{0,0,0},{0,2,0x0003B},{0,2,0x0003D},{0,2,0x0003F},
{0,2,0x00041},{0,2,0x00043},{0,0,0},{0,0,0},{0,2,0x00045},
{0,2,0x00047},{0,2,0x00049},{0,2,0x0004B},{0,2,0x0004D},{0,2,0x0004F},
{0,0,0},{0,2,0x00051},{0,2,0x00053},{0,2,0x00055},{0,2,0x00057},
{0,2,0x00059},{0,2,0x0005B},{0,2,0x0005D},{0,2,0x0005F},{0,2,0x00061},
{0,0,0},{0,2,0x00063},{0,2,0x00065},{0,2,0x00067},{0,2,0x00069},
{0,2,0x0006B},{0,2,0x0006D},{0,0,0},{0,0,0},{0,2,0x0006F},
{0,2,0x00071},{0,2,0x00073},{0,2,0x00075},{0,2,0x00077},{0,0,0},
{0,2,0x00079}
},
/* block 1 */
{{0,2,0x0007B},{0,2,0x0007D},{0,2,0x0007F},{0,2,0x00081},{0,2,0x00083},
{0,2,0x00085},{0,2,0x00087},{0,2,0x00089},{0,2,0x0008B},{0,2,0x0008D},
{0,2,0x0008F},{0,2,0x00091},{0,2,0x00093},{0,2,0x00095},{0,2,0x00097},
{0,2,0x00099},{0,0,0},{0,0,0},{0,2,0x0009B},{0,2,0x0009D},
{0,2,0x0009F},{0,2,0x000A1},{0,2,0x000A3},{0,2,0x000A5},{0,2,0x000A7},
{0,2,0x000A9},{0,2,0x000AB},{0,2,0x000AD},{0,2,0x000AF},{0,2,0x000B1},
{0,2,0x000B3},{0,2,0x000B5},{0,2,0x000B7},{0,2,0x000B9},{0,2,0x000BB},
{0,2,0x000BD},{0,2,0x000BF},{0,2,0x000C1},{0,0,0},{0,0,0},
{0,2,0x000C3},{0,2,0x000C5},{0,2,0x000C7},{0,2,0x000C9},{0,2,0x000CB},
{0,2,0x000CD},{0,2,0x000CF},{0,2,0x000D1},{0,2,0x000D3},{0,0,0},
{16,2,0x000D5},{16,2,0x000D7},{0,2,0x000D9},{0,2,0x000DB},{0,2,0x000DD},
{0,2,0x000DF},{0,0,0},{0,2,0x000E1},{0,2,0x000E3},{0,2,0x000E5},
{0,2,0x000E7},{0,2,0x000E9},{0,2,0x000EB},{16,2,0x000ED},{16,2,0x000EF},
{0,0,0},{0,0,0},{0,2,0x000F1},{0,2,0x000F3},{0,2,0x000F5},
{0,2,0x000F7},{0,2,0x000F9},{0,2,0x000FB},{16,2,0x000FD},{0,0,0},
{0,0,0},{0,2,0x000FF},{0,2,0x00101},{0,2,0x00103},{0,2,0x00105},
{0,2,0x00107},{0,2,0x00109},{0,0,0},{0,0,0},{0,2,0x0010B},
{0,2,0x0010D},{0,2,0x0010F},{0,2,0x00111},{0,2,0x00113},{0,2,0x00115},
{0,2,0x00117},{0,2,0x00119},{0,2,0x0011B},{0,2,0x0011D},{0,2,0x0011F},
{0,2,0x00121},{0,2,0x00123},{0,2,0x00125},{0,2,0x00127},{0,2,0x00129},
{0,2,0x0012B},{0,2,0x0012D},{0,0,0},{0,0,0},{0,2,0x0012F},
{0,2,0x00131},{0,2,0x00133},{0,2,0x00135},{0,2,0x00137},{0,2,0x00139},
{0,2,0x0013B},{0,2,0x0013D},{0,2,0x0013F},{0,2,0x00141},{0,2,0x00143},
{0,2,0x00145},{0,2,0x00147},{0,2,0x00149},{0,2,0x0014B},{0,2,0x0014D},
{0,2,0x0014F},{0,2,0x00151},{0,2,0x00153},{0,2,0x00155},{0,2,0x00157},
{0,2,0x00159},{0,2,0x0015B},{16,1,0x00073},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,2,0x0015D},{0,2,0x0015F},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,2,0x00161},{0,2,0x00163},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{16,2,0x00165},{16,2,0x00167},{16,2,0x00169},{16,2,0x0016B},
{16,2,0x0016D},{16,2,0x0016F},{16,2,0x00171},{16,2,0x00173},{16,2,0x00175},
{0,2,0x00177},{0,2,0x00179},{0,2,0x0017B},{0,2,0x0017D},{0,2,0x0017F},
{0,2,0x00181},{0,2,0x00183},{0,2,0x00185},{0,2,0x00187},{0,2,0x00189},
{0,2,0x0018B},{0,2,0x0018D},{0,2,0x0018F},{0,2,0x00191},{0,2,0x00193},
{0,2,0x00195},{0,0,0},{0,2,0x00197},{0,2,0x00199},{0,2,0x0019B},
{0,2,0x0019D},{0,2,0x0019F},{0,2,0x001A1},{0,0,0},{0,0,0},
{0,2,0x001A3},{0,2,0x001A5},{0,2,0x001A7},{0,2,0x001A9},{0,2,0x001AB},
{0,2,0x001AD},{0,2,0x001AF},{0,2,0x001B1},{0,2,0x001B3},{0,2,0x001B5},
{0,2,0x001B7},{16,2,0x001B9},{16,2,0x001BB},{16,2,0x001BD},{0,2,0x001BF},
{0,2,0x001C1},{0,0,0},{0,0,0},{0,2,0x001C3},{0,2,0x001C5},
{0,2,0x001C7},{0,2,0x001C9},{0,2,0x001CB},{0,2,0x001CD},{0,2,0x001CF},
{0,2,0x001D1}
},
/* block 2 */
{{0,2,0x001D3},{0,2,0x001D5},{0,2,0x001D7},{0,2,0x001D9},{0,2,0x001DB},
{0,2,0x001DD},{0,2,0x001DF},{0,2,0x001E1},{0,2,0x001E3},{0,2,0x001E5},
{0,2,0x001E7},{0,2,0x001E9},{0,2,0x001EB},{0,2,0x001ED},{0,2,0x001EF},
{0,2,0x001F1},{0,2,0x001F3},{0,2,0x001F5},{0,2,0x001F7},{0,2,0x001F9},
{0,2,0x001FB},{0,2,0x001FD},{0,2,0x001FF},{0,2,0x00201},{0,2,0x00203},
{0,2,0x00205},{0,2,0x00207},{0,2,0x00209},{0,0,0},{0,0,0},
{0,2,0x0020B},{0,2,0x0020D},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,2,0x0020F},{0,2,0x00211},
{0,2,0x00213},{0,2,0x00215},{0,2,0x00217},{0,2,0x00219},{0,2,0x0021B},
{0,2,0x0021D},{0,2,0x0021F},{0,2,0x00221},{0,2,0x00223},{0,2,0x00225},
{0,2,0x00227},{0,2,0x00229},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{8,1,0x00068},{8,1,0x00266},{8,1,0x0006A},{8,1,0x00072},
{8,1,0x00279},{8,1,0x0027B},{8,1,0x00281},{8,1,0x00077},{8,1,0x00079},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{16,2,0x0022B},{16,2,0x0022D},{16,2,0x0022F},{16,2,0x00231},
{16,2,0x00233},{16,2,0x00235},{0,0,0},{0,0,0},{8,1,0x00263},
{8,1,0x0006C},{8,1,0x00073},{8,1,0x00078},{8,1,0x00295},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 3 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,1,0x00300},
{0,1,0x00301},{0,0,0},{0,1,0x00313},{0,2,0x00237},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,1,0x002B9},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{16,2,0x00239},{0,0,0},{0,0,0},
{0,0,0},{0,1,0x0003B},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{16,2,0x0023B},{0,2,0x0023D},{0,2,0x0023F},
{0,1,0x000B7},{0,2,0x00241},{0,2,0x00243},{0,2,0x00245},{0,0,0},
{0,2,0x00247},{0,0,0},{0,2,0x00249},{0,2,0x0024B},{0,2,0x0024D},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,2,0x0024F},{0,2,0x00251},{0,2,0x00253},{0,2,0x00255},{0,2,0x00257},
{0,2,0x00259},{0,2,0x0025B},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,2,0x0025D},{0,2,0x0025F},{0,2,0x00261},
{0,2,0x00263},{0,2,0x00265},{0,0,0},{16,1,0x003B2},{16,1,0x003B8},
{16,1,0x003A5},{0,2,0x00267},{0,2,0x00269},{16,1,0x003C6},{16,1,0x003C0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{16,1,0x003BA},{16,1,0x003C1},{16,1,0x003C2},{0,0,0},{16,1,0x00398},
{16,1,0x003B5},{0,0,0},{0,0,0},{0,0,0},{16,1,0x003A3},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 4 */
{{0,2,0x0026B},{0,2,0x0026D},{0,0,0},{0,2,0x0026F},{0,0,0},
{0,0,0},{0,0,0},{0,2,0x00271},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,2,0x00273},{0,2,0x00275},{0,2,0x00277},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,2,0x00279},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,2,0x0027B},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,2,0x0027D},{0,2,0x0027F},{0,0,0},{0,2,0x00281},{0,0,0},
{0,0,0},{0,0,0},{0,2,0x00283},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,2,0x00285},{0,2,0x00287},{0,2,0x00289},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,2,0x0028B},{0,2,0x0028D},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,2,0x0028F},{0,2,0x00291},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,2,0x00293},{0,2,0x00295},
{0,2,0x00297},{0,2,0x00299},{0,0,0},{0,0,0},{0,2,0x0029B},
{0,2,0x0029D},{0,0,0},{0,0,0},{0,2,0x0029F},{0,2,0x002A1},
{0,2,0x002A3},{0,2,0x002A5},{0,2,0x002A7},{0,2,0x002A9},{0,0,0},
{0,0,0},{0,2,0x002AB},{0,2,0x002AD},{0,2,0x002AF},{0,2,0x002B1},
{0,2,0x002B3},{0,2,0x002B5},{0,0,0},{0,0,0},{0,2,0x002B7},
{0,2,0x002B9},{0,2,0x002BB},{0,2,0x002BD},{0,2,0x002BF},{0,2,0x002C1},
{0,2,0x002C3},{0,2,0x002C5},{0,2,0x002C7},{0,2,0x002C9},{0,2,0x002CB},
{0,2,0x002CD},{0,0,0},{0,0,0},{0,2,0x002CF},{0,2,0x002D1},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 5 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{16,2,0x002D3},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 6 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,2,0x002D5},
{0,2,0x002D7},{0,2,0x002D9},{0,2,0x002DB},{0,2,0x002DD},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{16,2,0x002DF},{16,2,0x002E1},{16,2,0x002E3},
{16,2,0x002E5},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,2,0x002E7},{0,0,0},{0,2,0x002E9},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,2,0x002EB},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 7 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 8 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,2,0x002ED},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,2,0x002EF},
{0,0,0},{0,0,0},{0,2,0x002F1},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,2,0x002F3},{0,2,0x002F5},
{0,2,0x002F7},{0,2,0x002F9},{0,2,0x002FB},{0,2,0x002FD},{0,2,0x002FF},
{0,2,0x00301},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,2,0x00303},{0,2,0x00305},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,2,0x00307},{0,2,0x00309},{0,0,0},{0,2,0x0030B},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 9 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,2,0x0030D},{0,0,0},{0,0,0},{0,2,0x0030F},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,2,0x00311},
{0,2,0x00313},{0,2,0x00315},{0,0,0},{0,0,0},{0,2,0x00317},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 10 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,2,0x00319},{0,0,0},{0,0,0},
{0,2,0x0031B},{0,2,0x0031D},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,2,0x0031F},{0,2,0x00321},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,2,0x00323},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,2,0x00325},{0,2,0x00327},{0,2,0x00329},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 11 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,2,0x0032B},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,2,0x0032D},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,2,0x0032F},
{0,2,0x00331},{0,0,0},{0,2,0x00333},{0,2,0x00335},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 12 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,2,0x00337},
{0,2,0x00339},{0,2,0x0033B},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,2,0x0033D},{0,0,0},
{0,2,0x0033F},{0,2,0x00341},{0,2,0x00343},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 13 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{16,2,0x00345},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{16,2,0x00347},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{16,2,0x00349},{16,2,0x0034B},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 14 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{2,1,0x00F0B},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,2,0x0034D},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,2,0x0034F},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,2,0x00351},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,2,0x00353},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,2,0x00355},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,2,0x00357},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,2,0x00359},{0,0,0},{0,2,0x0035B},{0,2,0x0035D},{16,2,0x0035F},
{0,2,0x00361},{16,2,0x00363},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,2,0x00365},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,2,0x00367},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,2,0x00369},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,2,0x0036B},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,2,0x0036D},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,2,0x0036F},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,2,0x00371},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 15 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,2,0x00373},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{8,1,0x010DC},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 16 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,2,0x00375},{0,0,0},{0,2,0x00377},{0,0,0},
{0,2,0x00379},{0,0,0},{0,2,0x0037B},{0,0,0},{0,2,0x0037D},
{0,0,0},{0,0,0},{0,0,0},{0,2,0x0037F},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,2,0x00381},
{0,0,0},{0,2,0x00383},{0,0,0},{0,0,0},{0,2,0x00385},
{0,2,0x00387},{0,0,0},{0,2,0x00389},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 17 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{8,1,0x00041},
{8,1,0x000C6},{8,1,0x00042},{0,0,0},{8,1,0x00044},{8,1,0x00045},
{8,1,0x0018E},{8,1,0x00047},{8,1,0x00048},{8,1,0x00049},{8,1,0x0004A},
{8,1,0x0004B},{8,1,0x0004C},{8,1,0x0004D},{8,1,0x0004E},{0,0,0},
{8,1,0x0004F},{8,1,0x00222},{8,1,0x00050},{8,1,0x00052},{8,1,0x00054},
{8,1,0x00055},{8,1,0x00057},{8,1,0x00061},{8,1,0x00250},{8,1,0x00251},
{8,1,0x01D02},{8,1,0x00062},{8,1,0x00064},{8,1,0x00065},{8,1,0x00259},
{8,1,0x0025B},{8,1,0x0025C},{8,1,0x00067},{0,0,0},{8,1,0x0006B},
{8,1,0x0006D},{8,1,0x0014B},{8,1,0x0006F},{8,1,0x00254},{8,1,0x01D16},
{8,1,0x01D17},{8,1,0x00070},{8,1,0x00074},{8,1,0x00075},{8,1,0x01D1D},
{8,1,0x0026F},{8,1,0x00076},{8,1,0x01D25},{8,1,0x003B2},{8,1,0x003B3},
{8,1,0x003B4},{8,1,0x003C6},{8,1,0x003C7},{9,1,0x00069},{9,1,0x00072},
{9,1,0x00075},{9,1,0x00076},{9,1,0x003B2},{9,1,0x003B3},{9,1,0x003C1},
{9,1,0x003C6},{9,1,0x003C7},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{8,1,0x0043D},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{8,1,0x00252},{8,1,0x00063},{8,1,0x00255},{8,1,0x000F0},{8,1,0x0025C},
{8,1,0x00066},{8,1,0x0025F},{8,1,0x00261},{8,1,0x00265},{8,1,0x00268},
{8,1,0x00269},{8,1,0x0026A},{8,1,0x01D7B},{8,1,0x0029D},{8,1,0x0026D},
{8,1,0x01D85},{8,1,0x0029F},{8,1,0x00271},{8,1,0x00270},{8,1,0x00272},
{8,1,0x00273},{8,1,0x00274},{8,1,0x00275},{8,1,0x00278},{8,1,0x00282},
{8,1,0x00283},{8,1,0x001AB},{8,1,0x00289},{8,1,0x0028A},{8,1,0x01D1C},
{8,1,0x0028B},{8,1,0x0028C},{8,1,0x0007A},{8,1,0x00290},{8,1,0x00291},
{8,1,0x00292},{8,1,0x003B8},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 18 */
{{0,2,0x0038B},{0,2,0x0038D},{0,2,0x0038F},{0,2,0x00391},{0,2,0x00393},
{0,2,0x00395},{0,2,0x00397},{0,2,0x00399},{0,2,0x0039B},{0,2,0x0039D},
{0,2,0x0039F},{0,2,0x003A1},{0,2,0x003A3},{0,2,0x003A5},{0,2,0x003A7},
{0,2,0x003A9},{0,2,0x003AB},{0,2,0x003AD},{0,2,0x003AF},{0,2,0x003B1},
{0,2,0x003B3},{0,2,0x003B5},{0,2,0x003B7},{0,2,0x003B9},{0,2,0x003BB},
{0,2,0x003BD},{0,2,0x003BF},{0,2,0x003C1},{0,2,0x003C3},{0,2,0x003C5},
{0,2,0x003C7},{0,2,0x003C9},{0,2,0x003CB},{0,2,0x003CD},{0,2,0x003CF},
{0,2,0x003D1},{0,2,0x003D3},{0,2,0x003D5},{0,2,0x003D7},{0,2,0x003D9},
{0,2,0x003DB},{0,2,0x003DD},{0,2,0x003DF},{0,2,0x003E1},{0,2,0x003E3},
{0,2,0x003E5},{0,2,0x003E7},{0,2,0x003E9},{0,2,0x003EB},{0,2,0x003ED},
{0,2,0x003EF},{0,2,0x003F1},{0,2,0x003F3},{0,2,0x003F5},{0,2,0x003F7},
{0,2,0x003F9},{0,2,0x003FB},{0,2,0x003FD},{0,2,0x003FF},{0,2,0x00401},
{0,2,0x00403},{0,2,0x00405},{0,2,0x00407},{0,2,0x00409},{0,2,0x0040B},
{0,2,0x0040D},{0,2,0x0040F},{0,2,0x00411},{0,2,0x00413},{0,2,0x00415},
{0,2,0x00417},{0,2,0x00419},{0,2,0x0041B},{0,2,0x0041D},{0,2,0x0041F},
{0,2,0x00421},{0,2,0x00423},{0,2,0x00425},{0,2,0x00427},{0,2,0x00429},
{0,2,0x0042B},{0,2,0x0042D},{0,2,0x0042F},{0,2,0x00431},{0,2,0x00433},
{0,2,0x00435},{0,2,0x00437},{0,2,0x00439},{0,2,0x0043B},{0,2,0x0043D},
{0,2,0x0043F},{0,2,0x00441},{0,2,0x00443},{0,2,0x00445},{0,2,0x00447},
{0,2,0x00449},{0,2,0x0044B},{0,2,0x0044D},{0,2,0x0044F},{0,2,0x00451},
{0,2,0x00453},{0,2,0x00455},{0,2,0x00457},{0,2,0x00459},{0,2,0x0045B},
{0,2,0x0045D},{0,2,0x0045F},{0,2,0x00461},{0,2,0x00463},{0,2,0x00465},
{0,2,0x00467},{0,2,0x00469},{0,2,0x0046B},{0,2,0x0046D},{0,2,0x0046F},
{0,2,0x00471},{0,2,0x00473},{0,2,0x00475},{0,2,0x00477},{0,2,0x00479},
{0,2,0x0047B},{0,2,0x0047D},{0,2,0x0047F},{0,2,0x00481},{0,2,0x00483},
{0,2,0x00485},{0,2,0x00487},{0,2,0x00489},{0,2,0x0048B},{0,2,0x0048D},
{0,2,0x0048F},{0,2,0x00491},{0,2,0x00493},{0,2,0x00495},{0,2,0x00497},
{0,2,0x00499},{0,2,0x0049B},{0,2,0x0049D},{0,2,0x0049F},{0,2,0x004A1},
{0,2,0x004A3},{0,2,0x004A5},{0,2,0x004A7},{0,2,0x004A9},{0,2,0x004AB},
{0,2,0x004AD},{0,2,0x004AF},{0,2,0x004B1},{0,2,0x004B3},{0,2,0x004B5},
{0,2,0x004B7},{0,2,0x004B9},{0,2,0x004BB},{0,2,0x004BD},{16,2,0x004BF},
{0,2,0x004C1},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,2,0x004C3},{0,2,0x004C5},{0,2,0x004C7},{0,2,0x004C9},{0,2,0x004CB},
{0,2,0x004CD},{0,2,0x004CF},{0,2,0x004D1},{0,2,0x004D3},{0,2,0x004D5},
{0,2,0x004D7},{0,2,0x004D9},{0,2,0x004DB},{0,2,0x004DD},{0,2,0x004DF},
{0,2,0x004E1},{0,2,0x004E3},{0,2,0x004E5},{0,2,0x004E7},{0,2,0x004E9},
{0,2,0x004EB},{0,2,0x004ED},{0,2,0x004EF},{0,2,0x004F1},{0,2,0x004F3},
{0,2,0x004F5},{0,2,0x004F7},{0,2,0x004F9},{0,2,0x004FB},{0,2,0x004FD},
{0,2,0x004FF},{0,2,0x00501},{0,2,0x00503},{0,2,0x00505},{0,2,0x00507},
{0,2,0x00509},{0,2,0x0050B},{0,2,0x0050D},{0,2,0x0050F},{0,2,0x00511},
{0,2,0x00513},{0,2,0x00515},{0,2,0x00517},{0,2,0x00519},{0,2,0x0051B},
{0,2,0x0051D},{0,2,0x0051F},{0,2,0x00521},{0,2,0x00523},{0,2,0x00525},
{0,2,0x00527},{0,2,0x00529},{0,2,0x0052B},{0,2,0x0052D},{0,2,0x0052F},
{0,2,0x00531},{0,2,0x00533},{0,2,0x00535},{0,2,0x00537},{0,2,0x00539},
{0,2,0x0053B},{0,2,0x0053D},{0,2,0x0053F},{0,2,0x00541},{0,2,0x00543},
{0,2,0x00545},{0,2,0x00547},{0,2,0x00549},{0,2,0x0054B},{0,2,0x0054D},
{0,2,0x0054F},{0,2,0x00551},{0,2,0x00553},{0,2,0x00555},{0,2,0x00557},
{0,2,0x00559},{0,2,0x0055B},{0,2,0x0055D},{0,2,0x0055F},{0,2,0x00561},
{0,2,0x00563},{0,2,0x00565},{0,2,0x00567},{0,2,0x00569},{0,2,0x0056B},
{0,2,0x0056D},{0,2,0x0056F},{0,2,0x00571},{0,2,0x00573},{0,2,0x00575},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 19 */
{{0,2,0x00577},{0,2,0x00579},{0,2,0x0057B},{0,2,0x0057D},{0,2,0x0057F},
{0,2,0x00581},{0,2,0x00583},{0,2,0x00585},{0,2,0x00587},{0,2,0x00589},
{0,2,0x0058B},{0,2,0x0058D},{0,2,0x0058F},{0,2,0x00591},{0,2,0x00593},
{0,2,0x00595},{0,2,0x00597},{0,2,0x00599},{0,2,0x0059B},{0,2,0x0059D},
{0,2,0x0059F},{0,2,0x005A1},{0,0,0},{0,0,0},{0,2,0x005A3},
{0,2,0x005A5},{0,2,0x005A7},{0,2,0x005A9},{0,2,0x005AB},{0,2,0x005AD},
{0,0,0},{0,0,0},{0,2,0x005AF},{0,2,0x005B1},{0,2,0x005B3},
{0,2,0x005B5},{0,2,0x005B7},{0,2,0x005B9},{0,2,0x005BB},{0,2,0x005BD},
{0,2,0x005BF},{0,2,0x005C1},{0,2,0x005C3},{0,2,0x005C5},{0,2,0x005C7},
{0,2,0x005C9},{0,2,0x005CB},{0,2,0x005CD},{0,2,0x005CF},{0,2,0x005D1},
{0,2,0x005D3},{0,2,0x005D5},{0,2,0x005D7},{0,2,0x005D9},{0,2,0x005DB},
{0,2,0x005DD},{0,2,0x005DF},{0,2,0x005E1},{0,2,0x005E3},{0,2,0x005E5},
{0,2,0x005E7},{0,2,0x005E9},{0,2,0x005EB},{0,2,0x005ED},{0,2,0x005EF},
{0,2,0x005F1},{0,2,0x005F3},{0,2,0x005F5},{0,2,0x005F7},{0,2,0x005F9},
{0,0,0},{0,0,0},{0,2,0x005FB},{0,2,0x005FD},{0,2,0x005FF},
{0,2,0x00601},{0,2,0x00603},{0,2,0x00605},{0,0,0},{0,0,0},
{0,2,0x00607},{0,2,0x00609},{0,2,0x0060B},{0,2,0x0060D},{0,2,0x0060F},
{0,2,0x00611},{0,2,0x00613},{0,2,0x00615},{0,0,0},{0,2,0x00617},
{0,0,0},{0,2,0x00619},{0,0,0},{0,2,0x0061B},{0,0,0},
{0,2,0x0061D},{0,2,0x0061F},{0,2,0x00621},{0,2,0x00623},{0,2,0x00625},
{0,2,0x00627},{0,2,0x00629},{0,2,0x0062B},{0,2,0x0062D},{0,2,0x0062F},
{0,2,0x00631},{0,2,0x00633},{0,2,0x00635},{0,2,0x00637},{0,2,0x00639},
{0,2,0x0063B},{0,2,0x0063D},{0,2,0x0063F},{0,1,0x003AC},{0,2,0x00641},
{0,1,0x003AD},{0,2,0x00643},{0,1,0x003AE},{0,2,0x00645},{0,1,0x003AF},
{0,2,0x00647},{0,1,0x003CC},{0,2,0x00649},{0,1,0x003CD},{0,2,0x0064B},
{0,1,0x003CE},{0,0,0},{0,0,0},{0,2,0x0064D},{0,2,0x0064F},
{0,2,0x00651},{0,2,0x00653},{0,2,0x00655},{0,2,0x00657},{0,2,0x00659},
{0,2,0x0065B},{0,2,0x0065D},{0,2,0x0065F},{0,2,0x00661},{0,2,0x00663},
{0,2,0x00665},{0,2,0x00667},{0,2,0x00669},{0,2,0x0066B},{0,2,0x0066D},
{0,2,0x0066F},{0,2,0x00671},{0,2,0x00673},{0,2,0x00675},{0,2,0x00677},
{0,2,0x00679},{0,2,0x0067B},{0,2,0x0067D},{0,2,0x0067F},{0,2,0x00681},
{0,2,0x00683},{0,2,0x00685},{0,2,0x00687},{0,2,0x00689},{0,2,0x0068B},
{0,2,0x0068D},{0,2,0x0068F},{0,2,0x00691},{0,2,0x00693},{0,2,0x00695},
{0,2,0x00697},{0,2,0x00699},{0,2,0x0069B},{0,2,0x0069D},{0,2,0x0069F},
{0,2,0x006A1},{0,2,0x006A3},{0,2,0x006A5},{0,2,0x006A7},{0,2,0x006A9},
{0,2,0x006AB},{0,2,0x006AD},{0,2,0x006AF},{0,2,0x006B1},{0,2,0x006B3},
{0,2,0x006B5},{0,0,0},{0,2,0x006B7},{0,2,0x006B9},{0,2,0x006BB},
{0,2,0x006BD},{0,2,0x006BF},{0,1,0x00386},{0,2,0x006C1},{16,2,0x006C3},
{0,1,0x003B9},{16,2,0x006C5},{16,2,0x006C7},{0,2,0x006C9},{0,2,0x006CB},
{0,2,0x006CD},{0,2,0x006CF},{0,0,0},{0,2,0x006D1},{0,2,0x006D3},
{0,2,0x006D5},{0,1,0x00388},{0,2,0x006D7},{0,1,0x00389},{0,2,0x006D9},
{0,2,0x006DB},{0,2,0x006DD},{0,2,0x006DF},{0,2,0x006E1},{0,2,0x006E3},
{0,2,0x006E5},{0,1,0x00390},{0,0,0},{0,0,0},{0,2,0x006E7},
{0,2,0x006E9},{0,2,0x006EB},{0,2,0x006ED},{0,2,0x006EF},{0,1,0x0038A},
{0,0,0},{0,2,0x006F1},{0,2,0x006F3},{0,2,0x006F5},{0,2,0x006F7},
{0,2,0x006F9},{0,2,0x006FB},{0,1,0x003B0},{0,2,0x006FD},{0,2,0x006FF},
{0,2,0x00701},{0,2,0x00703},{0,2,0x00705},{0,2,0x00707},{0,2,0x00709},
{0,1,0x0038E},{0,2,0x0070B},{0,2,0x0070D},{0,1,0x00385},{0,1,0x00060},
{0,0,0},{0,0,0},{0,2,0x0070F},{0,2,0x00711},{0,2,0x00713},
{0,0,0},{0,2,0x00715},{0,2,0x00717},{0,2,0x00719},{0,1,0x0038C},
{0,2,0x0071B},{0,1,0x0038F},{0,2,0x0071D},{0,1,0x000B4},{16,2,0x0071F},
{0,0,0}
},
/* block 20 */
{{0,1,0x02002},{0,1,0x02003},{16,1,0x00020},{16,1,0x00020},{16,1,0x00020},
{16,1,0x00020},{16,1,0x00020},{2,1,0x00020},{16,1,0x00020},{16,1,0x00020},
{16,1,0x00020},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{2,1,0x02010},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{16,2,0x00721},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{16,1,0x0002E},{16,2,0x00723},{16,3,0x00725},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{2,1,0x00020},{0,0,0},{0,0,0},
{0,0,0},{16,2,0x00728},{16,3,0x0072A},{0,0,0},{16,2,0x0072D},
{16,3,0x0072F},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{16,2,0x00732},{0,0,0},{16,2,0x00734},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{16,2,0x00736},{16,2,0x00738},{16,2,0x0073A},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{16,4,0x0073C},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{16,1,0x00020},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{8,1,0x00030},{8,1,0x00069},{0,0,0},
{0,0,0},{8,1,0x00034},{8,1,0x00035},{8,1,0x00036},{8,1,0x00037},
{8,1,0x00038},{8,1,0x00039},{8,1,0x0002B},{8,1,0x02212},{8,1,0x0003D},
{8,1,0x00028},{8,1,0x00029},{8,1,0x0006E},{9,1,0x00030},{9,1,0x00031},
{9,1,0x00032},{9,1,0x00033},{9,1,0x00034},{9,1,0x00035},{9,1,0x00036},
{9,1,0x00037},{9,1,0x00038},{9,1,0x00039},{9,1,0x0002B},{9,1,0x02212},
{9,1,0x0003D},{9,1,0x00028},{9,1,0x00029},{0,0,0},{9,1,0x00061},
{9,1,0x00065},{9,1,0x0006F},{9,1,0x00078},{9,1,0x00259},{9,1,0x00068},
{9,1,0x0006B},{9,1,0x0006C},{9,1,0x0006D},{9,1,0x0006E},{9,1,0x00070},
{9,1,0x00073},{9,1,0x00074},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{16,2,0x00740},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 21 */
{{16,3,0x00742},{16,3,0x00745},{1,1,0x00043},{16,2,0x00748},{0,0,0},
{16,3,0x0074A},{16,3,0x0074D},{16,1,0x00190},{0,0,0},{16,2,0x00750},
{1,1,0x00067},{1,1,0x00048},{1,1,0x00048},{1,1,0x00048},{1,1,0x00068},
{1,1,0x00127},{1,1,0x00049},{1,1,0x00049},{1,1,0x0004C},{1,1,0x0006C},
{0,0,0},{1,1,0x0004E},{16,2,0x00752},{0,0,0},{0,0,0},
{1,1,0x00050},{1,1,0x00051},{1,1,0x00052},{1,1,0x00052},{1,1,0x00052},
{0,0,0},{0,0,0},{8,2,0x00754},{16,3,0x00756},{8,2,0x00759},
{0,0,0},{1,1,0x0005A},{0,0,0},{0,1,0x003A9},{0,0,0},
{1,1,0x0005A},{0,0,0},{0,1,0x0004B},{0,1,0x000C5},{1,1,0x00042},
{1,1,0x00043},{0,0,0},{1,1,0x00065},{1,1,0x00045},{1,1,0x00046},
{0,0,0},{1,1,0x0004D},{1,1,0x0006F},{16,1,0x005D0},{16,1,0x005D1},
{16,1,0x005D2},{16,1,0x005D3},{1,1,0x00069},{0,0,0},{16,3,0x0075B},
{1,1,0x003C0},{1,1,0x003B3},{1,1,0x00393},{1,1,0x003A0},{1,1,0x02211},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{1,1,0x00044},
{1,1,0x00064},{1,1,0x00065},{1,1,0x00069},{1,1,0x0006A},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{15,3,0x0075E},{15,3,0x00761},{15,4,0x00764},{15,3,0x00768},{15,3,0x0076B},
{15,3,0x0076E},{15,3,0x00771},{15,3,0x00774},{15,3,0x00777},{15,3,0x0077A},
{15,3,0x0077D},{15,3,0x00780},{15,3,0x00783},{15,3,0x00786},{15,3,0x00789},
{15,2,0x0078C},{16,1,0x00049},{16,2,0x0078E},{16,3,0x00790},{16,2,0x00793},
{16,1,0x00056},{16,2,0x00795},{16,3,0x00797},{16,4,0x0079A},{16,2,0x0079E},
{16,1,0x00058},{16,2,0x007A0},{16,3,0x007A2},{16,1,0x0004C},{16,1,0x00043},
{16,1,0x00044},{16,1,0x0004D},{16,1,0x00069},{16,2,0x007A5},{16,3,0x007A7},
{16,2,0x007AA},{16,1,0x00076},{16,2,0x007AC},{16,3,0x007AE},{16,4,0x007B1},
{16,2,0x007B5},{16,1,0x00078},{16,2,0x007B7},{16,3,0x007B9},{16,1,0x0006C},
{16,1,0x00063},{16,1,0x00064},{16,1,0x0006D},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{15,3,0x007BC},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,2,0x007BF},
{0,2,0x007C1},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,2,0x007C3},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,2,0x007C5},{0,2,0x007C7},{0,2,0x007C9},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 22 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,2,0x007CB},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,2,0x007CD},
{0,0,0},{0,0,0},{0,2,0x007CF},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,2,0x007D1},{0,0,0},{0,2,0x007D3},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{16,2,0x007D5},
{16,3,0x007D7},{0,0,0},{16,2,0x007DA},{16,3,0x007DC},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,2,0x007DF},{0,0,0},{0,0,0},{0,2,0x007E1},{0,0,0},
{0,0,0},{0,2,0x007E3},{0,0,0},{0,2,0x007E5},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,2,0x007E7},{0,0,0},{0,2,0x007E9},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,2,0x007EB},
{0,2,0x007ED},{0,2,0x007EF},{0,2,0x007F1},{0,2,0x007F3},{0,0,0},
{0,0,0},{0,2,0x007F5},{0,2,0x007F7},{0,0,0},{0,0,0},
{0,2,0x007F9},{0,2,0x007FB},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,2,0x007FD},{0,2,0x007FF},
{0,0,0},{0,0,0},{0,2,0x00801},{0,2,0x00803},{0,0,0},
{0,0,0},{0,2,0x00805},{0,2,0x00807},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,2,0x00809},{0,2,0x0080B},{0,2,0x0080D},
{0,2,0x0080F},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,2,0x00811},
{0,2,0x00813},{0,2,0x00815},{0,2,0x00817},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,2,0x00819},
{0,2,0x0081B},{0,2,0x0081D},{0,2,0x0081F},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 23 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,1,0x03008},{0,1,0x03009},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 24 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{7,1,0x00031},{7,1,0x00032},{7,1,0x00033},{7,1,0x00034},
{7,1,0x00035},{7,1,0x00036},{7,1,0x00037},{7,1,0x00038},{7,1,0x00039},
{7,2,0x00821},{7,2,0x00823},{7,2,0x00825},{7,2,0x00827},{7,2,0x00829},
{7,2,0x0082B},{7,2,0x0082D},{7,2,0x0082F},{7,2,0x00831},{7,2,0x00833},
{7,2,0x00835},{16,3,0x00837},{16,3,0x0083A},{16,3,0x0083D},{16,3,0x00840},
{16,3,0x00843},{16,3,0x00846},{16,3,0x00849},{16,3,0x0084C},{16,3,0x0084F},
{16,4,0x00852},{16,4,0x00856},{16,4,0x0085A},{16,4,0x0085E},{16,4,0x00862},
{16,4,0x00866},{16,4,0x0086A},{16,4,0x0086E},{16,4,0x00872},{16,4,0x00876},
{16,4,0x0087A},{16,2,0x0087E},{16,2,0x00880},{16,2,0x00882},{16,2,0x00884},
{16,2,0x00886},{16,2,0x00888},{16,2,0x0088A},{16,2,0x0088C},{16,2,0x0088E},
{16,3,0x00890},{16,3,0x00893},{16,3,0x00896},{16,3,0x00899},{16,3,0x0089C},
{16,3,0x0089F},{16,3,0x008A2},{16,3,0x008A5},{16,3,0x008A8},{16,3,0x008AB},
{16,3,0x008AE},{16,3,0x008B1},{16,3,0x008B4},{16,3,0x008B7},{16,3,0x008BA},
{16,3,0x008BD},{16,3,0x008C0},{16,3,0x008C3},{16,3,0x008C6},{16,3,0x008C9},
{16,3,0x008CC},{16,3,0x008CF},{16,3,0x008D2},{16,3,0x008D5},{16,3,0x008D8},
{16,3,0x008DB},{16,3,0x008DE},{16,3,0x008E1},{16,3,0x008E4},{16,3,0x008E7},
{16,3,0x008EA},{16,3,0x008ED},{16,3,0x008F0},{16,3,0x008F3},{16,3,0x008F6},
{16,3,0x008F9},{16,3,0x008FC},{7,1,0x00041},{7,1,0x00042},{7,1,0x00043},
{7,1,0x00044},{7,1,0x00045},{7,1,0x00046},{7,1,0x00047},{7,1,0x00048},
{7,1,0x00049},{7,1,0x0004A},{7,1,0x0004B},{7,1,0x0004C},{7,1,0x0004D},
{7,1,0x0004E},{7,1,0x0004F},{7,1,0x00050},{7,1,0x00051},{7,1,0x00052},
{7,1,0x00053},{7,1,0x00054},{7,1,0x00055},{7,1,0x00056},{7,1,0x00057},
{7,1,0x00058},{7,1,0x00059},{7,1,0x0005A},{7,1,0x00061},{7,1,0x00062},
{7,1,0x00063},{7,1,0x00064},{7,1,0x00065},{7,1,0x00066},{7,1,0x00067},
{7,1,0x00068},{7,1,0x00069},{7,1,0x0006A},{7,1,0x0006B},{7,1,0x0006C},
{7,1,0x0006D},{7,1,0x0006E},{7,1,0x0006F},{7,1,0x00070},{7,1,0x00071},
{7,1,0x00072},{7,1,0x00073},{7,1,0x00074},{7,1,0x00075},{7,1,0x00076},
{7,1,0x00077},{7,1,0x00078},{7,1,0x00079},{7,1,0x0007A},{7,1,0x00030},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 25 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{16,4,0x008FF},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{16,3,0x00903},{16,2,0x00906},{16,3,0x00908},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,2,0x0090B},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 26 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{9,1,0x0006A},
{8,1,0x00056},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 27 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{8,1,0x02D61},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 28 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{16,1,0x06BCD},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{16,1,0x09F9F},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 29 */
{{16,1,0x04E00},{16,1,0x04E28},{16,1,0x04E36},{16,1,0x04E3F},{16,1,0x04E59},
{16,1,0x04E85},{16,1,0x04E8C},{16,1,0x04EA0},{16,1,0x04EBA},{16,1,0x0513F},
{16,1,0x05165},{16,1,0x0516B},{16,1,0x05182},{16,1,0x05196},{16,1,0x051AB},
{16,1,0x051E0},{16,1,0x051F5},{16,1,0x05200},{16,1,0x0529B},{16,1,0x052F9},
{16,1,0x05315},{16,1,0x0531A},{16,1,0x05338},{16,1,0x05341},{16,1,0x0535C},
{16,1,0x05369},{16,1,0x05382},{16,1,0x053B6},{16,1,0x053C8},{16,1,0x053E3},
{16,1,0x056D7},{16,1,0x0571F},{16,1,0x058EB},{16,1,0x05902},{16,1,0x0590A},
{16,1,0x05915},{16,1,0x05927},{16,1,0x05973},{16,1,0x05B50},{16,1,0x05B80},
{16,1,0x05BF8},{16,1,0x05C0F},{16,1,0x05C22},{16,1,0x05C38},{16,1,0x05C6E},
{16,1,0x05C71},{16,1,0x05DDB},{16,1,0x05DE5},{16,1,0x05DF1},{16,1,0x05DFE},
{16,1,0x05E72},{16,1,0x05E7A},{16,1,0x05E7F},{16,1,0x05EF4},{16,1,0x05EFE},
{16,1,0x05F0B},{16,1,0x05F13},{16,1,0x05F50},{16,1,0x05F61},{16,1,0x05F73},
{16,1,0x05FC3},{16,1,0x06208},{16,1,0x06236},{16,1,0x0624B},{16,1,0x0652F},
{16,1,0x06534},{16,1,0x06587},{16,1,0x06597},{16,1,0x065A4},{16,1,0x065B9},
{16,1,0x065E0},{16,1,0x065E5},{16,1,0x066F0},{16,1,0x06708},{16,1,0x06728},
{16,1,0x06B20},{16,1,0x06B62},{16,1,0x06B79},{16,1,0x06BB3},{16,1,0x06BCB},
{16,1,0x06BD4},{16,1,0x06BDB},{16,1,0x06C0F},{16,1,0x06C14},{16,1,0x06C34},
{16,1,0x0706B},{16,1,0x0722A},{16,1,0x07236},{16,1,0x0723B},{16,1,0x0723F},
{16,1,0x07247},{16,1,0x07259},{16,1,0x0725B},{16,1,0x072AC},{16,1,0x07384},
{16,1,0x07389},{16,1,0x074DC},{16,1,0x074E6},{16,1,0x07518},{16,1,0x0751F},
{16,1,0x07528},{16,1,0x07530},{16,1,0x0758B},{16,1,0x07592},{16,1,0x07676},
{16,1,0x0767D},{16,1,0x076AE},{16,1,0x076BF},{16,1,0x076EE},{16,1,0x077DB},
{16,1,0x077E2},{16,1,0x077F3},{16,1,0x0793A},{16,1,0x079B8},{16,1,0x079BE},
{16,1,0x07A74},{16,1,0x07ACB},{16,1,0x07AF9},{16,1,0x07C73},{16,1,0x07CF8},
{16,1,0x07F36},{16,1,0x07F51},{16,1,0x07F8A},{16,1,0x07FBD},{16,1,0x08001},
{16,1,0x0800C},{16,1,0x08012},{16,1,0x08033},{16,1,0x0807F},{16,1,0x08089},
{16,1,0x081E3},{16,1,0x081EA},{16,1,0x081F3},{16,1,0x081FC},{16,1,0x0820C},
{16,1,0x0821B},{16,1,0x0821F},{16,1,0x0826E},{16,1,0x08272},{16,1,0x08278},
{16,1,0x0864D},{16,1,0x0866B},{16,1,0x08840},{16,1,0x0884C},{16,1,0x08863},
{16,1,0x0897E},{16,1,0x0898B},{16,1,0x089D2},{16,1,0x08A00},{16,1,0x08C37},
{16,1,0x08C46},{16,1,0x08C55},{16,1,0x08C78},{16,1,0x08C9D},{16,1,0x08D64},
{16,1,0x08D70},{16,1,0x08DB3},{16,1,0x08EAB},{16,1,0x08ECA},{16,1,0x08F9B},
{16,1,0x08FB0},{16,1,0x08FB5},{16,1,0x09091},{16,1,0x09149},{16,1,0x091C6},
{16,1,0x091CC},{16,1,0x091D1},{16,1,0x09577},{16,1,0x09580},{16,1,0x0961C},
{16,1,0x096B6},{16,1,0x096B9},{16,1,0x096E8},{16,1,0x09751},{16,1,0x0975E},
{16,1,0x09762},{16,1,0x09769},{16,1,0x097CB},{16,1,0x097ED},{16,1,0x097F3},
{16,1,0x09801},{16,1,0x098A8},{16,1,0x098DB},{16,1,0x098DF},{16,1,0x09996},
{16,1,0x09999},{16,1,0x099AC},{16,1,0x09AA8},{16,1,0x09AD8},{16,1,0x09ADF},
{16,1,0x09B25},{16,1,0x09B2F},{16,1,0x09B32},{16,1,0x09B3C},{16,1,0x09B5A},
{16,1,0x09CE5},{16,1,0x09E75},{16,1,0x09E7F},{16,1,0x09EA5},{16,1,0x09EBB},
{16,1,0x09EC3},{16,1,0x09ECD},{16,1,0x09ED1},{16,1,0x09EF9},{16,1,0x09EFD},
{16,1,0x09F0E},{16,1,0x09F13},{16,1,0x09F20},{16,1,0x09F3B},{16,1,0x09F4A},
{16,1,0x09F52},{16,1,0x09F8D},{16,1,0x09F9C},{16,1,0x09FA0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 30 */
{{11,1,0x00020},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{16,1,0x03012},
{0,0,0},{16,1,0x05341},{16,1,0x05344},{16,1,0x05345},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,2,0x0090D},{0,0,0},{0,2,0x0090F},{0,0,0},
{0,2,0x00911},{0,0,0},{0,2,0x00913},{0,0,0},{0,2,0x00915},
{0,0,0},{0,2,0x00917},{0,0,0},{0,2,0x00919},{0,0,0},
{0,2,0x0091B},{0,0,0},{0,2,0x0091D},{0,0,0},{0,2,0x0091F},
{0,0,0},{0,2,0x00921},{0,0,0},{0,2,0x00923},{0,0,0},
{0,0,0},{0,2,0x00925},{0,0,0},{0,2,0x00927},{0,0,0},
{0,2,0x00929},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,2,0x0092B},{0,2,0x0092D},{0,0,0},
{0,2,0x0092F},{0,2,0x00931},{0,0,0},{0,2,0x00933},{0,2,0x00935},
{0,0,0},{0,2,0x00937},{0,2,0x00939},{0,0,0},{0,2,0x0093B},
{0,2,0x0093D},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,2,0x0093F},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{16,2,0x00941},{16,2,0x00943},{0,0,0},{0,2,0x00945},{10,2,0x00947},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,2,0x00949},{0,0,0},{0,2,0x0094B},
{0,0,0},{0,2,0x0094D},{0,0,0},{0,2,0x0094F},{0,0,0},
{0,2,0x00951},{0,0,0},{0,2,0x00953},{0,0,0},{0,2,0x00955},
{0,0,0},{0,2,0x00957},{0,0,0},{0,2,0x00959},{0,0,0},
{0,2,0x0095B},{0,0,0},{0,2,0x0095D},{0,0,0},{0,2,0x0095F},
{0,0,0},{0,0,0},{0,2,0x00961},{0,0,0},{0,2,0x00963},
{0,0,0},{0,2,0x00965},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,2,0x00967},{0,2,0x00969},
{0,0,0},{0,2,0x0096B},{0,2,0x0096D},{0,0,0},{0,2,0x0096F},
{0,2,0x00971},{0,0,0},{0,2,0x00973},{0,2,0x00975},{0,0,0},
{0,2,0x00977},{0,2,0x00979},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,2,0x0097B},
{0,0,0},{0,0,0},{0,2,0x0097D},{0,2,0x0097F},{0,2,0x00981},
{0,2,0x00983},{0,0,0},{0,0,0},{0,0,0},{0,2,0x00985},
{10,2,0x00987}
},
/* block 31 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{16,1,0x01100},
{16,1,0x01101},{16,1,0x011AA},{16,1,0x01102},{16,1,0x011AC},{16,1,0x011AD},
{16,1,0x01103},{16,1,0x01104},{16,1,0x01105},{16,1,0x011B0},{16,1,0x011B1},
{16,1,0x011B2},{16,1,0x011B3},{16,1,0x011B4},{16,1,0x011B5},{16,1,0x0111A},
{16,1,0x01106},{16,1,0x01107},{16,1,0x01108},{16,1,0x01121},{16,1,0x01109},
{16,1,0x0110A},{16,1,0x0110B},{16,1,0x0110C},{16,1,0x0110D},{16,1,0x0110E},
{16,1,0x0110F},{16,1,0x01110},{16,1,0x01111},{16,1,0x01112},{16,1,0x01161},
{16,1,0x01162},{16,1,0x01163},{16,1,0x01164},{16,1,0x01165},{16,1,0x01166},
{16,1,0x01167},{16,1,0x01168},{16,1,0x01169},{16,1,0x0116A},{16,1,0x0116B},
{16,1,0x0116C},{16,1,0x0116D},{16,1,0x0116E},{16,1,0x0116F},{16,1,0x01170},
{16,1,0x01171},{16,1,0x01172},{16,1,0x01173},{16,1,0x01174},{16,1,0x01175},
{16,1,0x01160},{16,1,0x01114},{16,1,0x01115},{16,1,0x011C7},{16,1,0x011C8},
{16,1,0x011CC},{16,1,0x011CE},{16,1,0x011D3},{16,1,0x011D7},{16,1,0x011D9},
{16,1,0x0111C},{16,1,0x011DD},{16,1,0x011DF},{16,1,0x0111D},{16,1,0x0111E},
{16,1,0x01120},{16,1,0x01122},{16,1,0x01123},{16,1,0x01127},{16,1,0x01129},
{16,1,0x0112B},{16,1,0x0112C},{16,1,0x0112D},{16,1,0x0112E},{16,1,0x0112F},
{16,1,0x01132},{16,1,0x01136},{16,1,0x01140},{16,1,0x01147},{16,1,0x0114C},
{16,1,0x011F1},{16,1,0x011F2},{16,1,0x01157},{16,1,0x01158},{16,1,0x01159},
{16,1,0x01184},{16,1,0x01185},{16,1,0x01188},{16,1,0x01191},{16,1,0x01192},
{16,1,0x01194},{16,1,0x0119E},{16,1,0x011A1},{0,0,0},{0,0,0},
{0,0,0},{8,1,0x04E00},{8,1,0x04E8C},{8,1,0x04E09},{8,1,0x056DB},
{8,1,0x04E0A},{8,1,0x04E2D},{8,1,0x04E0B},{8,1,0x07532},{8,1,0x04E59},
{8,1,0x04E19},{8,1,0x04E01},{8,1,0x05929},{8,1,0x05730},{8,1,0x04EBA},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 32 */
{{16,3,0x00989},{16,3,0x0098C},{16,3,0x0098F},{16,3,0x00992},{16,3,0x00995},
{16,3,0x00998},{16,3,0x0099B},{16,3,0x0099E},{16,3,0x009A1},{16,3,0x009A4},
{16,3,0x009A7},{16,3,0x009AA},{16,3,0x009AD},{16,3,0x009B0},{16,4,0x009B3},
{16,4,0x009B7},{16,4,0x009BB},{16,4,0x009BF},{16,4,0x009C3},{16,4,0x009C7},
{16,4,0x009CB},{16,4,0x009CF},{16,4,0x009D3},{16,4,0x009D7},{16,4,0x009DB},
{16,4,0x009DF},{16,4,0x009E3},{16,4,0x009E7},{16,4,0x009EB},{16,7,0x009EF},
{16,6,0x009F6},{0,0,0},{16,3,0x009FC},{16,3,0x009FF},{16,3,0x00A02},
{16,3,0x00A05},{16,3,0x00A08},{16,3,0x00A0B},{16,3,0x00A0E},{16,3,0x00A11},
{16,3,0x00A14},{16,3,0x00A17},{16,3,0x00A1A},{16,3,0x00A1D},{16,3,0x00A20},
{16,3,0x00A23},{16,3,0x00A26},{16,3,0x00A29},{16,3,0x00A2C},{16,3,0x00A2F},
{16,3,0x00A32},{16,3,0x00A35},{16,3,0x00A38},{16,3,0x00A3B},{16,3,0x00A3E},
{16,3,0x00A41},{16,3,0x00A44},{16,3,0x00A47},{16,3,0x00A4A},{16,3,0x00A4D},
{16,3,0x00A50},{16,3,0x00A53},{16,3,0x00A56},{16,3,0x00A59},{16,3,0x00A5C},
{16,3,0x00A5F},{16,3,0x00A62},{16,3,0x00A65},{7,1,0x0554F},{7,1,0x05E7C},
{7,1,0x06587},{7,1,0x07B8F},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{14,3,0x00A68},{7,2,0x00A6B},{7,2,0x00A6D},{7,2,0x00A6F},{7,2,0x00A71},
{7,2,0x00A73},{7,2,0x00A75},{7,2,0x00A77},{7,2,0x00A79},{7,2,0x00A7B},
{7,2,0x00A7D},{7,2,0x00A7F},{7,2,0x00A81},{7,2,0x00A83},{7,2,0x00A85},
{7,2,0x00A87},{7,1,0x01100},{7,1,0x01102},{7,1,0x01103},{7,1,0x01105},
{7,1,0x01106},{7,1,0x01107},{7,1,0x01109},{7,1,0x0110B},{7,1,0x0110C},
{7,1,0x0110E},{7,1,0x0110F},{7,1,0x01110},{7,1,0x01111},{7,1,0x01112},
{7,2,0x00A89},{7,2,0x00A8B},{7,2,0x00A8D},{7,2,0x00A8F},{7,2,0x00A91},
{7,2,0x00A93},{7,2,0x00A95},{7,2,0x00A97},{7,2,0x00A99},{7,2,0x00A9B},
{7,2,0x00A9D},{7,2,0x00A9F},{7,2,0x00AA1},{7,2,0x00AA3},{7,5,0x00AA5},
{7,4,0x00AAA},{7,2,0x00AAE},{0,0,0},{7,1,0x04E00},{7,1,0x04E8C},
{7,1,0x04E09},{7,1,0x056DB},{7,1,0x04E94},{7,1,0x0516D},{7,1,0x04E03},
{7,1,0x0516B},{7,1,0x04E5D},{7,1,0x05341},{7,1,0x06708},{7,1,0x0706B},
{7,1,0x06C34},{7,1,0x06728},{7,1,0x091D1},{7,1,0x0571F},{7,1,0x065E5},
{7,1,0x0682A},{7,1,0x06709},{7,1,0x0793E},{7,1,0x0540D},{7,1,0x07279},
{7,1,0x08CA1},{7,1,0x0795D},{7,1,0x052B4},{7,1,0x079D8},{7,1,0x07537},
{7,1,0x05973},{7,1,0x09069},{7,1,0x0512A},{7,1,0x05370},{7,1,0x06CE8},
{7,1,0x09805},{7,1,0x04F11},{7,1,0x05199},{7,1,0x06B63},{7,1,0x04E0A},
{7,1,0x04E2D},{7,1,0x04E0B},{7,1,0x05DE6},{7,1,0x053F3},{7,1,0x0533B},
{7,1,0x05B97},{7,1,0x05B66},{7,1,0x076E3},{7,1,0x04F01},{7,1,0x08CC7},
{7,1,0x05354},{7,1,0x0591C},{7,2,0x00AB0},{7,2,0x00AB2},{7,2,0x00AB4},
{7,2,0x00AB6},{7,2,0x00AB8},{7,2,0x00ABA},{7,2,0x00ABC},{7,2,0x00ABE},
{7,2,0x00AC0},{7,2,0x00AC2},{7,2,0x00AC4},{7,2,0x00AC6},{7,2,0x00AC8},
{7,2,0x00ACA},{7,2,0x00ACC},{16,2,0x00ACE},{16,2,0x00AD0},{16,2,0x00AD2},
{16,2,0x00AD4},{16,2,0x00AD6},{16,2,0x00AD8},{16,2,0x00ADA},{16,2,0x00ADC},
{16,2,0x00ADE},{16,3,0x00AE0},{16,3,0x00AE3},{16,3,0x00AE6},{14,2,0x00AE9},
{14,3,0x00AEB},{14,2,0x00AEE},{14,3,0x00AF0},{7,1,0x030A2},{7,1,0x030A4},
{7,1,0x030A6},{7,1,0x030A8},{7,1,0x030AA},{7,1,0x030AB},{7,1,0x030AD},
{7,1,0x030AF},{7,1,0x030B1},{7,1,0x030B3},{7,1,0x030B5},{7,1,0x030B7},
{7,1,0x030B9},{7,1,0x030BB},{7,1,0x030BD},{7,1,0x030BF},{7,1,0x030C1},
{7,1,0x030C4},{7,1,0x030C6},{7,1,0x030C8},{7,1,0x030CA},{7,1,0x030CB},
{7,1,0x030CC},{7,1,0x030CD},{7,1,0x030CE},{7,1,0x030CF},{7,1,0x030D2},
{7,1,0x030D5},{7,1,0x030D8},{7,1,0x030DB},{7,1,0x030DE},{7,1,0x030DF},
{7,1,0x030E0},{7,1,0x030E1},{7,1,0x030E2},{7,1,0x030E4},{7,1,0x030E6},
{7,1,0x030E8},{7,1,0x030E9},{7,1,0x030EA},{7,1,0x030EB},{7,1,0x030EC},
{7,1,0x030ED},{7,1,0x030EF},{7,1,0x030F0},{7,1,0x030F1},{7,1,0x030F2},
{0,0,0}
},
/* block 33 */
{{14,4,0x00AF3},{14,4,0x00AF7},{14,4,0x00AFB},{14,3,0x00AFF},{14,4,0x00B02},
{14,3,0x00B06},{14,3,0x00B09},{14,5,0x00B0C},{14,4,0x00B11},{14,3,0x00B15},
{14,3,0x00B18},{14,3,0x00B1B},{14,4,0x00B1E},{14,4,0x00B22},{14,3,0x00B26},
{14,3,0x00B29},{14,2,0x00B2C},{14,3,0x00B2E},{14,4,0x00B31},{14,4,0x00B35},
{14,2,0x00B39},{14,5,0x00B3B},{14,6,0x00B40},{14,5,0x00B46},{14,3,0x00B4B},
{14,5,0x00B4E},{14,5,0x00B53},{14,4,0x00B58},{14,3,0x00B5C},{14,3,0x00B5F},
{14,3,0x00B62},{14,4,0x00B65},{14,5,0x00B69},{14,4,0x00B6E},{14,3,0x00B72},
{14,3,0x00B75},{14,3,0x00B78},{14,2,0x00B7B},{14,2,0x00B7D},{14,2,0x00B7F},
{14,2,0x00B81},{14,3,0x00B83},{14,3,0x00B86},{14,5,0x00B89},{14,3,0x00B8E},
{14,4,0x00B91},{14,5,0x00B95},{14,3,0x00B9A},{14,2,0x00B9D},{14,2,0x00B9F},
{14,5,0x00BA1},{14,4,0x00BA6},{14,5,0x00BAA},{14,3,0x00BAF},{14,5,0x00BB2},
{14,2,0x00BB7},{14,3,0x00BB9},{14,3,0x00BBC},{14,3,0x00BBF},{14,3,0x00BC2},
{14,3,0x00BC5},{14,4,0x00BC8},{14,3,0x00BCC},{14,2,0x00BCF},{14,3,0x00BD1},
{14,3,0x00BD4},{14,3,0x00BD7},{14,4,0x00BDA},{14,3,0x00BDE},{14,3,0x00BE1},
{14,3,0x00BE4},{14,5,0x00BE7},{14,4,0x00BEC},{14,2,0x00BF0},{14,5,0x00BF2},
{14,2,0x00BF7},{14,4,0x00BF9},{14,4,0x00BFD},{14,3,0x00C01},{14,3,0x00C04},
{14,3,0x00C07},{14,4,0x00C0A},{14,2,0x00C0E},{14,3,0x00C10},{14,4,0x00C13},
{14,2,0x00C17},{14,5,0x00C19},{14,3,0x00C1E},{16,2,0x00C21},{16,2,0x00C23},
{16,2,0x00C25},{16,2,0x00C27},{16,2,0x00C29},{16,2,0x00C2B},{16,2,0x00C2D},
{16,2,0x00C2F},{16,2,0x00C31},{16,2,0x00C33},{16,3,0x00C35},{16,3,0x00C38},
{16,3,0x00C3B},{16,3,0x00C3E},{16,3,0x00C41},{16,3,0x00C44},{16,3,0x00C47},
{16,3,0x00C4A},{16,3,0x00C4D},{16,3,0x00C50},{16,3,0x00C53},{16,3,0x00C56},
{16,3,0x00C59},{16,3,0x00C5C},{16,3,0x00C5F},{14,3,0x00C62},{14,2,0x00C65},
{14,2,0x00C67},{14,3,0x00C69},{14,2,0x00C6C},{14,2,0x00C6E},{14,2,0x00C70},
{14,3,0x00C72},{14,3,0x00C75},{14,2,0x00C78},{14,2,0x00C7A},{14,2,0x00C7C},
{14,2,0x00C7E},{14,2,0x00C80},{14,4,0x00C82},{14,2,0x00C86},{14,2,0x00C88},
{14,2,0x00C8A},{14,2,0x00C8C},{14,2,0x00C8E},{14,2,0x00C90},{14,2,0x00C92},
{14,2,0x00C94},{14,3,0x00C96},{14,4,0x00C99},{14,2,0x00C9D},{14,2,0x00C9F},
{14,2,0x00CA1},{14,2,0x00CA3},{14,2,0x00CA5},{14,2,0x00CA7},{14,2,0x00CA9},
{14,3,0x00CAB},{14,3,0x00CAE},{14,3,0x00CB1},{14,3,0x00CB4},{14,2,0x00CB7},
{14,2,0x00CB9},{14,2,0x00CBB},{14,2,0x00CBD},{14,2,0x00CBF},{14,2,0x00CC1},
{14,2,0x00CC3},{14,2,0x00CC5},{14,2,0x00CC7},{14,2,0x00CC9},{14,3,0x00CCB},
{14,3,0x00CCE},{14,2,0x00CD1},{14,3,0x00CD3},{14,3,0x00CD6},{14,3,0x00CD9},
{14,2,0x00CDC},{14,3,0x00CDE},{14,3,0x00CE1},{14,4,0x00CE4},{14,2,0x00CE8},
{14,3,0x00CEA},{14,3,0x00CED},{14,3,0x00CF0},{14,3,0x00CF3},{14,5,0x00CF6},
{14,6,0x00CFB},{14,2,0x00D01},{14,2,0x00D03},{14,2,0x00D05},{14,2,0x00D07},
{14,2,0x00D09},{14,2,0x00D0B},{14,2,0x00D0D},{14,2,0x00D0F},{14,2,0x00D11},
{14,2,0x00D13},{14,2,0x00D15},{14,2,0x00D17},{14,2,0x00D19},{14,2,0x00D1B},
{14,2,0x00D1D},{14,2,0x00D1F},{14,2,0x00D21},{14,2,0x00D23},{14,4,0x00D25},
{14,2,0x00D29},{14,2,0x00D2B},{14,2,0x00D2D},{14,4,0x00D2F},{14,3,0x00D33},
{14,2,0x00D36},{14,2,0x00D38},{14,2,0x00D3A},{14,2,0x00D3C},{14,2,0x00D3E},
{14,2,0x00D40},{14,2,0x00D42},{14,2,0x00D44},{14,2,0x00D46},{14,2,0x00D48},
{14,3,0x00D4A},{14,2,0x00D4D},{14,2,0x00D4F},{14,3,0x00D51},{14,3,0x00D54},
{14,2,0x00D57},{14,4,0x00D59},{14,3,0x00D5D},{14,2,0x00D60},{14,2,0x00D62},
{14,2,0x00D64},{14,2,0x00D66},{14,3,0x00D68},{14,3,0x00D6B},{16,2,0x00D6E},
{16,2,0x00D70},{16,2,0x00D72},{16,2,0x00D74},{16,2,0x00D76},{16,2,0x00D78},
{16,2,0x00D7A},{16,2,0x00D7C},{16,2,0x00D7E},{16,3,0x00D80},{16,3,0x00D83},
{16,3,0x00D86},{16,3,0x00D89},{16,3,0x00D8C},{16,3,0x00D8F},{16,3,0x00D92},
{16,3,0x00D95},{16,3,0x00D98},{16,3,0x00D9B},{16,3,0x00D9E},{16,3,0x00DA1},
{16,3,0x00DA4},{16,3,0x00DA7},{16,3,0x00DAA},{16,3,0x00DAD},{16,3,0x00DB0},
{16,3,0x00DB3},{16,3,0x00DB6},{16,3,0x00DB9},{16,3,0x00DBC},{16,3,0x00DBF},
{14,3,0x00DC2}
},
/* block 34 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{8,1,0x0044A},{8,1,0x0044C},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 35 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{8,1,0x0A76F},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{8,1,0x00126},{8,1,0x00153},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 36 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{8,1,0x0A727},{8,1,0x0AB37},{8,1,0x0026B},
{8,1,0x0AB52},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 37 */
{{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000}
},
/* block 38 */
{{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},
{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{-1,2,0x00000},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 39 */
{{0,1,0x08C48},{0,1,0x066F4},{0,1,0x08ECA},{0,1,0x08CC8},{0,1,0x06ED1},
{0,1,0x04E32},{0,1,0x053E5},{0,1,0x09F9C},{0,1,0x09F9C},{0,1,0x05951},
{0,1,0x091D1},{0,1,0x05587},{0,1,0x05948},{0,1,0x061F6},{0,1,0x07669},
{0,1,0x07F85},{0,1,0x0863F},{0,1,0x087BA},{0,1,0x088F8},{0,1,0x0908F},
{0,1,0x06A02},{0,1,0x06D1B},{0,1,0x070D9},{0,1,0x073DE},{0,1,0x0843D},
{0,1,0x0916A},{0,1,0x099F1},{0,1,0x04E82},{0,1,0x05375},{0,1,0x06B04},
{0,1,0x0721B},{0,1,0x0862D},{0,1,0x09E1E},{0,1,0x05D50},{0,1,0x06FEB},
{0,1,0x085CD},{0,1,0x08964},{0,1,0x062C9},{0,1,0x081D8},{0,1,0x0881F},
{0,1,0x05ECA},{0,1,0x06717},{0,1,0x06D6A},{0,1,0x072FC},{0,1,0x090CE},
{0,1,0x04F86},{0,1,0x051B7},{0,1,0x052DE},{0,1,0x064C4},{0,1,0x06AD3},
{0,1,0x07210},{0,1,0x076E7},{0,1,0x08001},{0,1,0x08606},{0,1,0x0865C},
{0,1,0x08DEF},{0,1,0x09732},{0,1,0x09B6F},{0,1,0x09DFA},{0,1,0x0788C},
{0,1,0x0797F},{0,1,0x07DA0},{0,1,0x083C9},{0,1,0x09304},{0,1,0x09E7F},
{0,1,0x08AD6},{0,1,0x058DF},{0,1,0x05F04},{0,1,0x07C60},{0,1,0x0807E},
{0,1,0x07262},{0,1,0x078CA},{0,1,0x08CC2},{0,1,0x096F7},{0,1,0x058D8},
{0,1,0x05C62},{0,1,0x06A13},{0,1,0x06DDA},{0,1,0x06F0F},{0,1,0x07D2F},
{0,1,0x07E37},{0,1,0x0964B},{0,1,0x052D2},{0,1,0x0808B},{0,1,0x051DC},
{0,1,0x051CC},{0,1,0x07A1C},{0,1,0x07DBE},{0,1,0x083F1},{0,1,0x09675},
{0,1,0x08B80},{0,1,0x062CF},{0,1,0x06A02},{0,1,0x08AFE},{0,1,0x04E39},
{0,1,0x05BE7},{0,1,0x06012},{0,1,0x07387},{0,1,0x07570},{0,1,0x05317},
{0,1,0x078FB},{0,1,0x04FBF},{0,1,0x05FA9},{0,1,0x04E0D},{0,1,0x06CCC},
{0,1,0x06578},{0,1,0x07D22},{0,1,0x053C3},{0,1,0x0585E},{0,1,0x07701},
{0,1,0x08449},{0,1,0x08AAA},{0,1,0x06BBA},{0,1,0x08FB0},{0,1,0x06C88},
{0,1,0x062FE},{0,1,0x082E5},{0,1,0x063A0},{0,1,0x07565},{0,1,0x04EAE},
{0,1,0x05169},{0,1,0x051C9},{0,1,0x06881},{0,1,0x07CE7},{0,1,0x0826F},
{0,1,0x08AD2},{0,1,0x091CF},{0,1,0x052F5},{0,1,0x05442},{0,1,0x05973},
{0,1,0x05EEC},{0,1,0x065C5},{0,1,0x06FFE},{0,1,0x0792A},{0,1,0x095AD},
{0,1,0x09A6A},{0,1,0x09E97},{0,1,0x09ECE},{0,1,0x0529B},{0,1,0x066C6},
{0,1,0x06B77},{0,1,0x08F62},{0,1,0x05E74},{0,1,0x06190},{0,1,0x06200},
{0,1,0x0649A},{0,1,0x06F23},{0,1,0x07149},{0,1,0x07489},{0,1,0x079CA},
{0,1,0x07DF4},{0,1,0x0806F},{0,1,0x08F26},{0,1,0x084EE},{0,1,0x09023},
{0,1,0x0934A},{0,1,0x05217},{0,1,0x052A3},{0,1,0x054BD},{0,1,0x070C8},
{0,1,0x088C2},{0,1,0x08AAA},{0,1,0x05EC9},{0,1,0x05FF5},{0,1,0x0637B},
{0,1,0x06BAE},{0,1,0x07C3E},{0,1,0x07375},{0,1,0x04EE4},{0,1,0x056F9},
{0,1,0x05BE7},{0,1,0x05DBA},{0,1,0x0601C},{0,1,0x073B2},{0,1,0x07469},
{0,1,0x07F9A},{0,1,0x08046},{0,1,0x09234},{0,1,0x096F6},{0,1,0x09748},
{0,1,0x09818},{0,1,0x04F8B},{0,1,0x079AE},{0,1,0x091B4},{0,1,0x096B8},
{0,1,0x060E1},{0,1,0x04E86},{0,1,0x050DA},{0,1,0x05BEE},{0,1,0x05C3F},
{0,1,0x06599},{0,1,0x06A02},{0,1,0x071CE},{0,1,0x07642},{0,1,0x084FC},
{0,1,0x0907C},{0,1,0x09F8D},{0,1,0x06688},{0,1,0x0962E},{0,1,0x05289},
{0,1,0x0677B},{0,1,0x067F3},{0,1,0x06D41},{0,1,0x06E9C},{0,1,0x07409},
{0,1,0x07559},{0,1,0x0786B},{0,1,0x07D10},{0,1,0x0985E},{0,1,0x0516D},
{0,1,0x0622E},{0,1,0x09678},{0,1,0x0502B},{0,1,0x05D19},{0,1,0x06DEA},
{0,1,0x08F2A},{0,1,0x05F8B},{0,1,0x06144},{0,1,0x06817},{0,1,0x07387},
{0,1,0x09686},{0,1,0x05229},{0,1,0x0540F},{0,1,0x05C65},{0,1,0x06613},
{0,1,0x0674E},{0,1,0x068A8},{0,1,0x06CE5},{0,1,0x07406},{0,1,0x075E2},
{0,1,0x07F79},{0,1,0x088CF},{0,1,0x088E1},{0,1,0x091CC},{0,1,0x096E2},
{0,1,0x0533F},{0,1,0x06EBA},{0,1,0x0541D},{0,1,0x071D0},{0,1,0x07498},
{0,1,0x085FA},{0,1,0x096A3},{0,1,0x09C57},{0,1,0x09E9F},{0,1,0x06797},
{0,1,0x06DCB},{0,1,0x081E8},{0,1,0x07ACB},{0,1,0x07B20},{0,1,0x07C92},
{0,1,0x072C0},{0,1,0x07099},{0,1,0x08B58},{0,1,0x04EC0},{0,1,0x08336},
{0,1,0x0523A}
},
/* block 40 */
{{0,1,0x05207},{0,1,0x05EA6},{0,1,0x062D3},{0,1,0x07CD6},{0,1,0x05B85},
{0,1,0x06D1E},{0,1,0x066B4},{0,1,0x08F3B},{0,1,0x0884C},{0,1,0x0964D},
{0,1,0x0898B},{0,1,0x05ED3},{0,1,0x05140},{0,1,0x055C0},{0,0,0},
{0,0,0},{0,1,0x0585A},{0,0,0},{0,1,0x06674},{0,0,0},
{0,0,0},{0,1,0x051DE},{0,1,0x0732A},{0,1,0x076CA},{0,1,0x0793C},
{0,1,0x0795E},{0,1,0x07965},{0,1,0x0798F},{0,1,0x09756},{0,1,0x07CBE},
{0,1,0x07FBD},{0,0,0},{0,1,0x08612},{0,0,0},{0,1,0x08AF8},
{0,0,0},{0,0,0},{0,1,0x09038},{0,1,0x090FD},{0,0,0},
{0,0,0},{0,0,0},{0,1,0x098EF},{0,1,0x098FC},{0,1,0x09928},
{0,1,0x09DB4},{0,1,0x090DE},{0,1,0x096B7},{0,1,0x04FAE},{0,1,0x050E7},
{0,1,0x0514D},{0,1,0x052C9},{0,1,0x052E4},{0,1,0x05351},{0,1,0x0559D},
{0,1,0x05606},{0,1,0x05668},{0,1,0x05840},{0,1,0x058A8},{0,1,0x05C64},
{0,1,0x05C6E},{0,1,0x06094},{0,1,0x06168},{0,1,0x0618E},{0,1,0x061F2},
{0,1,0x0654F},{0,1,0x065E2},{0,1,0x06691},{0,1,0x06885},{0,1,0x06D77},
{0,1,0x06E1A},{0,1,0x06F22},{0,1,0x0716E},{0,1,0x0722B},{0,1,0x07422},
{0,1,0x07891},{0,1,0x0793E},{0,1,0x07949},{0,1,0x07948},{0,1,0x07950},
{0,1,0x07956},{0,1,0x0795D},{0,1,0x0798D},{0,1,0x0798E},{0,1,0x07A40},
{0,1,0x07A81},{0,1,0x07BC0},{0,1,0x07DF4},{0,1,0x07E09},{0,1,0x07E41},
{0,1,0x07F72},{0,1,0x08005},{0,1,0x081ED},{0,1,0x08279},{0,1,0x08279},
{0,1,0x08457},{0,1,0x08910},{0,1,0x08996},{0,1,0x08B01},{0,1,0x08B39},
{0,1,0x08CD3},{0,1,0x08D08},{0,1,0x08FB6},{0,1,0x09038},{0,1,0x096E3},
{0,1,0x097FF},{0,1,0x0983B},{0,1,0x06075},{0,1,0x242EE},{0,1,0x08218},
{0,0,0},{0,0,0},{0,1,0x04E26},{0,1,0x051B5},{0,1,0x05168},
{0,1,0x04F80},{0,1,0x05145},{0,1,0x05180},{0,1,0x052C7},{0,1,0x052FA},
{0,1,0x0559D},{0,1,0x05555},{0,1,0x05599},{0,1,0x055E2},{0,1,0x0585A},
{0,1,0x058B3},{0,1,0x05944},{0,1,0x05954},{0,1,0x05A62},{0,1,0x05B28},
{0,1,0x05ED2},{0,1,0x05ED9},{0,1,0x05F69},{0,1,0x05FAD},{0,1,0x060D8},
{0,1,0x0614E},{0,1,0x06108},{0,1,0x0618E},{0,1,0x06160},{0,1,0x061F2},
{0,1,0x06234},{0,1,0x063C4},{0,1,0x0641C},{0,1,0x06452},{0,1,0x06556},
{0,1,0x06674},{0,1,0x06717},{0,1,0x0671B},{0,1,0x06756},{0,1,0x06B79},
{0,1,0x06BBA},{0,1,0x06D41},{0,1,0x06EDB},{0,1,0x06ECB},{0,1,0x06F22},
{0,1,0x0701E},{0,1,0x0716E},{0,1,0x077A7},{0,1,0x07235},{0,1,0x072AF},
{0,1,0x0732A},{0,1,0x07471},{0,1,0x07506},{0,1,0x0753B},{0,1,0x0761D},
{0,1,0x0761F},{0,1,0x076CA},{0,1,0x076DB},{0,1,0x076F4},{0,1,0x0774A},
{0,1,0x07740},{0,1,0x078CC},{0,1,0x07AB1},{0,1,0x07BC0},{0,1,0x07C7B},
{0,1,0x07D5B},{0,1,0x07DF4},{0,1,0x07F3E},{0,1,0x08005},{0,1,0x08352},
{0,1,0x083EF},{0,1,0x08779},{0,1,0x08941},{0,1,0x08986},{0,1,0x08996},
{0,1,0x08ABF},{0,1,0x08AF8},{0,1,0x08ACB},{0,1,0x08B01},{0,1,0x08AFE},
{0,1,0x08AED},{0,1,0x08B39},{0,1,0x08B8A},{0,1,0x08D08},{0,1,0x08F38},
{0,1,0x09072},{0,1,0x09199},{0,1,0x09276},{0,1,0x0967C},{0,1,0x096E3},
{0,1,0x09756},{0,1,0x097DB},{0,1,0x097FF},{0,1,0x0980B},{0,1,0x0983B},
{0,1,0x09B12},{0,1,0x09F9C},{0,1,0x2284A},{0,1,0x22844},{0,1,0x233D5},
{0,1,0x03B9D},{0,1,0x04018},{0,1,0x04039},{0,1,0x25249},{0,1,0x25CD0},
{0,1,0x27ED3},{0,1,0x09F43},{0,1,0x09F8E},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 41 */
{{16,2,0x00DC5},{16,2,0x00DC7},{16,2,0x00DC9},{16,3,0x00DCB},{16,3,0x00DCE},
{16,2,0x00DD1},{16,2,0x00DD3},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{16,2,0x00DD5},
{16,2,0x00DD7},{16,2,0x00DD9},{16,2,0x00DDB},{16,2,0x00DDD},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,2,0x00DDF},
{0,0,0},{0,2,0x00DE1},{1,1,0x005E2},{1,1,0x005D0},{1,1,0x005D3},
{1,1,0x005D4},{1,1,0x005DB},{1,1,0x005DC},{1,1,0x005DD},{1,1,0x005E8},
{1,1,0x005EA},{1,1,0x0002B},{0,2,0x00DE3},{0,2,0x00DE5},{0,2,0x00DE7},
{0,2,0x00DE9},{0,2,0x00DEB},{0,2,0x00DED},{0,2,0x00DEF},{0,2,0x00DF1},
{0,2,0x00DF3},{0,2,0x00DF5},{0,2,0x00DF7},{0,2,0x00DF9},{0,2,0x00DFB},
{0,0,0},{0,2,0x00DFD},{0,2,0x00DFF},{0,2,0x00E01},{0,2,0x00E03},
{0,2,0x00E05},{0,0,0},{0,2,0x00E07},{0,0,0},{0,2,0x00E09},
{0,2,0x00E0B},{0,0,0},{0,2,0x00E0D},{0,2,0x00E0F},{0,0,0},
{0,2,0x00E11},{0,2,0x00E13},{0,2,0x00E15},{0,2,0x00E17},{0,2,0x00E19},
{0,2,0x00E1B},{0,2,0x00E1D},{0,2,0x00E1F},{0,2,0x00E21},{16,2,0x00E23},
{6,1,0x00671},{5,1,0x00671},{6,1,0x0067B},{5,1,0x0067B},{3,1,0x0067B},
{4,1,0x0067B},{6,1,0x0067E},{5,1,0x0067E},{3,1,0x0067E},{4,1,0x0067E},
{6,1,0x00680},{5,1,0x00680},{3,1,0x00680},{4,1,0x00680},{6,1,0x0067A},
{5,1,0x0067A},{3,1,0x0067A},{4,1,0x0067A},{6,1,0x0067F},{5,1,0x0067F},
{3,1,0x0067F},{4,1,0x0067F},{6,1,0x00679},{5,1,0x00679},{3,1,0x00679},
{4,1,0x00679},{6,1,0x006A4},{5,1,0x006A4},{3,1,0x006A4},{4,1,0x006A4},
{6,1,0x006A6},{5,1,0x006A6},{3,1,0x006A6},{4,1,0x006A6},{6,1,0x00684},
{5,1,0x00684},{3,1,0x00684},{4,1,0x00684},{6,1,0x00683},{5,1,0x00683},
{3,1,0x00683},{4,1,0x00683},{6,1,0x00686},{5,1,0x00686},{3,1,0x00686},
{4,1,0x00686},{6,1,0x00687},{5,1,0x00687},{3,1,0x00687},{4,1,0x00687},
{6,1,0x0068D},{5,1,0x0068D},{6,1,0x0068C},{5,1,0x0068C},{6,1,0x0068E},
{5,1,0x0068E},{6,1,0x00688},{5,1,0x00688},{6,1,0x00698},{5,1,0x00698},
{6,1,0x00691},{5,1,0x00691},{6,1,0x006A9},{5,1,0x006A9},{3,1,0x006A9},
{4,1,0x006A9},{6,1,0x006AF},{5,1,0x006AF},{3,1,0x006AF},{4,1,0x006AF},
{6,1,0x006B3},{5,1,0x006B3},{3,1,0x006B3},{4,1,0x006B3},{6,1,0x006B1},
{5,1,0x006B1},{3,1,0x006B1},{4,1,0x006B1},{6,1,0x006BA},{5,1,0x006BA},
{6,1,0x006BB},{5,1,0x006BB},{3,1,0x006BB},{4,1,0x006BB},{6,1,0x006C0},
{5,1,0x006C0},{6,1,0x006C1},{5,1,0x006C1},{3,1,0x006C1},{4,1,0x006C1},
{6,1,0x006BE},{5,1,0x006BE},{3,1,0x006BE},{4,1,0x006BE},{6,1,0x006D2},
{5,1,0x006D2},{6,1,0x006D3},{5,1,0x006D3},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{6,1,0x006AD},{5,1,0x006AD},{3,1,0x006AD},{4,1,0x006AD},
{6,1,0x006C7},{5,1,0x006C7},{6,1,0x006C6},{5,1,0x006C6},{6,1,0x006C8},
{5,1,0x006C8},{6,1,0x00677},{6,1,0x006CB},{5,1,0x006CB},{6,1,0x006C5},
{5,1,0x006C5},{6,1,0x006C9},{5,1,0x006C9},{6,1,0x006D0},{5,1,0x006D0},
{3,1,0x006D0},{4,1,0x006D0},{3,1,0x00649},{4,1,0x00649},{6,2,0x00E25},
{5,2,0x00E27},{6,2,0x00E29},{5,2,0x00E2B},{6,2,0x00E2D},{5,2,0x00E2F},
{6,2,0x00E31},{5,2,0x00E33},{6,2,0x00E35},{5,2,0x00E37},{6,2,0x00E39},
{5,2,0x00E3B},{6,2,0x00E3D},{5,2,0x00E3F},{3,2,0x00E41},{6,2,0x00E43},
{5,2,0x00E45},{3,2,0x00E47},{6,1,0x006CC},{5,1,0x006CC},{3,1,0x006CC},
{4,1,0x006CC}
},
/* block 42 */
{{6,2,0x00E49},{6,2,0x00E4B},{6,2,0x00E4D},{6,2,0x00E4F},{6,2,0x00E51},
{6,2,0x00E53},{6,2,0x00E55},{6,2,0x00E57},{6,2,0x00E59},{6,2,0x00E5B},
{6,2,0x00E5D},{6,2,0x00E5F},{6,2,0x00E61},{6,2,0x00E63},{6,2,0x00E65},
{6,2,0x00E67},{6,2,0x00E69},{6,2,0x00E6B},{6,2,0x00E6D},{6,2,0x00E6F},
{6,2,0x00E71},{6,2,0x00E73},{6,2,0x00E75},{6,2,0x00E77},{6,2,0x00E79},
{6,2,0x00E7B},{6,2,0x00E7D},{6,2,0x00E7F},{6,2,0x00E81},{6,2,0x00E83},
{6,2,0x00E85},{6,2,0x00E87},{6,2,0x00E89},{6,2,0x00E8B},{6,2,0x00E8D},
{6,2,0x00E8F},{6,2,0x00E91},{6,2,0x00E93},{6,2,0x00E95},{6,2,0x00E97},
{6,2,0x00E99},{6,2,0x00E9B},{6,2,0x00E9D},{6,2,0x00E9F},{6,2,0x00EA1},
{6,2,0x00EA3},{6,2,0x00EA5},{6,2,0x00EA7},{6,2,0x00EA9},{6,2,0x00EAB},
{6,2,0x00EAD},{6,2,0x00EAF},{6,2,0x00EB1},{6,2,0x00EB3},{6,2,0x00EB5},
{6,2,0x00EB7},{6,2,0x00EB9},{6,2,0x00EBB},{6,2,0x00EBD},{6,2,0x00EBF},
{6,2,0x00EC1},{6,2,0x00EC3},{6,2,0x00EC5},{6,2,0x00EC7},{6,2,0x00EC9},
{6,2,0x00ECB},{6,2,0x00ECD},{6,2,0x00ECF},{6,2,0x00ED1},{6,2,0x00ED3},
{6,2,0x00ED5},{6,2,0x00ED7},{6,2,0x00ED9},{6,2,0x00EDB},{6,2,0x00EDD},
{6,2,0x00EDF},{6,2,0x00EE1},{6,2,0x00EE3},{6,2,0x00EE5},{6,2,0x00EE7},
{6,2,0x00EE9},{6,2,0x00EEB},{6,2,0x00EED},{6,2,0x00EEF},{6,2,0x00EF1},
{6,2,0x00EF3},{6,2,0x00EF5},{6,2,0x00EF7},{6,2,0x00EF9},{6,2,0x00EFB},
{6,2,0x00EFD},{6,2,0x00EFF},{6,2,0x00F01},{6,2,0x00F03},{6,3,0x00F05},
{6,3,0x00F08},{6,3,0x00F0B},{6,3,0x00F0E},{6,3,0x00F11},{6,3,0x00F14},
{5,2,0x00F17},{5,2,0x00F19},{5,2,0x00F1B},{5,2,0x00F1D},{5,2,0x00F1F},
{5,2,0x00F21},{5,2,0x00F23},{5,2,0x00F25},{5,2,0x00F27},{5,2,0x00F29},
{5,2,0x00F2B},{5,2,0x00F2D},{5,2,0x00F2F},{5,2,0x00F31},{5,2,0x00F33},
{5,2,0x00F35},{5,2,0x00F37},{5,2,0x00F39},{5,2,0x00F3B},{5,2,0x00F3D},
{5,2,0x00F3F},{5,2,0x00F41},{5,2,0x00F43},{5,2,0x00F45},{5,2,0x00F47},
{5,2,0x00F49},{5,2,0x00F4B},{5,2,0x00F4D},{5,2,0x00F4F},{5,2,0x00F51},
{5,2,0x00F53},{5,2,0x00F55},{5,2,0x00F57},{5,2,0x00F59},{5,2,0x00F5B},
{5,2,0x00F5D},{5,2,0x00F5F},{5,2,0x00F61},{5,2,0x00F63},{5,2,0x00F65},
{5,2,0x00F67},{5,2,0x00F69},{5,2,0x00F6B},{5,2,0x00F6D},{5,2,0x00F6F},
{5,2,0x00F71},{5,2,0x00F73},{5,2,0x00F75},{5,2,0x00F77},{5,2,0x00F79},
{5,2,0x00F7B},{3,2,0x00F7D},{3,2,0x00F7F},{3,2,0x00F81},{3,2,0x00F83},
{3,2,0x00F85},{3,2,0x00F87},{3,2,0x00F89},{3,2,0x00F8B},{3,2,0x00F8D},
{3,2,0x00F8F},{3,2,0x00F91},{3,2,0x00F93},{3,2,0x00F95},{3,2,0x00F97},
{3,2,0x00F99},{3,2,0x00F9B},{3,2,0x00F9D},{3,2,0x00F9F},{3,2,0x00FA1},
{3,2,0x00FA3},{3,2,0x00FA5},{3,2,0x00FA7},{3,2,0x00FA9},{3,2,0x00FAB},
{3,2,0x00FAD},{3,2,0x00FAF},{3,2,0x00FB1},{3,2,0x00FB3},{3,2,0x00FB5},
{3,2,0x00FB7},{3,2,0x00FB9},{3,2,0x00FBB},{3,2,0x00FBD},{3,2,0x00FBF},
{3,2,0x00FC1},{3,2,0x00FC3},{3,2,0x00FC5},{3,2,0x00FC7},{3,2,0x00FC9},
{3,2,0x00FCB},{3,2,0x00FCD},{3,2,0x00FCF},{3,2,0x00FD1},{3,2,0x00FD3},
{3,2,0x00FD5},{3,2,0x00FD7},{3,2,0x00FD9},{3,2,0x00FDB},{3,2,0x00FDD},
{3,2,0x00FDF},{3,2,0x00FE1},{3,2,0x00FE3},{3,2,0x00FE5},{3,2,0x00FE7},
{3,2,0x00FE9},{3,2,0x00FEB},{3,2,0x00FED},{3,2,0x00FEF},{3,2,0x00FF1},
{3,2,0x00FF3},{3,2,0x00FF5},{3,2,0x00FF7},{3,2,0x00FF9},{3,2,0x00FFB},
{3,2,0x00FFD},{3,2,0x00FFF},{3,2,0x01001},{3,2,0x01003},{3,2,0x01005},
{3,2,0x01007},{3,2,0x01009},{3,2,0x0100B},{4,2,0x0100D},{4,2,0x0100F},
{4,2,0x01011},{4,2,0x01013},{4,2,0x01015},{4,2,0x01017},{4,2,0x01019},
{4,2,0x0101B},{4,2,0x0101D},{4,2,0x0101F},{4,2,0x01021},{4,2,0x01023},
{4,2,0x01025},{4,2,0x01027},{4,2,0x01029},{4,2,0x0102B},{4,2,0x0102D},
{4,2,0x0102F},{4,2,0x01031},{4,3,0x01033},{4,3,0x01036},{4,3,0x01039},
{6,2,0x0103C},{6,2,0x0103E},{6,2,0x01040},{6,2,0x01042},{6,2,0x01044},
{6,2,0x01046},{6,2,0x01048},{6,2,0x0104A},{6,2,0x0104C},{6,2,0x0104E},
{6,2,0x01050}
},
/* block 43 */
{{6,2,0x01052},{6,2,0x01054},{6,2,0x01056},{6,2,0x01058},{6,2,0x0105A},
{6,2,0x0105C},{6,2,0x0105E},{6,2,0x01060},{6,2,0x01062},{6,2,0x01064},
{6,2,0x01066},{6,2,0x01068},{6,2,0x0106A},{6,2,0x0106C},{6,2,0x0106E},
{6,2,0x01070},{6,2,0x01072},{5,2,0x01074},{5,2,0x01076},{5,2,0x01078},
{5,2,0x0107A},{5,2,0x0107C},{5,2,0x0107E},{5,2,0x01080},{5,2,0x01082},
{5,2,0x01084},{5,2,0x01086},{5,2,0x01088},{5,2,0x0108A},{5,2,0x0108C},
{5,2,0x0108E},{5,2,0x01090},{5,2,0x01092},{5,2,0x01094},{5,2,0x01096},
{5,2,0x01098},{5,2,0x0109A},{5,2,0x0109C},{5,2,0x0109E},{5,2,0x010A0},
{5,2,0x010A2},{5,2,0x010A4},{5,2,0x010A6},{5,2,0x010A8},{5,2,0x010AA},
{3,2,0x010AC},{3,2,0x010AE},{3,2,0x010B0},{3,2,0x010B2},{3,2,0x010B4},
{3,2,0x010B6},{3,2,0x010B8},{4,2,0x010BA},{4,2,0x010BC},{4,2,0x010BE},
{4,2,0x010C0},{4,2,0x010C2},{4,2,0x010C4},{4,2,0x010C6},{4,2,0x010C8},
{5,2,0x010CA},{6,2,0x010CC},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{3,3,0x010CE},{5,3,0x010D1},{3,3,0x010D4},{3,3,0x010D7},{3,3,0x010DA},
{3,3,0x010DD},{3,3,0x010E0},{3,3,0x010E3},{5,3,0x010E6},{3,3,0x010E9},
{5,3,0x010EC},{5,3,0x010EF},{3,3,0x010F2},{3,3,0x010F5},{5,3,0x010F8},
{5,3,0x010FB},{3,3,0x010FE},{3,3,0x01101},{5,3,0x01104},{3,3,0x01107},
{5,3,0x0110A},{3,3,0x0110D},{5,3,0x01110},{5,3,0x01113},{3,3,0x01116},
{5,3,0x01119},{5,3,0x0111C},{3,3,0x0111F},{5,3,0x01122},{3,3,0x01125},
{5,3,0x01128},{5,3,0x0112B},{3,3,0x0112E},{5,3,0x01131},{3,3,0x01134},
{3,3,0x01137},{5,3,0x0113A},{5,3,0x0113D},{5,3,0x01140},{3,3,0x01143},
{5,3,0x01146},{5,3,0x01149},{5,3,0x0114C},{5,3,0x0114F},{5,3,0x01152},
{3,3,0x01155},{5,3,0x01158},{5,3,0x0115B},{5,3,0x0115E},{5,3,0x01161},
{5,3,0x01164},{3,3,0x01167},{5,3,0x0116A},{5,3,0x0116D},{3,3,0x01170},
{5,3,0x01173},{3,3,0x01176},{3,3,0x01179},{3,3,0x0117C},{5,3,0x0117F},
{3,3,0x01182},{3,3,0x01185},{3,3,0x01188},{3,3,0x0118B},{0,0,0},
{0,0,0},{3,3,0x0118E},{3,3,0x01191},{3,3,0x01194},{3,3,0x01197},
{5,3,0x0119A},{5,3,0x0119D},{3,3,0x011A0},{5,3,0x011A3},{5,3,0x011A6},
{5,3,0x011A9},{5,3,0x011AC},{3,3,0x011AF},{5,3,0x011B2},{5,3,0x011B5},
{5,3,0x011B8},{5,3,0x011BB},{5,3,0x011BE},{5,3,0x011C1},{5,3,0x011C4},
{5,3,0x011C7},{5,3,0x011CA},{5,3,0x011CD},{5,3,0x011D0},{5,3,0x011D3},
{5,3,0x011D6},{5,3,0x011D9},{5,3,0x011DC},{5,3,0x011DF},{5,3,0x011E2},
{5,3,0x011E5},{5,3,0x011E8},{5,3,0x011EB},{5,3,0x011EE},{5,3,0x011F1},
{3,3,0x011F4},{3,3,0x011F7},{5,3,0x011FA},{5,3,0x011FD},{3,3,0x01200},
{5,3,0x01203},{3,3,0x01206},{5,3,0x01209},{5,3,0x0120C},{5,3,0x0120F},
{5,3,0x01212},{5,3,0x01215},{5,3,0x01218},{5,3,0x0121B},{5,3,0x0121E},
{3,3,0x01221},{3,3,0x01224},{3,3,0x01227},{5,3,0x0122A},{5,3,0x0122D},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{6,3,0x01230},{6,3,0x01233},{6,4,0x01236},{6,4,0x0123A},{6,4,0x0123E},
{6,4,0x01242},{6,4,0x01246},{6,4,0x0124A},{6,4,0x0124E},{6,3,0x01252},
{6,18,0x01255},{6,8,0x01267},{6,4,0x0126F},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 44 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{10,1,0x0002C},{10,1,0x03001},{10,1,0x03002},{10,1,0x0003A},
{10,1,0x0003B},{10,1,0x00021},{10,1,0x0003F},{10,1,0x03016},{10,1,0x03017},
{10,1,0x02026},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{10,1,0x02025},{10,1,0x02014},
{10,1,0x02013},{10,1,0x0005F},{10,1,0x0005F},{10,1,0x00028},{10,1,0x00029},
{10,1,0x0007B},{10,1,0x0007D},{10,1,0x03014},{10,1,0x03015},{10,1,0x03010},
{10,1,0x03011},{10,1,0x0300A},{10,1,0x0300B},{10,1,0x03008},{10,1,0x03009},
{10,1,0x0300C},{10,1,0x0300D},{10,1,0x0300E},{10,1,0x0300F},{0,0,0},
{0,0,0},{10,1,0x0005B},{10,1,0x0005D},{16,1,0x0203E},{16,1,0x0203E},
{16,1,0x0203E},{16,1,0x0203E},{16,1,0x0005F},{16,1,0x0005F},{16,1,0x0005F},
{13,1,0x0002C},{13,1,0x03001},{13,1,0x0002E},{0,0,0},{13,1,0x0003B},
{13,1,0x0003A},{13,1,0x0003F},{13,1,0x00021},{13,1,0x02014},{13,1,0x00028},
{13,1,0x00029},{13,1,0x0007B},{13,1,0x0007D},{13,1,0x03014},{13,1,0x03015},
{13,1,0x00023},{13,1,0x00026},{13,1,0x0002A},{13,1,0x0002B},{13,1,0x0002D},
{13,1,0x0003C},{13,1,0x0003E},{13,1,0x0003D},{0,0,0},{13,1,0x0005C},
{13,1,0x00024},{13,1,0x00025},{13,1,0x00040},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{6,2,0x01273},{4,2,0x01275},{6,2,0x01277},
{0,0,0},{6,2,0x01279},{0,0,0},{6,2,0x0127B},{4,2,0x0127D},
{6,2,0x0127F},{4,2,0x01281},{6,2,0x01283},{4,2,0x01285},{6,2,0x01287},
{4,2,0x01289},{6,2,0x0128B},{4,2,0x0128D},{6,1,0x00621},{6,1,0x00622},
{5,1,0x00622},{6,1,0x00623},{5,1,0x00623},{6,1,0x00624},{5,1,0x00624},
{6,1,0x00625},{5,1,0x00625},{6,1,0x00626},{5,1,0x00626},{3,1,0x00626},
{4,1,0x00626},{6,1,0x00627},{5,1,0x00627},{6,1,0x00628},{5,1,0x00628},
{3,1,0x00628},{4,1,0x00628},{6,1,0x00629},{5,1,0x00629},{6,1,0x0062A},
{5,1,0x0062A},{3,1,0x0062A},{4,1,0x0062A},{6,1,0x0062B},{5,1,0x0062B},
{3,1,0x0062B},{4,1,0x0062B},{6,1,0x0062C},{5,1,0x0062C},{3,1,0x0062C},
{4,1,0x0062C},{6,1,0x0062D},{5,1,0x0062D},{3,1,0x0062D},{4,1,0x0062D},
{6,1,0x0062E},{5,1,0x0062E},{3,1,0x0062E},{4,1,0x0062E},{6,1,0x0062F},
{5,1,0x0062F},{6,1,0x00630},{5,1,0x00630},{6,1,0x00631},{5,1,0x00631},
{6,1,0x00632},{5,1,0x00632},{6,1,0x00633},{5,1,0x00633},{3,1,0x00633},
{4,1,0x00633},{6,1,0x00634},{5,1,0x00634},{3,1,0x00634},{4,1,0x00634},
{6,1,0x00635},{5,1,0x00635},{3,1,0x00635},{4,1,0x00635},{6,1,0x00636},
{5,1,0x00636},{3,1,0x00636},{4,1,0x00636},{6,1,0x00637},{5,1,0x00637},
{3,1,0x00637},{4,1,0x00637},{6,1,0x00638},{5,1,0x00638},{3,1,0x00638},
{4,1,0x00638},{6,1,0x00639},{5,1,0x00639},{3,1,0x00639},{4,1,0x00639},
{6,1,0x0063A},{5,1,0x0063A},{3,1,0x0063A},{4,1,0x0063A},{6,1,0x00641},
{5,1,0x00641},{3,1,0x00641},{4,1,0x00641},{6,1,0x00642},{5,1,0x00642},
{3,1,0x00642},{4,1,0x00642},{6,1,0x00643},{5,1,0x00643},{3,1,0x00643},
{4,1,0x00643},{6,1,0x00644},{5,1,0x00644},{3,1,0x00644},{4,1,0x00644},
{6,1,0x00645},{5,1,0x00645},{3,1,0x00645},{4,1,0x00645},{6,1,0x00646},
{5,1,0x00646},{3,1,0x00646},{4,1,0x00646},{6,1,0x00647},{5,1,0x00647},
{3,1,0x00647},{4,1,0x00647},{6,1,0x00648},{5,1,0x00648},{6,1,0x00649},
{5,1,0x00649},{6,1,0x0064A},{5,1,0x0064A},{3,1,0x0064A},{4,1,0x0064A},
{6,2,0x0128F},{5,2,0x01291},{6,2,0x01293},{5,2,0x01295},{6,2,0x01297},
{5,2,0x01299},{6,2,0x0129B},{5,2,0x0129D},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 45 */
{{0,0,0},{11,1,0x00021},{11,1,0x00022},{11,1,0x00023},{11,1,0x00024},
{11,1,0x00025},{11,1,0x00026},{11,1,0x00027},{11,1,0x00028},{11,1,0x00029},
{11,1,0x0002A},{11,1,0x0002B},{11,1,0x0002C},{11,1,0x0002D},{11,1,0x0002E},
{11,1,0x0002F},{11,1,0x00030},{11,1,0x00031},{11,1,0x00032},{11,1,0x00033},
{11,1,0x00034},{11,1,0x00035},{11,1,0x00036},{11,1,0x00037},{11,1,0x00038},
{11,1,0x00039},{11,1,0x0003A},{11,1,0x0003B},{11,1,0x0003C},{11,1,0x0003D},
{11,1,0x0003E},{11,1,0x0003F},{11,1,0x00040},{11,1,0x00041},{11,1,0x00042},
{11,1,0x00043},{11,1,0x00044},{11,1,0x00045},{11,1,0x00046},{11,1,0x00047},
{11,1,0x00048},{11,1,0x00049},{11,1,0x0004A},{11,1,0x0004B},{11,1,0x0004C},
{11,1,0x0004D},{11,1,0x0004E},{11,1,0x0004F},{11,1,0x00050},{11,1,0x00051},
{11,1,0x00052},{11,1,0x00053},{11,1,0x00054},{11,1,0x00055},{11,1,0x00056},
{11,1,0x00057},{11,1,0x00058},{11,1,0x00059},{11,1,0x0005A},{11,1,0x0005B},
{11,1,0x0005C},{11,1,0x0005D},{11,1,0x0005E},{11,1,0x0005F},{11,1,0x00060},
{11,1,0x00061},{11,1,0x00062},{11,1,0x00063},{11,1,0x00064},{11,1,0x00065},
{11,1,0x00066},{11,1,0x00067},{11,1,0x00068},{11,1,0x00069},{11,1,0x0006A},
{11,1,0x0006B},{11,1,0x0006C},{11,1,0x0006D},{11,1,0x0006E},{11,1,0x0006F},
{11,1,0x00070},{11,1,0x00071},{11,1,0x00072},{11,1,0x00073},{11,1,0x00074},
{11,1,0x00075},{11,1,0x00076},{11,1,0x00077},{11,1,0x00078},{11,1,0x00079},
{11,1,0x0007A},{11,1,0x0007B},{11,1,0x0007C},{11,1,0x0007D},{11,1,0x0007E},
{11,1,0x02985},{11,1,0x02986},{12,1,0x03002},{12,1,0x0300C},{12,1,0x0300D},
{12,1,0x03001},{12,1,0x030FB},{12,1,0x030F2},{12,1,0x030A1},{12,1,0x030A3},
{12,1,0x030A5},{12,1,0x030A7},{12,1,0x030A9},{12,1,0x030E3},{12,1,0x030E5},
{12,1,0x030E7},{12,1,0x030C3},{12,1,0x030FC},{12,1,0x030A2},{12,1,0x030A4},
{12,1,0x030A6},{12,1,0x030A8},{12,1,0x030AA},{12,1,0x030AB},{12,1,0x030AD},
{12,1,0x030AF},{12,1,0x030B1},{12,1,0x030B3},{12,1,0x030B5},{12,1,0x030B7},
{12,1,0x030B9},{12,1,0x030BB},{12,1,0x030BD},{12,1,0x030BF},{12,1,0x030C1},
{12,1,0x030C4},{12,1,0x030C6},{12,1,0x030C8},{12,1,0x030CA},{12,1,0x030CB},
{12,1,0x030CC},{12,1,0x030CD},{12,1,0x030CE},{12,1,0x030CF},{12,1,0x030D2},
{12,1,0x030D5},{12,1,0x030D8},{12,1,0x030DB},{12,1,0x030DE},{12,1,0x030DF},
{12,1,0x030E0},{12,1,0x030E1},{12,1,0x030E2},{12,1,0x030E4},{12,1,0x030E6},
{12,1,0x030E8},{12,1,0x030E9},{12,1,0x030EA},{12,1,0x030EB},{12,1,0x030EC},
{12,1,0x030ED},{12,1,0x030EF},{12,1,0x030F3},{12,1,0x03099},{12,1,0x0309A},
{12,1,0x03164},{12,1,0x03131},{12,1,0x03132},{12,1,0x03133},{12,1,0x03134},
{12,1,0x03135},{12,1,0x03136},{12,1,0x03137},{12,1,0x03138},{12,1,0x03139},
{12,1,0x0313A},{12,1,0x0313B},{12,1,0x0313C},{12,1,0x0313D},{12,1,0x0313E},
{12,1,0x0313F},{12,1,0x03140},{12,1,0x03141},{12,1,0x03142},{12,1,0x03143},
{12,1,0x03144},{12,1,0x03145},{12,1,0x03146},{12,1,0x03147},{12,1,0x03148},
{12,1,0x03149},{12,1,0x0314A},{12,1,0x0314B},{12,1,0x0314C},{12,1,0x0314D},
{12,1,0x0314E},{0,0,0},{0,0,0},{0,0,0},{12,1,0x0314F},
{12,1,0x03150},{12,1,0x03151},{12,1,0x03152},{12,1,0x03153},{12,1,0x03154},
{0,0,0},{0,0,0},{12,1,0x03155},{12,1,0x03156},{12,1,0x03157},
{12,1,0x03158},{12,1,0x03159},{12,1,0x0315A},{0,0,0},{0,0,0},
{12,1,0x0315B},{12,1,0x0315C},{12,1,0x0315D},{12,1,0x0315E},{12,1,0x0315F},
{12,1,0x03160},{0,0,0},{0,0,0},{12,1,0x03161},{12,1,0x03162},
{12,1,0x03163},{0,0,0},{0,0,0},{0,0,0},{11,1,0x000A2},
{11,1,0x000A3},{11,1,0x000AC},{11,1,0x000AF},{11,1,0x000A6},{11,1,0x000A5},
{11,1,0x020A9},{0,0,0},{12,1,0x02502},{12,1,0x02190},{12,1,0x02191},
{12,1,0x02192},{12,1,0x02193},{12,1,0x025A0},{12,1,0x025CB},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 46 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,2,0x0129F},
{0,0,0},{0,2,0x012A1},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,2,0x012A3},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 47 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,2,0x012A5},{0,2,0x012A7},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 48 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,2,0x012A9},{0,2,0x012AB},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 49 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,2,0x012AD},{0,2,0x012AF},{0,0,0},
{0,2,0x012B1},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 50 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,2,0x012B3},{0,2,0x012B5},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 51 */
{{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,2,0x012B7},
{0,2,0x012B9},{0,2,0x012BB},{0,2,0x012BD},{0,2,0x012BF},{0,2,0x012C1},
{0,2,0x012C3},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,2,0x012C5},{0,2,0x012C7},{0,2,0x012C9},
{0,2,0x012CB},{0,2,0x012CD},{0,2,0x012CF},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 52 */
{{1,1,0x00041},{1,1,0x00042},{1,1,0x00043},{1,1,0x00044},{1,1,0x00045},
{1,1,0x00046},{1,1,0x00047},{1,1,0x00048},{1,1,0x00049},{1,1,0x0004A},
{1,1,0x0004B},{1,1,0x0004C},{1,1,0x0004D},{1,1,0x0004E},{1,1,0x0004F},
{1,1,0x00050},{1,1,0x00051},{1,1,0x00052},{1,1,0x00053},{1,1,0x00054},
{1,1,0x00055},{1,1,0x00056},{1,1,0x00057},{1,1,0x00058},{1,1,0x00059},
{1,1,0x0005A},{1,1,0x00061},{1,1,0x00062},{1,1,0x00063},{1,1,0x00064},
{1,1,0x00065},{1,1,0x00066},{1,1,0x00067},{1,1,0x00068},{1,1,0x00069},
{1,1,0x0006A},{1,1,0x0006B},{1,1,0x0006C},{1,1,0x0006D},{1,1,0x0006E},
{1,1,0x0006F},{1,1,0x00070},{1,1,0x00071},{1,1,0x00072},{1,1,0x00073},
{1,1,0x00074},{1,1,0x00075},{1,1,0x00076},{1,1,0x00077},{1,1,0x00078},
{1,1,0x00079},{1,1,0x0007A},{1,1,0x00041},{1,1,0x00042},{1,1,0x00043},
{1,1,0x00044},{1,1,0x00045},{1,1,0x00046},{1,1,0x00047},{1,1,0x00048},
{1,1,0x00049},{1,1,0x0004A},{1,1,0x0004B},{1,1,0x0004C},{1,1,0x0004D},
{1,1,0x0004E},{1,1,0x0004F},{1,1,0x00050},{1,1,0x00051},{1,1,0x00052},
{1,1,0x00053},{1,1,0x00054},{1,1,0x00055},{1,1,0x00056},{1,1,0x00057},
{1,1,0x00058},{1,1,0x00059},{1,1,0x0005A},{1,1,0x00061},{1,1,0x00062},
{1,1,0x00063},{1,1,0x00064},{1,1,0x00065},{1,1,0x00066},{1,1,0x00067},
{0,0,0},{1,1,0x00069},{1,1,0x0006A},{1,1,0x0006B},{1,1,0x0006C},
{1,1,0x0006D},{1,1,0x0006E},{1,1,0x0006F},{1,1,0x00070},{1,1,0x00071},
{1,1,0x00072},{1,1,0x00073},{1,1,0x00074},{1,1,0x00075},{1,1,0x00076},
{1,1,0x00077},{1,1,0x00078},{1,1,0x00079},{1,1,0x0007A},{1,1,0x00041},
{1,1,0x00042},{1,1,0x00043},{1,1,0x00044},{1,1,0x00045},{1,1,0x00046},
{1,1,0x00047},{1,1,0x00048},{1,1,0x00049},{1,1,0x0004A},{1,1,0x0004B},
{1,1,0x0004C},{1,1,0x0004D},{1,1,0x0004E},{1,1,0x0004F},{1,1,0x00050},
{1,1,0x00051},{1,1,0x00052},{1,1,0x00053},{1,1,0x00054},{1,1,0x00055},
{1,1,0x00056},{1,1,0x00057},{1,1,0x00058},{1,1,0x00059},{1,1,0x0005A},
{1,1,0x00061},{1,1,0x00062},{1,1,0x00063},{1,1,0x00064},{1,1,0x00065},
{1,1,0x00066},{1,1,0x00067},{1,1,0x00068},{1,1,0x00069},{1,1,0x0006A},
{1,1,0x0006B},{1,1,0x0006C},{1,1,0x0006D},{1,1,0x0006E},{1,1,0x0006F},
{1,1,0x00070},{1,1,0x00071},{1,1,0x00072},{1,1,0x00073},{1,1,0x00074},
{1,1,0x00075},{1,1,0x00076},{1,1,0x00077},{1,1,0x00078},{1,1,0x00079},
{1,1,0x0007A},{1,1,0x00041},{0,0,0},{1,1,0x00043},{1,1,0x00044},
{0,0,0},{0,0,0},{1,1,0x00047},{0,0,0},{0,0,0},
{1,1,0x0004A},{1,1,0x0004B},{0,0,0},{0,0,0},{1,1,0x0004E},
{1,1,0x0004F},{1,1,0x00050},{1,1,0x00051},{0,0,0},{1,1,0x00053},
{1,1,0x00054},{1,1,0x00055},{1,1,0x00056},{1,1,0x00057},{1,1,0x00058},
{1,1,0x00059},{1,1,0x0005A},{1,1,0x00061},{1,1,0x00062},{1,1,0x00063},
{1,1,0x00064},{0,0,0},{1,1,0x00066},{0,0,0},{1,1,0x00068},
{1,1,0x00069},{1,1,0x0006A},{1,1,0x0006B},{1,1,0x0006C},{1,1,0x0006D},
{1,1,0x0006E},{0,0,0},{1,1,0x00070},{1,1,0x00071},{1,1,0x00072},
{1,1,0x00073},{1,1,0x00074},{1,1,0x00075},{1,1,0x00076},{1,1,0x00077},
{1,1,0x00078},{1,1,0x00079},{1,1,0x0007A},{1,1,0x00041},{1,1,0x00042},
{1,1,0x00043},{1,1,0x00044},{1,1,0x00045},{1,1,0x00046},{1,1,0x00047},
{1,1,0x00048},{1,1,0x00049},{1,1,0x0004A},{1,1,0x0004B},{1,1,0x0004C},
{1,1,0x0004D},{1,1,0x0004E},{1,1,0x0004F},{1,1,0x00050},{1,1,0x00051},
{1,1,0x00052},{1,1,0x00053},{1,1,0x00054},{1,1,0x00055},{1,1,0x00056},
{1,1,0x00057},{1,1,0x00058},{1,1,0x00059},{1,1,0x0005A},{1,1,0x00061},
{1,1,0x00062},{1,1,0x00063},{1,1,0x00064},{1,1,0x00065},{1,1,0x00066},
{1,1,0x00067},{1,1,0x00068},{1,1,0x00069},{1,1,0x0006A},{1,1,0x0006B},
{1,1,0x0006C},{1,1,0x0006D},{1,1,0x0006E},{1,1,0x0006F},{1,1,0x00070},
{1,1,0x00071},{1,1,0x00072},{1,1,0x00073},{1,1,0x00074},{1,1,0x00075},
{1,1,0x00076}
},
/* block 53 */
{{1,1,0x00077},{1,1,0x00078},{1,1,0x00079},{1,1,0x0007A},{1,1,0x00041},
{1,1,0x00042},{0,0,0},{1,1,0x00044},{1,1,0x00045},{1,1,0x00046},
{1,1,0x00047},{0,0,0},{0,0,0},{1,1,0x0004A},{1,1,0x0004B},
{1,1,0x0004C},{1,1,0x0004D},{1,1,0x0004E},{1,1,0x0004F},{1,1,0x00050},
{1,1,0x00051},{0,0,0},{1,1,0x00053},{1,1,0x00054},{1,1,0x00055},
{1,1,0x00056},{1,1,0x00057},{1,1,0x00058},{1,1,0x00059},{0,0,0},
{1,1,0x00061},{1,1,0x00062},{1,1,0x00063},{1,1,0x00064},{1,1,0x00065},
{1,1,0x00066},{1,1,0x00067},{1,1,0x00068},{1,1,0x00069},{1,1,0x0006A},
{1,1,0x0006B},{1,1,0x0006C},{1,1,0x0006D},{1,1,0x0006E},{1,1,0x0006F},
{1,1,0x00070},{1,1,0x00071},{1,1,0x00072},{1,1,0x00073},{1,1,0x00074},
{1,1,0x00075},{1,1,0x00076},{1,1,0x00077},{1,1,0x00078},{1,1,0x00079},
{1,1,0x0007A},{1,1,0x00041},{1,1,0x00042},{0,0,0},{1,1,0x00044},
{1,1,0x00045},{1,1,0x00046},{1,1,0x00047},{0,0,0},{1,1,0x00049},
{1,1,0x0004A},{1,1,0x0004B},{1,1,0x0004C},{1,1,0x0004D},{0,0,0},
{1,1,0x0004F},{0,0,0},{0,0,0},{0,0,0},{1,1,0x00053},
{1,1,0x00054},{1,1,0x00055},{1,1,0x00056},{1,1,0x00057},{1,1,0x00058},
{1,1,0x00059},{0,0,0},{1,1,0x00061},{1,1,0x00062},{1,1,0x00063},
{1,1,0x00064},{1,1,0x00065},{1,1,0x00066},{1,1,0x00067},{1,1,0x00068},
{1,1,0x00069},{1,1,0x0006A},{1,1,0x0006B},{1,1,0x0006C},{1,1,0x0006D},
{1,1,0x0006E},{1,1,0x0006F},{1,1,0x00070},{1,1,0x00071},{1,1,0x00072},
{1,1,0x00073},{1,1,0x00074},{1,1,0x00075},{1,1,0x00076},{1,1,0x00077},
{1,1,0x00078},{1,1,0x00079},{1,1,0x0007A},{1,1,0x00041},{1,1,0x00042},
{1,1,0x00043},{1,1,0x00044},{1,1,0x00045},{1,1,0x00046},{1,1,0x00047},
{1,1,0x00048},{1,1,0x00049},{1,1,0x0004A},{1,1,0x0004B},{1,1,0x0004C},
{1,1,0x0004D},{1,1,0x0004E},{1,1,0x0004F},{1,1,0x00050},{1,1,0x00051},
{1,1,0x00052},{1,1,0x00053},{1,1,0x00054},{1,1,0x00055},{1,1,0x00056},
{1,1,0x00057},{1,1,0x00058},{1,1,0x00059},{1,1,0x0005A},{1,1,0x00061},
{1,1,0x00062},{1,1,0x00063},{1,1,0x00064},{1,1,0x00065},{1,1,0x00066},
{1,1,0x00067},{1,1,0x00068},{1,1,0x00069},{1,1,0x0006A},{1,1,0x0006B},
{1,1,0x0006C},{1,1,0x0006D},{1,1,0x0006E},{1,1,0x0006F},{1,1,0x00070},
{1,1,0x00071},{1,1,0x00072},{1,1,0x00073},{1,1,0x00074},{1,1,0x00075},
{1,1,0x00076},{1,1,0x00077},{1,1,0x00078},{1,1,0x00079},{1,1,0x0007A},
{1,1,0x00041},{1,1,0x00042},{1,1,0x00043},{1,1,0x00044},{1,1,0x00045},
{1,1,0x00046},{1,1,0x00047},{1,1,0x00048},{1,1,0x00049},{1,1,0x0004A},
{1,1,0x0004B},{1,1,0x0004C},{1,1,0x0004D},{1,1,0x0004E},{1,1,0x0004F},
{1,1,0x00050},{1,1,0x00051},{1,1,0x00052},{1,1,0x00053},{1,1,0x00054},
{1,1,0x00055},{1,1,0x00056},{1,1,0x00057},{1,1,0x00058},{1,1,0x00059},
{1,1,0x0005A},{1,1,0x00061},{1,1,0x00062},{1,1,0x00063},{1,1,0x00064},
{1,1,0x00065},{1,1,0x00066},{1,1,0x00067},{1,1,0x00068},{1,1,0x00069},
{1,1,0x0006A},{1,1,0x0006B},{1,1,0x0006C},{1,1,0x0006D},{1,1,0x0006E},
{1,1,0x0006F},{1,1,0x00070},{1,1,0x00071},{1,1,0x00072},{1,1,0x00073},
{1,1,0x00074},{1,1,0x00075},{1,1,0x00076},{1,1,0x00077},{1,1,0x00078},
{1,1,0x00079},{1,1,0x0007A},{1,1,0x00041},{1,1,0x00042},{1,1,0x00043},
{1,1,0x00044},{1,1,0x00045},{1,1,0x00046},{1,1,0x00047},{1,1,0x00048},
{1,1,0x00049},{1,1,0x0004A},{1,1,0x0004B},{1,1,0x0004C},{1,1,0x0004D},
{1,1,0x0004E},{1,1,0x0004F},{1,1,0x00050},{1,1,0x00051},{1,1,0x00052},
{1,1,0x00053},{1,1,0x00054},{1,1,0x00055},{1,1,0x00056},{1,1,0x00057},
{1,1,0x00058},{1,1,0x00059},{1,1,0x0005A},{1,1,0x00061},{1,1,0x00062},
{1,1,0x00063},{1,1,0x00064},{1,1,0x00065},{1,1,0x00066},{1,1,0x00067},
{1,1,0x00068},{1,1,0x00069},{1,1,0x0006A},{1,1,0x0006B},{1,1,0x0006C},
{1,1,0x0006D},{1,1,0x0006E},{1,1,0x0006F},{1,1,0x00070},{1,1,0x00071},
{1,1,0x00072}
},
/* block 54 */
{{1,1,0x00073},{1,1,0x00074},{1,1,0x00075},{1,1,0x00076},{1,1,0x00077},
{1,1,0x00078},{1,1,0x00079},{1,1,0x0007A},{1,1,0x00041},{1,1,0x00042},
{1,1,0x00043},{1,1,0x00044},{1,1,0x00045},{1,1,0x00046},{1,1,0x00047},
{1,1,0x00048},{1,1,0x00049},{1,1,0x0004A},{1,1,0x0004B},{1,1,0x0004C},
{1,1,0x0004D},{1,1,0x0004E},{1,1,0x0004F},{1,1,0x00050},{1,1,0x00051},
{1,1,0x00052},{1,1,0x00053},{1,1,0x00054},{1,1,0x00055},{1,1,0x00056},
{1,1,0x00057},{1,1,0x00058},{1,1,0x00059},{1,1,0x0005A},{1,1,0x00061},
{1,1,0x00062},{1,1,0x00063},{1,1,0x00064},{1,1,0x00065},{1,1,0x00066},
{1,1,0x00067},{1,1,0x00068},{1,1,0x00069},{1,1,0x0006A},{1,1,0x0006B},
{1,1,0x0006C},{1,1,0x0006D},{1,1,0x0006E},{1,1,0x0006F},{1,1,0x00070},
{1,1,0x00071},{1,1,0x00072},{1,1,0x00073},{1,1,0x00074},{1,1,0x00075},
{1,1,0x00076},{1,1,0x00077},{1,1,0x00078},{1,1,0x00079},{1,1,0x0007A},
{1,1,0x00041},{1,1,0x00042},{1,1,0x00043},{1,1,0x00044},{1,1,0x00045},
{1,1,0x00046},{1,1,0x00047},{1,1,0x00048},{1,1,0x00049},{1,1,0x0004A},
{1,1,0x0004B},{1,1,0x0004C},{1,1,0x0004D},{1,1,0x0004E},{1,1,0x0004F},
{1,1,0x00050},{1,1,0x00051},{1,1,0x00052},{1,1,0x00053},{1,1,0x00054},
{1,1,0x00055},{1,1,0x00056},{1,1,0x00057},{1,1,0x00058},{1,1,0x00059},
{1,1,0x0005A},{1,1,0x00061},{1,1,0x00062},{1,1,0x00063},{1,1,0x00064},
{1,1,0x00065},{1,1,0x00066},{1,1,0x00067},{1,1,0x00068},{1,1,0x00069},
{1,1,0x0006A},{1,1,0x0006B},{1,1,0x0006C},{1,1,0x0006D},{1,1,0x0006E},
{1,1,0x0006F},{1,1,0x00070},{1,1,0x00071},{1,1,0x00072},{1,1,0x00073},
{1,1,0x00074},{1,1,0x00075},{1,1,0x00076},{1,1,0x00077},{1,1,0x00078},
{1,1,0x00079},{1,1,0x0007A},{1,1,0x00041},{1,1,0x00042},{1,1,0x00043},
{1,1,0x00044},{1,1,0x00045},{1,1,0x00046},{1,1,0x00047},{1,1,0x00048},
{1,1,0x00049},{1,1,0x0004A},{1,1,0x0004B},{1,1,0x0004C},{1,1,0x0004D},
{1,1,0x0004E},{1,1,0x0004F},{1,1,0x00050},{1,1,0x00051},{1,1,0x00052},
{1,1,0x00053},{1,1,0x00054},{1,1,0x00055},{1,1,0x00056},{1,1,0x00057},
{1,1,0x00058},{1,1,0x00059},{1,1,0x0005A},{1,1,0x00061},{1,1,0x00062},
{1,1,0x00063},{1,1,0x00064},{1,1,0x00065},{1,1,0x00066},{1,1,0x00067},
{1,1,0x00068},{1,1,0x00069},{1,1,0x0006A},{1,1,0x0006B},{1,1,0x0006C},
{1,1,0x0006D},{1,1,0x0006E},{1,1,0x0006F},{1,1,0x00070},{1,1,0x00071},
{1,1,0x00072},{1,1,0x00073},{1,1,0x00074},{1,1,0x00075},{1,1,0x00076},
{1,1,0x00077},{1,1,0x00078},{1,1,0x00079},{1,1,0x0007A},{1,1,0x00131},
{1,1,0x00237},{0,0,0},{0,0,0},{1,1,0x00391},{1,1,0x00392},
{1,1,0x00393},{1,1,0x00394},{1,1,0x00395},{1,1,0x00396},{1,1,0x00397},
{1,1,0x00398},{1,1,0x00399},{1,1,0x0039A},{1,1,0x0039B},{1,1,0x0039C},
{1,1,0x0039D},{1,1,0x0039E},{1,1,0x0039F},{1,1,0x003A0},{1,1,0x003A1},
{1,1,0x003F4},{1,1,0x003A3},{1,1,0x003A4},{1,1,0x003A5},{1,1,0x003A6},
{1,1,0x003A7},{1,1,0x003A8},{1,1,0x003A9},{1,1,0x02207},{1,1,0x003B1},
{1,1,0x003B2},{1,1,0x003B3},{1,1,0x003B4},{1,1,0x003B5},{1,1,0x003B6},
{1,1,0x003B7},{1,1,0x003B8},{1,1,0x003B9},{1,1,0x003BA},{1,1,0x003BB},
{1,1,0x003BC},{1,1,0x003BD},{1,1,0x003BE},{1,1,0x003BF},{1,1,0x003C0},
{1,1,0x003C1},{1,1,0x003C2},{1,1,0x003C3},{1,1,0x003C4},{1,1,0x003C5},
{1,1,0x003C6},{1,1,0x003C7},{1,1,0x003C8},{1,1,0x003C9},{1,1,0x02202},
{1,1,0x003F5},{1,1,0x003D1},{1,1,0x003F0},{1,1,0x003D5},{1,1,0x003F1},
{1,1,0x003D6},{1,1,0x00391},{1,1,0x00392},{1,1,0x00393},{1,1,0x00394},
{1,1,0x00395},{1,1,0x00396},{1,1,0x00397},{1,1,0x00398},{1,1,0x00399},
{1,1,0x0039A},{1,1,0x0039B},{1,1,0x0039C},{1,1,0x0039D},{1,1,0x0039E},
{1,1,0x0039F},{1,1,0x003A0},{1,1,0x003A1},{1,1,0x003F4},{1,1,0x003A3},
{1,1,0x003A4},{1,1,0x003A5},{1,1,0x003A6},{1,1,0x003A7},{1,1,0x003A8},
{1,1,0x003A9},{1,1,0x02207},{1,1,0x003B1},{1,1,0x003B2},{1,1,0x003B3},
{1,1,0x003B4}
},
/* block 55 */
{{1,1,0x003B5},{1,1,0x003B6},{1,1,0x003B7},{1,1,0x003B8},{1,1,0x003B9},
{1,1,0x003BA},{1,1,0x003BB},{1,1,0x003BC},{1,1,0x003BD},{1,1,0x003BE},
{1,1,0x003BF},{1,1,0x003C0},{1,1,0x003C1},{1,1,0x003C2},{1,1,0x003C3},
{1,1,0x003C4},{1,1,0x003C5},{1,1,0x003C6},{1,1,0x003C7},{1,1,0x003C8},
{1,1,0x003C9},{1,1,0x02202},{1,1,0x003F5},{1,1,0x003D1},{1,1,0x003F0},
{1,1,0x003D5},{1,1,0x003F1},{1,1,0x003D6},{1,1,0x00391},{1,1,0x00392},
{1,1,0x00393},{1,1,0x00394},{1,1,0x00395},{1,1,0x00396},{1,1,0x00397},
{1,1,0x00398},{1,1,0x00399},{1,1,0x0039A},{1,1,0x0039B},{1,1,0x0039C},
{1,1,0x0039D},{1,1,0x0039E},{1,1,0x0039F},{1,1,0x003A0},{1,1,0x003A1},
{1,1,0x003F4},{1,1,0x003A3},{1,1,0x003A4},{1,1,0x003A5},{1,1,0x003A6},
{1,1,0x003A7},{1,1,0x003A8},{1,1,0x003A9},{1,1,0x02207},{1,1,0x003B1},
{1,1,0x003B2},{1,1,0x003B3},{1,1,0x003B4},{1,1,0x003B5},{1,1,0x003B6},
{1,1,0x003B7},{1,1,0x003B8},{1,1,0x003B9},{1,1,0x003BA},{1,1,0x003BB},
{1,1,0x003BC},{1,1,0x003BD},{1,1,0x003BE},{1,1,0x003BF},{1,1,0x003C0},
{1,1,0x003C1},{1,1,0x003C2},{1,1,0x003C3},{1,1,0x003C4},{1,1,0x003C5},
{1,1,0x003C6},{1,1,0x003C7},{1,1,0x003C8},{1,1,0x003C9},{1,1,0x02202},
{1,1,0x003F5},{1,1,0x003D1},{1,1,0x003F0},{1,1,0x003D5},{1,1,0x003F1},
{1,1,0x003D6},{1,1,0x00391},{1,1,0x00392},{1,1,0x00393},{1,1,0x00394},
{1,1,0x00395},{1,1,0x00396},{1,1,0x00397},{1,1,0x00398},{1,1,0x00399},
{1,1,0x0039A},{1,1,0x0039B},{1,1,0x0039C},{1,1,0x0039D},{1,1,0x0039E},
{1,1,0x0039F},{1,1,0x003A0},{1,1,0x003A1},{1,1,0x003F4},{1,1,0x003A3},
{1,1,0x003A4},{1,1,0x003A5},{1,1,0x003A6},{1,1,0x003A7},{1,1,0x003A8},
{1,1,0x003A9},{1,1,0x02207},{1,1,0x003B1},{1,1,0x003B2},{1,1,0x003B3},
{1,1,0x003B4},{1,1,0x003B5},{1,1,0x003B6},{1,1,0x003B7},{1,1,0x003B8},
{1,1,0x003B9},{1,1,0x003BA},{1,1,0x003BB},{1,1,0x003BC},{1,1,0x003BD},
{1,1,0x003BE},{1,1,0x003BF},{1,1,0x003C0},{1,1,0x003C1},{1,1,0x003C2},
{1,1,0x003C3},{1,1,0x003C4},{1,1,0x003C5},{1,1,0x003C6},{1,1,0x003C7},
{1,1,0x003C8},{1,1,0x003C9},{1,1,0x02202},{1,1,0x003F5},{1,1,0x003D1},
{1,1,0x003F0},{1,1,0x003D5},{1,1,0x003F1},{1,1,0x003D6},{1,1,0x00391},
{1,1,0x00392},{1,1,0x00393},{1,1,0x00394},{1,1,0x00395},{1,1,0x00396},
{1,1,0x00397},{1,1,0x00398},{1,1,0x00399},{1,1,0x0039A},{1,1,0x0039B},
{1,1,0x0039C},{1,1,0x0039D},{1,1,0x0039E},{1,1,0x0039F},{1,1,0x003A0},
{1,1,0x003A1},{1,1,0x003F4},{1,1,0x003A3},{1,1,0x003A4},{1,1,0x003A5},
{1,1,0x003A6},{1,1,0x003A7},{1,1,0x003A8},{1,1,0x003A9},{1,1,0x02207},
{1,1,0x003B1},{1,1,0x003B2},{1,1,0x003B3},{1,1,0x003B4},{1,1,0x003B5},
{1,1,0x003B6},{1,1,0x003B7},{1,1,0x003B8},{1,1,0x003B9},{1,1,0x003BA},
{1,1,0x003BB},{1,1,0x003BC},{1,1,0x003BD},{1,1,0x003BE},{1,1,0x003BF},
{1,1,0x003C0},{1,1,0x003C1},{1,1,0x003C2},{1,1,0x003C3},{1,1,0x003C4},
{1,1,0x003C5},{1,1,0x003C6},{1,1,0x003C7},{1,1,0x003C8},{1,1,0x003C9},
{1,1,0x02202},{1,1,0x003F5},{1,1,0x003D1},{1,1,0x003F0},{1,1,0x003D5},
{1,1,0x003F1},{1,1,0x003D6},{1,1,0x003DC},{1,1,0x003DD},{0,0,0},
{0,0,0},{1,1,0x00030},{1,1,0x00031},{1,1,0x00032},{1,1,0x00033},
{1,1,0x00034},{1,1,0x00035},{1,1,0x00036},{1,1,0x00037},{1,1,0x00038},
{1,1,0x00039},{1,1,0x00030},{1,1,0x00031},{1,1,0x00032},{1,1,0x00033},
{1,1,0x00034},{1,1,0x00035},{1,1,0x00036},{1,1,0x00037},{1,1,0x00038},
{1,1,0x00039},{1,1,0x00030},{1,1,0x00031},{1,1,0x00032},{1,1,0x00033},
{1,1,0x00034},{1,1,0x00035},{1,1,0x00036},{1,1,0x00037},{1,1,0x00038},
{1,1,0x00039},{1,1,0x00030},{1,1,0x00031},{1,1,0x00032},{1,1,0x00033},
{1,1,0x00034},{1,1,0x00035},{1,1,0x00036},{1,1,0x00037},{1,1,0x00038},
{1,1,0x00039},{1,1,0x00030},{1,1,0x00031},{1,1,0x00032},{1,1,0x00033},
{1,1,0x00034},{1,1,0x00035},{1,1,0x00036},{1,1,0x00037},{1,1,0x00038},
{1,1,0x00039}
},
/* block 56 */
{{1,1,0x00627},{1,1,0x00628},{1,1,0x0062C},{1,1,0x0062F},{0,0,0},
{1,1,0x00648},{1,1,0x00632},{1,1,0x0062D},{1,1,0x00637},{1,1,0x0064A},
{1,1,0x00643},{1,1,0x00644},{1,1,0x00645},{1,1,0x00646},{1,1,0x00633},
{1,1,0x00639},{1,1,0x00641},{1,1,0x00635},{1,1,0x00642},{1,1,0x00631},
{1,1,0x00634},{1,1,0x0062A},{1,1,0x0062B},{1,1,0x0062E},{1,1,0x00630},
{1,1,0x00636},{1,1,0x00638},{1,1,0x0063A},{1,1,0x0066E},{1,1,0x006BA},
{1,1,0x006A1},{1,1,0x0066F},{0,0,0},{1,1,0x00628},{1,1,0x0062C},
{0,0,0},{1,1,0x00647},{0,0,0},{0,0,0},{1,1,0x0062D},
{0,0,0},{1,1,0x0064A},{1,1,0x00643},{1,1,0x00644},{1,1,0x00645},
{1,1,0x00646},{1,1,0x00633},{1,1,0x00639},{1,1,0x00641},{1,1,0x00635},
{1,1,0x00642},{0,0,0},{1,1,0x00634},{1,1,0x0062A},{1,1,0x0062B},
{1,1,0x0062E},{0,0,0},{1,1,0x00636},{0,0,0},{1,1,0x0063A},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{1,1,0x0062C},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{1,1,0x0062D},{0,0,0},{1,1,0x0064A},{0,0,0},
{1,1,0x00644},{0,0,0},{1,1,0x00646},{1,1,0x00633},{1,1,0x00639},
{0,0,0},{1,1,0x00635},{1,1,0x00642},{0,0,0},{1,1,0x00634},
{0,0,0},{0,0,0},{1,1,0x0062E},{0,0,0},{1,1,0x00636},
{0,0,0},{1,1,0x0063A},{0,0,0},{1,1,0x006BA},{0,0,0},
{1,1,0x0066F},{0,0,0},{1,1,0x00628},{1,1,0x0062C},{0,0,0},
{1,1,0x00647},{0,0,0},{0,0,0},{1,1,0x0062D},{1,1,0x00637},
{1,1,0x0064A},{1,1,0x00643},{0,0,0},{1,1,0x00645},{1,1,0x00646},
{1,1,0x00633},{1,1,0x00639},{1,1,0x00641},{1,1,0x00635},{1,1,0x00642},
{0,0,0},{1,1,0x00634},{1,1,0x0062A},{1,1,0x0062B},{1,1,0x0062E},
{0,0,0},{1,1,0x00636},{1,1,0x00638},{1,1,0x0063A},{1,1,0x0066E},
{0,0,0},{1,1,0x006A1},{0,0,0},{1,1,0x00627},{1,1,0x00628},
{1,1,0x0062C},{1,1,0x0062F},{1,1,0x00647},{1,1,0x00648},{1,1,0x00632},
{1,1,0x0062D},{1,1,0x00637},{1,1,0x0064A},{0,0,0},{1,1,0x00644},
{1,1,0x00645},{1,1,0x00646},{1,1,0x00633},{1,1,0x00639},{1,1,0x00641},
{1,1,0x00635},{1,1,0x00642},{1,1,0x00631},{1,1,0x00634},{1,1,0x0062A},
{1,1,0x0062B},{1,1,0x0062E},{1,1,0x00630},{1,1,0x00636},{1,1,0x00638},
{1,1,0x0063A},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{1,1,0x00628},{1,1,0x0062C},{1,1,0x0062F},{0,0,0},
{1,1,0x00648},{1,1,0x00632},{1,1,0x0062D},{1,1,0x00637},{1,1,0x0064A},
{0,0,0},{1,1,0x00644},{1,1,0x00645},{1,1,0x00646},{1,1,0x00633},
{1,1,0x00639},{1,1,0x00641},{1,1,0x00635},{1,1,0x00642},{1,1,0x00631},
{1,1,0x00634},{1,1,0x0062A},{1,1,0x0062B},{1,1,0x0062E},{1,1,0x00630},
{1,1,0x00636},{1,1,0x00638},{1,1,0x0063A},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 57 */
{{16,2,0x012D1},{16,2,0x012D3},{16,2,0x012D5},{16,2,0x012D7},{16,2,0x012D9},
{16,2,0x012DB},{16,2,0x012DD},{16,2,0x012DF},{16,2,0x012E1},{16,2,0x012E3},
{16,2,0x012E5},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{16,3,0x012E7},{16,3,0x012EA},{16,3,0x012ED},{16,3,0x012F0},
{16,3,0x012F3},{16,3,0x012F6},{16,3,0x012F9},{16,3,0x012FC},{16,3,0x012FF},
{16,3,0x01302},{16,3,0x01305},{16,3,0x01308},{16,3,0x0130B},{16,3,0x0130E},
{16,3,0x01311},{16,3,0x01314},{16,3,0x01317},{16,3,0x0131A},{16,3,0x0131D},
{16,3,0x01320},{16,3,0x01323},{16,3,0x01326},{16,3,0x01329},{16,3,0x0132C},
{16,3,0x0132F},{16,3,0x01332},{16,3,0x01335},{7,1,0x00043},{7,1,0x00052},
{7,2,0x01338},{7,2,0x0133A},{0,0,0},{14,1,0x00041},{14,1,0x00042},
{14,1,0x00043},{14,1,0x00044},{14,1,0x00045},{14,1,0x00046},{14,1,0x00047},
{14,1,0x00048},{14,1,0x00049},{14,1,0x0004A},{14,1,0x0004B},{14,1,0x0004C},
{14,1,0x0004D},{14,1,0x0004E},{14,1,0x0004F},{14,1,0x00050},{14,1,0x00051},
{14,1,0x00052},{14,1,0x00053},{14,1,0x00054},{14,1,0x00055},{14,1,0x00056},
{14,1,0x00057},{14,1,0x00058},{14,1,0x00059},{14,1,0x0005A},{14,2,0x0133C},
{14,2,0x0133E},{14,2,0x01340},{14,2,0x01342},{14,3,0x01344},{14,2,0x01347},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{8,2,0x01349},{8,2,0x0134B},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{14,2,0x0134D},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 58 */
{{14,2,0x0134F},{14,2,0x01351},{14,1,0x030B5},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{14,1,0x0624B},{14,1,0x05B57},{14,1,0x053CC},{14,1,0x030C7},
{14,1,0x04E8C},{14,1,0x0591A},{14,1,0x089E3},{14,1,0x05929},{14,1,0x04EA4},
{14,1,0x06620},{14,1,0x07121},{14,1,0x06599},{14,1,0x0524D},{14,1,0x05F8C},
{14,1,0x0518D},{14,1,0x065B0},{14,1,0x0521D},{14,1,0x07D42},{14,1,0x0751F},
{14,1,0x08CA9},{14,1,0x058F0},{14,1,0x05439},{14,1,0x06F14},{14,1,0x06295},
{14,1,0x06355},{14,1,0x04E00},{14,1,0x04E09},{14,1,0x0904A},{14,1,0x05DE6},
{14,1,0x04E2D},{14,1,0x053F3},{14,1,0x06307},{14,1,0x08D70},{14,1,0x06253},
{14,1,0x07981},{14,1,0x07A7A},{14,1,0x05408},{14,1,0x06E80},{14,1,0x06709},
{14,1,0x06708},{14,1,0x07533},{14,1,0x05272},{14,1,0x055B6},{14,1,0x0914D},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{16,3,0x01353},
{16,3,0x01356},{16,3,0x01359},{16,3,0x0135C},{16,3,0x0135F},{16,3,0x01362},
{16,3,0x01365},{16,3,0x01368},{16,3,0x0136B},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{7,1,0x05F97},{7,1,0x053EF},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
},
/* block 59 */
{{0,1,0x04E3D},{0,1,0x04E38},{0,1,0x04E41},{0,1,0x20122},{0,1,0x04F60},
{0,1,0x04FAE},{0,1,0x04FBB},{0,1,0x05002},{0,1,0x0507A},{0,1,0x05099},
{0,1,0x050E7},{0,1,0x050CF},{0,1,0x0349E},{0,1,0x2063A},{0,1,0x0514D},
{0,1,0x05154},{0,1,0x05164},{0,1,0x05177},{0,1,0x2051C},{0,1,0x034B9},
{0,1,0x05167},{0,1,0x0518D},{0,1,0x2054B},{0,1,0x05197},{0,1,0x051A4},
{0,1,0x04ECC},{0,1,0x051AC},{0,1,0x051B5},{0,1,0x291DF},{0,1,0x051F5},
{0,1,0x05203},{0,1,0x034DF},{0,1,0x0523B},{0,1,0x05246},{0,1,0x05272},
{0,1,0x05277},{0,1,0x03515},{0,1,0x052C7},{0,1,0x052C9},{0,1,0x052E4},
{0,1,0x052FA},{0,1,0x05305},{0,1,0x05306},{0,1,0x05317},{0,1,0x05349},
{0,1,0x05351},{0,1,0x0535A},{0,1,0x05373},{0,1,0x0537D},{0,1,0x0537F},
{0,1,0x0537F},{0,1,0x0537F},{0,1,0x20A2C},{0,1,0x07070},{0,1,0x053CA},
{0,1,0x053DF},{0,1,0x20B63},{0,1,0x053EB},{0,1,0x053F1},{0,1,0x05406},
{0,1,0x0549E},{0,1,0x05438},{0,1,0x05448},{0,1,0x05468},{0,1,0x054A2},
{0,1,0x054F6},{0,1,0x05510},{0,1,0x05553},{0,1,0x05563},{0,1,0x05584},
{0,1,0x05584},{0,1,0x05599},{0,1,0x055AB},{0,1,0x055B3},{0,1,0x055C2},
{0,1,0x05716},{0,1,0x05606},{0,1,0x05717},{0,1,0x05651},{0,1,0x05674},
{0,1,0x05207},{0,1,0x058EE},{0,1,0x057CE},{0,1,0x057F4},{0,1,0x0580D},
{0,1,0x0578B},{0,1,0x05832},{0,1,0x05831},{0,1,0x058AC},{0,1,0x214E4},
{0,1,0x058F2},{0,1,0x058F7},{0,1,0x05906},{0,1,0x0591A},{0,1,0x05922},
{0,1,0x05962},{0,1,0x216A8},{0,1,0x216EA},{0,1,0x059EC},{0,1,0x05A1B},
{0,1,0x05A27},{0,1,0x059D8},{0,1,0x05A66},{0,1,0x036EE},{0,1,0x036FC},
{0,1,0x05B08},{0,1,0x05B3E},{0,1,0x05B3E},{0,1,0x219C8},{0,1,0x05BC3},
{0,1,0x05BD8},{0,1,0x05BE7},{0,1,0x05BF3},{0,1,0x21B18},{0,1,0x05BFF},
{0,1,0x05C06},{0,1,0x05F53},{0,1,0x05C22},{0,1,0x03781},{0,1,0x05C60},
{0,1,0x05C6E},{0,1,0x05CC0},{0,1,0x05C8D},{0,1,0x21DE4},{0,1,0x05D43},
{0,1,0x21DE6},{0,1,0x05D6E},{0,1,0x05D6B},{0,1,0x05D7C},{0,1,0x05DE1},
{0,1,0x05DE2},{0,1,0x0382F},{0,1,0x05DFD},{0,1,0x05E28},{0,1,0x05E3D},
{0,1,0x05E69},{0,1,0x03862},{0,1,0x22183},{0,1,0x0387C},{0,1,0x05EB0},
{0,1,0x05EB3},{0,1,0x05EB6},{0,1,0x05ECA},{0,1,0x2A392},{0,1,0x05EFE},
{0,1,0x22331},{0,1,0x22331},{0,1,0x08201},{0,1,0x05F22},{0,1,0x05F22},
{0,1,0x038C7},{0,1,0x232B8},{0,1,0x261DA},{0,1,0x05F62},{0,1,0x05F6B},
{0,1,0x038E3},{0,1,0x05F9A},{0,1,0x05FCD},{0,1,0x05FD7},{0,1,0x05FF9},
{0,1,0x06081},{0,1,0x0393A},{0,1,0x0391C},{0,1,0x06094},{0,1,0x226D4},
{0,1,0x060C7},{0,1,0x06148},{0,1,0x0614C},{0,1,0x0614E},{0,1,0x0614C},
{0,1,0x0617A},{0,1,0x0618E},{0,1,0x061B2},{0,1,0x061A4},{0,1,0x061AF},
{0,1,0x061DE},{0,1,0x061F2},{0,1,0x061F6},{0,1,0x06210},{0,1,0x0621B},
{0,1,0x0625D},{0,1,0x062B1},{0,1,0x062D4},{0,1,0x06350},{0,1,0x22B0C},
{0,1,0x0633D},{0,1,0x062FC},{0,1,0x06368},{0,1,0x06383},{0,1,0x063E4},
{0,1,0x22BF1},{0,1,0x06422},{0,1,0x063C5},{0,1,0x063A9},{0,1,0x03A2E},
{0,1,0x06469},{0,1,0x0647E},{0,1,0x0649D},{0,1,0x06477},{0,1,0x03A6C},
{0,1,0x0654F},{0,1,0x0656C},{0,1,0x2300A},{0,1,0x065E3},{0,1,0x066F8},
{0,1,0x06649},{0,1,0x03B19},{0,1,0x06691},{0,1,0x03B08},{0,1,0x03AE4},
{0,1,0x05192},{0,1,0x05195},{0,1,0x06700},{0,1,0x0669C},{0,1,0x080AD},
{0,1,0x043D9},{0,1,0x06717},{0,1,0x0671B},{0,1,0x06721},{0,1,0x0675E},
{0,1,0x06753},{0,1,0x233C3},{0,1,0x03B49},{0,1,0x067FA},{0,1,0x06785},
{0,1,0x06852},{0,1,0x06885},{0,1,0x2346D},{0,1,0x0688E},{0,1,0x0681F},
{0,1,0x06914},{0,1,0x03B9D},{0,1,0x06942},{0,1,0x069A3},{0,1,0x069EA},
{0,1,0x06AA8},{0,1,0x236A3},{0,1,0x06ADB},{0,1,0x03C18},{0,1,0x06B21},
{0,1,0x238A7},{0,1,0x06B54},{0,1,0x03C4E},{0,1,0x06B72},{0,1,0x06B9F},
{0,1,0x06BBA},{0,1,0x06BBB},{0,1,0x23A8D},{0,1,0x21D0B},{0,1,0x23AFA},
{0,1,0x06C4E},{0,1,0x23CBC},{0,1,0x06CBF},{0,1,0x06CCD},{0,1,0x06C67},
{0,1,0x06D16}
},
/* block 60 */
{{0,1,0x06D3E},{0,1,0x06D77},{0,1,0x06D41},{0,1,0x06D69},{0,1,0x06D78},
{0,1,0x06D85},{0,1,0x23D1E},{0,1,0x06D34},{0,1,0x06E2F},{0,1,0x06E6E},
{0,1,0x03D33},{0,1,0x06ECB},{0,1,0x06EC7},{0,1,0x23ED1},{0,1,0x06DF9},
{0,1,0x06F6E},{0,1,0x23F5E},{0,1,0x23F8E},{0,1,0x06FC6},{0,1,0x07039},
{0,1,0x0701E},{0,1,0x0701B},{0,1,0x03D96},{0,1,0x0704A},{0,1,0x0707D},
{0,1,0x07077},{0,1,0x070AD},{0,1,0x20525},{0,1,0x07145},{0,1,0x24263},
{0,1,0x0719C},{0,1,0x243AB},{0,1,0x07228},{0,1,0x07235},{0,1,0x07250},
{0,1,0x24608},{0,1,0x07280},{0,1,0x07295},{0,1,0x24735},{0,1,0x24814},
{0,1,0x0737A},{0,1,0x0738B},{0,1,0x03EAC},{0,1,0x073A5},{0,1,0x03EB8},
{0,1,0x03EB8},{0,1,0x07447},{0,1,0x0745C},{0,1,0x07471},{0,1,0x07485},
{0,1,0x074CA},{0,1,0x03F1B},{0,1,0x07524},{0,1,0x24C36},{0,1,0x0753E},
{0,1,0x24C92},{0,1,0x07570},{0,1,0x2219F},{0,1,0x07610},{0,1,0x24FA1},
{0,1,0x24FB8},{0,1,0x25044},{0,1,0x03FFC},{0,1,0x04008},{0,1,0x076F4},
{0,1,0x250F3},{0,1,0x250F2},{0,1,0x25119},{0,1,0x25133},{0,1,0x0771E},
{0,1,0x0771F},{0,1,0x0771F},{0,1,0x0774A},{0,1,0x04039},{0,1,0x0778B},
{0,1,0x04046},{0,1,0x04096},{0,1,0x2541D},{0,1,0x0784E},{0,1,0x0788C},
{0,1,0x078CC},{0,1,0x040E3},{0,1,0x25626},{0,1,0x07956},{0,1,0x2569A},
{0,1,0x256C5},{0,1,0x0798F},{0,1,0x079EB},{0,1,0x0412F},{0,1,0x07A40},
{0,1,0x07A4A},{0,1,0x07A4F},{0,1,0x2597C},{0,1,0x25AA7},{0,1,0x25AA7},
{0,1,0x07AEE},{0,1,0x04202},{0,1,0x25BAB},{0,1,0x07BC6},{0,1,0x07BC9},
{0,1,0x04227},{0,1,0x25C80},{0,1,0x07CD2},{0,1,0x042A0},{0,1,0x07CE8},
{0,1,0x07CE3},{0,1,0x07D00},{0,1,0x25F86},{0,1,0x07D63},{0,1,0x04301},
{0,1,0x07DC7},{0,1,0x07E02},{0,1,0x07E45},{0,1,0x04334},{0,1,0x26228},
{0,1,0x26247},{0,1,0x04359},{0,1,0x262D9},{0,1,0x07F7A},{0,1,0x2633E},
{0,1,0x07F95},{0,1,0x07FFA},{0,1,0x08005},{0,1,0x264DA},{0,1,0x26523},
{0,1,0x08060},{0,1,0x265A8},{0,1,0x08070},{0,1,0x2335F},{0,1,0x043D5},
{0,1,0x080B2},{0,1,0x08103},{0,1,0x0440B},{0,1,0x0813E},{0,1,0x05AB5},
{0,1,0x267A7},{0,1,0x267B5},{0,1,0x23393},{0,1,0x2339C},{0,1,0x08201},
{0,1,0x08204},{0,1,0x08F9E},{0,1,0x0446B},{0,1,0x08291},{0,1,0x0828B},
{0,1,0x0829D},{0,1,0x052B3},{0,1,0x082B1},{0,1,0x082B3},{0,1,0x082BD},
{0,1,0x082E6},{0,1,0x26B3C},{0,1,0x082E5},{0,1,0x0831D},{0,1,0x08363},
{0,1,0x083AD},{0,1,0x08323},{0,1,0x083BD},{0,1,0x083E7},{0,1,0x08457},
{0,1,0x08353},{0,1,0x083CA},{0,1,0x083CC},{0,1,0x083DC},{0,1,0x26C36},
{0,1,0x26D6B},{0,1,0x26CD5},{0,1,0x0452B},{0,1,0x084F1},{0,1,0x084F3},
{0,1,0x08516},{0,1,0x273CA},{0,1,0x08564},{0,1,0x26F2C},{0,1,0x0455D},
{0,1,0x04561},{0,1,0x26FB1},{0,1,0x270D2},{0,1,0x0456B},{0,1,0x08650},
{0,1,0x0865C},{0,1,0x08667},{0,1,0x08669},{0,1,0x086A9},{0,1,0x08688},
{0,1,0x0870E},{0,1,0x086E2},{0,1,0x08779},{0,1,0x08728},{0,1,0x0876B},
{0,1,0x08786},{0,1,0x045D7},{0,1,0x087E1},{0,1,0x08801},{0,1,0x045F9},
{0,1,0x08860},{0,1,0x08863},{0,1,0x27667},{0,1,0x088D7},{0,1,0x088DE},
{0,1,0x04635},{0,1,0x088FA},{0,1,0x034BB},{0,1,0x278AE},{0,1,0x27966},
{0,1,0x046BE},{0,1,0x046C7},{0,1,0x08AA0},{0,1,0x08AED},{0,1,0x08B8A},
{0,1,0x08C55},{0,1,0x27CA8},{0,1,0x08CAB},{0,1,0x08CC1},{0,1,0x08D1B},
{0,1,0x08D77},{0,1,0x27F2F},{0,1,0x20804},{0,1,0x08DCB},{0,1,0x08DBC},
{0,1,0x08DF0},{0,1,0x208DE},{0,1,0x08ED4},{0,1,0x08F38},{0,1,0x285D2},
{0,1,0x285ED},{0,1,0x09094},{0,1,0x090F1},{0,1,0x09111},{0,1,0x2872E},
{0,1,0x0911B},{0,1,0x09238},{0,1,0x092D7},{0,1,0x092D8},{0,1,0x0927C},
{0,1,0x093F9},{0,1,0x09415},{0,1,0x28BFA},{0,1,0x0958B},{0,1,0x04995},
{0,1,0x095B7},{0,1,0x28D77},{0,1,0x049E6},{0,1,0x096C3},{0,1,0x05DB2},
{0,1,0x09723},{0,1,0x29145},{0,1,0x2921A},{0,1,0x04A6E},{0,1,0x04A76},
{0,1,0x097E0},{0,1,0x2940A},{0,1,0x04AB2},{0,1,0x29496},{0,1,0x0980B},
{0,1,0x0980B}
},
/* block 61 */
{{0,1,0x09829},{0,1,0x295B6},{0,1,0x098E2},{0,1,0x04B33},{0,1,0x09929},
{0,1,0x099A7},{0,1,0x099C2},{0,1,0x099FE},{0,1,0x04BCE},{0,1,0x29B30},
{0,1,0x09B12},{0,1,0x09C40},{0,1,0x09CFD},{0,1,0x04CCE},{0,1,0x04CED},
{0,1,0x09D67},{0,1,0x2A0CE},{0,1,0x04CF8},{0,1,0x2A105},{0,1,0x2A20E},
{0,1,0x2A291},{0,1,0x09EBB},{0,1,0x04D56},{0,1,0x09EF9},{0,1,0x09EFE},
{0,1,0x09F05},{0,1,0x09F0F},{0,1,0x09F16},{0,1,0x09F3B},{0,1,0x2A600},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},
{0,0,0}
}
};
static const int32_t decomposition_mapping[] = {
/* 0x0000 */ 0x0020,0x0308,0x0020,0x0304,0x0020,0x0301,0x0020,0x0327,
/* 0x0008 */ 0x0031,0x2044,0x0034,0x0031,0x2044,0x0032,0x0033,0x2044,
/* 0x0010 */ 0x0034,0x0041,0x0300,0x0041,0x0301,0x0041,0x0302,0x0041,
/* 0x0018 */ 0x0303,0x0041,0x0308,0x0041,0x030A,0x0043,0x0327,0x0045,
/* 0x0020 */ 0x0300,0x0045,0x0301,0x0045,0x0302,0x0045,0x0308,0x0049,
/* 0x0028 */ 0x0300,0x0049,0x0301,0x0049,0x0302,0x0049,0x0308,0x004E,
/* 0x0030 */ 0x0303,0x004F,0x0300,0x004F,0x0301,0x004F,0x0302,0x004F,
/* 0x0038 */ 0x0303,0x004F,0x0308,0x0055,0x0300,0x0055,0x0301,0x0055,
/* 0x0040 */ 0x0302,0x0055,0x0308,0x0059,0x0301,0x0061,0x0300,0x0061,
/* 0x0048 */ 0x0301,0x0061,0x0302,0x0061,0x0303,0x0061,0x0308,0x0061,
/* 0x0050 */ 0x030A,0x0063,0x0327,0x0065,0x0300,0x0065,0x0301,0x0065,
/* 0x0058 */ 0x0302,0x0065,0x0308,0x0069,0x0300,0x0069,0x0301,0x0069,
/* 0x0060 */ 0x0302,0x0069,0x0308,0x006E,0x0303,0x006F,0x0300,0x006F,
/* 0x0068 */ 0x0301,0x006F,0x0302,0x006F,0x0303,0x006F,0x0308,0x0075,
/* 0x0070 */ 0x0300,0x0075,0x0301,0x0075,0x0302,0x0075,0x0308,0x0079,
/* 0x0078 */ 0x0301,0x0079,0x0308,0x0041,0x0304,0x0061,0x0304,0x0041,
/* 0x0080 */ 0x0306,0x0061,0x0306,0x0041,0x0328,0x0061,0x0328,0x0043,
/* 0x0088 */ 0x0301,0x0063,0x0301,0x0043,0x0302,0x0063,0x0302,0x0043,
/* 0x0090 */ 0x0307,0x0063,0x0307,0x0043,0x030C,0x0063,0x030C,0x0044,
/* 0x0098 */ 0x030C,0x0064,0x030C,0x0045,0x0304,0x0065,0x0304,0x0045,
/* 0x00A0 */ 0x0306,0x0065,0x0306,0x0045,0x0307,0x0065,0x0307,0x0045,
/* 0x00A8 */ 0x0328,0x0065,0x0328,0x0045,0x030C,0x0065,0x030C,0x0047,
/* 0x00B0 */ 0x0302,0x0067,0x0302,0x0047,0x0306,0x0067,0x0306,0x0047,
/* 0x00B8 */ 0x0307,0x0067,0x0307,0x0047,0x0327,0x0067,0x0327,0x0048,
/* 0x00C0 */ 0x0302,0x0068,0x0302,0x0049,0x0303,0x0069,0x0303,0x0049,
/* 0x00C8 */ 0x0304,0x0069,0x0304,0x0049,0x0306,0x0069,0x0306,0x0049,
/* 0x00D0 */ 0x0328,0x0069,0x0328,0x0049,0x0307,0x0049,0x004A,0x0069,
/* 0x00D8 */ 0x006A,0x004A,0x0302,0x006A,0x0302,0x004B,0x0327,0x006B,
/* 0x00E0 */ 0x0327,0x004C,0x0301,0x006C,0x0301,0x004C,0x0327,0x006C,
/* 0x00E8 */ 0x0327,0x004C,0x030C,0x006C,0x030C,0x004C,0x00B7,0x006C,
/* 0x00F0 */ 0x00B7,0x004E,0x0301,0x006E,0x0301,0x004E,0x0327,0x006E,
/* 0x00F8 */ 0x0327,0x004E,0x030C,0x006E,0x030C,0x02BC,0x006E,0x004F,
/* 0x0100 */ 0x0304,0x006F,0x0304,0x004F,0x0306,0x006F,0x0306,0x004F,
/* 0x0108 */ 0x030B,0x006F,0x030B,0x0052,0x0301,0x0072,0x0301,0x0052,
/* 0x0110 */ 0x0327,0x0072,0x0327,0x0052,0x030C,0x0072,0x030C,0x0053,
/* 0x0118 */ 0x0301,0x0073,0x0301,0x0053,0x0302,0x0073,0x0302,0x0053,
/* 0x0120 */ 0x0327,0x0073,0x0327,0x0053,0x030C,0x0073,0x030C,0x0054,
/* 0x0128 */ 0x0327,0x0074,0x0327,0x0054,0x030C,0x0074,0x030C,0x0055,
/* 0x0130 */ 0x0303,0x0075,0x0303,0x0055,0x0304,0x0075,0x0304,0x0055,
/* 0x0138 */ 0x0306,0x0075,0x0306,0x0055,0x030A,0x0075,0x030A,0x0055,
/* 0x0140 */ 0x030B,0x0075,0x030B,0x0055,0x0328,0x0075,0x0328,0x0057,
/* 0x0148 */ 0x0302,0x0077,0x0302,0x0059,0x0302,0x0079,0x0302,0x0059,
/* 0x0150 */ 0x0308,0x005A,0x0301,0x007A,0x0301,0x005A,0x0307,0x007A,
/* 0x0158 */ 0x0307,0x005A,0x030C,0x007A,0x030C,0x004F,0x031B,0x006F,
/* 0x0160 */ 0x031B,0x0055,0x031B,0x0075,0x031B,0x0044,0x017D,0x0044,
/* 0x0168 */ 0x017E,0x0064,0x017E,0x004C,0x004A,0x004C,0x006A,0x006C,
/* 0x0170 */ 0x006A,0x004E,0x004A,0x004E,0x006A,0x006E,0x006A,0x0041,
/* 0x0178 */ 0x030C,0x0061,0x030C,0x0049,0x030C,0x0069,0x030C,0x004F,
/* 0x0180 */ 0x030C,0x006F,0x030C,0x0055,0x030C,0x0075,0x030C,0x00DC,
/* 0x0188 */ 0x0304,0x00FC,0x0304,0x00DC,0x0301,0x00FC,0x0301,0x00DC,
/* 0x0190 */ 0x030C,0x00FC,0x030C,0x00DC,0x0300,0x00FC,0x0300,0x00C4,
/* 0x0198 */ 0x0304,0x00E4,0x0304,0x0226,0x0304,0x0227,0x0304,0x00C6,
/* 0x01A0 */ 0x0304,0x00E6,0x0304,0x0047,0x030C,0x0067,0x030C,0x004B,
/* 0x01A8 */ 0x030C,0x006B,0x030C,0x004F,0x0328,0x006F,0x0328,0x01EA,
/* 0x01B0 */ 0x0304,0x01EB,0x0304,0x01B7,0x030C,0x0292,0x030C,0x006A,
/* 0x01B8 */ 0x030C,0x0044,0x005A,0x0044,0x007A,0x0064,0x007A,0x0047,
/* 0x01C0 */ 0x0301,0x0067,0x0301,0x004E,0x0300,0x006E,0x0300,0x00C5,
/* 0x01C8 */ 0x0301,0x00E5,0x0301,0x00C6,0x0301,0x00E6,0x0301,0x00D8,
/* 0x01D0 */ 0x0301,0x00F8,0x0301,0x0041,0x030F,0x0061,0x030F,0x0041,
/* 0x01D8 */ 0x0311,0x0061,0x0311,0x0045,0x030F,0x0065,0x030F,0x0045,
/* 0x01E0 */ 0x0311,0x0065,0x0311,0x0049,0x030F,0x0069,0x030F,0x0049,
/* 0x01E8 */ 0x0311,0x0069,0x0311,0x004F,0x030F,0x006F,0x030F,0x004F,
/* 0x01F0 */ 0x0311,0x006F,0x0311,0x0052,0x030F,0x0072,0x030F,0x0052,
/* 0x01F8 */ 0x0311,0x0072,0x0311,0x0055,0x030F,0x0075,0x030F,0x0055,
/* 0x0200 */ 0x0311,0x0075,0x0311,0x0053,0x0326,0x0073,0x0326,0x0054,
/* 0x0208 */ 0x0326,0x0074,0x0326,0x0048,0x030C,0x0068,0x030C,0x0041,
/* 0x0210 */ 0x0307,0x0061,0x0307,0x0045,0x0327,0x0065,0x0327,0x00D6,
/* 0x0218 */ 0x0304,0x00F6,0x0304,0x00D5,0x0304,0x00F5,0x0304,0x004F,
/* 0x0220 */ 0x0307,0x006F,0x0307,0x022E,0x0304,0x022F,0x0304,0x0059,
/* 0x0228 */ 0x0304,0x0079,0x0304,0x0020,0x0306,0x0020,0x0307,0x0020,
/* 0x0230 */ 0x030A,0x0020,0x0328,0x0020,0x0303,0x0020,0x030B,0x0308,
/* 0x0238 */ 0x0301,0x0020,0x0345,0x0020,0x0301,0x00A8,0x0301,0x0391,
/* 0x0240 */ 0x0301,0x0395,0x0301,0x0397,0x0301,0x0399,0x0301,0x039F,
/* 0x0248 */ 0x0301,0x03A5,0x0301,0x03A9,0x0301,0x03CA,0x0301,0x0399,
/* 0x0250 */ 0x0308,0x03A5,0x0308,0x03B1,0x0301,0x03B5,0x0301,0x03B7,
/* 0x0258 */ 0x0301,0x03B9,0x0301,0x03CB,0x0301,0x03B9,0x0308,0x03C5,
/* 0x0260 */ 0x0308,0x03BF,0x0301,0x03C5,0x0301,0x03C9,0x0301,0x03D2,
/* 0x0268 */ 0x0301,0x03D2,0x0308,0x0415,0x0300,0x0415,0x0308,0x0413,
/* 0x0270 */ 0x0301,0x0406,0x0308,0x041A,0x0301,0x0418,0x0300,0x0423,
/* 0x0278 */ 0x0306,0x0418,0x0306,0x0438,0x0306,0x0435,0x0300,0x0435,
/* 0x0280 */ 0x0308,0x0433,0x0301,0x0456,0x0308,0x043A,0x0301,0x0438,
/* 0x0288 */ 0x0300,0x0443,0x0306,0x0474,0x030F,0x0475,0x030F,0x0416,
/* 0x0290 */ 0x0306,0x0436,0x0306,0x0410,0x0306,0x0430,0x0306,0x0410,
/* 0x0298 */ 0x0308,0x0430,0x0308,0x0415,0x0306,0x0435,0x0306,0x04D8,
/* 0x02A0 */ 0x0308,0x04D9,0x0308,0x0416,0x0308,0x0436,0x0308,0x0417,
/* 0x02A8 */ 0x0308,0x0437,0x0308,0x0418,0x0304,0x0438,0x0304,0x0418,
/* 0x02B0 */ 0x0308,0x0438,0x0308,0x041E,0x0308,0x043E,0x0308,0x04E8,
/* 0x02B8 */ 0x0308,0x04E9,0x0308,0x042D,0x0308,0x044D,0x0308,0x0423,
/* 0x02C0 */ 0x0304,0x0443,0x0304,0x0423,0x0308,0x0443,0x0308,0x0423,
/* 0x02C8 */ 0x030B,0x0443,0x030B,0x0427,0x0308,0x0447,0x0308,0x042B,
/* 0x02D0 */ 0x0308,0x044B,0x0308,0x0565,0x0582,0x0627,0x0653,0x0627,
/* 0x02D8 */ 0x0654,0x0648,0x0654,0x0627,0x0655,0x064A,0x0654,0x0627,
/* 0x02E0 */ 0x0674,0x0648,0x0674,0x06C7,0x0674,0x064A,0x0674,0x06D5,
/* 0x02E8 */ 0x0654,0x06C1,0x0654,0x06D2,0x0654,0x0928,0x093C,0x0930,
/* 0x02F0 */ 0x093C,0x0933,0x093C,0x0915,0x093C,0x0916,0x093C,0x0917,
/* 0x02F8 */ 0x093C,0x091C,0x093C,0x0921,0x093C,0x0922,0x093C,0x092B,
/* 0x0300 */ 0x093C,0x092F,0x093C,0x09C7,0x09BE,0x09C7,0x09D7,0x09A1,
/* 0x0308 */ 0x09BC,0x09A2,0x09BC,0x09AF,0x09BC,0x0A32,0x0A3C,0x0A38,
/* 0x0310 */ 0x0A3C,0x0A16,0x0A3C,0x0A17,0x0A3C,0x0A1C,0x0A3C,0x0A2B,
/* 0x0318 */ 0x0A3C,0x0B47,0x0B56,0x0B47,0x0B3E,0x0B47,0x0B57,0x0B21,
/* 0x0320 */ 0x0B3C,0x0B22,0x0B3C,0x0B92,0x0BD7,0x0BC6,0x0BBE,0x0BC7,
/* 0x0328 */ 0x0BBE,0x0BC6,0x0BD7,0x0C46,0x0C56,0x0CBF,0x0CD5,0x0CC6,
/* 0x0330 */ 0x0CD5,0x0CC6,0x0CD6,0x0CC6,0x0CC2,0x0CCA,0x0CD5,0x0D46,
/* 0x0338 */ 0x0D3E,0x0D47,0x0D3E,0x0D46,0x0D57,0x0DD9,0x0DCA,0x0DD9,
/* 0x0340 */ 0x0DCF,0x0DDC,0x0DCA,0x0DD9,0x0DDF,0x0E4D,0x0E32,0x0ECD,
/* 0x0348 */ 0x0EB2,0x0EAB,0x0E99,0x0EAB,0x0EA1,0x0F42,0x0FB7,0x0F4C,
/* 0x0350 */ 0x0FB7,0x0F51,0x0FB7,0x0F56,0x0FB7,0x0F5B,0x0FB7,0x0F40,
/* 0x0358 */ 0x0FB5,0x0F71,0x0F72,0x0F71,0x0F74,0x0FB2,0x0F80,0x0FB2,
/* 0x0360 */ 0x0F81,0x0FB3,0x0F80,0x0FB3,0x0F81,0x0F71,0x0F80,0x0F92,
/* 0x0368 */ 0x0FB7,0x0F9C,0x0FB7,0x0FA1,0x0FB7,0x0FA6,0x0FB7,0x0FAB,
/* 0x0370 */ 0x0FB7,0x0F90,0x0FB5,0x1025,0x102E,0x1B05,0x1B35,0x1B07,
/* 0x0378 */ 0x1B35,0x1B09,0x1B35,0x1B0B,0x1B35,0x1B0D,0x1B35,0x1B11,
/* 0x0380 */ 0x1B35,0x1B3A,0x1B35,0x1B3C,0x1B35,0x1B3E,0x1B35,0x1B3F,
/* 0x0388 */ 0x1B35,0x1B42,0x1B35,0x0041,0x0325,0x0061,0x0325,0x0042,
/* 0x0390 */ 0x0307,0x0062,0x0307,0x0042,0x0323,0x0062,0x0323,0x0042,
/* 0x0398 */ 0x0331,0x0062,0x0331,0x00C7,0x0301,0x00E7,0x0301,0x0044,
/* 0x03A0 */ 0x0307,0x0064,0x0307,0x0044,0x0323,0x0064,0x0323,0x0044,
/* 0x03A8 */ 0x0331,0x0064,0x0331,0x0044,0x0327,0x0064,0x0327,0x0044,
/* 0x03B0 */ 0x032D,0x0064,0x032D,0x0112,0x0300,0x0113,0x0300,0x0112,
/* 0x03B8 */ 0x0301,0x0113,0x0301,0x0045,0x032D,0x0065,0x032D,0x0045,
/* 0x03C0 */ 0x0330,0x0065,0x0330,0x0228,0x0306,0x0229,0x0306,0x0046,
/* 0x03C8 */ 0x0307,0x0066,0x0307,0x0047,0x0304,0x0067,0x0304,0x0048,
/* 0x03D0 */ 0x0307,0x0068,0x0307,0x0048,0x0323,0x0068,0x0323,0x0048,
/* 0x03D8 */ 0x0308,0x0068,0x0308,0x0048,0x0327,0x0068,0x0327,0x0048,
/* 0x03E0 */ 0x032E,0x0068,0x032E,0x0049,0x0330,0x0069,0x0330,0x00CF,
/* 0x03E8 */ 0x0301,0x00EF,0x0301,0x004B,0x0301,0x006B,0x0301,0x004B,
/* 0x03F0 */ 0x0323,0x006B,0x0323,0x004B,0x0331,0x006B,0x0331,0x004C,
/* 0x03F8 */ 0x0323,0x006C,0x0323,0x1E36,0x0304,0x1E37,0x0304,0x004C,
/* 0x0400 */ 0x0331,0x006C,0x0331,0x004C,0x032D,0x006C,0x032D,0x004D,
/* 0x0408 */ 0x0301,0x006D,0x0301,0x004D,0x0307,0x006D,0x0307,0x004D,
/* 0x0410 */ 0x0323,0x006D,0x0323,0x004E,0x0307,0x006E,0x0307,0x004E,
/* 0x0418 */ 0x0323,0x006E,0x0323,0x004E,0x0331,0x006E,0x0331,0x004E,
/* 0x0420 */ 0x032D,0x006E,0x032D,0x00D5,0x0301,0x00F5,0x0301,0x00D5,
/* 0x0428 */ 0x0308,0x00F5,0x0308,0x014C,0x0300,0x014D,0x0300,0x014C,
/* 0x0430 */ 0x0301,0x014D,0x0301,0x0050,0x0301,0x0070,0x0301,0x0050,
/* 0x0438 */ 0x0307,0x0070,0x0307,0x0052,0x0307,0x0072,0x0307,0x0052,
/* 0x0440 */ 0x0323,0x0072,0x0323,0x1E5A,0x0304,0x1E5B,0x0304,0x0052,
/* 0x0448 */ 0x0331,0x0072,0x0331,0x0053,0x0307,0x0073,0x0307,0x0053,
/* 0x0450 */ 0x0323,0x0073,0x0323,0x015A,0x0307,0x015B,0x0307,0x0160,
/* 0x0458 */ 0x0307,0x0161,0x0307,0x1E62,0x0307,0x1E63,0x0307,0x0054,
/* 0x0460 */ 0x0307,0x0074,0x0307,0x0054,0x0323,0x0074,0x0323,0x0054,
/* 0x0468 */ 0x0331,0x0074,0x0331,0x0054,0x032D,0x0074,0x032D,0x0055,
/* 0x0470 */ 0x0324,0x0075,0x0324,0x0055,0x0330,0x0075,0x0330,0x0055,
/* 0x0478 */ 0x032D,0x0075,0x032D,0x0168,0x0301,0x0169,0x0301,0x016A,
/* 0x0480 */ 0x0308,0x016B,0x0308,0x0056,0x0303,0x0076,0x0303,0x0056,
/* 0x0488 */ 0x0323,0x0076,0x0323,0x0057,0x0300,0x0077,0x0300,0x0057,
/* 0x0490 */ 0x0301,0x0077,0x0301,0x0057,0x0308,0x0077,0x0308,0x0057,
/* 0x0498 */ 0x0307,0x0077,0x0307,0x0057,0x0323,0x0077,0x0323,0x0058,
/* 0x04A0 */ 0x0307,0x0078,0x0307,0x0058,0x0308,0x0078,0x0308,0x0059,
/* 0x04A8 */ 0x0307,0x0079,0x0307,0x005A,0x0302,0x007A,0x0302,0x005A,
/* 0x04B0 */ 0x0323,0x007A,0x0323,0x005A,0x0331,0x007A,0x0331,0x0068,
/* 0x04B8 */ 0x0331,0x0074,0x0308,0x0077,0x030A,0x0079,0x030A,0x0061,
/* 0x04C0 */ 0x02BE,0x017F,0x0307,0x0041,0x0323,0x0061,0x0323,0x0041,
/* 0x04C8 */ 0x0309,0x0061,0x0309,0x00C2,0x0301,0x00E2,0x0301,0x00C2,
/* 0x04D0 */ 0x0300,0x00E2,0x0300,0x00C2,0x0309,0x00E2,0x0309,0x00C2,
/* 0x04D8 */ 0x0303,0x00E2,0x0303,0x1EA0,0x0302,0x1EA1,0x0302,0x0102,
/* 0x04E0 */ 0x0301,0x0103,0x0301,0x0102,0x0300,0x0103,0x0300,0x0102,
/* 0x04E8 */ 0x0309,0x0103,0x0309,0x0102,0x0303,0x0103,0x0303,0x1EA0,
/* 0x04F0 */ 0x0306,0x1EA1,0x0306,0x0045,0x0323,0x0065,0x0323,0x0045,
/* 0x04F8 */ 0x0309,0x0065,0x0309,0x0045,0x0303,0x0065,0x0303,0x00CA,
/* 0x0500 */ 0x0301,0x00EA,0x0301,0x00CA,0x0300,0x00EA,0x0300,0x00CA,
/* 0x0508 */ 0x0309,0x00EA,0x0309,0x00CA,0x0303,0x00EA,0x0303,0x1EB8,
/* 0x0510 */ 0x0302,0x1EB9,0x0302,0x0049,0x0309,0x0069,0x0309,0x0049,
/* 0x0518 */ 0x0323,0x0069,0x0323,0x004F,0x0323,0x006F,0x0323,0x004F,
/* 0x0520 */ 0x0309,0x006F,0x0309,0x00D4,0x0301,0x00F4,0x0301,0x00D4,
/* 0x0528 */ 0x0300,0x00F4,0x0300,0x00D4,0x0309,0x00F4,0x0309,0x00D4,
/* 0x0530 */ 0x0303,0x00F4,0x0303,0x1ECC,0x0302,0x1ECD,0x0302,0x01A0,
/* 0x0538 */ 0x0301,0x01A1,0x0301,0x01A0,0x0300,0x01A1,0x0300,0x01A0,
/* 0x0540 */ 0x0309,0x01A1,0x0309,0x01A0,0x0303,0x01A1,0x0303,0x01A0,
/* 0x0548 */ 0x0323,0x01A1,0x0323,0x0055,0x0323,0x0075,0x0323,0x0055,
/* 0x0550 */ 0x0309,0x0075,0x0309,0x01AF,0x0301,0x01B0,0x0301,0x01AF,
/* 0x0558 */ 0x0300,0x01B0,0x0300,0x01AF,0x0309,0x01B0,0x0309,0x01AF,
/* 0x0560 */ 0x0303,0x01B0,0x0303,0x01AF,0x0323,0x01B0,0x0323,0x0059,
/* 0x0568 */ 0x0300,0x0079,0x0300,0x0059,0x0323,0x0079,0x0323,0x0059,
/* 0x0570 */ 0x0309,0x0079,0x0309,0x0059,0x0303,0x0079,0x0303,0x03B1,
/* 0x0578 */ 0x0313,0x03B1,0x0314,0x1F00,0x0300,0x1F01,0x0300,0x1F00,
/* 0x0580 */ 0x0301,0x1F01,0x0301,0x1F00,0x0342,0x1F01,0x0342,0x0391,
/* 0x0588 */ 0x0313,0x0391,0x0314,0x1F08,0x0300,0x1F09,0x0300,0x1F08,
/* 0x0590 */ 0x0301,0x1F09,0x0301,0x1F08,0x0342,0x1F09,0x0342,0x03B5,
/* 0x0598 */ 0x0313,0x03B5,0x0314,0x1F10,0x0300,0x1F11,0x0300,0x1F10,
/* 0x05A0 */ 0x0301,0x1F11,0x0301,0x0395,0x0313,0x0395,0x0314,0x1F18,
/* 0x05A8 */ 0x0300,0x1F19,0x0300,0x1F18,0x0301,0x1F19,0x0301,0x03B7,
/* 0x05B0 */ 0x0313,0x03B7,0x0314,0x1F20,0x0300,0x1F21,0x0300,0x1F20,
/* 0x05B8 */ 0x0301,0x1F21,0x0301,0x1F20,0x0342,0x1F21,0x0342,0x0397,
/* 0x05C0 */ 0x0313,0x0397,0x0314,0x1F28,0x0300,0x1F29,0x0300,0x1F28,
/* 0x05C8 */ 0x0301,0x1F29,0x0301,0x1F28,0x0342,0x1F29,0x0342,0x03B9,
/* 0x05D0 */ 0x0313,0x03B9,0x0314,0x1F30,0x0300,0x1F31,0x0300,0x1F30,
/* 0x05D8 */ 0x0301,0x1F31,0x0301,0x1F30,0x0342,0x1F31,0x0342,0x0399,
/* 0x05E0 */ 0x0313,0x0399,0x0314,0x1F38,0x0300,0x1F39,0x0300,0x1F38,
/* 0x05E8 */ 0x0301,0x1F39,0x0301,0x1F38,0x0342,0x1F39,0x0342,0x03BF,
/* 0x05F0 */ 0x0313,0x03BF,0x0314,0x1F40,0x0300,0x1F41,0x0300,0x1F40,
/* 0x05F8 */ 0x0301,0x1F41,0x0301,0x039F,0x0313,0x039F,0x0314,0x1F48,
/* 0x0600 */ 0x0300,0x1F49,0x0300,0x1F48,0x0301,0x1F49,0x0301,0x03C5,
/* 0x0608 */ 0x0313,0x03C5,0x0314,0x1F50,0x0300,0x1F51,0x0300,0x1F50,
/* 0x0610 */ 0x0301,0x1F51,0x0301,0x1F50,0x0342,0x1F51,0x0342,0x03A5,
/* 0x0618 */ 0x0314,0x1F59,0x0300,0x1F59,0x0301,0x1F59,0x0342,0x03C9,
/* 0x0620 */ 0x0313,0x03C9,0x0314,0x1F60,0x0300,0x1F61,0x0300,0x1F60,
/* 0x0628 */ 0x0301,0x1F61,0x0301,0x1F60,0x0342,0x1F61,0x0342,0x03A9,
/* 0x0630 */ 0x0313,0x03A9,0x0314,0x1F68,0x0300,0x1F69,0x0300,0x1F68,
/* 0x0638 */ 0x0301,0x1F69,0x0301,0x1F68,0x0342,0x1F69,0x0342,0x03B1,
/* 0x0640 */ 0x0300,0x03B5,0x0300,0x03B7,0x0300,0x03B9,0x0300,0x03BF,
/* 0x0648 */ 0x0300,0x03C5,0x0300,0x03C9,0x0300,0x1F00,0x0345,0x1F01,
/* 0x0650 */ 0x0345,0x1F02,0x0345,0x1F03,0x0345,0x1F04,0x0345,0x1F05,
/* 0x0658 */ 0x0345,0x1F06,0x0345,0x1F07,0x0345,0x1F08,0x0345,0x1F09,
/* 0x0660 */ 0x0345,0x1F0A,0x0345,0x1F0B,0x0345,0x1F0C,0x0345,0x1F0D,
/* 0x0668 */ 0x0345,0x1F0E,0x0345,0x1F0F,0x0345,0x1F20,0x0345,0x1F21,
/* 0x0670 */ 0x0345,0x1F22,0x0345,0x1F23,0x0345,0x1F24,0x0345,0x1F25,
/* 0x0678 */ 0x0345,0x1F26,0x0345,0x1F27,0x0345,0x1F28,0x0345,0x1F29,
/* 0x0680 */ 0x0345,0x1F2A,0x0345,0x1F2B,0x0345,0x1F2C,0x0345,0x1F2D,
/* 0x0688 */ 0x0345,0x1F2E,0x0345,0x1F2F,0x0345,0x1F60,0x0345,0x1F61,
/* 0x0690 */ 0x0345,0x1F62,0x0345,0x1F63,0x0345,0x1F64,0x0345,0x1F65,
/* 0x0698 */ 0x0345,0x1F66,0x0345,0x1F67,0x0345,0x1F68,0x0345,0x1F69,
/* 0x06A0 */ 0x0345,0x1F6A,0x0345,0x1F6B,0x0345,0x1F6C,0x0345,0x1F6D,
/* 0x06A8 */ 0x0345,0x1F6E,0x0345,0x1F6F,0x0345,0x03B1,0x0306,0x03B1,
/* 0x06B0 */ 0x0304,0x1F70,0x0345,0x03B1,0x0345,0x03AC,0x0345,0x03B1,
/* 0x06B8 */ 0x0342,0x1FB6,0x0345,0x0391,0x0306,0x0391,0x0304,0x0391,
/* 0x06C0 */ 0x0300,0x0391,0x0345,0x0020,0x0313,0x0020,0x0313,0x0020,
/* 0x06C8 */ 0x0342,0x00A8,0x0342,0x1F74,0x0345,0x03B7,0x0345,0x03AE,
/* 0x06D0 */ 0x0345,0x03B7,0x0342,0x1FC6,0x0345,0x0395,0x0300,0x0397,
/* 0x06D8 */ 0x0300,0x0397,0x0345,0x1FBF,0x0300,0x1FBF,0x0301,0x1FBF,
/* 0x06E0 */ 0x0342,0x03B9,0x0306,0x03B9,0x0304,0x03CA,0x0300,0x03B9,
/* 0x06E8 */ 0x0342,0x03CA,0x0342,0x0399,0x0306,0x0399,0x0304,0x0399,
/* 0x06F0 */ 0x0300,0x1FFE,0x0300,0x1FFE,0x0301,0x1FFE,0x0342,0x03C5,
/* 0x06F8 */ 0x0306,0x03C5,0x0304,0x03CB,0x0300,0x03C1,0x0313,0x03C1,
/* 0x0700 */ 0x0314,0x03C5,0x0342,0x03CB,0x0342,0x03A5,0x0306,0x03A5,
/* 0x0708 */ 0x0304,0x03A5,0x0300,0x03A1,0x0314,0x00A8,0x0300,0x1F7C,
/* 0x0710 */ 0x0345,0x03C9,0x0345,0x03CE,0x0345,0x03C9,0x0342,0x1FF6,
/* 0x0718 */ 0x0345,0x039F,0x0300,0x03A9,0x0300,0x03A9,0x0345,0x0020,
/* 0x0720 */ 0x0314,0x0020,0x0333,0x002E,0x002E,0x002E,0x002E,0x002E,
/* 0x0728 */ 0x2032,0x2032,0x2032,0x2032,0x2032,0x2035,0x2035,0x2035,
/* 0x0730 */ 0x2035,0x2035,0x0021,0x0021,0x0020,0x0305,0x003F,0x003F,
/* 0x0738 */ 0x003F,0x0021,0x0021,0x003F,0x2032,0x2032,0x2032,0x2032,
/* 0x0740 */ 0x0052,0x0073,0x0061,0x002F,0x0063,0x0061,0x002F,0x0073,
/* 0x0748 */ 0x00B0,0x0043,0x0063,0x002F,0x006F,0x0063,0x002F,0x0075,
/* 0x0750 */ 0x00B0,0x0046,0x004E,0x006F,0x0053,0x004D,0x0054,0x0045,
/* 0x0758 */ 0x004C,0x0054,0x004D,0x0046,0x0041,0x0058,0x0031,0x2044,
/* 0x0760 */ 0x0037,0x0031,0x2044,0x0039,0x0031,0x2044,0x0031,0x0030,
/* 0x0768 */ 0x0031,0x2044,0x0033,0x0032,0x2044,0x0033,0x0031,0x2044,
/* 0x0770 */ 0x0035,0x0032,0x2044,0x0035,0x0033,0x2044,0x0035,0x0034,
/* 0x0778 */ 0x2044,0x0035,0x0031,0x2044,0x0036,0x0035,0x2044,0x0036,
/* 0x0780 */ 0x0031,0x2044,0x0038,0x0033,0x2044,0x0038,0x0035,0x2044,
/* 0x0788 */ 0x0038,0x0037,0x2044,0x0038,0x0031,0x2044,0x0049,0x0049,
/* 0x0790 */ 0x0049,0x0049,0x0049,0x0049,0x0056,0x0056,0x0049,0x0056,
/* 0x0798 */ 0x0049,0x0049,0x0056,0x0049,0x0049,0x0049,0x0049,0x0058,
/* 0x07A0 */ 0x0058,0x0049,0x0058,0x0049,0x0049,0x0069,0x0069,0x0069,
/* 0x07A8 */ 0x0069,0x0069,0x0069,0x0076,0x0076,0x0069,0x0076,0x0069,
/* 0x07B0 */ 0x0069,0x0076,0x0069,0x0069,0x0069,0x0069,0x0078,0x0078,
/* 0x07B8 */ 0x0069,0x0078,0x0069,0x0069,0x0030,0x2044,0x0033,0x2190,
/* 0x07C0 */ 0x0338,0x2192,0x0338,0x2194,0x0338,0x21D0,0x0338,0x21D4,
/* 0x07C8 */ 0x0338,0x21D2,0x0338,0x2203,0x0338,0x2208,0x0338,0x220B,
/* 0x07D0 */ 0x0338,0x2223,0x0338,0x2225,0x0338,0x222B,0x222B,0x222B,
/* 0x07D8 */ 0x222B,0x222B,0x222E,0x222E,0x222E,0x222E,0x222E,0x223C,
/* 0x07E0 */ 0x0338,0x2243,0x0338,0x2245,0x0338,0x2248,0x0338,0x003D,
/* 0x07E8 */ 0x0338,0x2261,0x0338,0x224D,0x0338,0x003C,0x0338,0x003E,
/* 0x07F0 */ 0x0338,0x2264,0x0338,0x2265,0x0338,0x2272,0x0338,0x2273,
/* 0x07F8 */ 0x0338,0x2276,0x0338,0x2277,0x0338,0x227A,0x0338,0x227B,
/* 0x0800 */ 0x0338,0x2282,0x0338,0x2283,0x0338,0x2286,0x0338,0x2287,
/* 0x0808 */ 0x0338,0x22A2,0x0338,0x22A8,0x0338,0x22A9,0x0338,0x22AB,
/* 0x0810 */ 0x0338,0x227C,0x0338,0x227D,0x0338,0x2291,0x0338,0x2292,
/* 0x0818 */ 0x0338,0x22B2,0x0338,0x22B3,0x0338,0x22B4,0x0338,0x22B5,
/* 0x0820 */ 0x0338,0x0031,0x0030,0x0031,0x0031,0x0031,0x0032,0x0031,
/* 0x0828 */ 0x0033,0x0031,0x0034,0x0031,0x0035,0x0031,0x0036,0x0031,
/* 0x0830 */ 0x0037,0x0031,0x0038,0x0031,0x0039,0x0032,0x0030,0x0028,
/* 0x0838 */ 0x0031,0x0029,0x0028,0x0032,0x0029,0x0028,0x0033,0x0029,
/* 0x0840 */ 0x0028,0x0034,0x0029,0x0028,0x0035,0x0029,0x0028,0x0036,
/* 0x0848 */ 0x0029,0x0028,0x0037,0x0029,0x0028,0x0038,0x0029,0x0028,
/* 0x0850 */ 0x0039,0x0029,0x0028,0x0031,0x0030,0x0029,0x0028,0x0031,
/* 0x0858 */ 0x0031,0x0029,0x0028,0x0031,0x0032,0x0029,0x0028,0x0031,
/* 0x0860 */ 0x0033,0x0029,0x0028,0x0031,0x0034,0x0029,0x0028,0x0031,
/* 0x0868 */ 0x0035,0x0029,0x0028,0x0031,0x0036,0x0029,0x0028,0x0031,
/* 0x0870 */ 0x0037,0x0029,0x0028,0x0031,0x0038,0x0029,0x0028,0x0031,
/* 0x0878 */ 0x0039,0x0029,0x0028,0x0032,0x0030,0x0029,0x0031,0x002E,
/* 0x0880 */ 0x0032,0x002E,0x0033,0x002E,0x0034,0x002E,0x0035,0x002E,
/* 0x0888 */ 0x0036,0x002E,0x0037,0x002E,0x0038,0x002E,0x0039,0x002E,
/* 0x0890 */ 0x0031,0x0030,0x002E,0x0031,0x0031,0x002E,0x0031,0x0032,
/* 0x0898 */ 0x002E,0x0031,0x0033,0x002E,0x0031,0x0034,0x002E,0x0031,
/* 0x08A0 */ 0x0035,0x002E,0x0031,0x0036,0x002E,0x0031,0x0037,0x002E,
/* 0x08A8 */ 0x0031,0x0038,0x002E,0x0031,0x0039,0x002E,0x0032,0x0030,
/* 0x08B0 */ 0x002E,0x0028,0x0061,0x0029,0x0028,0x0062,0x0029,0x0028,
/* 0x08B8 */ 0x0063,0x0029,0x0028,0x0064,0x0029,0x0028,0x0065,0x0029,
/* 0x08C0 */ 0x0028,0x0066,0x0029,0x0028,0x0067,0x0029,0x0028,0x0068,
/* 0x08C8 */ 0x0029,0x0028,0x0069,0x0029,0x0028,0x006A,0x0029,0x0028,
/* 0x08D0 */ 0x006B,0x0029,0x0028,0x006C,0x0029,0x0028,0x006D,0x0029,
/* 0x08D8 */ 0x0028,0x006E,0x0029,0x0028,0x006F,0x0029,0x0028,0x0070,
/* 0x08E0 */ 0x0029,0x0028,0x0071,0x0029,0x0028,0x0072,0x0029,0x0028,
/* 0x08E8 */ 0x0073,0x0029,0x0028,0x0074,0x0029,0x0028,0x0075,0x0029,
/* 0x08F0 */ 0x0028,0x0076,0x0029,0x0028,0x0077,0x0029,0x0028,0x0078,
/* 0x08F8 */ 0x0029,0x0028,0x0079,0x0029,0x0028,0x007A,0x0029,0x222B,
/* 0x0900 */ 0x222B,0x222B,0x222B,0x003A,0x003A,0x003D,0x003D,0x003D,
/* 0x0908 */ 0x003D,0x003D,0x003D,0x2ADD,0x0338,0x304B,0x3099,0x304D,
/* 0x0910 */ 0x3099,0x304F,0x3099,0x3051,0x3099,0x3053,0x3099,0x3055,
/* 0x0918 */ 0x3099,0x3057,0x3099,0x3059,0x3099,0x305B,0x3099,0x305D,
/* 0x0920 */ 0x3099,0x305F,0x3099,0x3061,0x3099,0x3064,0x3099,0x3066,
/* 0x0928 */ 0x3099,0x3068,0x3099,0x306F,0x3099,0x306F,0x309A,0x3072,
/* 0x0930 */ 0x3099,0x3072,0x309A,0x3075,0x3099,0x3075,0x309A,0x3078,
/* 0x0938 */ 0x3099,0x3078,0x309A,0x307B,0x3099,0x307B,0x309A,0x3046,
/* 0x0940 */ 0x3099,0x0020,0x3099,0x0020,0x309A,0x309D,0x3099,0x3088,
/* 0x0948 */ 0x308A,0x30AB,0x3099,0x30AD,0x3099,0x30AF,0x3099,0x30B1,
/* 0x0950 */ 0x3099,0x30B3,0x3099,0x30B5,0x3099,0x30B7,0x3099,0x30B9,
/* 0x0958 */ 0x3099,0x30BB,0x3099,0x30BD,0x3099,0x30BF,0x3099,0x30C1,
/* 0x0960 */ 0x3099,0x30C4,0x3099,0x30C6,0x3099,0x30C8,0x3099,0x30CF,
/* 0x0968 */ 0x3099,0x30CF,0x309A,0x30D2,0x3099,0x30D2,0x309A,0x30D5,
/* 0x0970 */ 0x3099,0x30D5,0x309A,0x30D8,0x3099,0x30D8,0x309A,0x30DB,
/* 0x0978 */ 0x3099,0x30DB,0x309A,0x30A6,0x3099,0x30EF,0x3099,0x30F0,
/* 0x0980 */ 0x3099,0x30F1,0x3099,0x30F2,0x3099,0x30FD,0x3099,0x30B3,
/* 0x0988 */ 0x30C8,0x0028,0x1100,0x0029,0x0028,0x1102,0x0029,0x0028,
/* 0x0990 */ 0x1103,0x0029,0x0028,0x1105,0x0029,0x0028,0x1106,0x0029,
/* 0x0998 */ 0x0028,0x1107,0x0029,0x0028,0x1109,0x0029,0x0028,0x110B,
/* 0x09A0 */ 0x0029,0x0028,0x110C,0x0029,0x0028,0x110E,0x0029,0x0028,
/* 0x09A8 */ 0x110F,0x0029,0x0028,0x1110,0x0029,0x0028,0x1111,0x0029,
/* 0x09B0 */ 0x0028,0x1112,0x0029,0x0028,0x1100,0x1161,0x0029,0x0028,
/* 0x09B8 */ 0x1102,0x1161,0x0029,0x0028,0x1103,0x1161,0x0029,0x0028,
/* 0x09C0 */ 0x1105,0x1161,0x0029,0x0028,0x1106,0x1161,0x0029,0x0028,
/* 0x09C8 */ 0x1107,0x1161,0x0029,0x0028,0x1109,0x1161,0x0029,0x0028,
/* 0x09D0 */ 0x110B,0x1161,0x0029,0x0028,0x110C,0x1161,0x0029,0x0028,
/* 0x09D8 */ 0x110E,0x1161,0x0029,0x0028,0x110F,0x1161,0x0029,0x0028,
/* 0x09E0 */ 0x1110,0x1161,0x0029,0x0028,0x1111,0x1161,0x0029,0x0028,
/* 0x09E8 */ 0x1112,0x1161,0x0029,0x0028,0x110C,0x116E,0x0029,0x0028,
/* 0x09F0 */ 0x110B,0x1169,0x110C,0x1165,0x11AB,0x0029,0x0028,0x110B,
/* 0x09F8 */ 0x1169,0x1112,0x116E,0x0029,0x0028,0x4E00,0x0029,0x0028,
/* 0x0A00 */ 0x4E8C,0x0029,0x0028,0x4E09,0x0029,0x0028,0x56DB,0x0029,
/* 0x0A08 */ 0x0028,0x4E94,0x0029,0x0028,0x516D,0x0029,0x0028,0x4E03,
/* 0x0A10 */ 0x0029,0x0028,0x516B,0x0029,0x0028,0x4E5D,0x0029,0x0028,
/* 0x0A18 */ 0x5341,0x0029,0x0028,0x6708,0x0029,0x0028,0x706B,0x0029,
/* 0x0A20 */ 0x0028,0x6C34,0x0029,0x0028,0x6728,0x0029,0x0028,0x91D1,
/* 0x0A28 */ 0x0029,0x0028,0x571F,0x0029,0x0028,0x65E5,0x0029,0x0028,
/* 0x0A30 */ 0x682A,0x0029,0x0028,0x6709,0x0029,0x0028,0x793E,0x0029,
/* 0x0A38 */ 0x0028,0x540D,0x0029,0x0028,0x7279,0x0029,0x0028,0x8CA1,
/* 0x0A40 */ 0x0029,0x0028,0x795D,0x0029,0x0028,0x52B4,0x0029,0x0028,
/* 0x0A48 */ 0x4EE3,0x0029,0x0028,0x547C,0x0029,0x0028,0x5B66,0x0029,
/* 0x0A50 */ 0x0028,0x76E3,0x0029,0x0028,0x4F01,0x0029,0x0028,0x8CC7,
/* 0x0A58 */ 0x0029,0x0028,0x5354,0x0029,0x0028,0x796D,0x0029,0x0028,
/* 0x0A60 */ 0x4F11,0x0029,0x0028,0x81EA,0x0029,0x0028,0x81F3,0x0029,
/* 0x0A68 */ 0x0050,0x0054,0x0045,0x0032,0x0031,0x0032,0x0032,0x0032,
/* 0x0A70 */ 0x0033,0x0032,0x0034,0x0032,0x0035,0x0032,0x0036,0x0032,
/* 0x0A78 */ 0x0037,0x0032,0x0038,0x0032,0x0039,0x0033,0x0030,0x0033,
/* 0x0A80 */ 0x0031,0x0033,0x0032,0x0033,0x0033,0x0033,0x0034,0x0033,
/* 0x0A88 */ 0x0035,0x1100,0x1161,0x1102,0x1161,0x1103,0x1161,0x1105,
/* 0x0A90 */ 0x1161,0x1106,0x1161,0x1107,0x1161,0x1109,0x1161,0x110B,
/* 0x0A98 */ 0x1161,0x110C,0x1161,0x110E,0x1161,0x110F,0x1161,0x1110,
/* 0x0AA0 */ 0x1161,0x1111,0x1161,0x1112,0x1161,0x110E,0x1161,0x11B7,
/* 0x0AA8 */ 0x1100,0x1169,0x110C,0x116E,0x110B,0x1174,0x110B,0x116E,
/* 0x0AB0 */ 0x0033,0x0036,0x0033,0x0037,0x0033,0x0038,0x0033,0x0039,
/* 0x0AB8 */ 0x0034,0x0030,0x0034,0x0031,0x0034,0x0032,0x0034,0x0033,
/* 0x0AC0 */ 0x0034,0x0034,0x0034,0x0035,0x0034,0x0036,0x0034,0x0037,
/* 0x0AC8 */ 0x0034,0x0038,0x0034,0x0039,0x0035,0x0030,0x0031,0x6708,
/* 0x0AD0 */ 0x0032,0x6708,0x0033,0x6708,0x0034,0x6708,0x0035,0x6708,
/* 0x0AD8 */ 0x0036,0x6708,0x0037,0x6708,0x0038,0x6708,0x0039,0x6708,
/* 0x0AE0 */ 0x0031,0x0030,0x6708,0x0031,0x0031,0x6708,0x0031,0x0032,
/* 0x0AE8 */ 0x6708,0x0048,0x0067,0x0065,0x0072,0x0067,0x0065,0x0056,
/* 0x0AF0 */ 0x004C,0x0054,0x0044,0x30A2,0x30D1,0x30FC,0x30C8,0x30A2,
/* 0x0AF8 */ 0x30EB,0x30D5,0x30A1,0x30A2,0x30F3,0x30DA,0x30A2,0x30A2,
/* 0x0B00 */ 0x30FC,0x30EB,0x30A4,0x30CB,0x30F3,0x30B0,0x30A4,0x30F3,
/* 0x0B08 */ 0x30C1,0x30A6,0x30A9,0x30F3,0x30A8,0x30B9,0x30AF,0x30FC,
/* 0x0B10 */ 0x30C9,0x30A8,0x30FC,0x30AB,0x30FC,0x30AA,0x30F3,0x30B9,
/* 0x0B18 */ 0x30AA,0x30FC,0x30E0,0x30AB,0x30A4,0x30EA,0x30AB,0x30E9,
/* 0x0B20 */ 0x30C3,0x30C8,0x30AB,0x30ED,0x30EA,0x30FC,0x30AC,0x30ED,
/* 0x0B28 */ 0x30F3,0x30AC,0x30F3,0x30DE,0x30AE,0x30AC,0x30AE,0x30CB,
/* 0x0B30 */ 0x30FC,0x30AD,0x30E5,0x30EA,0x30FC,0x30AE,0x30EB,0x30C0,
/* 0x0B38 */ 0x30FC,0x30AD,0x30ED,0x30AD,0x30ED,0x30B0,0x30E9,0x30E0,
/* 0x0B40 */ 0x30AD,0x30ED,0x30E1,0x30FC,0x30C8,0x30EB,0x30AD,0x30ED,
/* 0x0B48 */ 0x30EF,0x30C3,0x30C8,0x30B0,0x30E9,0x30E0,0x30B0,0x30E9,
/* 0x0B50 */ 0x30E0,0x30C8,0x30F3,0x30AF,0x30EB,0x30BC,0x30A4,0x30ED,
/* 0x0B58 */ 0x30AF,0x30ED,0x30FC,0x30CD,0x30B1,0x30FC,0x30B9,0x30B3,
/* 0x0B60 */ 0x30EB,0x30CA,0x30B3,0x30FC,0x30DD,0x30B5,0x30A4,0x30AF,
/* 0x0B68 */ 0x30EB,0x30B5,0x30F3,0x30C1,0x30FC,0x30E0,0x30B7,0x30EA,
/* 0x0B70 */ 0x30F3,0x30B0,0x30BB,0x30F3,0x30C1,0x30BB,0x30F3,0x30C8,
/* 0x0B78 */ 0x30C0,0x30FC,0x30B9,0x30C7,0x30B7,0x30C9,0x30EB,0x30C8,
/* 0x0B80 */ 0x30F3,0x30CA,0x30CE,0x30CE,0x30C3,0x30C8,0x30CF,0x30A4,
/* 0x0B88 */ 0x30C4,0x30D1,0x30FC,0x30BB,0x30F3,0x30C8,0x30D1,0x30FC,
/* 0x0B90 */ 0x30C4,0x30D0,0x30FC,0x30EC,0x30EB,0x30D4,0x30A2,0x30B9,
/* 0x0B98 */ 0x30C8,0x30EB,0x30D4,0x30AF,0x30EB,0x30D4,0x30B3,0x30D3,
/* 0x0BA0 */ 0x30EB,0x30D5,0x30A1,0x30E9,0x30C3,0x30C9,0x30D5,0x30A3,
/* 0x0BA8 */ 0x30FC,0x30C8,0x30D6,0x30C3,0x30B7,0x30A7,0x30EB,0x30D5,
/* 0x0BB0 */ 0x30E9,0x30F3,0x30D8,0x30AF,0x30BF,0x30FC,0x30EB,0x30DA,
/* 0x0BB8 */ 0x30BD,0x30DA,0x30CB,0x30D2,0x30D8,0x30EB,0x30C4,0x30DA,
/* 0x0BC0 */ 0x30F3,0x30B9,0x30DA,0x30FC,0x30B8,0x30D9,0x30FC,0x30BF,
/* 0x0BC8 */ 0x30DD,0x30A4,0x30F3,0x30C8,0x30DC,0x30EB,0x30C8,0x30DB,
/* 0x0BD0 */ 0x30F3,0x30DD,0x30F3,0x30C9,0x30DB,0x30FC,0x30EB,0x30DB,
/* 0x0BD8 */ 0x30FC,0x30F3,0x30DE,0x30A4,0x30AF,0x30ED,0x30DE,0x30A4,
/* 0x0BE0 */ 0x30EB,0x30DE,0x30C3,0x30CF,0x30DE,0x30EB,0x30AF,0x30DE,
/* 0x0BE8 */ 0x30F3,0x30B7,0x30E7,0x30F3,0x30DF,0x30AF,0x30ED,0x30F3,
/* 0x0BF0 */ 0x30DF,0x30EA,0x30DF,0x30EA,0x30D0,0x30FC,0x30EB,0x30E1,
/* 0x0BF8 */ 0x30AC,0x30E1,0x30AC,0x30C8,0x30F3,0x30E1,0x30FC,0x30C8,
/* 0x0C00 */ 0x30EB,0x30E4,0x30FC,0x30C9,0x30E4,0x30FC,0x30EB,0x30E6,
/* 0x0C08 */ 0x30A2,0x30F3,0x30EA,0x30C3,0x30C8,0x30EB,0x30EA,0x30E9,
/* 0x0C10 */ 0x30EB,0x30D4,0x30FC,0x30EB,0x30FC,0x30D6,0x30EB,0x30EC,
/* 0x0C18 */ 0x30E0,0x30EC,0x30F3,0x30C8,0x30B2,0x30F3,0x30EF,0x30C3,
/* 0x0C20 */ 0x30C8,0x0030,0x70B9,0x0031,0x70B9,0x0032,0x70B9,0x0033,
/* 0x0C28 */ 0x70B9,0x0034,0x70B9,0x0035,0x70B9,0x0036,0x70B9,0x0037,
/* 0x0C30 */ 0x70B9,0x0038,0x70B9,0x0039,0x70B9,0x0031,0x0030,0x70B9,
/* 0x0C38 */ 0x0031,0x0031,0x70B9,0x0031,0x0032,0x70B9,0x0031,0x0033,
/* 0x0C40 */ 0x70B9,0x0031,0x0034,0x70B9,0x0031,0x0035,0x70B9,0x0031,
/* 0x0C48 */ 0x0036,0x70B9,0x0031,0x0037,0x70B9,0x0031,0x0038,0x70B9,
/* 0x0C50 */ 0x0031,0x0039,0x70B9,0x0032,0x0030,0x70B9,0x0032,0x0031,
/* 0x0C58 */ 0x70B9,0x0032,0x0032,0x70B9,0x0032,0x0033,0x70B9,0x0032,
/* 0x0C60 */ 0x0034,0x70B9,0x0068,0x0050,0x0061,0x0064,0x0061,0x0041,
/* 0x0C68 */ 0x0055,0x0062,0x0061,0x0072,0x006F,0x0056,0x0070,0x0063,
/* 0x0C70 */ 0x0064,0x006D,0x0064,0x006D,0x00B2,0x0064,0x006D,0x00B3,
/* 0x0C78 */ 0x0049,0x0055,0x5E73,0x6210,0x662D,0x548C,0x5927,0x6B63,
/* 0x0C80 */ 0x660E,0x6CBB,0x682A,0x5F0F,0x4F1A,0x793E,0x0070,0x0041,
/* 0x0C88 */ 0x006E,0x0041,0x03BC,0x0041,0x006D,0x0041,0x006B,0x0041,
/* 0x0C90 */ 0x004B,0x0042,0x004D,0x0042,0x0047,0x0042,0x0063,0x0061,
/* 0x0C98 */ 0x006C,0x006B,0x0063,0x0061,0x006C,0x0070,0x0046,0x006E,
/* 0x0CA0 */ 0x0046,0x03BC,0x0046,0x03BC,0x0067,0x006D,0x0067,0x006B,
/* 0x0CA8 */ 0x0067,0x0048,0x007A,0x006B,0x0048,0x007A,0x004D,0x0048,
/* 0x0CB0 */ 0x007A,0x0047,0x0048,0x007A,0x0054,0x0048,0x007A,0x03BC,
/* 0x0CB8 */ 0x2113,0x006D,0x2113,0x0064,0x2113,0x006B,0x2113,0x0066,
/* 0x0CC0 */ 0x006D,0x006E,0x006D,0x03BC,0x006D,0x006D,0x006D,0x0063,
/* 0x0CC8 */ 0x006D,0x006B,0x006D,0x006D,0x006D,0x00B2,0x0063,0x006D,
/* 0x0CD0 */ 0x00B2,0x006D,0x00B2,0x006B,0x006D,0x00B2,0x006D,0x006D,
/* 0x0CD8 */ 0x00B3,0x0063,0x006D,0x00B3,0x006D,0x00B3,0x006B,0x006D,
/* 0x0CE0 */ 0x00B3,0x006D,0x2215,0x0073,0x006D,0x2215,0x0073,0x00B2,
/* 0x0CE8 */ 0x0050,0x0061,0x006B,0x0050,0x0061,0x004D,0x0050,0x0061,
/* 0x0CF0 */ 0x0047,0x0050,0x0061,0x0072,0x0061,0x0064,0x0072,0x0061,
/* 0x0CF8 */ 0x0064,0x2215,0x0073,0x0072,0x0061,0x0064,0x2215,0x0073,
/* 0x0D00 */ 0x00B2,0x0070,0x0073,0x006E,0x0073,0x03BC,0x0073,0x006D,
/* 0x0D08 */ 0x0073,0x0070,0x0056,0x006E,0x0056,0x03BC,0x0056,0x006D,
/* 0x0D10 */ 0x0056,0x006B,0x0056,0x004D,0x0056,0x0070,0x0057,0x006E,
/* 0x0D18 */ 0x0057,0x03BC,0x0057,0x006D,0x0057,0x006B,0x0057,0x004D,
/* 0x0D20 */ 0x0057,0x006B,0x03A9,0x004D,0x03A9,0x0061,0x002E,0x006D,
/* 0x0D28 */ 0x002E,0x0042,0x0071,0x0063,0x0063,0x0063,0x0064,0x0043,
/* 0x0D30 */ 0x2215,0x006B,0x0067,0x0043,0x006F,0x002E,0x0064,0x0042,
/* 0x0D38 */ 0x0047,0x0079,0x0068,0x0061,0x0048,0x0050,0x0069,0x006E,
/* 0x0D40 */ 0x004B,0x004B,0x004B,0x004D,0x006B,0x0074,0x006C,0x006D,
/* 0x0D48 */ 0x006C,0x006E,0x006C,0x006F,0x0067,0x006C,0x0078,0x006D,
/* 0x0D50 */ 0x0062,0x006D,0x0069,0x006C,0x006D,0x006F,0x006C,0x0050,
/* 0x0D58 */ 0x0048,0x0070,0x002E,0x006D,0x002E,0x0050,0x0050,0x004D,
/* 0x0D60 */ 0x0050,0x0052,0x0073,0x0072,0x0053,0x0076,0x0057,0x0062,
/* 0x0D68 */ 0x0056,0x2215,0x006D,0x0041,0x2215,0x006D,0x0031,0x65E5,
/* 0x0D70 */ 0x0032,0x65E5,0x0033,0x65E5,0x0034,0x65E5,0x0035,0x65E5,
/* 0x0D78 */ 0x0036,0x65E5,0x0037,0x65E5,0x0038,0x65E5,0x0039,0x65E5,
/* 0x0D80 */ 0x0031,0x0030,0x65E5,0x0031,0x0031,0x65E5,0x0031,0x0032,
/* 0x0D88 */ 0x65E5,0x0031,0x0033,0x65E5,0x0031,0x0034,0x65E5,0x0031,
/* 0x0D90 */ 0x0035,0x65E5,0x0031,0x0036,0x65E5,0x0031,0x0037,0x65E5,
/* 0x0D98 */ 0x0031,0x0038,0x65E5,0x0031,0x0039,0x65E5,0x0032,0x0030,
/* 0x0DA0 */ 0x65E5,0x0032,0x0031,0x65E5,0x0032,0x0032,0x65E5,0x0032,
/* 0x0DA8 */ 0x0033,0x65E5,0x0032,0x0034,0x65E5,0x0032,0x0035,0x65E5,
/* 0x0DB0 */ 0x0032,0x0036,0x65E5,0x0032,0x0037,0x65E5,0x0032,0x0038,
/* 0x0DB8 */ 0x65E5,0x0032,0x0039,0x65E5,0x0033,0x0030,0x65E5,0x0033,
/* 0x0DC0 */ 0x0031,0x65E5,0x0067,0x0061,0x006C,0x0066,0x0066,0x0066,
/* 0x0DC8 */ 0x0069,0x0066,0x006C,0x0066,0x0066,0x0069,0x0066,0x0066,
/* 0x0DD0 */ 0x006C,0x017F,0x0074,0x0073,0x0074,0x0574,0x0576,0x0574,
/* 0x0DD8 */ 0x0565,0x0574,0x056B,0x057E,0x0576,0x0574,0x056D,0x05D9,
/* 0x0DE0 */ 0x05B4,0x05F2,0x05B7,0x05E9,0x05C1,0x05E9,0x05C2,0xFB49,
/* 0x0DE8 */ 0x05C1,0xFB49,0x05C2,0x05D0,0x05B7,0x05D0,0x05B8,0x05D0,
/* 0x0DF0 */ 0x05BC,0x05D1,0x05BC,0x05D2,0x05BC,0x05D3,0x05BC,0x05D4,
/* 0x0DF8 */ 0x05BC,0x05D5,0x05BC,0x05D6,0x05BC,0x05D8,0x05BC,0x05D9,
/* 0x0E00 */ 0x05BC,0x05DA,0x05BC,0x05DB,0x05BC,0x05DC,0x05BC,0x05DE,
/* 0x0E08 */ 0x05BC,0x05E0,0x05BC,0x05E1,0x05BC,0x05E3,0x05BC,0x05E4,
/* 0x0E10 */ 0x05BC,0x05E6,0x05BC,0x05E7,0x05BC,0x05E8,0x05BC,0x05E9,
/* 0x0E18 */ 0x05BC,0x05EA,0x05BC,0x05D5,0x05B9,0x05D1,0x05BF,0x05DB,
/* 0x0E20 */ 0x05BF,0x05E4,0x05BF,0x05D0,0x05DC,0x0626,0x0627,0x0626,
/* 0x0E28 */ 0x0627,0x0626,0x06D5,0x0626,0x06D5,0x0626,0x0648,0x0626,
/* 0x0E30 */ 0x0648,0x0626,0x06C7,0x0626,0x06C7,0x0626,0x06C6,0x0626,
/* 0x0E38 */ 0x06C6,0x0626,0x06C8,0x0626,0x06C8,0x0626,0x06D0,0x0626,
/* 0x0E40 */ 0x06D0,0x0626,0x06D0,0x0626,0x0649,0x0626,0x0649,0x0626,
/* 0x0E48 */ 0x0649,0x0626,0x062C,0x0626,0x062D,0x0626,0x0645,0x0626,
/* 0x0E50 */ 0x0649,0x0626,0x064A,0x0628,0x062C,0x0628,0x062D,0x0628,
/* 0x0E58 */ 0x062E,0x0628,0x0645,0x0628,0x0649,0x0628,0x064A,0x062A,
/* 0x0E60 */ 0x062C,0x062A,0x062D,0x062A,0x062E,0x062A,0x0645,0x062A,
/* 0x0E68 */ 0x0649,0x062A,0x064A,0x062B,0x062C,0x062B,0x0645,0x062B,
/* 0x0E70 */ 0x0649,0x062B,0x064A,0x062C,0x062D,0x062C,0x0645,0x062D,
/* 0x0E78 */ 0x062C,0x062D,0x0645,0x062E,0x062C,0x062E,0x062D,0x062E,
/* 0x0E80 */ 0x0645,0x0633,0x062C,0x0633,0x062D,0x0633,0x062E,0x0633,
/* 0x0E88 */ 0x0645,0x0635,0x062D,0x0635,0x0645,0x0636,0x062C,0x0636,
/* 0x0E90 */ 0x062D,0x0636,0x062E,0x0636,0x0645,0x0637,0x062D,0x0637,
/* 0x0E98 */ 0x0645,0x0638,0x0645,0x0639,0x062C,0x0639,0x0645,0x063A,
/* 0x0EA0 */ 0x062C,0x063A,0x0645,0x0641,0x062C,0x0641,0x062D,0x0641,
/* 0x0EA8 */ 0x062E,0x0641,0x0645,0x0641,0x0649,0x0641,0x064A,0x0642,
/* 0x0EB0 */ 0x062D,0x0642,0x0645,0x0642,0x0649,0x0642,0x064A,0x0643,
/* 0x0EB8 */ 0x0627,0x0643,0x062C,0x0643,0x062D,0x0643,0x062E,0x0643,
/* 0x0EC0 */ 0x0644,0x0643,0x0645,0x0643,0x0649,0x0643,0x064A,0x0644,
/* 0x0EC8 */ 0x062C,0x0644,0x062D,0x0644,0x062E,0x0644,0x0645,0x0644,
/* 0x0ED0 */ 0x0649,0x0644,0x064A,0x0645,0x062C,0x0645,0x062D,0x0645,
/* 0x0ED8 */ 0x062E,0x0645,0x0645,0x0645,0x0649,0x0645,0x064A,0x0646,
/* 0x0EE0 */ 0x062C,0x0646,0x062D,0x0646,0x062E,0x0646,0x0645,0x0646,
/* 0x0EE8 */ 0x0649,0x0646,0x064A,0x0647,0x062C,0x0647,0x0645,0x0647,
/* 0x0EF0 */ 0x0649,0x0647,0x064A,0x064A,0x062C,0x064A,0x062D,0x064A,
/* 0x0EF8 */ 0x062E,0x064A,0x0645,0x064A,0x0649,0x064A,0x064A,0x0630,
/* 0x0F00 */ 0x0670,0x0631,0x0670,0x0649,0x0670,0x0020,0x064C,0x0651,
/* 0x0F08 */ 0x0020,0x064D,0x0651,0x0020,0x064E,0x0651,0x0020,0x064F,
/* 0x0F10 */ 0x0651,0x0020,0x0650,0x0651,0x0020,0x0651,0x0670,0x0626,
/* 0x0F18 */ 0x0631,0x0626,0x0632,0x0626,0x0645,0x0626,0x0646,0x0626,
/* 0x0F20 */ 0x0649,0x0626,0x064A,0x0628,0x0631,0x0628,0x0632,0x0628,
/* 0x0F28 */ 0x0645,0x0628,0x0646,0x0628,0x0649,0x0628,0x064A,0x062A,
/* 0x0F30 */ 0x0631,0x062A,0x0632,0x062A,0x0645,0x062A,0x0646,0x062A,
/* 0x0F38 */ 0x0649,0x062A,0x064A,0x062B,0x0631,0x062B,0x0632,0x062B,
/* 0x0F40 */ 0x0645,0x062B,0x0646,0x062B,0x0649,0x062B,0x064A,0x0641,
/* 0x0F48 */ 0x0649,0x0641,0x064A,0x0642,0x0649,0x0642,0x064A,0x0643,
/* 0x0F50 */ 0x0627,0x0643,0x0644,0x0643,0x0645,0x0643,0x0649,0x0643,
/* 0x0F58 */ 0x064A,0x0644,0x0645,0x0644,0x0649,0x0644,0x064A,0x0645,
/* 0x0F60 */ 0x0627,0x0645,0x0645,0x0646,0x0631,0x0646,0x0632,0x0646,
/* 0x0F68 */ 0x0645,0x0646,0x0646,0x0646,0x0649,0x0646,0x064A,0x0649,
/* 0x0F70 */ 0x0670,0x064A,0x0631,0x064A,0x0632,0x064A,0x0645,0x064A,
/* 0x0F78 */ 0x0646,0x064A,0x0649,0x064A,0x064A,0x0626,0x062C,0x0626,
/* 0x0F80 */ 0x062D,0x0626,0x062E,0x0626,0x0645,0x0626,0x0647,0x0628,
/* 0x0F88 */ 0x062C,0x0628,0x062D,0x0628,0x062E,0x0628,0x0645,0x0628,
/* 0x0F90 */ 0x0647,0x062A,0x062C,0x062A,0x062D,0x062A,0x062E,0x062A,
/* 0x0F98 */ 0x0645,0x062A,0x0647,0x062B,0x0645,0x062C,0x062D,0x062C,
/* 0x0FA0 */ 0x0645,0x062D,0x062C,0x062D,0x0645,0x062E,0x062C,0x062E,
/* 0x0FA8 */ 0x0645,0x0633,0x062C,0x0633,0x062D,0x0633,0x062E,0x0633,
/* 0x0FB0 */ 0x0645,0x0635,0x062D,0x0635,0x062E,0x0635,0x0645,0x0636,
/* 0x0FB8 */ 0x062C,0x0636,0x062D,0x0636,0x062E,0x0636,0x0645,0x0637,
/* 0x0FC0 */ 0x062D,0x0638,0x0645,0x0639,0x062C,0x0639,0x0645,0x063A,
/* 0x0FC8 */ 0x062C,0x063A,0x0645,0x0641,0x062C,0x0641,0x062D,0x0641,
/* 0x0FD0 */ 0x062E,0x0641,0x0645,0x0642,0x062D,0x0642,0x0645,0x0643,
/* 0x0FD8 */ 0x062C,0x0643,0x062D,0x0643,0x062E,0x0643,0x0644,0x0643,
/* 0x0FE0 */ 0x0645,0x0644,0x062C,0x0644,0x062D,0x0644,0x062E,0x0644,
/* 0x0FE8 */ 0x0645,0x0644,0x0647,0x0645,0x062C,0x0645,0x062D,0x0645,
/* 0x0FF0 */ 0x062E,0x0645,0x0645,0x0646,0x062C,0x0646,0x062D,0x0646,
/* 0x0FF8 */ 0x062E,0x0646,0x0645,0x0646,0x0647,0x0647,0x062C,0x0647,
/* 0x1000 */ 0x0645,0x0647,0x0670,0x064A,0x062C,0x064A,0x062D,0x064A,
/* 0x1008 */ 0x062E,0x064A,0x0645,0x064A,0x0647,0x0626,0x0645,0x0626,
/* 0x1010 */ 0x0647,0x0628,0x0645,0x0628,0x0647,0x062A,0x0645,0x062A,
/* 0x1018 */ 0x0647,0x062B,0x0645,0x062B,0x0647,0x0633,0x0645,0x0633,
/* 0x1020 */ 0x0647,0x0634,0x0645,0x0634,0x0647,0x0643,0x0644,0x0643,
/* 0x1028 */ 0x0645,0x0644,0x0645,0x0646,0x0645,0x0646,0x0647,0x064A,
/* 0x1030 */ 0x0645,0x064A,0x0647,0x0640,0x064E,0x0651,0x0640,0x064F,
/* 0x1038 */ 0x0651,0x0640,0x0650,0x0651,0x0637,0x0649,0x0637,0x064A,
/* 0x1040 */ 0x0639,0x0649,0x0639,0x064A,0x063A,0x0649,0x063A,0x064A,
/* 0x1048 */ 0x0633,0x0649,0x0633,0x064A,0x0634,0x0649,0x0634,0x064A,
/* 0x1050 */ 0x062D,0x0649,0x062D,0x064A,0x062C,0x0649,0x062C,0x064A,
/* 0x1058 */ 0x062E,0x0649,0x062E,0x064A,0x0635,0x0649,0x0635,0x064A,
/* 0x1060 */ 0x0636,0x0649,0x0636,0x064A,0x0634,0x062C,0x0634,0x062D,
/* 0x1068 */ 0x0634,0x062E,0x0634,0x0645,0x0634,0x0631,0x0633,0x0631,
/* 0x1070 */ 0x0635,0x0631,0x0636,0x0631,0x0637,0x0649,0x0637,0x064A,
/* 0x1078 */ 0x0639,0x0649,0x0639,0x064A,0x063A,0x0649,0x063A,0x064A,
/* 0x1080 */ 0x0633,0x0649,0x0633,0x064A,0x0634,0x0649,0x0634,0x064A,
/* 0x1088 */ 0x062D,0x0649,0x062D,0x064A,0x062C,0x0649,0x062C,0x064A,
/* 0x1090 */ 0x062E,0x0649,0x062E,0x064A,0x0635,0x0649,0x0635,0x064A,
/* 0x1098 */ 0x0636,0x0649,0x0636,0x064A,0x0634,0x062C,0x0634,0x062D,
/* 0x10A0 */ 0x0634,0x062E,0x0634,0x0645,0x0634,0x0631,0x0633,0x0631,
/* 0x10A8 */ 0x0635,0x0631,0x0636,0x0631,0x0634,0x062C,0x0634,0x062D,
/* 0x10B0 */ 0x0634,0x062E,0x0634,0x0645,0x0633,0x0647,0x0634,0x0647,
/* 0x10B8 */ 0x0637,0x0645,0x0633,0x062C,0x0633,0x062D,0x0633,0x062E,
/* 0x10C0 */ 0x0634,0x062C,0x0634,0x062D,0x0634,0x062E,0x0637,0x0645,
/* 0x10C8 */ 0x0638,0x0645,0x0627,0x064B,0x0627,0x064B,0x062A,0x062C,
/* 0x10D0 */ 0x0645,0x062A,0x062D,0x062C,0x062A,0x062D,0x062C,0x062A,
/* 0x10D8 */ 0x062D,0x0645,0x062A,0x062E,0x0645,0x062A,0x0645,0x062C,
/* 0x10E0 */ 0x062A,0x0645,0x062D,0x062A,0x0645,0x062E,0x062C,0x0645,
/* 0x10E8 */ 0x062D,0x062C,0x0645,0x062D,0x062D,0x0645,0x064A,0x062D,
/* 0x10F0 */ 0x0645,0x0649,0x0633,0x062D,0x062C,0x0633,0x062C,0x062D,
/* 0x10F8 */ 0x0633,0x062C,0x0649,0x0633,0x0645,0x062D,0x0633,0x0645,
/* 0x1100 */ 0x062D,0x0633,0x0645,0x062C,0x0633,0x0645,0x0645,0x0633,
/* 0x1108 */ 0x0645,0x0645,0x0635,0x062D,0x062D,0x0635,0x062D,0x062D,
/* 0x1110 */ 0x0635,0x0645,0x0645,0x0634,0x062D,0x0645,0x0634,0x062D,
/* 0x1118 */ 0x0645,0x0634,0x062C,0x064A,0x0634,0x0645,0x062E,0x0634,
/* 0x1120 */ 0x0645,0x062E,0x0634,0x0645,0x0645,0x0634,0x0645,0x0645,
/* 0x1128 */ 0x0636,0x062D,0x0649,0x0636,0x062E,0x0645,0x0636,0x062E,
/* 0x1130 */ 0x0645,0x0637,0x0645,0x062D,0x0637,0x0645,0x062D,0x0637,
/* 0x1138 */ 0x0645,0x0645,0x0637,0x0645,0x064A,0x0639,0x062C,0x0645,
/* 0x1140 */ 0x0639,0x0645,0x0645,0x0639,0x0645,0x0645,0x0639,0x0645,
/* 0x1148 */ 0x0649,0x063A,0x0645,0x0645,0x063A,0x0645,0x064A,0x063A,
/* 0x1150 */ 0x0645,0x0649,0x0641,0x062E,0x0645,0x0641,0x062E,0x0645,
/* 0x1158 */ 0x0642,0x0645,0x062D,0x0642,0x0645,0x0645,0x0644,0x062D,
/* 0x1160 */ 0x0645,0x0644,0x062D,0x064A,0x0644,0x062D,0x0649,0x0644,
/* 0x1168 */ 0x062C,0x062C,0x0644,0x062C,0x062C,0x0644,0x062E,0x0645,
/* 0x1170 */ 0x0644,0x062E,0x0645,0x0644,0x0645,0x062D,0x0644,0x0645,
/* 0x1178 */ 0x062D,0x0645,0x062D,0x062C,0x0645,0x062D,0x0645,0x0645,
/* 0x1180 */ 0x062D,0x064A,0x0645,0x062C,0x062D,0x0645,0x062C,0x0645,
/* 0x1188 */ 0x0645,0x062E,0x062C,0x0645,0x062E,0x0645,0x0645,0x062C,
/* 0x1190 */ 0x062E,0x0647,0x0645,0x062C,0x0647,0x0645,0x0645,0x0646,
/* 0x1198 */ 0x062D,0x0645,0x0646,0x062D,0x0649,0x0646,0x062C,0x0645,
/* 0x11A0 */ 0x0646,0x062C,0x0645,0x0646,0x062C,0x0649,0x0646,0x0645,
/* 0x11A8 */ 0x064A,0x0646,0x0645,0x0649,0x064A,0x0645,0x0645,0x064A,
/* 0x11B0 */ 0x0645,0x0645,0x0628,0x062E,0x064A,0x062A,0x062C,0x064A,
/* 0x11B8 */ 0x062A,0x062C,0x0649,0x062A,0x062E,0x064A,0x062A,0x062E,
/* 0x11C0 */ 0x0649,0x062A,0x0645,0x064A,0x062A,0x0645,0x0649,0x062C,
/* 0x11C8 */ 0x0645,0x064A,0x062C,0x062D,0x0649,0x062C,0x0645,0x0649,
/* 0x11D0 */ 0x0633,0x062E,0x0649,0x0635,0x062D,0x064A,0x0634,0x062D,
/* 0x11D8 */ 0x064A,0x0636,0x062D,0x064A,0x0644,0x062C,0x064A,0x0644,
/* 0x11E0 */ 0x0645,0x064A,0x064A,0x062D,0x064A,0x064A,0x062C,0x064A,
/* 0x11E8 */ 0x064A,0x0645,0x064A,0x0645,0x0645,0x064A,0x0642,0x0645,
/* 0x11F0 */ 0x064A,0x0646,0x062D,0x064A,0x0642,0x0645,0x062D,0x0644,
/* 0x11F8 */ 0x062D,0x0645,0x0639,0x0645,0x064A,0x0643,0x0645,0x064A,
/* 0x1200 */ 0x0646,0x062C,0x062D,0x0645,0x062E,0x064A,0x0644,0x062C,
/* 0x1208 */ 0x0645,0x0643,0x0645,0x0645,0x0644,0x062C,0x0645,0x0646,
/* 0x1210 */ 0x062C,0x062D,0x062C,0x062D,0x064A,0x062D,0x062C,0x064A,
/* 0x1218 */ 0x0645,0x062C,0x064A,0x0641,0x0645,0x064A,0x0628,0x062D,
/* 0x1220 */ 0x064A,0x0643,0x0645,0x0645,0x0639,0x062C,0x0645,0x0635,
/* 0x1228 */ 0x0645,0x0645,0x0633,0x062E,0x064A,0x0646,0x062C,0x064A,
/* 0x1230 */ 0x0635,0x0644,0x06D2,0x0642,0x0644,0x06D2,0x0627,0x0644,
/* 0x1238 */ 0x0644,0x0647,0x0627,0x0643,0x0628,0x0631,0x0645,0x062D,
/* 0x1240 */ 0x0645,0x062F,0x0635,0x0644,0x0639,0x0645,0x0631,0x0633,
/* 0x1248 */ 0x0648,0x0644,0x0639,0x0644,0x064A,0x0647,0x0648,0x0633,
/* 0x1250 */ 0x0644,0x0645,0x0635,0x0644,0x0649,0x0635,0x0644,0x0649,
/* 0x1258 */ 0x0020,0x0627,0x0644,0x0644,0x0647,0x0020,0x0639,0x0644,
/* 0x1260 */ 0x064A,0x0647,0x0020,0x0648,0x0633,0x0644,0x0645,0x062C,
/* 0x1268 */ 0x0644,0x0020,0x062C,0x0644,0x0627,0x0644,0x0647,0x0631,
/* 0x1270 */ 0x06CC,0x0627,0x0644,0x0020,0x064B,0x0640,0x064B,0x0020,
/* 0x1278 */ 0x064C,0x0020,0x064D,0x0020,0x064E,0x0640,0x064E,0x0020,
/* 0x1280 */ 0x064F,0x0640,0x064F,0x0020,0x0650,0x0640,0x0650,0x0020,
/* 0x1288 */ 0x0651,0x0640,0x0651,0x0020,0x0652,0x0640,0x0652,0x0644,
/* 0x1290 */ 0x0622,0x0644,0x0622,0x0644,0x0623,0x0644,0x0623,0x0644,
/* 0x1298 */ 0x0625,0x0644,0x0625,0x0644,0x0627,0x0644,0x0627,0x11099,
/* 0x12A0 */ 0x110BA,0x1109B,0x110BA,0x110A5,0x110BA,0x11131,0x11127,0x11132,
/* 0x12A8 */ 0x11127,0x11347,0x1133E,0x11347,0x11357,0x114B9,0x114BA,0x114B9,
/* 0x12B0 */ 0x114B0,0x114B9,0x114BD,0x115B8,0x115AF,0x115B9,0x115AF,0x1D157,
/* 0x12B8 */ 0x1D165,0x1D158,0x1D165,0x1D15F,0x1D16E,0x1D15F,0x1D16F,0x1D15F,
/* 0x12C0 */ 0x1D170,0x1D15F,0x1D171,0x1D15F,0x1D172,0x1D1B9,0x1D165,0x1D1BA,
/* 0x12C8 */ 0x1D165,0x1D1BB,0x1D16E,0x1D1BC,0x1D16E,0x1D1BB,0x1D16F,0x1D1BC,
/* 0x12D0 */ 0x1D16F,0x0030,0x002E,0x0030,0x002C,0x0031,0x002C,0x0032,
/* 0x12D8 */ 0x002C,0x0033,0x002C,0x0034,0x002C,0x0035,0x002C,0x0036,
/* 0x12E0 */ 0x002C,0x0037,0x002C,0x0038,0x002C,0x0039,0x002C,0x0028,
/* 0x12E8 */ 0x0041,0x0029,0x0028,0x0042,0x0029,0x0028,0x0043,0x0029,
/* 0x12F0 */ 0x0028,0x0044,0x0029,0x0028,0x0045,0x0029,0x0028,0x0046,
/* 0x12F8 */ 0x0029,0x0028,0x0047,0x0029,0x0028,0x0048,0x0029,0x0028,
/* 0x1300 */ 0x0049,0x0029,0x0028,0x004A,0x0029,0x0028,0x004B,0x0029,
/* 0x1308 */ 0x0028,0x004C,0x0029,0x0028,0x004D,0x0029,0x0028,0x004E,
/* 0x1310 */ 0x0029,0x0028,0x004F,0x0029,0x0028,0x0050,0x0029,0x0028,
/* 0x1318 */ 0x0051,0x0029,0x0028,0x0052,0x0029,0x0028,0x0053,0x0029,
/* 0x1320 */ 0x0028,0x0054,0x0029,0x0028,0x0055,0x0029,0x0028,0x0056,
/* 0x1328 */ 0x0029,0x0028,0x0057,0x0029,0x0028,0x0058,0x0029,0x0028,
/* 0x1330 */ 0x0059,0x0029,0x0028,0x005A,0x0029,0x3014,0x0053,0x3015,
/* 0x1338 */ 0x0043,0x0044,0x0057,0x005A,0x0048,0x0056,0x004D,0x0056,
/* 0x1340 */ 0x0053,0x0044,0x0053,0x0053,0x0050,0x0050,0x0056,0x0057,
/* 0x1348 */ 0x0043,0x004D,0x0043,0x004D,0x0044,0x0044,0x004A,0x307B,
/* 0x1350 */ 0x304B,0x30B3,0x30B3,0x3014,0x672C,0x3015,0x3014,0x4E09,
/* 0x1358 */ 0x3015,0x3014,0x4E8C,0x3015,0x3014,0x5B89,0x3015,0x3014,
/* 0x1360 */ 0x70B9,0x3015,0x3014,0x6253,0x3015,0x3014,0x76D7,0x3015,
/* 0x1368 */ 0x3014,0x52DD,0x3015,0x3014,0x6557,0x3015
};
#endif /* UNICODE_DECOMPOSE_H */
utf8/src/utf8lite/src/private/casefold.h 0000644 0001762 0000144 00000222417 13301551651 017675 0 ustar ligges users /* This file is automatically generated. DO NOT EDIT!
Instead, edit gen-casefold.py and re-run. */
/*
* Case folding properties.
*
* Defined in UAX #44 "Unicode Character Database"
*
* http://www.unicode.org/reports/tr44/
*
* Section 5.6, Case and Case Mapping
*
*
* We use a two-stage lookup strategy as described at
*
* http://www.strchr.com/multi-stage_tables
*
*/
#ifndef UNICODE_CASEFOLD_H
#define UNICODE_CASEFOLD_H
#include
/* casefold
* --------
* length: the length (in codepoints) of the case fold mapping,
* or 0 if there is no case fold
*
* data: the mapped-to codepoint (length = 1), or
* an index into the `casefold_mapping` array, pointing
* to the first codepoint in the mapping (length > 1)
*/
struct casefold {
unsigned length : 8;
unsigned data : 24;
};
#define CASEFOLD_BLOCK_SIZE 256
static const uint8_t casefold_stage1[] = {
/* U+0000 */ 0, 1, 2, 3, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
/* U+1000 */ 7, 6, 6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6, 6, 6, 6, 6, 6, 6, 6, 6,
/* U+108000 */ 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
/* U+109000 */ 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
/* U+10A000 */ 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
/* U+10B000 */ 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
/* U+10C000 */ 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
/* U+10D000 */ 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
/* U+10E000 */ 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
/* U+10F000 */ 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6
};
static const struct casefold casefold_stage2[][256] = {
/* block 0 */
{{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{1,0x00061},{1,0x00062},{1,0x00063},{1,0x00064},{1,0x00065},
{1,0x00066},{1,0x00067},{1,0x00068},{1,0x00069},{1,0x0006A},
{1,0x0006B},{1,0x0006C},{1,0x0006D},{1,0x0006E},{1,0x0006F},
{1,0x00070},{1,0x00071},{1,0x00072},{1,0x00073},{1,0x00074},
{1,0x00075},{1,0x00076},{1,0x00077},{1,0x00078},{1,0x00079},
{1,0x0007A},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{1,0x003BC},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{1,0x000E0},{1,0x000E1},{1,0x000E2},
{1,0x000E3},{1,0x000E4},{1,0x000E5},{1,0x000E6},{1,0x000E7},
{1,0x000E8},{1,0x000E9},{1,0x000EA},{1,0x000EB},{1,0x000EC},
{1,0x000ED},{1,0x000EE},{1,0x000EF},{1,0x000F0},{1,0x000F1},
{1,0x000F2},{1,0x000F3},{1,0x000F4},{1,0x000F5},{1,0x000F6},
{0,0},{1,0x000F8},{1,0x000F9},{1,0x000FA},{1,0x000FB},
{1,0x000FC},{1,0x000FD},{1,0x000FE},{2,0x00000},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0}
},
/* block 1 */
{{1,0x00101},{0,0},{1,0x00103},{0,0},{1,0x00105},
{0,0},{1,0x00107},{0,0},{1,0x00109},{0,0},
{1,0x0010B},{0,0},{1,0x0010D},{0,0},{1,0x0010F},
{0,0},{1,0x00111},{0,0},{1,0x00113},{0,0},
{1,0x00115},{0,0},{1,0x00117},{0,0},{1,0x00119},
{0,0},{1,0x0011B},{0,0},{1,0x0011D},{0,0},
{1,0x0011F},{0,0},{1,0x00121},{0,0},{1,0x00123},
{0,0},{1,0x00125},{0,0},{1,0x00127},{0,0},
{1,0x00129},{0,0},{1,0x0012B},{0,0},{1,0x0012D},
{0,0},{1,0x0012F},{0,0},{2,0x00002},{0,0},
{1,0x00133},{0,0},{1,0x00135},{0,0},{1,0x00137},
{0,0},{0,0},{1,0x0013A},{0,0},{1,0x0013C},
{0,0},{1,0x0013E},{0,0},{1,0x00140},{0,0},
{1,0x00142},{0,0},{1,0x00144},{0,0},{1,0x00146},
{0,0},{1,0x00148},{0,0},{2,0x00004},{1,0x0014B},
{0,0},{1,0x0014D},{0,0},{1,0x0014F},{0,0},
{1,0x00151},{0,0},{1,0x00153},{0,0},{1,0x00155},
{0,0},{1,0x00157},{0,0},{1,0x00159},{0,0},
{1,0x0015B},{0,0},{1,0x0015D},{0,0},{1,0x0015F},
{0,0},{1,0x00161},{0,0},{1,0x00163},{0,0},
{1,0x00165},{0,0},{1,0x00167},{0,0},{1,0x00169},
{0,0},{1,0x0016B},{0,0},{1,0x0016D},{0,0},
{1,0x0016F},{0,0},{1,0x00171},{0,0},{1,0x00173},
{0,0},{1,0x00175},{0,0},{1,0x00177},{0,0},
{1,0x000FF},{1,0x0017A},{0,0},{1,0x0017C},{0,0},
{1,0x0017E},{0,0},{1,0x00073},{0,0},{1,0x00253},
{1,0x00183},{0,0},{1,0x00185},{0,0},{1,0x00254},
{1,0x00188},{0,0},{1,0x00256},{1,0x00257},{1,0x0018C},
{0,0},{0,0},{1,0x001DD},{1,0x00259},{1,0x0025B},
{1,0x00192},{0,0},{1,0x00260},{1,0x00263},{0,0},
{1,0x00269},{1,0x00268},{1,0x00199},{0,0},{0,0},
{0,0},{1,0x0026F},{1,0x00272},{0,0},{1,0x00275},
{1,0x001A1},{0,0},{1,0x001A3},{0,0},{1,0x001A5},
{0,0},{1,0x00280},{1,0x001A8},{0,0},{1,0x00283},
{0,0},{0,0},{1,0x001AD},{0,0},{1,0x00288},
{1,0x001B0},{0,0},{1,0x0028A},{1,0x0028B},{1,0x001B4},
{0,0},{1,0x001B6},{0,0},{1,0x00292},{1,0x001B9},
{0,0},{0,0},{0,0},{1,0x001BD},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{1,0x001C6},{1,0x001C6},{0,0},{1,0x001C9},
{1,0x001C9},{0,0},{1,0x001CC},{1,0x001CC},{0,0},
{1,0x001CE},{0,0},{1,0x001D0},{0,0},{1,0x001D2},
{0,0},{1,0x001D4},{0,0},{1,0x001D6},{0,0},
{1,0x001D8},{0,0},{1,0x001DA},{0,0},{1,0x001DC},
{0,0},{0,0},{1,0x001DF},{0,0},{1,0x001E1},
{0,0},{1,0x001E3},{0,0},{1,0x001E5},{0,0},
{1,0x001E7},{0,0},{1,0x001E9},{0,0},{1,0x001EB},
{0,0},{1,0x001ED},{0,0},{1,0x001EF},{0,0},
{2,0x00006},{1,0x001F3},{1,0x001F3},{0,0},{1,0x001F5},
{0,0},{1,0x00195},{1,0x001BF},{1,0x001F9},{0,0},
{1,0x001FB},{0,0},{1,0x001FD},{0,0},{1,0x001FF},
{0,0}
},
/* block 2 */
{{1,0x00201},{0,0},{1,0x00203},{0,0},{1,0x00205},
{0,0},{1,0x00207},{0,0},{1,0x00209},{0,0},
{1,0x0020B},{0,0},{1,0x0020D},{0,0},{1,0x0020F},
{0,0},{1,0x00211},{0,0},{1,0x00213},{0,0},
{1,0x00215},{0,0},{1,0x00217},{0,0},{1,0x00219},
{0,0},{1,0x0021B},{0,0},{1,0x0021D},{0,0},
{1,0x0021F},{0,0},{1,0x0019E},{0,0},{1,0x00223},
{0,0},{1,0x00225},{0,0},{1,0x00227},{0,0},
{1,0x00229},{0,0},{1,0x0022B},{0,0},{1,0x0022D},
{0,0},{1,0x0022F},{0,0},{1,0x00231},{0,0},
{1,0x00233},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{1,0x02C65},{1,0x0023C},
{0,0},{1,0x0019A},{1,0x02C66},{0,0},{0,0},
{1,0x00242},{0,0},{1,0x00180},{1,0x00289},{1,0x0028C},
{1,0x00247},{0,0},{1,0x00249},{0,0},{1,0x0024B},
{0,0},{1,0x0024D},{0,0},{1,0x0024F},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0}
},
/* block 3 */
{{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{1,0x003B9},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{1,0x00371},{0,0},{1,0x00373},
{0,0},{0,0},{0,0},{1,0x00377},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{1,0x003F3},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{1,0x003AC},
{0,0},{1,0x003AD},{1,0x003AE},{1,0x003AF},{0,0},
{1,0x003CC},{0,0},{1,0x003CD},{1,0x003CE},{3,0x00008},
{1,0x003B1},{1,0x003B2},{1,0x003B3},{1,0x003B4},{1,0x003B5},
{1,0x003B6},{1,0x003B7},{1,0x003B8},{1,0x003B9},{1,0x003BA},
{1,0x003BB},{1,0x003BC},{1,0x003BD},{1,0x003BE},{1,0x003BF},
{1,0x003C0},{1,0x003C1},{0,0},{1,0x003C3},{1,0x003C4},
{1,0x003C5},{1,0x003C6},{1,0x003C7},{1,0x003C8},{1,0x003C9},
{1,0x003CA},{1,0x003CB},{0,0},{0,0},{0,0},
{0,0},{3,0x0000B},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{1,0x003C3},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{1,0x003D7},{1,0x003B2},{1,0x003B8},
{0,0},{0,0},{0,0},{1,0x003C6},{1,0x003C0},
{0,0},{1,0x003D9},{0,0},{1,0x003DB},{0,0},
{1,0x003DD},{0,0},{1,0x003DF},{0,0},{1,0x003E1},
{0,0},{1,0x003E3},{0,0},{1,0x003E5},{0,0},
{1,0x003E7},{0,0},{1,0x003E9},{0,0},{1,0x003EB},
{0,0},{1,0x003ED},{0,0},{1,0x003EF},{0,0},
{1,0x003BA},{1,0x003C1},{0,0},{0,0},{1,0x003B8},
{1,0x003B5},{0,0},{1,0x003F8},{0,0},{1,0x003F2},
{1,0x003FB},{0,0},{0,0},{1,0x0037B},{1,0x0037C},
{1,0x0037D}
},
/* block 4 */
{{1,0x00450},{1,0x00451},{1,0x00452},{1,0x00453},{1,0x00454},
{1,0x00455},{1,0x00456},{1,0x00457},{1,0x00458},{1,0x00459},
{1,0x0045A},{1,0x0045B},{1,0x0045C},{1,0x0045D},{1,0x0045E},
{1,0x0045F},{1,0x00430},{1,0x00431},{1,0x00432},{1,0x00433},
{1,0x00434},{1,0x00435},{1,0x00436},{1,0x00437},{1,0x00438},
{1,0x00439},{1,0x0043A},{1,0x0043B},{1,0x0043C},{1,0x0043D},
{1,0x0043E},{1,0x0043F},{1,0x00440},{1,0x00441},{1,0x00442},
{1,0x00443},{1,0x00444},{1,0x00445},{1,0x00446},{1,0x00447},
{1,0x00448},{1,0x00449},{1,0x0044A},{1,0x0044B},{1,0x0044C},
{1,0x0044D},{1,0x0044E},{1,0x0044F},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{1,0x00461},{0,0},{1,0x00463},{0,0},
{1,0x00465},{0,0},{1,0x00467},{0,0},{1,0x00469},
{0,0},{1,0x0046B},{0,0},{1,0x0046D},{0,0},
{1,0x0046F},{0,0},{1,0x00471},{0,0},{1,0x00473},
{0,0},{1,0x00475},{0,0},{1,0x00477},{0,0},
{1,0x00479},{0,0},{1,0x0047B},{0,0},{1,0x0047D},
{0,0},{1,0x0047F},{0,0},{1,0x00481},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{1,0x0048B},{0,0},
{1,0x0048D},{0,0},{1,0x0048F},{0,0},{1,0x00491},
{0,0},{1,0x00493},{0,0},{1,0x00495},{0,0},
{1,0x00497},{0,0},{1,0x00499},{0,0},{1,0x0049B},
{0,0},{1,0x0049D},{0,0},{1,0x0049F},{0,0},
{1,0x004A1},{0,0},{1,0x004A3},{0,0},{1,0x004A5},
{0,0},{1,0x004A7},{0,0},{1,0x004A9},{0,0},
{1,0x004AB},{0,0},{1,0x004AD},{0,0},{1,0x004AF},
{0,0},{1,0x004B1},{0,0},{1,0x004B3},{0,0},
{1,0x004B5},{0,0},{1,0x004B7},{0,0},{1,0x004B9},
{0,0},{1,0x004BB},{0,0},{1,0x004BD},{0,0},
{1,0x004BF},{0,0},{1,0x004CF},{1,0x004C2},{0,0},
{1,0x004C4},{0,0},{1,0x004C6},{0,0},{1,0x004C8},
{0,0},{1,0x004CA},{0,0},{1,0x004CC},{0,0},
{1,0x004CE},{0,0},{0,0},{1,0x004D1},{0,0},
{1,0x004D3},{0,0},{1,0x004D5},{0,0},{1,0x004D7},
{0,0},{1,0x004D9},{0,0},{1,0x004DB},{0,0},
{1,0x004DD},{0,0},{1,0x004DF},{0,0},{1,0x004E1},
{0,0},{1,0x004E3},{0,0},{1,0x004E5},{0,0},
{1,0x004E7},{0,0},{1,0x004E9},{0,0},{1,0x004EB},
{0,0},{1,0x004ED},{0,0},{1,0x004EF},{0,0},
{1,0x004F1},{0,0},{1,0x004F3},{0,0},{1,0x004F5},
{0,0},{1,0x004F7},{0,0},{1,0x004F9},{0,0},
{1,0x004FB},{0,0},{1,0x004FD},{0,0},{1,0x004FF},
{0,0}
},
/* block 5 */
{{1,0x00501},{0,0},{1,0x00503},{0,0},{1,0x00505},
{0,0},{1,0x00507},{0,0},{1,0x00509},{0,0},
{1,0x0050B},{0,0},{1,0x0050D},{0,0},{1,0x0050F},
{0,0},{1,0x00511},{0,0},{1,0x00513},{0,0},
{1,0x00515},{0,0},{1,0x00517},{0,0},{1,0x00519},
{0,0},{1,0x0051B},{0,0},{1,0x0051D},{0,0},
{1,0x0051F},{0,0},{1,0x00521},{0,0},{1,0x00523},
{0,0},{1,0x00525},{0,0},{1,0x00527},{0,0},
{1,0x00529},{0,0},{1,0x0052B},{0,0},{1,0x0052D},
{0,0},{1,0x0052F},{0,0},{0,0},{1,0x00561},
{1,0x00562},{1,0x00563},{1,0x00564},{1,0x00565},{1,0x00566},
{1,0x00567},{1,0x00568},{1,0x00569},{1,0x0056A},{1,0x0056B},
{1,0x0056C},{1,0x0056D},{1,0x0056E},{1,0x0056F},{1,0x00570},
{1,0x00571},{1,0x00572},{1,0x00573},{1,0x00574},{1,0x00575},
{1,0x00576},{1,0x00577},{1,0x00578},{1,0x00579},{1,0x0057A},
{1,0x0057B},{1,0x0057C},{1,0x0057D},{1,0x0057E},{1,0x0057F},
{1,0x00580},{1,0x00581},{1,0x00582},{1,0x00583},{1,0x00584},
{1,0x00585},{1,0x00586},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{2,0x0000E},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0}
},
/* block 6 */
{{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0}
},
/* block 7 */
{{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{1,0x02D00},{1,0x02D01},{1,0x02D02},{1,0x02D03},{1,0x02D04},
{1,0x02D05},{1,0x02D06},{1,0x02D07},{1,0x02D08},{1,0x02D09},
{1,0x02D0A},{1,0x02D0B},{1,0x02D0C},{1,0x02D0D},{1,0x02D0E},
{1,0x02D0F},{1,0x02D10},{1,0x02D11},{1,0x02D12},{1,0x02D13},
{1,0x02D14},{1,0x02D15},{1,0x02D16},{1,0x02D17},{1,0x02D18},
{1,0x02D19},{1,0x02D1A},{1,0x02D1B},{1,0x02D1C},{1,0x02D1D},
{1,0x02D1E},{1,0x02D1F},{1,0x02D20},{1,0x02D21},{1,0x02D22},
{1,0x02D23},{1,0x02D24},{1,0x02D25},{0,0},{1,0x02D27},
{0,0},{0,0},{0,0},{0,0},{0,0},
{1,0x02D2D},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0}
},
/* block 8 */
{{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{1,0x013F0},{1,0x013F1},
{1,0x013F2},{1,0x013F3},{1,0x013F4},{1,0x013F5},{0,0},
{0,0}
},
/* block 9 */
{{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{1,0x00432},{1,0x00434},
{1,0x0043E},{1,0x00441},{1,0x00442},{1,0x00442},{1,0x0044A},
{1,0x00463},{1,0x0A64B},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0}
},
/* block 10 */
{{1,0x01E01},{0,0},{1,0x01E03},{0,0},{1,0x01E05},
{0,0},{1,0x01E07},{0,0},{1,0x01E09},{0,0},
{1,0x01E0B},{0,0},{1,0x01E0D},{0,0},{1,0x01E0F},
{0,0},{1,0x01E11},{0,0},{1,0x01E13},{0,0},
{1,0x01E15},{0,0},{1,0x01E17},{0,0},{1,0x01E19},
{0,0},{1,0x01E1B},{0,0},{1,0x01E1D},{0,0},
{1,0x01E1F},{0,0},{1,0x01E21},{0,0},{1,0x01E23},
{0,0},{1,0x01E25},{0,0},{1,0x01E27},{0,0},
{1,0x01E29},{0,0},{1,0x01E2B},{0,0},{1,0x01E2D},
{0,0},{1,0x01E2F},{0,0},{1,0x01E31},{0,0},
{1,0x01E33},{0,0},{1,0x01E35},{0,0},{1,0x01E37},
{0,0},{1,0x01E39},{0,0},{1,0x01E3B},{0,0},
{1,0x01E3D},{0,0},{1,0x01E3F},{0,0},{1,0x01E41},
{0,0},{1,0x01E43},{0,0},{1,0x01E45},{0,0},
{1,0x01E47},{0,0},{1,0x01E49},{0,0},{1,0x01E4B},
{0,0},{1,0x01E4D},{0,0},{1,0x01E4F},{0,0},
{1,0x01E51},{0,0},{1,0x01E53},{0,0},{1,0x01E55},
{0,0},{1,0x01E57},{0,0},{1,0x01E59},{0,0},
{1,0x01E5B},{0,0},{1,0x01E5D},{0,0},{1,0x01E5F},
{0,0},{1,0x01E61},{0,0},{1,0x01E63},{0,0},
{1,0x01E65},{0,0},{1,0x01E67},{0,0},{1,0x01E69},
{0,0},{1,0x01E6B},{0,0},{1,0x01E6D},{0,0},
{1,0x01E6F},{0,0},{1,0x01E71},{0,0},{1,0x01E73},
{0,0},{1,0x01E75},{0,0},{1,0x01E77},{0,0},
{1,0x01E79},{0,0},{1,0x01E7B},{0,0},{1,0x01E7D},
{0,0},{1,0x01E7F},{0,0},{1,0x01E81},{0,0},
{1,0x01E83},{0,0},{1,0x01E85},{0,0},{1,0x01E87},
{0,0},{1,0x01E89},{0,0},{1,0x01E8B},{0,0},
{1,0x01E8D},{0,0},{1,0x01E8F},{0,0},{1,0x01E91},
{0,0},{1,0x01E93},{0,0},{1,0x01E95},{0,0},
{2,0x00010},{2,0x00012},{2,0x00014},{2,0x00016},{2,0x00018},
{1,0x01E61},{0,0},{0,0},{2,0x0001A},{0,0},
{1,0x01EA1},{0,0},{1,0x01EA3},{0,0},{1,0x01EA5},
{0,0},{1,0x01EA7},{0,0},{1,0x01EA9},{0,0},
{1,0x01EAB},{0,0},{1,0x01EAD},{0,0},{1,0x01EAF},
{0,0},{1,0x01EB1},{0,0},{1,0x01EB3},{0,0},
{1,0x01EB5},{0,0},{1,0x01EB7},{0,0},{1,0x01EB9},
{0,0},{1,0x01EBB},{0,0},{1,0x01EBD},{0,0},
{1,0x01EBF},{0,0},{1,0x01EC1},{0,0},{1,0x01EC3},
{0,0},{1,0x01EC5},{0,0},{1,0x01EC7},{0,0},
{1,0x01EC9},{0,0},{1,0x01ECB},{0,0},{1,0x01ECD},
{0,0},{1,0x01ECF},{0,0},{1,0x01ED1},{0,0},
{1,0x01ED3},{0,0},{1,0x01ED5},{0,0},{1,0x01ED7},
{0,0},{1,0x01ED9},{0,0},{1,0x01EDB},{0,0},
{1,0x01EDD},{0,0},{1,0x01EDF},{0,0},{1,0x01EE1},
{0,0},{1,0x01EE3},{0,0},{1,0x01EE5},{0,0},
{1,0x01EE7},{0,0},{1,0x01EE9},{0,0},{1,0x01EEB},
{0,0},{1,0x01EED},{0,0},{1,0x01EEF},{0,0},
{1,0x01EF1},{0,0},{1,0x01EF3},{0,0},{1,0x01EF5},
{0,0},{1,0x01EF7},{0,0},{1,0x01EF9},{0,0},
{1,0x01EFB},{0,0},{1,0x01EFD},{0,0},{1,0x01EFF},
{0,0}
},
/* block 11 */
{{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{1,0x01F00},{1,0x01F01},
{1,0x01F02},{1,0x01F03},{1,0x01F04},{1,0x01F05},{1,0x01F06},
{1,0x01F07},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{1,0x01F10},
{1,0x01F11},{1,0x01F12},{1,0x01F13},{1,0x01F14},{1,0x01F15},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{1,0x01F20},{1,0x01F21},{1,0x01F22},{1,0x01F23},{1,0x01F24},
{1,0x01F25},{1,0x01F26},{1,0x01F27},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{1,0x01F30},{1,0x01F31},{1,0x01F32},{1,0x01F33},
{1,0x01F34},{1,0x01F35},{1,0x01F36},{1,0x01F37},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{1,0x01F40},{1,0x01F41},{1,0x01F42},
{1,0x01F43},{1,0x01F44},{1,0x01F45},{0,0},{0,0},
{2,0x0001C},{0,0},{3,0x0001E},{0,0},{3,0x00021},
{0,0},{3,0x00024},{0,0},{0,0},{1,0x01F51},
{0,0},{1,0x01F53},{0,0},{1,0x01F55},{0,0},
{1,0x01F57},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{1,0x01F60},
{1,0x01F61},{1,0x01F62},{1,0x01F63},{1,0x01F64},{1,0x01F65},
{1,0x01F66},{1,0x01F67},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{2,0x00027},{2,0x00029},
{2,0x0002B},{2,0x0002D},{2,0x0002F},{2,0x00031},{2,0x00033},
{2,0x00035},{2,0x00037},{2,0x00039},{2,0x0003B},{2,0x0003D},
{2,0x0003F},{2,0x00041},{2,0x00043},{2,0x00045},{2,0x00047},
{2,0x00049},{2,0x0004B},{2,0x0004D},{2,0x0004F},{2,0x00051},
{2,0x00053},{2,0x00055},{2,0x00057},{2,0x00059},{2,0x0005B},
{2,0x0005D},{2,0x0005F},{2,0x00061},{2,0x00063},{2,0x00065},
{2,0x00067},{2,0x00069},{2,0x0006B},{2,0x0006D},{2,0x0006F},
{2,0x00071},{2,0x00073},{2,0x00075},{2,0x00077},{2,0x00079},
{2,0x0007B},{2,0x0007D},{2,0x0007F},{2,0x00081},{2,0x00083},
{2,0x00085},{0,0},{0,0},{2,0x00087},{2,0x00089},
{2,0x0008B},{0,0},{2,0x0008D},{3,0x0008F},{1,0x01FB0},
{1,0x01FB1},{1,0x01F70},{1,0x01F71},{2,0x00092},{0,0},
{1,0x003B9},{0,0},{0,0},{0,0},{2,0x00094},
{2,0x00096},{2,0x00098},{0,0},{2,0x0009A},{3,0x0009C},
{1,0x01F72},{1,0x01F73},{1,0x01F74},{1,0x01F75},{2,0x0009F},
{0,0},{0,0},{0,0},{0,0},{0,0},
{3,0x000A1},{3,0x000A4},{0,0},{0,0},{2,0x000A7},
{3,0x000A9},{1,0x01FD0},{1,0x01FD1},{1,0x01F76},{1,0x01F77},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{3,0x000AC},{3,0x000AF},{2,0x000B2},{0,0},
{2,0x000B4},{3,0x000B6},{1,0x01FE0},{1,0x01FE1},{1,0x01F7A},
{1,0x01F7B},{1,0x01FE5},{0,0},{0,0},{0,0},
{0,0},{0,0},{2,0x000B9},{2,0x000BB},{2,0x000BD},
{0,0},{2,0x000BF},{3,0x000C1},{1,0x01F78},{1,0x01F79},
{1,0x01F7C},{1,0x01F7D},{2,0x000C4},{0,0},{0,0},
{0,0}
},
/* block 12 */
{{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{1,0x003C9},{0,0},
{0,0},{0,0},{1,0x0006B},{1,0x000E5},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{1,0x0214E},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{1,0x02170},{1,0x02171},{1,0x02172},{1,0x02173},
{1,0x02174},{1,0x02175},{1,0x02176},{1,0x02177},{1,0x02178},
{1,0x02179},{1,0x0217A},{1,0x0217B},{1,0x0217C},{1,0x0217D},
{1,0x0217E},{1,0x0217F},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{1,0x02184},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0}
},
/* block 13 */
{{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{1,0x024D0},{1,0x024D1},{1,0x024D2},
{1,0x024D3},{1,0x024D4},{1,0x024D5},{1,0x024D6},{1,0x024D7},
{1,0x024D8},{1,0x024D9},{1,0x024DA},{1,0x024DB},{1,0x024DC},
{1,0x024DD},{1,0x024DE},{1,0x024DF},{1,0x024E0},{1,0x024E1},
{1,0x024E2},{1,0x024E3},{1,0x024E4},{1,0x024E5},{1,0x024E6},
{1,0x024E7},{1,0x024E8},{1,0x024E9},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0}
},
/* block 14 */
{{1,0x02C30},{1,0x02C31},{1,0x02C32},{1,0x02C33},{1,0x02C34},
{1,0x02C35},{1,0x02C36},{1,0x02C37},{1,0x02C38},{1,0x02C39},
{1,0x02C3A},{1,0x02C3B},{1,0x02C3C},{1,0x02C3D},{1,0x02C3E},
{1,0x02C3F},{1,0x02C40},{1,0x02C41},{1,0x02C42},{1,0x02C43},
{1,0x02C44},{1,0x02C45},{1,0x02C46},{1,0x02C47},{1,0x02C48},
{1,0x02C49},{1,0x02C4A},{1,0x02C4B},{1,0x02C4C},{1,0x02C4D},
{1,0x02C4E},{1,0x02C4F},{1,0x02C50},{1,0x02C51},{1,0x02C52},
{1,0x02C53},{1,0x02C54},{1,0x02C55},{1,0x02C56},{1,0x02C57},
{1,0x02C58},{1,0x02C59},{1,0x02C5A},{1,0x02C5B},{1,0x02C5C},
{1,0x02C5D},{1,0x02C5E},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{1,0x02C61},{0,0},{1,0x0026B},{1,0x01D7D},
{1,0x0027D},{0,0},{0,0},{1,0x02C68},{0,0},
{1,0x02C6A},{0,0},{1,0x02C6C},{0,0},{1,0x00251},
{1,0x00271},{1,0x00250},{1,0x00252},{0,0},{1,0x02C73},
{0,0},{0,0},{1,0x02C76},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{1,0x0023F},{1,0x00240},{1,0x02C81},{0,0},
{1,0x02C83},{0,0},{1,0x02C85},{0,0},{1,0x02C87},
{0,0},{1,0x02C89},{0,0},{1,0x02C8B},{0,0},
{1,0x02C8D},{0,0},{1,0x02C8F},{0,0},{1,0x02C91},
{0,0},{1,0x02C93},{0,0},{1,0x02C95},{0,0},
{1,0x02C97},{0,0},{1,0x02C99},{0,0},{1,0x02C9B},
{0,0},{1,0x02C9D},{0,0},{1,0x02C9F},{0,0},
{1,0x02CA1},{0,0},{1,0x02CA3},{0,0},{1,0x02CA5},
{0,0},{1,0x02CA7},{0,0},{1,0x02CA9},{0,0},
{1,0x02CAB},{0,0},{1,0x02CAD},{0,0},{1,0x02CAF},
{0,0},{1,0x02CB1},{0,0},{1,0x02CB3},{0,0},
{1,0x02CB5},{0,0},{1,0x02CB7},{0,0},{1,0x02CB9},
{0,0},{1,0x02CBB},{0,0},{1,0x02CBD},{0,0},
{1,0x02CBF},{0,0},{1,0x02CC1},{0,0},{1,0x02CC3},
{0,0},{1,0x02CC5},{0,0},{1,0x02CC7},{0,0},
{1,0x02CC9},{0,0},{1,0x02CCB},{0,0},{1,0x02CCD},
{0,0},{1,0x02CCF},{0,0},{1,0x02CD1},{0,0},
{1,0x02CD3},{0,0},{1,0x02CD5},{0,0},{1,0x02CD7},
{0,0},{1,0x02CD9},{0,0},{1,0x02CDB},{0,0},
{1,0x02CDD},{0,0},{1,0x02CDF},{0,0},{1,0x02CE1},
{0,0},{1,0x02CE3},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{1,0x02CEC},{0,0},{1,0x02CEE},{0,0},{0,0},
{0,0},{0,0},{1,0x02CF3},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0}
},
/* block 15 */
{{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{1,0x0A641},
{0,0},{1,0x0A643},{0,0},{1,0x0A645},{0,0},
{1,0x0A647},{0,0},{1,0x0A649},{0,0},{1,0x0A64B},
{0,0},{1,0x0A64D},{0,0},{1,0x0A64F},{0,0},
{1,0x0A651},{0,0},{1,0x0A653},{0,0},{1,0x0A655},
{0,0},{1,0x0A657},{0,0},{1,0x0A659},{0,0},
{1,0x0A65B},{0,0},{1,0x0A65D},{0,0},{1,0x0A65F},
{0,0},{1,0x0A661},{0,0},{1,0x0A663},{0,0},
{1,0x0A665},{0,0},{1,0x0A667},{0,0},{1,0x0A669},
{0,0},{1,0x0A66B},{0,0},{1,0x0A66D},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{1,0x0A681},{0,0},
{1,0x0A683},{0,0},{1,0x0A685},{0,0},{1,0x0A687},
{0,0},{1,0x0A689},{0,0},{1,0x0A68B},{0,0},
{1,0x0A68D},{0,0},{1,0x0A68F},{0,0},{1,0x0A691},
{0,0},{1,0x0A693},{0,0},{1,0x0A695},{0,0},
{1,0x0A697},{0,0},{1,0x0A699},{0,0},{1,0x0A69B},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0}
},
/* block 16 */
{{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{1,0x0A723},
{0,0},{1,0x0A725},{0,0},{1,0x0A727},{0,0},
{1,0x0A729},{0,0},{1,0x0A72B},{0,0},{1,0x0A72D},
{0,0},{1,0x0A72F},{0,0},{0,0},{0,0},
{1,0x0A733},{0,0},{1,0x0A735},{0,0},{1,0x0A737},
{0,0},{1,0x0A739},{0,0},{1,0x0A73B},{0,0},
{1,0x0A73D},{0,0},{1,0x0A73F},{0,0},{1,0x0A741},
{0,0},{1,0x0A743},{0,0},{1,0x0A745},{0,0},
{1,0x0A747},{0,0},{1,0x0A749},{0,0},{1,0x0A74B},
{0,0},{1,0x0A74D},{0,0},{1,0x0A74F},{0,0},
{1,0x0A751},{0,0},{1,0x0A753},{0,0},{1,0x0A755},
{0,0},{1,0x0A757},{0,0},{1,0x0A759},{0,0},
{1,0x0A75B},{0,0},{1,0x0A75D},{0,0},{1,0x0A75F},
{0,0},{1,0x0A761},{0,0},{1,0x0A763},{0,0},
{1,0x0A765},{0,0},{1,0x0A767},{0,0},{1,0x0A769},
{0,0},{1,0x0A76B},{0,0},{1,0x0A76D},{0,0},
{1,0x0A76F},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{1,0x0A77A},{0,0},{1,0x0A77C},{0,0},
{1,0x01D79},{1,0x0A77F},{0,0},{1,0x0A781},{0,0},
{1,0x0A783},{0,0},{1,0x0A785},{0,0},{1,0x0A787},
{0,0},{0,0},{0,0},{0,0},{1,0x0A78C},
{0,0},{1,0x00265},{0,0},{0,0},{1,0x0A791},
{0,0},{1,0x0A793},{0,0},{0,0},{0,0},
{1,0x0A797},{0,0},{1,0x0A799},{0,0},{1,0x0A79B},
{0,0},{1,0x0A79D},{0,0},{1,0x0A79F},{0,0},
{1,0x0A7A1},{0,0},{1,0x0A7A3},{0,0},{1,0x0A7A5},
{0,0},{1,0x0A7A7},{0,0},{1,0x0A7A9},{0,0},
{1,0x00266},{1,0x0025C},{1,0x00261},{1,0x0026C},{1,0x0026A},
{0,0},{1,0x0029E},{1,0x00287},{1,0x0029D},{1,0x0AB53},
{1,0x0A7B5},{0,0},{1,0x0A7B7},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0}
},
/* block 17 */
{{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{1,0x013A0},{1,0x013A1},{1,0x013A2},
{1,0x013A3},{1,0x013A4},{1,0x013A5},{1,0x013A6},{1,0x013A7},
{1,0x013A8},{1,0x013A9},{1,0x013AA},{1,0x013AB},{1,0x013AC},
{1,0x013AD},{1,0x013AE},{1,0x013AF},{1,0x013B0},{1,0x013B1},
{1,0x013B2},{1,0x013B3},{1,0x013B4},{1,0x013B5},{1,0x013B6},
{1,0x013B7},{1,0x013B8},{1,0x013B9},{1,0x013BA},{1,0x013BB},
{1,0x013BC},{1,0x013BD},{1,0x013BE},{1,0x013BF},{1,0x013C0},
{1,0x013C1},{1,0x013C2},{1,0x013C3},{1,0x013C4},{1,0x013C5},
{1,0x013C6},{1,0x013C7},{1,0x013C8},{1,0x013C9},{1,0x013CA},
{1,0x013CB},{1,0x013CC},{1,0x013CD},{1,0x013CE},{1,0x013CF},
{1,0x013D0},{1,0x013D1},{1,0x013D2},{1,0x013D3},{1,0x013D4},
{1,0x013D5},{1,0x013D6},{1,0x013D7},{1,0x013D8},{1,0x013D9},
{1,0x013DA},{1,0x013DB},{1,0x013DC},{1,0x013DD},{1,0x013DE},
{1,0x013DF},{1,0x013E0},{1,0x013E1},{1,0x013E2},{1,0x013E3},
{1,0x013E4},{1,0x013E5},{1,0x013E6},{1,0x013E7},{1,0x013E8},
{1,0x013E9},{1,0x013EA},{1,0x013EB},{1,0x013EC},{1,0x013ED},
{1,0x013EE},{1,0x013EF},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0}
},
/* block 18 */
{{2,0x000C6},{2,0x000C8},{2,0x000CA},{3,0x000CC},{3,0x000CF},
{2,0x000D2},{2,0x000D4},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{2,0x000D6},
{2,0x000D8},{2,0x000DA},{2,0x000DC},{2,0x000DE},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0}
},
/* block 19 */
{{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{1,0x0FF41},{1,0x0FF42},
{1,0x0FF43},{1,0x0FF44},{1,0x0FF45},{1,0x0FF46},{1,0x0FF47},
{1,0x0FF48},{1,0x0FF49},{1,0x0FF4A},{1,0x0FF4B},{1,0x0FF4C},
{1,0x0FF4D},{1,0x0FF4E},{1,0x0FF4F},{1,0x0FF50},{1,0x0FF51},
{1,0x0FF52},{1,0x0FF53},{1,0x0FF54},{1,0x0FF55},{1,0x0FF56},
{1,0x0FF57},{1,0x0FF58},{1,0x0FF59},{1,0x0FF5A},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0}
},
/* block 20 */
{{1,0x10428},{1,0x10429},{1,0x1042A},{1,0x1042B},{1,0x1042C},
{1,0x1042D},{1,0x1042E},{1,0x1042F},{1,0x10430},{1,0x10431},
{1,0x10432},{1,0x10433},{1,0x10434},{1,0x10435},{1,0x10436},
{1,0x10437},{1,0x10438},{1,0x10439},{1,0x1043A},{1,0x1043B},
{1,0x1043C},{1,0x1043D},{1,0x1043E},{1,0x1043F},{1,0x10440},
{1,0x10441},{1,0x10442},{1,0x10443},{1,0x10444},{1,0x10445},
{1,0x10446},{1,0x10447},{1,0x10448},{1,0x10449},{1,0x1044A},
{1,0x1044B},{1,0x1044C},{1,0x1044D},{1,0x1044E},{1,0x1044F},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{1,0x104D8},{1,0x104D9},{1,0x104DA},{1,0x104DB},
{1,0x104DC},{1,0x104DD},{1,0x104DE},{1,0x104DF},{1,0x104E0},
{1,0x104E1},{1,0x104E2},{1,0x104E3},{1,0x104E4},{1,0x104E5},
{1,0x104E6},{1,0x104E7},{1,0x104E8},{1,0x104E9},{1,0x104EA},
{1,0x104EB},{1,0x104EC},{1,0x104ED},{1,0x104EE},{1,0x104EF},
{1,0x104F0},{1,0x104F1},{1,0x104F2},{1,0x104F3},{1,0x104F4},
{1,0x104F5},{1,0x104F6},{1,0x104F7},{1,0x104F8},{1,0x104F9},
{1,0x104FA},{1,0x104FB},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0}
},
/* block 21 */
{{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{1,0x10CC0},{1,0x10CC1},
{1,0x10CC2},{1,0x10CC3},{1,0x10CC4},{1,0x10CC5},{1,0x10CC6},
{1,0x10CC7},{1,0x10CC8},{1,0x10CC9},{1,0x10CCA},{1,0x10CCB},
{1,0x10CCC},{1,0x10CCD},{1,0x10CCE},{1,0x10CCF},{1,0x10CD0},
{1,0x10CD1},{1,0x10CD2},{1,0x10CD3},{1,0x10CD4},{1,0x10CD5},
{1,0x10CD6},{1,0x10CD7},{1,0x10CD8},{1,0x10CD9},{1,0x10CDA},
{1,0x10CDB},{1,0x10CDC},{1,0x10CDD},{1,0x10CDE},{1,0x10CDF},
{1,0x10CE0},{1,0x10CE1},{1,0x10CE2},{1,0x10CE3},{1,0x10CE4},
{1,0x10CE5},{1,0x10CE6},{1,0x10CE7},{1,0x10CE8},{1,0x10CE9},
{1,0x10CEA},{1,0x10CEB},{1,0x10CEC},{1,0x10CED},{1,0x10CEE},
{1,0x10CEF},{1,0x10CF0},{1,0x10CF1},{1,0x10CF2},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0}
},
/* block 22 */
{{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{1,0x118C0},{1,0x118C1},{1,0x118C2},{1,0x118C3},{1,0x118C4},
{1,0x118C5},{1,0x118C6},{1,0x118C7},{1,0x118C8},{1,0x118C9},
{1,0x118CA},{1,0x118CB},{1,0x118CC},{1,0x118CD},{1,0x118CE},
{1,0x118CF},{1,0x118D0},{1,0x118D1},{1,0x118D2},{1,0x118D3},
{1,0x118D4},{1,0x118D5},{1,0x118D6},{1,0x118D7},{1,0x118D8},
{1,0x118D9},{1,0x118DA},{1,0x118DB},{1,0x118DC},{1,0x118DD},
{1,0x118DE},{1,0x118DF},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0}
},
/* block 23 */
{{1,0x1E922},{1,0x1E923},{1,0x1E924},{1,0x1E925},{1,0x1E926},
{1,0x1E927},{1,0x1E928},{1,0x1E929},{1,0x1E92A},{1,0x1E92B},
{1,0x1E92C},{1,0x1E92D},{1,0x1E92E},{1,0x1E92F},{1,0x1E930},
{1,0x1E931},{1,0x1E932},{1,0x1E933},{1,0x1E934},{1,0x1E935},
{1,0x1E936},{1,0x1E937},{1,0x1E938},{1,0x1E939},{1,0x1E93A},
{1,0x1E93B},{1,0x1E93C},{1,0x1E93D},{1,0x1E93E},{1,0x1E93F},
{1,0x1E940},{1,0x1E941},{1,0x1E942},{1,0x1E943},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0},{0,0},{0,0},{0,0},{0,0},
{0,0}
}
};
static const int32_t casefold_mapping[] = {
/* 0x0000 */ 0x0073,0x0073,0x0069,0x0307,0x02BC,0x006E,0x006A,0x030C,
/* 0x0008 */ 0x03B9,0x0308,0x0301,0x03C5,0x0308,0x0301,0x0565,0x0582,
/* 0x0010 */ 0x0068,0x0331,0x0074,0x0308,0x0077,0x030A,0x0079,0x030A,
/* 0x0018 */ 0x0061,0x02BE,0x0073,0x0073,0x03C5,0x0313,0x03C5,0x0313,
/* 0x0020 */ 0x0300,0x03C5,0x0313,0x0301,0x03C5,0x0313,0x0342,0x1F00,
/* 0x0028 */ 0x03B9,0x1F01,0x03B9,0x1F02,0x03B9,0x1F03,0x03B9,0x1F04,
/* 0x0030 */ 0x03B9,0x1F05,0x03B9,0x1F06,0x03B9,0x1F07,0x03B9,0x1F00,
/* 0x0038 */ 0x03B9,0x1F01,0x03B9,0x1F02,0x03B9,0x1F03,0x03B9,0x1F04,
/* 0x0040 */ 0x03B9,0x1F05,0x03B9,0x1F06,0x03B9,0x1F07,0x03B9,0x1F20,
/* 0x0048 */ 0x03B9,0x1F21,0x03B9,0x1F22,0x03B9,0x1F23,0x03B9,0x1F24,
/* 0x0050 */ 0x03B9,0x1F25,0x03B9,0x1F26,0x03B9,0x1F27,0x03B9,0x1F20,
/* 0x0058 */ 0x03B9,0x1F21,0x03B9,0x1F22,0x03B9,0x1F23,0x03B9,0x1F24,
/* 0x0060 */ 0x03B9,0x1F25,0x03B9,0x1F26,0x03B9,0x1F27,0x03B9,0x1F60,
/* 0x0068 */ 0x03B9,0x1F61,0x03B9,0x1F62,0x03B9,0x1F63,0x03B9,0x1F64,
/* 0x0070 */ 0x03B9,0x1F65,0x03B9,0x1F66,0x03B9,0x1F67,0x03B9,0x1F60,
/* 0x0078 */ 0x03B9,0x1F61,0x03B9,0x1F62,0x03B9,0x1F63,0x03B9,0x1F64,
/* 0x0080 */ 0x03B9,0x1F65,0x03B9,0x1F66,0x03B9,0x1F67,0x03B9,0x1F70,
/* 0x0088 */ 0x03B9,0x03B1,0x03B9,0x03AC,0x03B9,0x03B1,0x0342,0x03B1,
/* 0x0090 */ 0x0342,0x03B9,0x03B1,0x03B9,0x1F74,0x03B9,0x03B7,0x03B9,
/* 0x0098 */ 0x03AE,0x03B9,0x03B7,0x0342,0x03B7,0x0342,0x03B9,0x03B7,
/* 0x00A0 */ 0x03B9,0x03B9,0x0308,0x0300,0x03B9,0x0308,0x0301,0x03B9,
/* 0x00A8 */ 0x0342,0x03B9,0x0308,0x0342,0x03C5,0x0308,0x0300,0x03C5,
/* 0x00B0 */ 0x0308,0x0301,0x03C1,0x0313,0x03C5,0x0342,0x03C5,0x0308,
/* 0x00B8 */ 0x0342,0x1F7C,0x03B9,0x03C9,0x03B9,0x03CE,0x03B9,0x03C9,
/* 0x00C0 */ 0x0342,0x03C9,0x0342,0x03B9,0x03C9,0x03B9,0x0066,0x0066,
/* 0x00C8 */ 0x0066,0x0069,0x0066,0x006C,0x0066,0x0066,0x0069,0x0066,
/* 0x00D0 */ 0x0066,0x006C,0x0073,0x0074,0x0073,0x0074,0x0574,0x0576,
/* 0x00D8 */ 0x0574,0x0565,0x0574,0x056B,0x057E,0x0576,0x0574,0x056D
};
#endif /* UNICODE_CASEFOLD_H */
utf8/src/utf8lite/src/char.c 0000644 0001762 0000144 00000006067 13301551651 015354 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include "private/charwidth.h"
#include "utf8lite.h"
int utf8lite_charwidth(int32_t code)
{
int prop = charwidth(code);
switch(prop) {
case CHARWIDTH_NONE:
return UTF8LITE_CHARWIDTH_NONE;
case CHARWIDTH_IGNORABLE:
return UTF8LITE_CHARWIDTH_IGNORABLE;
case CHARWIDTH_MARK:
return UTF8LITE_CHARWIDTH_MARK;
case CHARWIDTH_NARROW:
return UTF8LITE_CHARWIDTH_NARROW;
case CHARWIDTH_AMBIGUOUS:
return UTF8LITE_CHARWIDTH_AMBIGUOUS;
case CHARWIDTH_WIDE:
return UTF8LITE_CHARWIDTH_WIDE;
case CHARWIDTH_EMOJI:
return UTF8LITE_CHARWIDTH_EMOJI;
default:
assert(0 && "internal error: unrecognized charwidth property");
return prop;
}
}
// TODO: use character class lookup table
int utf8lite_isspace(int32_t code)
{
if (code <= 0x7F) {
return (code == 0x20 || (0x09 <= code && code < 0x0E));
} else if (code <= 0x1FFF) {
switch (code) {
case 0x0085:
case 0x00A0:
case 0x1680:
return 1;
default:
return 0;
}
} else if (code <= 0x200A) {
return 1;
} else if (code <= 0x3000) {
switch (code) {
case 0x2028:
case 0x2029:
case 0x202F:
case 0x205F:
case 0x3000:
return 1;
default:
return 0;
}
} else {
return 0;
}
}
// TODO use lookup table
int utf8lite_isignorable(int32_t code)
{
// Default_Ignorable_Code_Point = Yes
if (code <= 0x7F) {
return 0;
}
switch (code) {
case 0x00AD:
case 0x034F:
case 0x061C:
case 0x115F:
case 0x1160:
case 0x17B4:
case 0x17B5:
case 0x180B:
case 0x180C:
case 0x180D:
case 0x180E:
case 0x200B:
case 0x200C:
case 0x200D:
case 0x200E:
case 0x200F:
case 0x202A:
case 0x202B:
case 0x202C:
case 0x202D:
case 0x202E:
case 0x2060:
case 0x2061:
case 0x2062:
case 0x2063:
case 0x2064:
case 0x2065:
case 0x2066:
case 0x2067:
case 0x2068:
case 0x2069:
case 0x206A:
case 0x206B:
case 0x206C:
case 0x206D:
case 0x206E:
case 0x206F:
case 0x3164:
case 0xFE00:
case 0xFE01:
case 0xFE02:
case 0xFE03:
case 0xFE04:
case 0xFE05:
case 0xFE06:
case 0xFE07:
case 0xFE08:
case 0xFE09:
case 0xFE0A:
case 0xFE0B:
case 0xFE0C:
case 0xFE0D:
case 0xFE0E:
case 0xFE0F:
case 0xFEFF:
case 0xFFA0:
case 0xFFF0:
case 0xFFF1:
case 0xFFF2:
case 0xFFF3:
case 0xFFF4:
case 0xFFF5:
case 0xFFF6:
case 0xFFF7:
case 0xFFF8:
case 0x1BCA0:
case 0x1BCA1:
case 0x1BCA2:
case 0x1BCA3:
case 0x1D173:
case 0x1D174:
case 0x1D175:
case 0x1D176:
case 0x1D177:
case 0x1D178:
case 0x1D179:
case 0x1D17A:
return 1;
default:
return (0xDFFFF < code && code <= 0xE0FFF);
}
}
utf8/src/utf8lite/src/utf8lite.h 0000644 0001762 0000144 00000073262 13301551651 016211 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef UTF8LITE_H
#define UTF8LITE_H
/**
* \file utf8lite.h
*
* Lightweight UTF-8 processing.
*/
#include
#include
#include
/**
* \defgroup error Error handling
* @{
*/
/** Maximum error message length, in bytes, not including the trailing NUL */
#define UTF8LITE_MESSAGE_MAX 255
/**
* Error code.
*/
enum utf8lite_error_type {
UTF8LITE_ERROR_NONE = 0,/**< no error */
UTF8LITE_ERROR_INVAL, /**< invalid input */
UTF8LITE_ERROR_NOMEM, /**< out of memory */
UTF8LITE_ERROR_OS, /**< operating system error */
UTF8LITE_ERROR_OVERFLOW,/**< size exceeds maximum */
UTF8LITE_ERROR_DOMAIN, /**< input is out of domain */
UTF8LITE_ERROR_RANGE, /**< output is out of range */
UTF8LITE_ERROR_INTERNAL /**< internal error */
};
/**
* Message buffer.
*/
struct utf8lite_message {
char string[UTF8LITE_MESSAGE_MAX + 1]; /**< NUL-terminated message */
};
/**
* Set a message to the empty string.
*
* \param msg message, or NULL
*/
void utf8lite_message_clear(struct utf8lite_message *msg);
/**
* Set a message to a formatted string.
*
* \param msg message, or NULL
* \param fmt format string
* \param ... format arguments
*/
void utf8lite_message_set(struct utf8lite_message *msg, const char *fmt, ...)
#if defined(_WIN32) || defined(_WIN64)
;
#else
__attribute__ ((format (printf, 2, 3)));
#endif
/**
* Append to a message.
*
* \param msg message, or NULL
* \param fmt format string
* \param ... format arguments
*/
void utf8lite_message_append(struct utf8lite_message *msg, const char *fmt, ...)
#if defined(_WIN32) || defined(_WIN64)
;
#else
__attribute__ ((format (printf, 2, 3)));
#endif
/**@}*/
/**
* \defgroup char Unicode characters
* @{
*/
/** Missing Unicode value */
#define UTF8LITE_CODE_NONE -1
/** Unicode replacement character */
#define UTF8LITE_CODE_REPLACEMENT 0xFFFD
/** Last valid unicode codepoint */
#define UTF8LITE_CODE_MAX 0x10FFFF
/** Number of bits required to encode a codepoint */
#define UTF8LITE_CODE_BITS 21
/** Indicates whether a given unsigned integer is a valid ASCII codepoint */
#define UTF8LITE_IS_ASCII(x) \
((x) <= 0x7F)
/** Indicates whether a given unsigned integer is a valid unicode codepoint */
#define UTF8LITE_IS_UNICODE(x) \
(((x) <= UTF8LITE_CODE_MAX) \
&& !UTF8LITE_IS_UTF16_HIGH(x) \
&& !UTF8LITE_IS_UTF16_LOW(x))
/**
* Unicode character width type.
*/
enum utf8lite_charwidth_type {
UTF8LITE_CHARWIDTH_NONE = 0, /**< Control or and other */
UTF8LITE_CHARWIDTH_IGNORABLE, /**< Default ignorable */
UTF8LITE_CHARWIDTH_MARK, /**< Zero-width mark or format */
UTF8LITE_CHARWIDTH_NARROW, /**< Most western alphabets */
UTF8LITE_CHARWIDTH_AMBIGUOUS, /**< Width depends on context */
UTF8LITE_CHARWIDTH_WIDE, /**< Most ideographs */
UTF8LITE_CHARWIDTH_EMOJI /**< Emoji presentation */
};
/**
* Get the width of a Unicode character, using the East Asian Width table and
* the Emoji data.
*
* \param code the codepoint
*
* \returns a #utf8lite_charwidth_type value giving the width
*/
int utf8lite_charwidth(int32_t code);
/**
* Get whether a Unicode character is white space.
*
* \param code the codepoint
*
* \returns 1 if space, 0 otherwise.
*/
int utf8lite_isspace(int32_t code);
/**
* Get whether a Unicode character is a default ignorable character.
*
* \param code the codepoint
*
* \returns 1 if space, 0 otherwise.
*/
int utf8lite_isignorable(int32_t code);
/**@}*/
/**
* \defgroup encode Encoding
* @{
*/
/** Number of bytes in the UTF-8 encoding of a valid unicode codepoint. */
#define UTF8LITE_UTF8_ENCODE_LEN(u) \
((u) <= 0x7F ? 1 : \
(u) <= 0x07FF ? 2 : \
(u) <= 0xFFFF ? 3 : 4)
/** Number of 16-bit code units in the UTF-16 encoding of a valid unicode
* codepoint */
#define UTF8LITE_UTF16_ENCODE_LEN(u) \
((u) <= 0xFFFF ? 1 : 2)
/** High (leading) UTF-16 surrogate for a code point in the supplementary
* plane (U+10000 to U+10FFFF). */
#define UTF8LITE_UTF16_HIGH(u) \
0xD800 | (((unsigned)(u) - 0x010000) >> 10)
/** Low (trailing) UTF-16 surrogate for a code point in the supplementary
* plane (U+10000 to U+10FFFF). */
#define UTF8LITE_UTF16_LOW(u) \
0xDC00 | (((unsigned)(u) - 0x010000) & 0x03FF)
/** Indicates whether a 16-bit code unit is a UTF-16 high surrogate.
* High surrogates are in the range 0xD800 `(1101 1000 0000 0000)`
* to 0xDBFF `(1101 1011 1111 1111)`. */
#define UTF8LITE_IS_UTF16_HIGH(x) (((x) & 0xFC00) == 0xD800)
/** Indicates whether a 16-bit code unit is a UTF-16 low surrogate.
* Low surrogates are in the range 0xDC00 `(1101 1100 0000 0000)`
* to 0xDFFF `(1101 1111 1111 1111)`. */
#define UTF8LITE_IS_UTF16_LOW(x) (((x) & 0xFC00) == 0xDC00)
/** Given the high and low UTF-16 surrogates, compute the unicode codepoint. */
#define UTF8LITE_DECODE_UTF16_PAIR(h, l) \
(((((h) & 0x3FF) << 10) | ((l) & 0x3FF)) + 0x10000)
/** Given the first byte in a valid UTF-8 byte sequence, determine the number of
* continuation bytes */
#define UTF8LITE_UTF8_TAIL_LEN(x) \
( ((x) & 0x80) == 0x00 ? 0 \
: ((x) & 0xE0) == 0xC0 ? 1 \
: ((x) & 0xF0) == 0xE0 ? 2 : 3)
/** Maximum number of UTF-8 continuation bytes in a valid encoded character */
#define UTF8LITE_UTF8_TAIL_MAX 3
/**
* Validate the first character in a UTF-8 character buffer.
*
* \param bufptr a pointer to the input buffer; on exit, a pointer to
* the end of the first valid UTF-8 character, or the first invalid
* byte in the encoding
* \param end the end of the input buffer
* \param msg an error message buffer
*
* \returns 0 on success
*/
int utf8lite_scan_utf8(const uint8_t **bufptr, const uint8_t *end,
struct utf8lite_message *msg);
/**
* Decode the first codepoint from a UTF-8 character buffer.
*
* \param bufptr on input, a pointer to the start of the character buffer;
* on exit, a pointer to the end of the first UTF-8 character in
* the buffer
* \param codeptr on exit, the first codepoint in the buffer
*/
void utf8lite_decode_utf8(const uint8_t **bufptr, int32_t *codeptr);
/**
* Encode a codepoint into a UTF-8 character buffer. The codepoint must
* be a valid unicode character (according to #UTF8LITE_IS_UNICODE) and the buffer
* must have space for at least #UTF8LITE_UTF8_ENCODE_LEN bytes.
*
* \param code the codepoint
* \param bufptr on input, a pointer to the start of the buffer;
* on exit, a pointer to the end of the encoded codepoint
*/
void utf8lite_encode_utf8(int32_t code, uint8_t **bufptr);
/**
* Encode a codepoint in reverse, at the end of UTF-8 character buffer.
* The codepoint must be a valid unicode character (according to
* #UTF8LITE_IS_UNICODE) and the buffer must have space for at least
* #UTF8LITE_UTF8_ENCODE_LEN bytes.
*
* \param code the codepoint
* \param endptr on input, a pointer to the end of the buffer;
* on exit, a pointer to the start of the encoded codepoint
*/
void utf8lite_rencode_utf8(int32_t code, uint8_t **endptr);
/**@}*/
/**
* \defgroup escape Escape code handling
* @{
*/
/**
* Scan a JSON-style backslash (\\) escape.
*
* \param bufptr on input, a pointer to the byte after the backslash;
* on output, a pointer to the byte after the escape
* \param end pointer to the end of the buffer
* \param msg error message buffer
*
* \returns 0 on success
*/
int utf8lite_scan_escape(const uint8_t **bufptr, const uint8_t *end,
struct utf8lite_message *msg);
/**
* Scan a JSON-style backslash-u (\\u) escape.
*
* \param bufptr on input, a pointer to the byte after the 'u';
* on output, a pointer to the byte after the escape
* \param end pointer to the end of the buffer
* \param msg error message buffer
*
* \returns 0 on success
*/
int utf8lite_scan_uescape(const uint8_t **bufptr, const uint8_t *end,
struct utf8lite_message *msg);
/**
* Decode a JSON-style backslash (\\) escape.
*
* \param bufptr on input, a pointer to the byte after the backslash;
* on output, a pointer to the byte after the escape
* \param codeptr on output, a pointer to the decoded UTF-32 character
*/
void utf8lite_decode_escape(const uint8_t **bufptr, int32_t *codeptr);
/**
* Scan a JSON-style backslash-u (\\u) escape.
*
* \param bufptr on input, a pointer to the byte after the 'u';
* on output, a pointer to the byte after the escape
* \param codeptr on output, a pointer to the decoded UTF-32 character
*/
void utf8lite_decode_uescape(const uint8_t **bufptr, int32_t *codeptr);
/**@}*/
/**
* \defgroup normalize Normalization
* @{
*/
/**
* Unicode character decomposition mappings. The compatibility mappings are
* defined in [UAX #44 Sec. 5.7.3 Character Decomposition Maps]
* (http://www.unicode.org/reports/tr44/#Character_Decomposition_Mappings).
*/
enum utf8lite_decomp_type {
UTF8LITE_DECOMP_NORMAL = 0, /**< normalization (required for NFD) */
UTF8LITE_DECOMP_FONT = (1 << 0), /**< font variant */
UTF8LITE_DECOMP_NOBREAK = (1 << 1), /**< no-break version of a space
or hyphen */
UTF8LITE_DECOMP_INITIAL = (1 << 2), /**< initial presentation form
(Arabic) */
UTF8LITE_DECOMP_MEDIAL = (1 << 3), /**< medial presentation form
(Arabic) */
UTF8LITE_DECOMP_FINAL = (1 << 4), /**< final presentation form
(Arabic) */
UTF8LITE_DECOMP_ISOLATED = (1 << 5), /**< isolated presentation form
(Arabic) */
UTF8LITE_DECOMP_CIRCLE = (1 << 6), /**< encircled form */
UTF8LITE_DECOMP_SUPER = (1 << 7), /**< superscript form */
UTF8LITE_DECOMP_SUB = (1 << 8), /**< subscript form */
UTF8LITE_DECOMP_VERTICAL = (1 << 9), /**< vertical layout presentation
form */
UTF8LITE_DECOMP_WIDE = (1 << 10), /**< wide (or zenkaku)
compatibility */
UTF8LITE_DECOMP_NARROW = (1 << 11), /**< narrow (or hankaku)
compatibility */
UTF8LITE_DECOMP_SMALL = (1 << 12), /**< small variant form
(CNS compatibility) */
UTF8LITE_DECOMP_SQUARE = (1 << 13), /**< CJK squared font variant */
UTF8LITE_DECOMP_FRACTION = (1 << 14),/**< vulgar fraction form */
UTF8LITE_DECOMP_COMPAT = (1 << 15), /**< unspecified compatibility */
UTF8LITE_DECOMP_ALL = ((1 << 16) - 1)/**< all decompositions
(required for NFKD) */
};
/**
* Unicode case folding. These are defined in *TR44* Sec. 5.6.
*/
enum utf8lite_casefold_type {
UTF8LITE_CASEFOLD_NONE = 0, /**< no case folding */
UTF8LITE_CASEFOLD_ALL = (1 << 16) /**< perform case folding */
};
/**
* Maximum size (in codepoints) of a single code point's decomposition.
*
* From *TR44* Sec. 5.7.3: "Compatibility mappings are guaranteed to be no
* longer than 18 characters, although most consist of just a few characters."
*/
#define UTF8LITE_UNICODE_DECOMP_MAX 18
/**
* Apply decomposition and/or casefold mapping to a Unicode character,
* outputting the result to the specified buffer. The output will be at
* most #UTF8LITE_UNICODE_DECOMP_MAX codepoints.
*
* \param type a bitmask composed from #utf8lite_decomp_type and
* #utf8lite_casefold_type values specifying the mapping type
* \param code the input codepoint
* \param bufptr on entry, a pointer to the output buffer; on exit,
* a pointer past the last output codepoint
*/
void utf8lite_map(int type, int32_t code, int32_t **bufptr);
/**
* Apply the canonical ordering algorithm to put an array of Unicode
* codepoints in normal order. See *Unicode* Sec 3.11 and *TR44* Sec. 5.7.4.
*
* \param ptr a pointer to the first codepoint
* \param len the number of codepoints
*/
void utf8lite_order(int32_t *ptr, size_t len);
/**
* Apply the canonical composition algorithm to put an array of
* canonically-ordered Unicode codepoints into composed form.
*
* \param ptr a pointer to the first codepoint
* \param lenptr on entry, a pointer to the number of input codepoints;
* on exit, a pointer to the number of composed codepoints
*/
void utf8lite_compose(int32_t *ptr, size_t *lenptr);
/**@}*/
/**
* \defgroup text UTF-8 encoded text
* @{
*/
/** Whether the text might contain a backslash (`\`) that should be
* interpreted as an escape */
#define UTF8LITE_TEXT_ESC_BIT ((size_t)1 << (CHAR_BIT * sizeof(size_t) - 1))
/** Size of the encoded text, in bytes; (decoded size) <= (encoded size) */
#define UTF8LITE_TEXT_SIZE_MASK ((size_t)SIZE_MAX >> 1)
/** Maximum size of encode text, in bytes. */
#define UTF8LITE_TEXT_SIZE_MAX UTF8LITE_TEXT_SIZE_MASK
/** The encoded size of the text, in bytes */
#define UTF8LITE_TEXT_SIZE(text) ((text)->attr & UTF8LITE_TEXT_SIZE_MASK)
/** The text attribute bits */
#define UTF8LITE_TEXT_BITS(text) ((text)->attr & ~UTF8LITE_TEXT_SIZE_MASK)
/** Indicates whether the text might contain a backslash (`\`) that should
* be interpreted as an escape code */
#define UTF8LITE_TEXT_HAS_ESC(text) \
(((text)->attr & UTF8LITE_TEXT_ESC_BIT) ? 1 : 0)
/**
* Flags for utf8lite_text_assign().
*/
enum utf8lite_text_flag {
/** validate the input */
UTF8LITE_TEXT_UNKNOWN = 0,
/** do not perform any validation on the input */
UTF8LITE_TEXT_VALID = (1 << 0),
/** interpret backslash (`\`) as an escape */
UTF8LITE_TEXT_UNESCAPE = (1 << 1)
};
/**
* UTF-8 encoded text, possibly containing JSON-compatible backslash (`\`)
* escape codes which should be interpreted as such. The client assumes
* all responsibility for managing the memory for the underlying UTF8-data.
*/
struct utf8lite_text {
uint8_t *ptr; /**< pointer to valid UTF-8 data */
size_t attr; /**< text attributes */
};
/**
* Assign a text value to point to data in the specified memory location
* after validating the input data.
*
* \param text the text value
* \param ptr a pointer to the underlying memory buffer
* \param size the number of bytes in the underlying memory buffer
* \param flags #utf8lite_text_flag bitmask specifying input type
* \param msg an error message buffer, or NULL
*
* \returns 0 on success
*/
int utf8lite_text_assign(struct utf8lite_text *text,
const uint8_t *ptr, size_t size, int flags,
struct utf8lite_message *msg);
/**
* Initialize a new text object by allocating space for and copying
* the encoded characters from another text object.
*
* \param text the object to initialize
* \param other the object to copy
*
* \returns 0 on success, or non-zero on memory allocation failure
*/
int utf8lite_text_init_copy(struct utf8lite_text *text,
const struct utf8lite_text *other);
/** Indicates whether the text definitely decodes to ASCII. For this to be true,
* the text must be encoded in ASCII and not have any escapes that decode to
* non-ASCII codepoints.
*/
int utf8lite_text_isascii(const struct utf8lite_text *text);
/**
* Free the resources associated with a text object.
*
* \param text the text object
*/
void utf8lite_text_destroy(struct utf8lite_text *text);
/**
* Compute a hash code from a text.
*
* \param text the text
*
* \returns the hash code.
*/
size_t utf8lite_text_hash(const struct utf8lite_text *text);
/**
* Test whether two texts are equal (bitwise). Bitwise equality is more
* stringent than decoding to the same value.
*
* \param text1 the first text
* \param text2 the second text
*
* \returns non-zero if the tokens are equal, zero otherwise
*/
int utf8lite_text_equals(const struct utf8lite_text *text1,
const struct utf8lite_text *text2);
/**
* Compare two texts.
*
* \param text1 the first text
* \param text2 the second text
*
* \returns zero if the two encoded texts are identical; a negative value
* if the first value is less than the second; a positive value
* if the first value is greater than the second
*/
int utf8lite_text_compare(const struct utf8lite_text *text1,
const struct utf8lite_text *text2);
/**@}*/
/**
* \defgroup textiter Text iteration
* @{
*/
/**
* An iterator over the decoded UTF-32 characters in a text.
*/
struct utf8lite_text_iter {
const uint8_t *ptr; /**< current position in the text buffer*/
const uint8_t *end; /**< end of the text buffer */
size_t text_attr; /**< text attributes */
int32_t current; /**< current character (UTF-32) */
};
/**
* Initialize a text iterator to start at the beginning of a text.
*
* \param it the iterator
* \param text the text
*/
void utf8lite_text_iter_make(struct utf8lite_text_iter *it,
const struct utf8lite_text *text);
/**
* Advance to the next character in a text.
*
* \param it the text iterator
*
* \returns non-zero if the iterator successfully advanced; zero if
* the iterator has passed the end of the text
*/
int utf8lite_text_iter_advance(struct utf8lite_text_iter *it);
/**
* Retreat to the previous character in a text.
*
* \param it the text iterator
*
* \returns non-zero if the iterator successfully backed up; zero if
* the iterator has passed the start of the text.
*/
int utf8lite_text_iter_retreat(struct utf8lite_text_iter *it);
/**
* Reset an iterator to the start of the text.
*
* \param it the text iterator
*/
void utf8lite_text_iter_reset(struct utf8lite_text_iter *it);
/**
* Skip an iterator to the end of the text.
*
* \param it the text iterator
*/
void utf8lite_text_iter_skip(struct utf8lite_text_iter *it);
/**@}*/
/**
* \defgroup textmap Text normalization map
* @{
*/
/**
* Map descriptor. At a minimum, convert the text to
* composed normal form (NFC). Optionally, apply compatibility maps for
* NFKC normal and/or apply other transformations:
*
* + #UTF8LITE_TEXTMAP_CASE: perform case folding, in most languages (including
* English) mapping uppercase characters to their lowercase equivalents,
* but also performing other normalizations like mapping the
* German Eszett (ß) to "ss"; see
* _The Unicode Standard_ Sec. 5.18 "Case Mappings"
* and the
* [Case Mapping FAQ](http://unicode.org/faq/casemap_charprop.html)
* for more information
*
* + #UTF8LITE_TEXTMAP_COMPAT: apply all compatibility maps required for
* [NFKC normal form](http://unicode.org/reports/tr15/#Norm_Forms)
*
* + #UTF8LITE_TEXTMAP_QUOTE: quote fold, replace single quotes and
* Unicode apostrophe with ASCII apostrophe (U+0027)
*
* + #UTF8LITE_TEXTMAP_RMDI: remove default ignorables (DI) like soft
* hyphens and zero-width spaces, anything with the
* [Default_Ignorable_Code_Point=Yes]
* (http://www.unicode.org/reports/tr44/#Default_Ignorable_Code_Point)
* property
*/
enum utf8lite_textmap_type {
UTF8LITE_TEXTMAP_NORMAL = 0, /**< transform to composed normal form */
UTF8LITE_TEXTMAP_CASE = (1 << 0), /**< perform case folding */
UTF8LITE_TEXTMAP_COMPAT = (1 << 1), /**< apply compatibility mappings */
UTF8LITE_TEXTMAP_QUOTE = (1 << 2), /**< replace apostrophe with `'` */
UTF8LITE_TEXTMAP_RMDI = (1 << 3) /**< remove default ignorables */
};
/**
* Text normalization map.
*/
struct utf8lite_textmap {
struct utf8lite_text text;/**< result of the most recent call to
utf8lite_textmap_set() */
int8_t ascii_map[128]; /**< a lookup table for the mappings of ASCII
characters; -1 indicates deletion */
int32_t *codes; /**< buffer for intermediate UTF-32 decoding */
size_t size_max; /**< text size maximum; normalizing a larger
text will force a reallocation */
int type; /**< the map type descriptor, a bit mask
of #utf8lite_textmap_type values */
int charmap_type; /**< the unicode map type, a bit mask of
#utf8lite_decomp_type and
#utf8lite_casefold_type values */
};
/**
* Initialize a new text map of the specified kind.
*
* \param map the text map
* \param type a bitmask of #utf8lite_textmap_type values, specifying
* the map type
*
* \returns 0 on success
*/
int utf8lite_textmap_init(struct utf8lite_textmap *map, int type);
/**
* Release the resources associated with a text map.
*
* \param map the text map
*/
void utf8lite_textmap_destroy(struct utf8lite_textmap *map);
/**
* Given input text, set a map to the corresponding output text.
*
* \param map the text map
* \param text the text
*
* \returns 0 on success
*/
int utf8lite_textmap_set(struct utf8lite_textmap *map,
const struct utf8lite_text *text);
/**@}*/
/**
* \defgroup graphscan Character graphemes
* @{
*/
/**
* Grapheme cluster.
*/
struct utf8lite_graph {
struct utf8lite_text text; /**< grapheme code sequence */
};
/**
* Grapheme scanner, for iterating over the graphemes in a text. Grapheme
* boundaries are determined according to
* [UAX #29, Unicode Text Segmentation][uax29],
* using the extended grapheme cluster rules.
*
* [uax29]: http://unicode.org/reports/tr29/
*/
struct utf8lite_graphscan {
struct utf8lite_text_iter iter; /**< iterator pointed at next code */
const uint8_t *ptr; /**< next code's start */
int prop; /**< next code's break property */
struct utf8lite_graph current; /**< current grapheme */
};
/**
* Create a grapheme scanner over a text object.
*
* \param scan the scanner to initialize
* \param text the text
*/
void utf8lite_graphscan_make(struct utf8lite_graphscan *scan,
const struct utf8lite_text *text);
/**
* Advance a scanner to the next grapheme.
*
* \param scan the scanner
*
* \returns nonzero on success, zero if at the end of the text
*/
int utf8lite_graphscan_advance(struct utf8lite_graphscan *scan);
/**
* Retreat a scanner to the previous grapheme.
*
* \param scan the scanner
*
* \returns non-zero on success, zero if at the start of the text
*/
int utf8lite_graphscan_retreat(struct utf8lite_graphscan *scan);
/**
* Reset a scanner to the beginning of the text.
*
* \param scan the scanner
*/
void utf8lite_graphscan_reset(struct utf8lite_graphscan *scan);
/**
* Skip a scanner at the end of the text.
*
* \param scan the scanner
*/
void utf8lite_graphscan_skip(struct utf8lite_graphscan *scan);
/**@}*/
/**
* \defgroup render Text rendering
* @{
*/
/**
* Render escaping type. Specifies that certain code-points require
* special handling.
*/
enum utf8lite_escape_type {
UTF8LITE_ESCAPE_NONE = 0, /**< no special escaping */
UTF8LITE_ESCAPE_CONTROL = (1 << 0), /**< control and other codes */
UTF8LITE_ESCAPE_DQUOTE = (1 << 1), /**< ASCII double quote */
UTF8LITE_ESCAPE_SQUOTE = (1 << 2), /**< ASCII single quote */
UTF8LITE_ESCAPE_EXTENDED = (1 << 3), /**< extended-plane UTF-8 */
UTF8LITE_ESCAPE_UTF8 = (1 << 4) /**< non-ASCII UTF-8 */
};
/**
* Render encoding type.
*/
enum utf8lite_encode_type {
UTF8LITE_ENCODE_C = 0, /**< C-compatible escapes */
UTF8LITE_ENCODE_JSON = (1 << 5),/**< JSON-compatible escapes */
UTF8LITE_ENCODE_EMOJIZWSP = (1 << 6),/**< put ZWSP after emoji */
UTF8LITE_ENCODE_RMDI = (1 << 7),/**< remove default ignorables */
UTF8LITE_ENCODE_AMBIGWIDE = (1 << 8)/**< assume that ambiguous-width
characters are wide */
};
/**
* Get the width of a grapheme under the specified render settings. If
* the grapheme contains a non-escaped control character, report the width
* as -1.
*
* \param g the grapheme
* \param flags a bitmask of #utf8lite_escape_type and #utf8lite_encode_type
* values specifying the encoding settings
* \param widthptr if non-NULL, a pointer to store the width on exit
* (0 if the grapheme is empty or a non-escaped control)
*
* \returns 0 on success
*/
int utf8lite_graph_measure(const struct utf8lite_graph *g, int flags,
int *widthptr);
/**
* Renderer, for printing objects as strings.
*/
struct utf8lite_render {
char *string; /**< the rendered string (null terminated) */
int length; /**< the length of the rendered string, not
including the null terminator */
int length_max; /**< the maximum capacity of the rendered
string before requiring reallocation, not
including the null terminator */
int flags; /**< the flags, a bitmask of
#utf8lite_escape_type and
#utf8lite_encode_type values,
specifying escaping behavior */
const char *tab; /**< the tab string, for indenting */
int tab_length; /**< the length in bytes of the tab string,
not including the null terminator */
const char *newline; /**< the newline string, for advancing
to the next line */
int newline_length; /**< the length in bytes of the newline string,
not including the null terminator */
const char *style_open; /**< the escape style graphic parameters,
for styling backslash escapes */
const char *style_close;/**< the escape style graphic parameters,
for restoring state after styling a
backslash escapes */
int style_open_length; /**< length in bytes of the style_open string,
not including the null terminator */
int style_close_length; /**< length in bytes of the style_close string,
not including the null terminator */
int indent; /**< the current indent level */
int needs_indent; /**< whether to indent before the next
character */
int error; /**< the code for the last error that
occurred, or zero if none */
};
/**
* Initialize a new render object.
*
* \param r the render object
* \param flags a bitmask of #utf8lite_escape_type and #utf8lite_encode_type
* values specifying escaping behavior
*
* \returns 0 on success
*/
int utf8lite_render_init(struct utf8lite_render *r, int flags);
/**
* Release a render object's resources.
*
* \param r the render object
*/
void utf8lite_render_destroy(struct utf8lite_render *r);
/**
* Reset the render object to the empty string and set the indent level to 0.
* Leave the escape flags, the tab, and the newline string at their current
* values.
*
* \param r the render object
*/
void utf8lite_render_clear(struct utf8lite_render *r);
/**
* Set the escaping behavior.
*
* \param r the render object
* \param flags a bit mask of #utf8lite_escape_type values
*
* \returns 0 on success
*/
int utf8lite_render_set_flags(struct utf8lite_render *r, int flags);
/**
* Set the tab string. The client must not free the passed-in tab
* string until either the render object is destroyed or a new tab
* string gets set.
*
* \param r the render object
* \param tab the tab string (null terminated)
*
* \returns 0 on success
*/
int utf8lite_render_set_tab(struct utf8lite_render *r, const char *tab);
/**
* Set the new line string. The client must not free the passed-in newline
* string until either the render object is destroyed or a new newline
* string gets set.
*
* \param r the render object
* \param newline the newline string (null terminated)
*
* \returns 0 on success
*/
int utf8lite_render_set_newline(struct utf8lite_render *r, const char *newline);
/**
* Set the escape style strings. The client must not free the passed
* in strings until the render object is destroyed or new style
* strings get set.
*
* \param r the render object
* \param open the string to render before a backslash escape.
* \param close the string to render after a backslash escape.
*
* \returns 0 on success
*/
int utf8lite_render_set_style(struct utf8lite_render *r,
const char *open, const char *close);
/**
* Increase or decrease the indent level.
*
* \param r the render object
* \param nlevel the number of levels add or subtract to the indent
*
* \returns 0 on success
*/
int utf8lite_render_indent(struct utf8lite_render *r, int nlevel);
/**
* Add new lines.
*
* \param r the render object
* \param nline the number of new lines to add
*
* \returns 0 on success
*/
int utf8lite_render_newlines(struct utf8lite_render *r, int nline);
/**
* Render a character grapheme. If any render escape flags are set, filter
* the grapheme through the appropriate escaping and encoding.
*
* \param r the render object
* \param g the grapheme
*
* \returns 0 on success
*/
int utf8lite_render_graph(struct utf8lite_render *r,
const struct utf8lite_graph *g);
/**
* Render a single character, treating it as a grapheme cluster. If any
* render escape flags are set, filter the character through the
* appropriate escaping and encoding.
*
* \param r the render object
* \param ch the character
*
* \returns 0 on success
*/
int utf8lite_render_char(struct utf8lite_render *r, int32_t ch);
/**
* Render multiple copies of a character, treating each as a grapheme
* cluster.
*
* \param r the render object
* \parma ch the character
* \param nchar the number of copies to render
*
* \returns 0 on success
*/
int utf8lite_render_chars(struct utf8lite_render *r, int32_t ch, int nchar);
/**
* Render a string. If any render escape flags are set, filter
* all character graphemes through the appropriate escaping.
*
* \param r the render object
* \param str the string, valid UTF-8
*
* \returns 0 on success
*/
int utf8lite_render_string(struct utf8lite_render *r, const char *str);
/**
* Render formatted text. If any render escape flags are set, filter
* all character graphemes through the appropriate escaping.
*
* \param r the render object
* \param format the format string
*/
int utf8lite_render_printf(struct utf8lite_render *r, const char *format, ...)
#if defined(_WIN32) || defined(_WIN64)
;
#else
__attribute__ ((format (printf, 2, 3)));
#endif
/**
* Render a text object. If any render escape flags are set, filter
* all character graphemes through the appropriate escaping.
*
* \param r the render object
* \param text the text object
*
* \returns 0 on success
*/
int utf8lite_render_text(struct utf8lite_render *r,
const struct utf8lite_text *text);
/**
* Append a sequence of raw bytes to the render buffer. Ignore any special
* handling specified by the render flags.
*
* \param r the render object
* \param bytes the byte array
* \param size the number of bytes
*
* \returns 0 on success.
*/
int utf8lite_render_raw(struct utf8lite_render *r, const char *bytes,
size_t size);
/**@}*/
#endif /* UTF8LITE_H */
utf8/src/utf8lite/src/render.c 0000644 0001762 0000144 00000027753 13301551651 015723 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include
#include
#include
#include
#include
#include
#include "private/array.h"
#include "utf8lite.h"
#define CHECK_ERROR(r) \
if (r->error) { \
return r->error; \
}
enum code_type {
CODE_ASCII = 0,
CODE_UTF8 = (1 << 0),
CODE_EXTENDED = (1 << 1),
CODE_EMOJI = (1 << 2)
};
/**
* Render a single code. If any render escape flags are set, filter
* the character through the appropriate escaping.
*
* \param r the render object
* \param ch the character (UTF-32)
* \param attrptr on exit, a bit mask of #code_type flags
*
* \returns 0 on success
*/
static int utf8lite_render_code(struct utf8lite_render *r, int32_t ch,
int *attrptr);
static int utf8lite_render_grow(struct utf8lite_render *r, int nadd)
{
void *base = r->string;
int size = r->length_max + 1;
int err;
if (nadd <= 0 || r->length_max - nadd > r->length) {
return 0;
}
if ((err = utf8lite_array_grow(&base, &size, sizeof(*r->string),
r->length + 1, nadd))) {
r->error = err;
return r->error;
}
r->string = base;
r->length_max = size - 1;
return 0;
}
static int style_open(struct utf8lite_render *r)
{
if (!r->style_open_length) {
return 0;
}
return utf8lite_render_raw(r, r->style_open, r->style_open_length);
}
static int style_close(struct utf8lite_render *r)
{
if (!r->style_close_length) {
return 0;
}
return utf8lite_render_raw(r, r->style_close, r->style_close_length);
}
int utf8lite_render_init(struct utf8lite_render *r, int flags)
{
int err;
r->string = malloc(1);
if (!r->string) {
err = UTF8LITE_ERROR_NOMEM;
return err;
}
r->length = 0;
r->length_max = 0;
r->flags = flags;
r->tab = "\t";
r->tab_length = (int)strlen(r->tab);
r->newline = "\n";
r->newline_length = (int)strlen(r->newline);
r->style_open = NULL;
r->style_open_length = 0;
r->style_close = NULL;
r->style_close_length = 0;
utf8lite_render_clear(r);
return 0;
}
void utf8lite_render_destroy(struct utf8lite_render *r)
{
free(r->string);
}
void utf8lite_render_clear(struct utf8lite_render *r)
{
r->string[0] = '\0';
r->length = 0;
r->indent = 0;
r->needs_indent = 1;
r->error = 0;
}
int utf8lite_render_set_flags(struct utf8lite_render *r, int flags)
{
r->flags = flags;
return 0;
}
int utf8lite_render_set_tab(struct utf8lite_render *r, const char *tab)
{
size_t len;
assert(tab);
if ((len = strlen(tab)) >= INT_MAX) {
// tab string length exceeds maximum
r->error = UTF8LITE_ERROR_OVERFLOW;
return r->error;
} else {
r->tab = tab;
r->tab_length = (int)len;
return 0;
}
}
int utf8lite_render_set_newline(struct utf8lite_render *r, const char *newline)
{
size_t len;
assert(newline);
if ((len = strlen(newline)) >= INT_MAX) {
// newline string length exceeds maximum
r->error = UTF8LITE_ERROR_OVERFLOW;
return r->error;
} else {
r->newline = newline;
r->newline_length = (int)len;
return 0;
}
}
int utf8lite_render_set_style(struct utf8lite_render *r,
const char *open, const char *close)
{
size_t open_len = 0, close_len = 0;
CHECK_ERROR(r);
if (open) {
if ((open_len = strlen(open)) >= INT_MAX) {
r->error = UTF8LITE_ERROR_OVERFLOW;
return r->error;
}
}
if (close) {
if ((close_len = strlen(close)) >= INT_MAX) {
r->error = UTF8LITE_ERROR_OVERFLOW;
return r->error;
}
}
r->style_open = open;
r->style_close = close;
r->style_open_length = (int)open_len;
r->style_close_length = (int)close_len;
return 0;
}
int utf8lite_render_indent(struct utf8lite_render *r, int nlevel)
{
CHECK_ERROR(r);
if (nlevel > INT_MAX - r->indent) {
r->error = UTF8LITE_ERROR_OVERFLOW;
} else {
r->indent += nlevel;
if (r->indent < 0) {
r->indent = 0;
}
}
return r->error;
}
int utf8lite_render_newlines(struct utf8lite_render *r, int nline)
{
char *end;
int i;
CHECK_ERROR(r);
for (i = 0; i < nline; i++) {
utf8lite_render_grow(r, r->newline_length);
CHECK_ERROR(r);
end = r->string + r->length;
memcpy(end, r->newline, r->newline_length + 1); // include '\0'
r->length += r->newline_length;
r->needs_indent = 1;
}
return 0;
}
static int maybe_indent(struct utf8lite_render *r)
{
int ntab = r->indent;
char *end;
int i;
if (!r->needs_indent) {
return 0;
}
for (i = 0; i < ntab; i++) {
utf8lite_render_grow(r, r->tab_length);
CHECK_ERROR(r);
end = r->string + r->length;
memcpy(end, r->tab, r->tab_length + 1); // include '\0'
r->length += r->tab_length;
}
r->needs_indent = 0;
return 0;
}
static int utf8lite_escape_utf8(struct utf8lite_render *r, int32_t ch)
{
unsigned hi, lo;
int len;
style_open(r);
CHECK_ERROR(r);
if (ch <= 0xFFFF) {
// \uXXXX
len = 6;
} else if (r->flags & UTF8LITE_ENCODE_JSON) {
// \uXXXX\uYYYY
len = 12;
} else {
// \UXXXXYYYY
len = 10;
}
utf8lite_render_grow(r, len);
CHECK_ERROR(r);
if (ch <= 0xFFFF) {
r->length += sprintf(&r->string[r->length],
"\\u%04x", (unsigned)ch);
} else if (r->flags & UTF8LITE_ENCODE_JSON) {
hi = UTF8LITE_UTF16_HIGH(ch);
lo = UTF8LITE_UTF16_LOW(ch);
r->length += sprintf(&r->string[r->length],
"\\u%04x\\u%04x", hi, lo);
} else {
r->length += sprintf(&r->string[r->length],
"\\U%08"PRIx32, (uint32_t)ch);
}
style_close(r);
CHECK_ERROR(r);
return 0;
}
static int utf8lite_escape_ascii(struct utf8lite_render *r, int32_t ch)
{
style_open(r);
CHECK_ERROR(r);
// character expansion for a special escape: \uXXXX or \X
utf8lite_render_grow(r, 6);
CHECK_ERROR(r);
if (ch <= 0x1F || ch == 0x7F) {
switch (ch) {
case '\a':
if (r->flags & UTF8LITE_ENCODE_JSON) {
r->length += sprintf(&r->string[r->length],
"\\u%04x", (unsigned)ch);
} else {
r->string[r->length++] = '\\';
r->string[r->length++] = 'a';
r->string[r->length] = '\0';
}
break;
case '\b':
r->string[r->length++] = '\\';
r->string[r->length++] = 'b';
r->string[r->length] = '\0';
break;
case '\f':
r->string[r->length++] = '\\';
r->string[r->length++] = 'f';
r->string[r->length] = '\0';
break;
case '\n':
r->string[r->length++] = '\\';
r->string[r->length++] = 'n';
r->string[r->length] = '\0';
break;
case '\r':
r->string[r->length++] = '\\';
r->string[r->length++] = 'r';
r->string[r->length] = '\0';
break;
case '\t':
r->string[r->length++] = '\\';
r->string[r->length++] = 't';
r->string[r->length] = '\0';
break;
case '\v':
if (r->flags & UTF8LITE_ENCODE_JSON) {
r->length += sprintf(&r->string[r->length],
"\\u%04x", (unsigned)ch);
} else {
r->string[r->length++] = '\\';
r->string[r->length++] = 'v';
r->string[r->length] = '\0';
}
break;
default:
r->length += sprintf(&r->string[r->length],
"\\u%04x", (unsigned)ch);
break;
}
style_close(r);
CHECK_ERROR(r);
} else {
r->string[r->length++] = '\\';
r->string[r->length] = '\0';
style_close(r);
CHECK_ERROR(r);
utf8lite_render_grow(r, 1);
CHECK_ERROR(r);
r->string[r->length++] = (char)ch;
r->string[r->length] = '\0';
}
return 0;
}
static int utf8lite_render_ascii(struct utf8lite_render *r, int32_t ch)
{
if ((ch <= 0x1F || ch == 0x7F)
&& (r->flags & UTF8LITE_ESCAPE_CONTROL)) {
return utf8lite_escape_ascii(r, ch);
}
switch (ch) {
case '\"':
if (r->flags & UTF8LITE_ESCAPE_DQUOTE) {
return utf8lite_escape_ascii(r, ch);
}
break;
case '\'':
if (r->flags & UTF8LITE_ESCAPE_SQUOTE) {
return utf8lite_escape_ascii(r, ch);
}
break;
case '\\':
if (r->flags & (UTF8LITE_ESCAPE_CONTROL
| UTF8LITE_ESCAPE_DQUOTE
| UTF8LITE_ESCAPE_SQUOTE
| UTF8LITE_ESCAPE_EXTENDED
| UTF8LITE_ESCAPE_UTF8)) {
return utf8lite_escape_ascii(r, ch);
}
break;
default:
break;
}
utf8lite_render_grow(r, 1);
CHECK_ERROR(r);
r->string[r->length++] = (char)ch;
r->string[r->length] = '\0';
return 0;
}
int utf8lite_render_code(struct utf8lite_render *r, int32_t ch, int *attrptr)
{
char *end;
uint8_t *uend;
int type;
CHECK_ERROR(r);
maybe_indent(r);
CHECK_ERROR(r);
// maximum character expansion: \uXXXX\uXXXX
utf8lite_render_grow(r, 12);
CHECK_ERROR(r);
end = r->string + r->length;
if (UTF8LITE_IS_ASCII(ch)) {
return utf8lite_render_ascii(r, ch);
} else if (r->flags & UTF8LITE_ESCAPE_UTF8) {
return utf8lite_escape_utf8(r, ch);
}
if (ch > 0xFFFF) {
if (r->flags & UTF8LITE_ESCAPE_EXTENDED) {
return utf8lite_escape_utf8(r, ch);
} else {
*attrptr |= CODE_EXTENDED;
}
}
*attrptr |= CODE_UTF8;
type = utf8lite_charwidth(ch);
switch (type) {
case UTF8LITE_CHARWIDTH_NONE:
if (r->flags & UTF8LITE_ESCAPE_CONTROL) {
return utf8lite_escape_utf8(r, ch);
}
break;
case UTF8LITE_CHARWIDTH_IGNORABLE:
if ((r->flags & UTF8LITE_ENCODE_RMDI)
&& (!(*attrptr & CODE_EMOJI))) {
return 0;
}
break;
case UTF8LITE_CHARWIDTH_EMOJI:
*attrptr |= CODE_EMOJI;
break;
default:
break;
}
uend = (uint8_t *)end;
utf8lite_encode_utf8(ch, &uend);
*uend = '\0';
r->length += UTF8LITE_UTF8_ENCODE_LEN(ch);
return 0;
}
int utf8lite_render_char(struct utf8lite_render *r, int32_t ch)
{
uint8_t buf[5];
uint8_t *ptr = buf;
// decode to string, then render. 'render_string' handles
// escaping, removing default ignorables, etc. if necessary
utf8lite_encode_utf8(ch, &ptr);
*ptr = '\0';
return utf8lite_render_string(r, (const char *)buf);
}
int utf8lite_render_chars(struct utf8lite_render *r, int32_t ch, int nchar)
{
CHECK_ERROR(r);
while (nchar-- > 0) {
utf8lite_render_char(r, ch);
CHECK_ERROR(r);
}
return 0;
}
int utf8lite_render_string(struct utf8lite_render *r, const char *str)
{
struct utf8lite_text text;
const uint8_t *ptr;
size_t len;
CHECK_ERROR(r);
ptr = (const uint8_t *)str;
len = strlen(str);
r->error = utf8lite_text_assign(&text, ptr, len, 0, NULL);
CHECK_ERROR(r);
return utf8lite_render_text(r, &text);
}
int utf8lite_render_printf(struct utf8lite_render *r, const char *format, ...)
{
char *buffer;
va_list ap, ap2;
int len;
CHECK_ERROR(r);
va_start(ap, format);
va_copy(ap2, ap);
len = vsnprintf(NULL, 0, format, ap);
if (len < 0) {
// printf formatting error
r->error = UTF8LITE_ERROR_OS;
goto exit;
}
if (!(buffer = malloc((size_t)len + 1))) {
r->error = UTF8LITE_ERROR_NOMEM;
goto exit;
}
vsprintf(buffer, format, ap2);
utf8lite_render_string(r, buffer);
free(buffer);
exit:
va_end(ap);
va_end(ap2);
return r->error;
}
int utf8lite_render_text(struct utf8lite_render *r,
const struct utf8lite_text *text)
{
struct utf8lite_graphscan scan;
CHECK_ERROR(r);
utf8lite_graphscan_make(&scan, text);
while (utf8lite_graphscan_advance(&scan)) {
utf8lite_render_graph(r, &scan.current);
CHECK_ERROR(r);
}
return 0;
}
int utf8lite_render_graph(struct utf8lite_render *r,
const struct utf8lite_graph *g)
{
struct utf8lite_text_iter it;
int attr = CODE_ASCII;
CHECK_ERROR(r);
utf8lite_text_iter_make(&it, &g->text);
while (utf8lite_text_iter_advance(&it)) {
utf8lite_render_code(r, it.current, &attr);
CHECK_ERROR(r);
}
if (attr & CODE_EMOJI && (r->flags & UTF8LITE_ENCODE_EMOJIZWSP)) {
utf8lite_render_raw(r, "\xE2\x80\x8B", 3); // U+200B, ZWSP
CHECK_ERROR(r);
}
return 0;
}
int utf8lite_render_raw(struct utf8lite_render *r, const char *bytes,
size_t size)
{
if (size > INT_MAX) {
r->error = UTF8LITE_ERROR_OVERFLOW;
return r->error;
}
utf8lite_render_grow(r, (int)size);
CHECK_ERROR(r);
memcpy(r->string + r->length, bytes, size);
r->length += (int)size;
r->string[r->length] = '\0';
return 0;
}
utf8/src/utf8lite/src/error.c 0000644 0001762 0000144 00000002460 13301551651 015561 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include
#include
#include
#include "utf8lite.h"
void utf8lite_message_clear(struct utf8lite_message *msg)
{
if (msg) {
msg->string[0] = '\0';
}
}
void utf8lite_message_set(struct utf8lite_message *msg,
const char *fmt, ...)
{
va_list ap;
if (msg) {
va_start(ap, fmt);
vsnprintf(msg->string, sizeof(msg->string), fmt, ap);
va_end(ap);
}
}
void utf8lite_message_append(struct utf8lite_message *msg,
const char *fmt, ...)
{
size_t n, nmax;
va_list ap;
if (msg) {
nmax = sizeof(msg->string);
n = strlen(msg->string);
assert(n <= nmax);
va_start(ap, fmt);
vsnprintf(msg->string + n, nmax - n, fmt, ap);
va_end(ap);
}
}
utf8/src/utf8lite/src/graph.c 0000644 0001762 0000144 00000011240 13301551651 015525 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include "utf8lite.h"
/*
width
graph Ambiguous Emoji Ignorable Narrow Mark None Wide
Control 0 0 3809 0 0 2116 0
CR 0 0 0 0 0 1 0
EBase 0 98 0 0 0 0 0
EBaseGAZ 0 4 0 0 0 0 0
EModifier 0 5 0 0 0 0 0
Extend 0 0 359 26 1514 0 2
GlueAfterZWJ 2 20 0 0 0 0 0
L 0 0 1 0 0 0 124
LF 0 0 0 0 0 1 0
LV 0 0 0 0 0 0 399
LVT 0 0 0 0 0 0 10773
Other 882 996 2 21606 0 971540 99206
Prepend 0 0 0 9 10 0 0
RegionalIndicator 0 26 0 0 0 0 0
SpacingMark 0 0 0 348 0 0 0
T 0 0 0 137 0 0 0
V 0 0 1 94 0 0 0
ZWJ 0 0 1 0 0 0 0
*/
static int ascii_width(int32_t ch, int flags);
static int utf8_escape_width(int32_t ch, int flags);
static int utf8_width(int32_t ch, int cw, int flags);
int utf8lite_graph_measure(const struct utf8lite_graph *g,
int flags, int *widthptr)
{
struct utf8lite_text_iter it;
int32_t ch;
int err = 0, cw, w, width;
width = 0;
utf8lite_text_iter_make(&it, &g->text);
while (utf8lite_text_iter_advance(&it)) {
ch = it.current;
if (ch <= 0x7F) {
w = ascii_width(ch, flags);
} else if (flags & UTF8LITE_ESCAPE_UTF8) {
w = utf8_escape_width(ch, flags);
} else if ((flags & UTF8LITE_ESCAPE_EXTENDED)
&& (ch > 0xFFFF)) {
w = utf8_escape_width(ch, flags);
} else {
cw = utf8lite_charwidth(ch);
if (cw == UTF8LITE_CHARWIDTH_EMOJI) {
width = 2;
goto exit;
}
w = utf8_width(ch, cw, flags);
}
if (w < 0) {
width = w;
goto exit;
} else if (w > INT_MAX - width) {
width = -1;
err = UTF8LITE_ERROR_OVERFLOW;
goto exit;
} else {
width += w;
}
}
exit:
if (widthptr) {
*widthptr = width;
}
return err;
}
int ascii_width(int32_t ch, int flags)
{
// handle control characters
if (ch <= 0x1F || ch == 0x7F) {
if (!(flags & UTF8LITE_ESCAPE_CONTROL)) {
return -1;
}
switch (ch) {
case '\a':
case '\v':
// \u0007, \u000b (JSON) : \a, \b (C)
return (flags & UTF8LITE_ENCODE_JSON) ? 6 : 2;
case '\b':
case '\f':
case '\n':
case '\r':
case '\t':
return 2;
default:
return 6; // \uXXXX
}
}
// handle printable characters
switch (ch) {
case '\"':
return (flags & UTF8LITE_ESCAPE_DQUOTE) ? 2 : 1;
case '\'':
return (flags & UTF8LITE_ESCAPE_SQUOTE) ? 2 : 1;
case '\\':
if (flags & (UTF8LITE_ESCAPE_CONTROL
| UTF8LITE_ESCAPE_DQUOTE
| UTF8LITE_ESCAPE_SQUOTE
| UTF8LITE_ESCAPE_EXTENDED
| UTF8LITE_ESCAPE_UTF8)) {
return 2;
} else {
return 1;
}
default:
return 1;
}
}
int utf8_width(int32_t ch, int cw, int flags)
{
int w = -1;
switch ((enum utf8lite_charwidth_type)cw) {
case UTF8LITE_CHARWIDTH_NONE:
if (flags & UTF8LITE_ESCAPE_CONTROL) {
w = utf8_escape_width(ch, flags);
} else {
w = -1;
}
break;
case UTF8LITE_CHARWIDTH_IGNORABLE:
case UTF8LITE_CHARWIDTH_MARK:
w = 0;
break;
case UTF8LITE_CHARWIDTH_NARROW:
w = 1;
break;
case UTF8LITE_CHARWIDTH_AMBIGUOUS:
w = (flags & UTF8LITE_ENCODE_AMBIGWIDE) ? 2 : 1;
break;
case UTF8LITE_CHARWIDTH_WIDE:
case UTF8LITE_CHARWIDTH_EMOJI:
w = 2;
break;
}
return w;
}
int utf8_escape_width(int32_t ch, int flags)
{
if (ch <= 0xFFFF) {
return 6;
} else if (flags & UTF8LITE_ENCODE_JSON) {
return 12;
} else {
return 10;
}
}
utf8/src/utf8lite/src/escape.c 0000644 0001762 0000144 00000010513 13301551651 015666 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include "utf8lite.h"
/* http://stackoverflow.com/a/11986885 */
#define hextoi(ch) ((ch > '9') ? (ch &~ 0x20) - 'A' + 10 : (ch - '0'))
int utf8lite_scan_escape(const uint8_t **bufptr, const uint8_t *end,
struct utf8lite_message *msg)
{
const uint8_t *input = *bufptr;
const uint8_t *ptr = input;
uint_fast8_t ch;
int err;
if (ptr == end) {
goto error_incomplete;
}
ch = *ptr++;
switch (ch) {
case '"':
case '\\':
case '/':
case 'b':
case 'f':
case 'n':
case 'r':
case 't':
break;
case 'u':
if ((err = utf8lite_scan_uescape(&ptr, end, msg))) {
goto out;
}
break;
default:
goto error_inval;
}
err = 0;
goto out;
error_incomplete:
err = UTF8LITE_ERROR_INVAL;
utf8lite_message_set(msg, "incomplete escape code (\\)");
goto out;
error_inval:
err = UTF8LITE_ERROR_INVAL;
utf8lite_message_set(msg, "invalid escape code (\\%c)", ch);
goto out;
out:
*bufptr = ptr;
return err;
}
int utf8lite_scan_uescape(const uint8_t **bufptr, const uint8_t *end,
struct utf8lite_message *msg)
{
const uint8_t *input = *bufptr;
const uint8_t *ptr = input;
int32_t code, low;
uint_fast8_t ch;
unsigned i;
int err;
if (ptr + 4 > end) {
goto error_inval_incomplete;
}
code = 0;
for (i = 0; i < 4; i++) {
ch = *ptr++;
if (!isxdigit(ch)) {
goto error_inval_hex;
}
code = (code << 4) + hextoi(ch);
}
if (UTF8LITE_IS_UTF16_HIGH(code)) {
if (ptr + 6 > end || ptr[0] != '\\' || ptr[1] != 'u') {
goto error_inval_nolow;
}
ptr += 2;
input = ptr;
low = 0;
for (i = 0; i < 4; i++) {
ch = *ptr++;
if (!isxdigit(ch)) {
goto error_inval_hex;
}
low = (low << 4) + hextoi(ch);
}
if (!UTF8LITE_IS_UTF16_LOW(low)) {
ptr -= 6;
goto error_inval_low;
}
} else if (UTF8LITE_IS_UTF16_LOW(code)) {
goto error_inval_nohigh;
}
err = 0;
goto out;
error_inval_incomplete:
err = UTF8LITE_ERROR_INVAL;
utf8lite_message_set(msg, "incomplete escape code (\\u%.*s)",
(int)(end - input), input);
goto out;
error_inval_hex:
err = UTF8LITE_ERROR_INVAL;
utf8lite_message_set(msg, "invalid hex value in escape code (\\u%.*s)",
4, input);
goto out;
error_inval_nolow:
err = UTF8LITE_ERROR_INVAL;
utf8lite_message_set(msg, "missing UTF-16 low surrogate"
" after high surrogate escape code (\\u%.*s)",
4, input);
goto out;
error_inval_low:
err = UTF8LITE_ERROR_INVAL;
utf8lite_message_set(msg, "invalid UTF-16 low surrogate (\\u%.*s)"
" after high surrogate escape code (\\u%.*s)",
4, input, 4, input - 6);
goto out;
error_inval_nohigh:
err = UTF8LITE_ERROR_INVAL;
utf8lite_message_set(msg, "missing UTF-16 high surrogate"
" before low surrogate escape code (\\u%.*s)",
4, input);
goto out;
out:
*bufptr = ptr;
return err;
}
void utf8lite_decode_uescape(const uint8_t **inputptr, int32_t *codeptr)
{
const uint8_t *ptr = *inputptr;
int32_t code;
uint_fast16_t low;
uint_fast8_t ch;
unsigned i;
code = 0;
for (i = 0; i < 4; i++) {
ch = *ptr++;
code = (code << 4) + hextoi(ch);
}
if (UTF8LITE_IS_UTF16_HIGH(code)) {
// skip over \u
ptr += 2;
low = 0;
for (i = 0; i < 4; i++) {
ch = *ptr++;
low = (uint_fast16_t)(low << 4) + hextoi(ch);
}
code = UTF8LITE_DECODE_UTF16_PAIR(code, low);
}
*codeptr = code;
*inputptr = ptr;
}
void utf8lite_decode_escape(const uint8_t **inputptr, int32_t *codeptr)
{
const uint8_t *ptr = *inputptr;
int32_t code;
code = *ptr++;
switch (code) {
case 'b':
code = '\b';
break;
case 'f':
code = '\f';
break;
case 'n':
code = '\n';
break;
case 'r':
code = '\r';
break;
case 't':
code = '\t';
break;
case 'u':
*inputptr = ptr;
utf8lite_decode_uescape(inputptr, codeptr);
return;
default:
break;
}
*inputptr = ptr;
*codeptr = code;
}
utf8/src/utf8lite/src/encode.c 0000644 0001762 0000144 00000015067 13301551651 015674 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include "utf8lite.h"
/*
Source:
http://www.unicode.org/versions/Unicode7.0.0/UnicodeStandard-7.0.pdf
page 124, 3.9 "Unicode Encoding Forms", "UTF-8"
Table 3-7. Well-Formed UTF-8 Byte Sequences
-----------------------------------------------------------------------------
| Code Points | First Byte | Second Byte | Third Byte | Fourth Byte |
| U+0000..U+007F | 00..7F | | | |
| U+0080..U+07FF | C2..DF | 80..BF | | |
| U+0800..U+0FFF | E0 | A0..BF | 80..BF | |
| U+1000..U+CFFF | E1..EC | 80..BF | 80..BF | |
| U+D000..U+D7FF | ED | 80..9F | 80..BF | |
| U+E000..U+FFFF | EE..EF | 80..BF | 80..BF | |
| U+10000..U+3FFFF | F0 | 90..BF | 80..BF | 80..BF |
| U+40000..U+FFFFF | F1..F3 | 80..BF | 80..BF | 80..BF |
| U+100000..U+10FFFF | F4 | 80..8F | 80..BF | 80..BF |
-----------------------------------------------------------------------------
(table taken from https://github.com/JulienPalard/is_utf8 )
*/
int utf8lite_scan_utf8(const uint8_t **bufptr, const uint8_t *end,
struct utf8lite_message *msg)
{
const uint8_t *ptr = *bufptr;
uint_fast8_t ch, ch1;
unsigned nc;
int err;
assert(ptr < end);
/* First byte
* ----------
*
* 1-byte sequence:
* 00: 0000 0000
* 7F: 0111 1111
* (ch1 & 0x80 == 0)
*
* Invalid:
* 80: 1000 0000
* BF: 1011 1111
* C0: 1100 0000
* C1: 1100 0001
* (ch & 0xF0 == 0x80 || ch == 0xC0 || ch == 0xC1)
*
* 2-byte sequence:
* C2: 1100 0010
* DF: 1101 1111
* (ch & 0xE0 == 0xC0 && ch > 0xC1)
*
* 3-byte sequence
* E0: 1110 0000
* EF: 1110 1111
* (ch & 0xF0 == E0)
*
* 4-byte sequence:
* F0: 1111 0000
* F4: 1111 0100
* (ch & 0xFC == 0xF0 || ch == 0xF4)
*/
ch1 = *ptr++;
if ((ch1 & 0x80) == 0) {
goto success;
} else if ((ch1 & 0xC0) == 0x80) {
goto inval_lead;
} else if ((ch1 & 0xE0) == 0xC0) {
if (ch1 == 0xC0 || ch1 == 0xC1) {
goto inval_lead;
}
nc = 1;
} else if ((ch1 & 0xF0) == 0xE0) {
nc = 2;
} else if ((ch1 & 0xFC) == 0xF0 || ch1 == 0xF4) {
nc = 3;
} else {
// expecting bytes in the following ranges: 00..7F C2..F4
goto inval_lead;
}
// ensure string is long enough
if (ptr + nc > end) {
// expecting another continuation byte
goto inval_incomplete;
}
/* First Continuation byte
* -----------
* X + 80..BF:
* 80: 1000 0000
* BF: 1011 1111
* (ch & 0xC0 == 0x80)
*
* E0 + A0..BF:
* A0: 1010 0000
* BF: 1011 1111
* (ch & 0xE0 == 0xA0)
*
* ED + 80..9F:
* 80: 1000 0000
* 9F: 1001 1111
* (ch & 0xE0 == 0x80)
*
* F0 + 90..BF:
* 90: 1001 0000
* BF: 1011 1111
* (ch & 0xF0 == 0x90 || ch & 0xE0 == A0)
*
*/
// validate the first continuation byte
ch = *ptr++;
switch (ch1) {
case 0xE0:
if ((ch & 0xE0) != 0xA0) {
// expecting a byte between A0 and BF
goto inval_cont;
}
break;
case 0xED:
if ((ch & 0xE0) != 0x80) {
// expecting a byte between A0 and 9F
goto inval_cont;
}
break;
case 0xF0:
if ((ch & 0xE0) != 0xA0 && (ch & 0xF0) != 0x90) {
// expecting a byte between 90 and BF
goto inval_cont;
}
break;
case 0xF4:
if ((ch & 0xF0) != 0x80) {
// expecting a byte between 80 and 8F
goto inval_cont;
}
default:
if ((ch & 0xC0) != 0x80) {
// expecting a byte between 80 and BF
goto inval_cont;
}
break;
}
nc--;
// validate the trailing continuation bytes
while (nc-- > 0) {
ch = *ptr++;
if ((ch & 0xC0) != 0x80) {
// expecting a byte between 80 and BF
goto inval_cont;
}
}
success:
err = 0;
goto out;
inval_incomplete:
utf8lite_message_set(msg, "not enough continuation bytes"
" after leading byte (0x%02X)",
(unsigned)ch1);
goto error;
inval_lead:
utf8lite_message_set(msg, "invalid leading byte (0x%02X)",
(unsigned)ch1);
goto error;
inval_cont:
utf8lite_message_set(msg, "leading byte 0x%02X followed by"
" invalid continuation byte (0x%02X)",
(unsigned)ch1, (unsigned)ch);
goto error;
error:
ptr--;
err = UTF8LITE_ERROR_INVAL;
out:
*bufptr = ptr;
return err;
}
void utf8lite_decode_utf8(const uint8_t **bufptr, int32_t *codeptr)
{
const uint8_t *ptr = *bufptr;
int32_t code;
uint_fast8_t ch;
unsigned nc;
ch = *ptr++;
if (!(ch & 0x80)) {
code = ch;
nc = 0;
} else if (!(ch & 0x20)) {
code = ch & 0x1F;
nc = 1;
} else if (!(ch & 0x10)) {
code = ch & 0x0F;
nc = 2;
} else {
code = ch & 0x07;
nc = 3;
}
while (nc-- > 0) {
ch = *ptr++;
code = (code << 6) + (ch & 0x3F);
}
*bufptr = ptr;
*codeptr = code;
}
// http://www.fileformat.info/info/unicode/utf8.htm
void utf8lite_encode_utf8(int32_t code, uint8_t **bufptr)
{
uint8_t *ptr = *bufptr;
int32_t x = code;
if (x <= 0x7F) {
*ptr++ = (uint8_t)x;
} else if (x <= 0x07FF) {
*ptr++ = (uint8_t)(0xC0 | (x >> 6));
*ptr++ = (uint8_t)(0x80 | (x & 0x3F));
} else if (x <= 0xFFFF) {
*ptr++ = (uint8_t)(0xE0 | (x >> 12));
*ptr++ = (uint8_t)(0x80 | ((x >> 6) & 0x3F));
*ptr++ = (uint8_t)(0x80 | (x & 0x3F));
} else {
*ptr++ = (uint8_t)(0xF0 | (x >> 18));
*ptr++ = (uint8_t)(0x80 | ((x >> 12) & 0x3F));
*ptr++ = (uint8_t)(0x80 | ((x >> 6) & 0x3F));
*ptr++ = (uint8_t)(0x80 | (x & 0x3F));
}
*bufptr = ptr;
}
void utf8lite_rencode_utf8(int32_t code, uint8_t **bufptr)
{
uint8_t *ptr = *bufptr;
int32_t x = code;
if (x <= 0x7F) {
*--ptr = (uint8_t)x;
} else if (x <= 0x07FF) {
*--ptr = (uint8_t)(0x80 | (x & 0x3F));
*--ptr = (uint8_t)(0xC0 | (x >> 6));
} else if (x <= 0xFFFF) {
*--ptr = (uint8_t)(0x80 | (x & 0x3F));
*--ptr = (uint8_t)(0x80 | ((x >> 6) & 0x3F));
*--ptr = (uint8_t)(0xE0 | (x >> 12));
} else {
*--ptr = (uint8_t)(0x80 | (x & 0x3F));
*--ptr = (uint8_t)(0x80 | ((x >> 6) & 0x3F));
*--ptr = (uint8_t)(0x80 | ((x >> 12) & 0x3F));
*--ptr = (uint8_t)(0xF0 | (x >> 18));
}
*bufptr = ptr;
}
utf8/src/utf8lite/src/textiter.c 0000644 0001762 0000144 00000011732 13301551651 016302 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include "utf8lite.h"
/* http://stackoverflow.com/a/11986885 */
#define hextoi(ch) ((ch > '9') ? (ch &~ 0x20) - 'A' + 10 : (ch - '0'))
static void iter_retreat_escaped(struct utf8lite_text_iter *it,
const uint8_t *begin);
static void iter_retreat_raw(struct utf8lite_text_iter *it);
void utf8lite_text_iter_make(struct utf8lite_text_iter *it,
const struct utf8lite_text *text)
{
it->ptr = text->ptr;
it->end = it->ptr + UTF8LITE_TEXT_SIZE(text);
it->text_attr = text->attr;
it->current = UTF8LITE_CODE_NONE;
}
int utf8lite_text_iter_advance(struct utf8lite_text_iter *it)
{
const uint8_t *ptr = it->ptr;
size_t text_attr = it->text_attr;
int32_t code;
if (it->ptr == it->end) {
goto at_end;
}
code = *ptr++;
if (code == '\\' && (text_attr & UTF8LITE_TEXT_ESC_BIT)) {
utf8lite_decode_escape(&ptr, &code);
} else if (code >= 0x80) {
ptr--;
utf8lite_decode_utf8(&ptr, &code);
}
it->ptr = ptr;
it->current = code;
return 1;
at_end:
it->current = UTF8LITE_CODE_NONE;
return 0;
}
void utf8lite_text_iter_skip(struct utf8lite_text_iter *it)
{
it->ptr = it->end;
it->current = UTF8LITE_CODE_NONE;
}
int utf8lite_text_iter_retreat(struct utf8lite_text_iter *it)
{
const size_t size = (it->text_attr & UTF8LITE_TEXT_SIZE_MASK);
const uint8_t *begin = it->end - size;
const uint8_t *ptr = it->ptr;
const uint8_t *end = it->end;
int32_t code = it->current;
if (ptr == begin) {
return 0;
}
if (it->text_attr & UTF8LITE_TEXT_ESC_BIT) {
iter_retreat_escaped(it, begin);
} else {
iter_retreat_raw(it);
}
// we were at the end of the text
if (code == UTF8LITE_CODE_NONE) {
it->ptr = end;
return 1;
}
// at this point, it->code == code, and it->ptr is the code start
ptr = it->ptr;
if (ptr == begin) {
it->current = UTF8LITE_CODE_NONE;
return 0;
}
// read the previous code
if (it->text_attr & UTF8LITE_TEXT_ESC_BIT) {
iter_retreat_escaped(it, begin);
} else {
iter_retreat_raw(it);
}
// now, it->code is the previous code, and it->ptr is the start
// of the previous code
// set the pointer to the end of the previous code
it->ptr = ptr;
return 1;
}
void utf8lite_text_iter_reset(struct utf8lite_text_iter *it)
{
const size_t size = (it->text_attr & UTF8LITE_TEXT_SIZE_MASK);
const uint8_t *begin = it->end - size;
it->ptr = begin;
it->current = UTF8LITE_CODE_NONE;
}
void iter_retreat_raw(struct utf8lite_text_iter *it)
{
const uint8_t *ptr = it->ptr;
int32_t code;
code = *(--ptr);
if (code < 0x80) {
it->ptr = (uint8_t *)ptr;
it->current = code;
} else {
// skip over continuation bytes
do {
ptr--;
} while (*ptr < 0xC0);
it->ptr = (uint8_t *)ptr;
utf8lite_decode_utf8(&ptr, &it->current);
}
}
// we are at an escape if we are preceded by an odd number of
// backslash (\) characters
static int at_escape(const uint8_t *begin, const uint8_t *ptr)
{
int at = 0;
uint_fast8_t prev;
while (begin < ptr) {
prev = *(--ptr);
if (prev != '\\') {
goto out;
}
at = !at;
}
out:
return at;
}
void iter_retreat_escaped(struct utf8lite_text_iter *it, const uint8_t *begin)
{
const uint8_t *ptr = it->ptr;
int32_t code, unesc, hi;
int i;
code = *(--ptr);
// check for 2-byte escape
switch (code) {
case '"':
case '\\':
case '/':
unesc = code;
break;
case 'b':
unesc = '\b';
break;
case 'f':
unesc = '\f';
break;
case 'n':
unesc = '\n';
break;
case 'r':
unesc = '\r';
break;
case 't':
unesc = '\t';
break;
default:
unesc = 0;
break;
}
if (unesc) {
if (at_escape(begin, ptr)) {
ptr--;
code = unesc;
}
goto out;
}
// check for 6-byte escape
if (isxdigit((int)code)) {
if (!(begin + 4 < ptr && ptr[-4] == 'u'
&& at_escape(begin, ptr - 4))) {
goto out;
}
code = 0;
for (i = 0; i < 4; i++) {
code = (code << 4) + hextoi(ptr[i - 3]);
}
ptr -= 5;
if (UTF8LITE_IS_UTF16_LOW(code)) {
hi = 0;
for (i = 0; i < 4; i++) {
hi = (hi << 4) + hextoi(ptr[i - 4]);
}
code = UTF8LITE_DECODE_UTF16_PAIR(hi, code);
ptr -= 6;
}
goto out;
}
// check for ascii
if (code < 0x80) {
goto out;
}
// if we got here, then code is a continuation byte
// skip over preceding continuation bytes
do {
ptr--;
} while (*ptr < 0xC0);
// decode the utf-8 value
it->ptr = (uint8_t *)ptr;
utf8lite_decode_utf8(&ptr, &it->current);
return;
out:
it->ptr = (uint8_t *)ptr;
it->current = code;
}
utf8/src/utf8lite/src/array.c 0000644 0001762 0000144 00000007510 13301551651 015547 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include
#include
#include
#include
#include "utf8lite.h"
#include "private/array.h"
/* Default initial size for nonempty dynamic arrays. Must be positive. */
#define UTF8LITE_ARRAY_SIZE_INIT 32
/* Growth factor for dynamic arrays. Must be greater than 1.
*
* https://en.wikipedia.org/wiki/Dynamic_array#Growth_factor
*/
#define UTF8LITE_ARRAY_GROW 1.618 /* Golden Ratio, (1 + sqrt(5)) / 2 */
int utf8lite_bigarray_size_add(size_t *sizeptr, size_t width, size_t count,
size_t nadd)
{
size_t size = *sizeptr;
size_t size_min;
int err;
double n1;
if (width == 0) {
return 0;
}
if (count > (SIZE_MAX - nadd) / width) {
err = UTF8LITE_ERROR_OVERFLOW;
//utf8lite_log(err, "array size (%"PRIu64" + %"PRIu64
// " elements of %"PRIu64" bytes each)"
// " exceeds maximum (%"PRIu64" elements)",
// (uint64_t)count, (uint64_t)nadd,
// (uint64_t)width, (uint64_t)SIZE_MAX);
return err;
}
size_min = count + nadd;
if (size >= size_min) {
return 0;
}
assert(UTF8LITE_ARRAY_SIZE_INIT > 0);
assert(UTF8LITE_ARRAY_GROW > 1);
if (size < UTF8LITE_ARRAY_SIZE_INIT && size_min > 0) {
size = UTF8LITE_ARRAY_SIZE_INIT;
}
while (size < size_min) {
n1 = UTF8LITE_ARRAY_GROW * size;
if (n1 > SIZE_MAX / width) {
size = SIZE_MAX / width;
} else {
size = (size_t)n1;
}
}
*sizeptr = size;
return 0;
}
int utf8lite_array_size_add(int *sizeptr, size_t width, int count, int nadd)
{
size_t size, size_min, size_max;
int err;
assert(*sizeptr >= 0);
assert(count >= 0);
assert(nadd >= 0);
if (width == 0) {
return 0;
}
size = (size_t)*sizeptr;
if ((err = utf8lite_bigarray_size_add(&size, width, (size_t)count,
(size_t)nadd))) {
return err;
}
size_max = (size_t)INT_MAX / width;
if (size > size_max) {
size = size_max;
size_min = (size_t)count + (size_t)nadd;
if (size < size_min) {
err = UTF8LITE_ERROR_OVERFLOW;
//utf8lite_log(err, "array size (%"PRIu64
// " elements of %"PRIu64" bytes each)"
// " exceeds maximum (%"PRIu64" elements)",
// (uint64_t)size_min, (uint64_t)width,
// (uint64_t)size_max);
return err;
}
}
*sizeptr = (int)size;
return 0;
}
int utf8lite_array_grow(void **baseptr, int *sizeptr, size_t width, int count,
int nadd)
{
void *base = *baseptr;
int size = *sizeptr;
int err;
assert(0 <= count);
assert(count <= size);
assert(width > 0);
if (nadd <= size - count) {
return 0;
}
if ((err = utf8lite_array_size_add(&size, width, count, nadd))) {
return err;
}
if (!(base = realloc(base, ((size_t)size) * width))) {
err = UTF8LITE_ERROR_NOMEM;
return err;
}
*baseptr = base;
*sizeptr = size;
return 0;
}
int utf8lite_bigarray_grow(void **baseptr, size_t *sizeptr, size_t width,
size_t count, size_t nadd)
{
void *base = *baseptr;
size_t size = *sizeptr;
int err;
assert(count <= size);
assert(width > 0);
if (nadd <= size - count) {
return 0;
}
if ((err = utf8lite_bigarray_size_add(&size, width, count, nadd))) {
return err;
}
if (!(base = realloc(base, size * width))) {
err = UTF8LITE_ERROR_NOMEM;
//utf8lite_log(err, "failed allocating array");
return err;
}
*baseptr = base;
*sizeptr = size;
return 0;
}
utf8/src/utf8lite/src/textmap.c 0000644 0001762 0000144 00000012745 13301551651 016121 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include
#include
#include
#include
#include
#include "utf8lite.h"
static void utf8lite_textmap_clear_type(struct utf8lite_textmap *map);
static int utf8lite_textmap_set_type(struct utf8lite_textmap *map, int type);
static int utf8lite_textmap_reserve(struct utf8lite_textmap *map, size_t size);
static int utf8lite_textmap_set_ascii(struct utf8lite_textmap *map,
const struct utf8lite_text *text);
static int utf8lite_textmap_set_utf32(struct utf8lite_textmap *map,
const int32_t *ptr,
const int32_t *end);
int utf8lite_textmap_init(struct utf8lite_textmap *map, int type)
{
int err;
map->text.ptr = NULL;
map->text.attr = 0;
map->codes = NULL;
map->size_max = 0;
utf8lite_textmap_clear_type(map);
err = utf8lite_textmap_set_type(map, type);
return err;
}
void utf8lite_textmap_destroy(struct utf8lite_textmap *map)
{
free(map->codes);
free(map->text.ptr);
}
void utf8lite_textmap_clear_type(struct utf8lite_textmap *map)
{
uint_fast8_t ch;
map->charmap_type = UTF8LITE_DECOMP_NORMAL | UTF8LITE_CASEFOLD_NONE;
for (ch = 0; ch < 0x80; ch++) {
map->ascii_map[ch] = (int8_t)ch;
}
map->type = 0;
}
int utf8lite_textmap_set_type(struct utf8lite_textmap *map, int type)
{
int_fast8_t ch;
if (map->type == type) {
return 0;
}
utf8lite_textmap_clear_type(map);
if (type & UTF8LITE_TEXTMAP_CASE) {
for (ch = 'A'; ch <= 'Z'; ch++) {
map->ascii_map[ch] = ch + ('a' - 'A');
}
map->charmap_type |= UTF8LITE_CASEFOLD_ALL;
}
if (type & UTF8LITE_TEXTMAP_COMPAT) {
map->charmap_type = UTF8LITE_DECOMP_ALL;
}
map->type = type;
return 0;
}
int utf8lite_textmap_reserve(struct utf8lite_textmap *map, size_t size)
{
uint8_t *ptr = map->text.ptr;
int32_t *codes = map->codes;
if (map->size_max >= size) {
return 0;
}
if (!(ptr = realloc(ptr, size))) {
return UTF8LITE_ERROR_NOMEM;
}
map->text.ptr = ptr;
if (size > SIZE_MAX / UTF8LITE_UNICODE_DECOMP_MAX) {
return UTF8LITE_ERROR_OVERFLOW;
}
if (!(codes = realloc(codes, size * UTF8LITE_UNICODE_DECOMP_MAX))) {
return UTF8LITE_ERROR_NOMEM;
}
map->codes = codes;
map->size_max = size;
return 0;
}
int utf8lite_textmap_set(struct utf8lite_textmap *map,
const struct utf8lite_text *text)
{
struct utf8lite_text_iter it;
size_t size = UTF8LITE_TEXT_SIZE(text);
int32_t *dst;
int err;
if (utf8lite_text_isascii(text)) {
return utf8lite_textmap_set_ascii(map, text);
}
// For most inputs, mapping to type reduces or preserves the size.
// However, for U+0390 and U+03B0, case folding triples the size.
// (You can verify this with util/compute-typelen.py)
//
// Add one for a trailing NUL.
if (size > ((SIZE_MAX - 1) / 3)) {
err = UTF8LITE_ERROR_OVERFLOW;
goto out;
}
if ((err = utf8lite_textmap_reserve(map, 3 * size + 1))) {
goto out;
}
dst = map->codes;
utf8lite_text_iter_make(&it, text);
while (utf8lite_text_iter_advance(&it)) {
utf8lite_map(map->charmap_type, it.current, &dst);
}
size = (size_t)(dst - map->codes);
utf8lite_order(map->codes, size);
utf8lite_compose(map->codes, &size);
if ((err = utf8lite_textmap_set_utf32(map, map->codes,
map->codes + size))) {
goto out;
}
out:
return err;
}
int utf8lite_textmap_set_utf32(struct utf8lite_textmap *map, const int32_t *ptr,
const int32_t *end)
{
int map_quote = map->type & UTF8LITE_TEXTMAP_QUOTE;
int rm_di = map->type & UTF8LITE_TEXTMAP_RMDI;
uint8_t *dst = map->text.ptr;
int32_t code;
int8_t ch;
while (ptr != end) {
code = *ptr++;
if (code <= 0x7F) {
ch = map->ascii_map[code];
if (ch >= 0) {
*dst++ = (uint8_t)ch;
}
continue;
} else {
switch (code) {
case 0x055A: // ARMENIAN APOSTROPHE
case 0x2018: // LEFT SINGLE QUOTATION MARK
case 0x2019: // RIGHT SINGLE QUOTATION MARK
case 0x201B: // SINGLE HIGH-REVERSED-9 QUOTATION MARK
case 0xFF07: // FULLWIDTH APOSTROPHE
if (map_quote) {
code = '\'';
}
break;
default:
if (rm_di && utf8lite_isignorable(code)) {
continue;
}
break;
}
}
utf8lite_encode_utf8(code, &dst);
}
*dst = '\0'; // not necessary, but helps with debugging
map->text.attr = (UTF8LITE_TEXT_SIZE_MASK
& ((size_t)(dst - map->text.ptr)));
return 0;
}
int utf8lite_textmap_set_ascii(struct utf8lite_textmap *map,
const struct utf8lite_text *text)
{
struct utf8lite_text_iter it;
size_t size = UTF8LITE_TEXT_SIZE(text);
int8_t ch;
uint8_t *dst;
int err;
assert(size < SIZE_MAX);
if ((err = utf8lite_textmap_reserve(map, size + 1))) {
goto error;
}
dst = map->text.ptr;
utf8lite_text_iter_make(&it, text);
while (utf8lite_text_iter_advance(&it)) {
ch = map->ascii_map[it.current];
if (ch >= 0) {
*dst++ = (uint8_t)ch;
}
}
*dst = '\0'; // not necessary, but helps with debugging
map->text.attr = (UTF8LITE_TEXT_SIZE_MASK
& ((size_t)(dst - map->text.ptr)));
return 0;
error:
return err;
}
utf8/src/utf8lite/src/textassign.c 0000644 0001762 0000144 00000010324 13301551651 016617 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include
#include
#include
#include "utf8lite.h"
static int assign_esc(struct utf8lite_text *text,
const uint8_t *ptr, size_t size,
struct utf8lite_message *msg);
static void assign_esc_unsafe(struct utf8lite_text *text, const uint8_t *ptr,
size_t size);
static int assign_raw(struct utf8lite_text *text, const uint8_t *ptr,
size_t size, struct utf8lite_message *msg);
static void assign_raw_unsafe(struct utf8lite_text *text, const uint8_t *ptr,
size_t size);
static void append_location(struct utf8lite_message *msg, size_t offset);
int utf8lite_text_assign(struct utf8lite_text *text, const uint8_t *ptr,
size_t size, int flags, struct utf8lite_message *msg)
{
int err = 0;
if (size > UTF8LITE_TEXT_SIZE_MAX) {
err = UTF8LITE_ERROR_OVERFLOW;
utf8lite_message_set(msg, "text size (%"PRIu64" bytes)"
" exceeds maximum (%"PRIu64" bytes)",
(uint64_t)size,
(uint64_t)UTF8LITE_TEXT_SIZE_MAX);
} else if (flags & UTF8LITE_TEXT_UNESCAPE) {
if (flags & UTF8LITE_TEXT_VALID) {
assign_esc_unsafe(text, ptr, size);
} else {
err = assign_esc(text, ptr, size, msg);
}
} else {
if (flags & UTF8LITE_TEXT_VALID) {
assign_raw_unsafe(text, ptr, size);
} else {
err = assign_raw(text, ptr, size, msg);
}
}
if (err) {
text->ptr = NULL;
text->attr = 0;
}
return err;
}
int assign_raw(struct utf8lite_text *text, const uint8_t *ptr, size_t size,
struct utf8lite_message *msg)
{
const uint8_t *input = ptr;
const uint8_t *end = ptr + size;
uint_fast8_t ch;
int err;
text->ptr = (uint8_t *)ptr;
while (ptr != end) {
ch = *ptr++;
if (ch & 0x80) {
ptr--;
if ((err = utf8lite_scan_utf8(&ptr, end, msg))) {
goto error;
}
}
}
text->attr = size;
return 0;
error:
append_location(msg, (size_t)(ptr - input));
text->ptr = NULL;
text->attr = 0;
return err;
}
int assign_esc(struct utf8lite_text *text, const uint8_t *ptr, size_t size,
struct utf8lite_message *msg)
{
const uint8_t *input = ptr;
const uint8_t *start;
const uint8_t *end = ptr + size;
size_t attr = 0;
int32_t code;
uint_fast8_t ch;
int err;
text->ptr = (uint8_t *)ptr;
while (ptr != end) {
ch = *ptr++;
if (ch == '\\') {
attr |= UTF8LITE_TEXT_ESC_BIT;
start = ptr;
if ((err = utf8lite_scan_escape(&ptr, end, msg))) {
goto error;
}
utf8lite_decode_escape(&start, &code);
} else if (ch & 0x80) {
ptr--;
if ((err = utf8lite_scan_utf8(&ptr, end, msg))) {
goto error;
}
}
}
attr |= size;
text->attr = attr;
return 0;
error:
append_location(msg, (size_t)(ptr - input));
return err;
}
void assign_raw_unsafe(struct utf8lite_text *text, const uint8_t *ptr,
size_t size)
{
const uint8_t *end = ptr + size;
uint_fast8_t ch;
text->ptr = (uint8_t *)ptr;
while (ptr != end) {
ch = *ptr++;
if (ch & 0x80) {
ptr += UTF8LITE_UTF8_TAIL_LEN(ch);
}
}
text->attr = size;
}
void assign_esc_unsafe(struct utf8lite_text *text, const uint8_t *ptr,
size_t size)
{
const uint8_t *end = ptr + size;
size_t attr = 0;
int32_t code;
uint_fast8_t ch;
text->ptr = (uint8_t *)ptr;
while (ptr != end) {
ch = *ptr++;
if (ch == '\\') {
attr |= UTF8LITE_TEXT_ESC_BIT;
ch = *ptr++;
switch (ch) {
case 'u':
utf8lite_decode_uescape(&ptr, &code);
break;
default:
break;
}
} else if (ch & 0x80) {
ptr += UTF8LITE_UTF8_TAIL_LEN(ch);
}
}
attr |= size;
text->attr = attr;
}
void append_location(struct utf8lite_message *msg, size_t offset)
{
utf8lite_message_append(msg, " at position %"PRIu64,
(uint64_t)(offset + 1));
}
utf8/src/utf8lite/src/normalize.c 0000644 0001762 0000144 00000020236 13301551651 016431 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include "private/casefold.h"
#include "private/compose.h"
#include "private/combining.h"
#include "private/decompose.h"
#include "utf8lite.h"
/* From Unicode-8.0 Section 3.12 Conjoining Jamo Behavior */
#define HANGUL_SBASE 0xAC00
#define HANGUL_LBASE 0x1100
#define HANGUL_VBASE 0x1161
#define HANGUL_TBASE 0x11A7
#define HANGUL_LCOUNT 19
#define HANGUL_VCOUNT 21
#define HANGUL_TCOUNT 28
#define HANGUL_NCOUNT (HANGUL_VCOUNT * HANGUL_TCOUNT)
#define HANTUL_SCOUNT (HANGUL_LCOUNT * HANGUL_NCOUNT)
static void hangul_decompose(int32_t code, int32_t **bufp)
{
int32_t *dst = *bufp;
int32_t sindex = code - HANGUL_SBASE;
int32_t lindex = sindex / HANGUL_NCOUNT;
int32_t vindex = (sindex % HANGUL_NCOUNT) / HANGUL_TCOUNT;
int32_t tindex = sindex % HANGUL_TCOUNT;
int32_t lpart = HANGUL_LBASE + lindex;
int32_t vpart = HANGUL_VBASE + vindex;
int32_t tpart = HANGUL_TBASE + tindex;
*dst++ = lpart;
*dst++ = vpart;
if (tindex > 0) {
*dst++ = tpart;
}
*bufp = dst;
}
static int is_hangul_vpart(int32_t code)
{
return (HANGUL_VBASE <= code && code < HANGUL_VBASE + HANGUL_VCOUNT);
}
static int is_hangul_tpart(int32_t code)
{
// strict less-than on lower bound
return (HANGUL_TBASE < code && code < HANGUL_TBASE + HANGUL_TCOUNT);
}
static int32_t hangul_compose_lv(int32_t lpart, int32_t vpart)
{
int32_t lindex = lpart - HANGUL_LBASE;
int32_t vindex = vpart - HANGUL_VBASE;
int32_t lvindex = lindex * HANGUL_NCOUNT + vindex * HANGUL_TCOUNT;
int32_t s = HANGUL_SBASE + lvindex;
return s;
}
static int32_t hangul_compose_lvt(int32_t lvpart, int32_t tpart)
{
int32_t tindex = tpart - HANGUL_TBASE;
int32_t s = lvpart + tindex;
return s;
}
static void casefold(int type, int32_t code, int32_t **bufp)
{
const int32_t block_size = CASEFOLD_BLOCK_SIZE;
unsigned i = casefold_stage1[code / block_size];
struct casefold c = casefold_stage2[i][code % block_size];
unsigned length = c.length;
const int32_t *src;
int32_t *dst;
if (length == 0) {
dst = *bufp;
*dst++ = code;
*bufp = dst;
} else if (length == 1) {
utf8lite_map(type, (int32_t)c.data, bufp);
} else {
src = &casefold_mapping[c.data];
while (length-- > 0) {
utf8lite_map(type, *src, bufp);
src++;
}
}
}
void utf8lite_map(int type, int32_t code, int32_t **bufptr)
{
const int32_t block_size = DECOMPOSITION_BLOCK_SIZE;
unsigned i = decomposition_stage1[code / block_size];
struct decomposition d = decomposition_stage2[i][code % block_size];
unsigned length = d.length;
const int32_t *src;
int32_t *dst;
if (length == 0 || (d.type > 0 && !(type & (1 << (d.type - 1))))) {
if (type & UTF8LITE_CASEFOLD_ALL) {
casefold(type, code, bufptr);
} else {
dst = *bufptr;
*dst++ = code;
*bufptr = dst;
}
} else if (length == 1) {
utf8lite_map(type, d.data, bufptr);
} else if (d.type >= 0) {
src = &decomposition_mapping[d.data];
while (length-- > 0) {
utf8lite_map(type, *src, bufptr);
src++;
}
} else {
hangul_decompose(code, bufptr);
}
}
void utf8lite_order(int32_t *ptr, size_t len)
{
int32_t *end = ptr + len;
int32_t *c_begin, *c_end, *c_tail, *c_ptr;
int32_t code, code_prev;
int32_t cl, cl_prev;
while (ptr != end) {
c_begin = ptr;
code = *ptr++;
cl = combining_class(code);
// skip to the next combining mark
if (cl == 0) {
continue;
}
// It takes 21 bits to encode a codepoint and 8 bits
// to encode c combining class.
// Mark the start of the combining mark sequence (c_begin)
// encode the combining class in bits 22-29.
*c_begin = code | (cl << UTF8LITE_CODE_BITS);
// the combining mark sequence ends at the first starter
// (c_end)
c_end = ptr;
while (c_end != end) {
// until we hit a non-starter, encode the combining
// class in the high 8 bits of the code
code = *ptr++;
cl = combining_class(code);
if (cl == 0) {
break;
}
*c_end = code | (cl << UTF8LITE_CODE_BITS);
c_end++;
}
// sort the combining marks, using insertion sort (stable)
for (c_tail = c_begin + 1; c_tail != c_end; c_tail++) {
c_ptr = c_tail;
code = *c_ptr;
cl = code & (0xFF << UTF8LITE_CODE_BITS);
while (c_ptr != c_begin) {
code_prev = c_ptr[-1];
cl_prev = (code_prev
& (0xFF << UTF8LITE_CODE_BITS));
if (cl_prev <= cl) {
break;
}
// swap with previous item
c_ptr[0] = code_prev;
// move down
c_ptr--;
}
// complete the final swap
*c_ptr = code;
}
// remove the combining mark annotations
while (c_begin != c_end) {
code = *c_begin;
*c_begin = code & (~(0xFF << UTF8LITE_CODE_BITS));
c_begin++;
}
}
}
static int has_compose(int32_t code, int *offsetptr, int *lengthptr)
{
const int32_t block_size = COMPOSITION_BLOCK_SIZE;
unsigned i = composition_stage1[code / block_size];
struct composition c = composition_stage2[i][code % block_size];
int offset = (int)c.offset;
int length = (int)c.length;
*offsetptr = offset;
*lengthptr = length;
return (length > 0 ? 1 : 0);
}
static int code_cmp(const void *x1, const void *x2)
{
int32_t y1 = *(const int32_t *)x1;
int32_t y2 = *(const int32_t *)x2;
if (y1 < y2) {
return -1;
} else if (y1 > y2) {
return +1;
} else {
return 0;
}
}
static int combiner_find(int offset, int length, int32_t code)
{
const int32_t *base = composition_combiner + offset;
const int32_t *ptr;
// handle empty and singleton case
if (length == 0) {
return -1;
} else if (length == 1) {
return (*base == code) ? 0 : -1;
}
// handle general case
ptr = bsearch(&code, base, (size_t)length, sizeof(*base), code_cmp);
if (ptr == NULL) {
return -1;
} else {
return (int)(ptr - base);
}
}
static int has_combiner(int32_t left, int offset, int length, int32_t code,
int32_t *primaryptr)
{
int i;
if (offset < COMPOSITION_HANGUL_LPART) {
i = combiner_find(offset, length, code);
if (i >= 0) {
*primaryptr = composition_primary[offset + i];
return 1;
}
} else if (offset == COMPOSITION_HANGUL_LPART) {
if (is_hangul_vpart(code)) {
*primaryptr = hangul_compose_lv(left, code);
return 1;
}
} else if (offset == COMPOSITION_HANGUL_LVPART) {
if (is_hangul_tpart(code)) {
*primaryptr = hangul_compose_lvt(left, code);
return 1;
}
}
return 0;
}
void utf8lite_compose(int32_t *ptr, size_t *lenptr)
{
size_t len = *lenptr;
int32_t *begin = ptr;
int32_t *end = begin + len;
int32_t *leftptr, *dst;
int32_t left = 0, code, prim;
uint8_t code_ccc, prev_ccc = 0;
int moff = 0, mlen = 0;
int blocked, has_prev, did_del;
did_del = 0;
// find the first combining starter (the left code point, L)
leftptr = begin;
while (leftptr != end) {
left = *leftptr;
if (has_compose(left, &moff, &mlen)) {
break;
}
leftptr++;
}
if (leftptr == end) {
goto out;
}
ptr = leftptr + 1;
has_prev = 0;
while (ptr != end) {
code = *ptr;
code_ccc = combining_class(code);
// determine whether the code is blocked
if (has_prev && prev_ccc >= code_ccc) {
blocked = 1;
} else {
blocked = 0;
}
if (!blocked && has_combiner(left, moff, mlen, code, &prim)) {
// replace L by P
*leftptr = prim;
left = prim;
has_compose(left, &moff, &mlen);
// delete C
*ptr = UTF8LITE_CODE_NONE;
did_del = 1;
} else if (code_ccc == 0) {
// new leftmost combining starter, L
leftptr = ptr;
left = code;
has_compose(left, &moff, &mlen);
has_prev = 0;
} else {
prev_ccc = code_ccc;
has_prev = 1;
}
ptr++;
}
// remove the deleted entries
if (did_del) {
ptr = begin;
dst = begin;
while (ptr != end) {
code = *ptr++;
if (code != UTF8LITE_CODE_NONE) {
*dst++ = code;
}
}
len = (size_t)(dst - begin);
}
out:
*lenptr = len;
}
utf8/src/utf8lite/src/text.c 0000644 0001762 0000144 00000010253 13301551651 015413 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include
#include
#include
#include "utf8lite.h"
int utf8lite_text_init_copy(struct utf8lite_text *text,
const struct utf8lite_text *other)
{
size_t size = UTF8LITE_TEXT_SIZE(other);
size_t attr = other->attr;
if (other->ptr) {
if (!(text->ptr = malloc(size + 1))) {
return UTF8LITE_ERROR_NOMEM;
}
memcpy(text->ptr, other->ptr, size);
text->ptr[size] = '\0';
} else {
text->ptr = NULL;
}
text->attr = attr;
return 0;
}
void utf8lite_text_destroy(struct utf8lite_text *text)
{
free(text->ptr);
}
int utf8lite_text_isascii(const struct utf8lite_text *text)
{
struct utf8lite_text_iter it;
utf8lite_text_iter_make(&it, text);
while (utf8lite_text_iter_advance(&it)) {
if (!UTF8LITE_IS_ASCII(it.current)) {
return 0;
}
}
return 1;
}
// Dan Bernstein's djb2 XOR hash: http://www.cse.yorku.ca/~oz/hash.html
#define HASH_SEED 5381
#define HASH_COMBINE(seed, v) (((hash) << 5) + (hash)) ^ ((size_t)(v))
static size_t hash_raw(const struct utf8lite_text *text)
{
const uint8_t *ptr = text->ptr;
const uint8_t *end = ptr + UTF8LITE_TEXT_SIZE(text);
size_t hash = HASH_SEED;
size_t ch;
while (ptr != end) {
ch = *ptr++;
hash = HASH_COMBINE(hash, ch);
}
return hash;
}
size_t utf8lite_text_hash(const struct utf8lite_text *text)
{
uint8_t buf[4];
const uint8_t *ptr = text->ptr;
const uint8_t *end = ptr + UTF8LITE_TEXT_SIZE(text);
uint8_t *bufptr, *bufend;
size_t hash = HASH_SEED;
int32_t code;
uint_fast8_t ch;
if (!UTF8LITE_TEXT_HAS_ESC(text)) {
return hash_raw(text);
}
while (ptr != end) {
ch = *ptr++;
if (ch == '\\') {
utf8lite_decode_escape(&ptr, &code);
bufptr = buf;
bufend = bufptr;
utf8lite_encode_utf8(code, &bufend);
while (bufptr != bufend) {
ch = *bufptr++;
hash = HASH_COMBINE(hash, ch);
}
} else {
hash = HASH_COMBINE(hash, ch);
}
}
return hash;
}
int utf8lite_text_equals(const struct utf8lite_text *text1,
const struct utf8lite_text *text2)
{
struct utf8lite_text_iter it1, it2;
size_t n;
if (text1->attr == text2->attr) {
// same bits and size
n = UTF8LITE_TEXT_SIZE(text1);
return !memcmp(text1->ptr, text2->ptr, n);
} else if (UTF8LITE_TEXT_BITS(text1) == UTF8LITE_TEXT_BITS(text2)) {
// same bits, different size
return 0;
} else {
// different bits or different size
utf8lite_text_iter_make(&it1, text1);
utf8lite_text_iter_make(&it2, text2);
while (utf8lite_text_iter_advance(&it1)) {
utf8lite_text_iter_advance(&it2);
if (it1.current != it2.current) {
return 0;
}
}
return !utf8lite_text_iter_advance(&it2);
}
}
static int compare_raw(const struct utf8lite_text *text1,
const struct utf8lite_text *text2)
{
size_t n1 = UTF8LITE_TEXT_SIZE(text1);
size_t n2 = UTF8LITE_TEXT_SIZE(text2);
size_t n = (n1 < n2) ? n1 : n2;
int cmp;
cmp = memcmp(text1->ptr, text2->ptr, n);
if (cmp == 0) {
if (n1 < n2) {
cmp = -1;
} else if (n1 == n2) {
cmp = 0;
} else {
cmp = +1;
}
}
return cmp;
}
int utf8lite_text_compare(const struct utf8lite_text *text1,
const struct utf8lite_text *text2)
{
struct utf8lite_text_iter it1, it2;
if (!UTF8LITE_TEXT_HAS_ESC(text1) && !UTF8LITE_TEXT_HAS_ESC(text2)) {
return compare_raw(text1, text2);
}
utf8lite_text_iter_make(&it1, text1);
utf8lite_text_iter_make(&it2, text2);
while (utf8lite_text_iter_advance(&it1)) {
utf8lite_text_iter_advance(&it2);
if (it1.current < it2.current) {
return -1;
} else if (it1.current > it2.current) {
return +1;
}
}
return utf8lite_text_iter_advance(&it2) ? -1 : 0;
}
utf8/src/utf8lite/LICENSE.Unicode 0000644 0001762 0000144 00000005440 13200060072 016056 0 ustar ligges users UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
Unicode Data Files include all data files under the directories
http://www.unicode.org/Public/, http://www.unicode.org/reports/,
http://www.unicode.org/cldr/data/, http://source.icu-project.org/repos/icu/, and
http://www.unicode.org/utility/trac/browser/.
Unicode Data Files do not include PDF online code charts under the
directory http://www.unicode.org/Public/.
Software includes any source code published in the Unicode Standard
or under the directories
http://www.unicode.org/Public/, http://www.unicode.org/reports/,
http://www.unicode.org/cldr/data/, http://source.icu-project.org/repos/icu/, and
http://www.unicode.org/utility/trac/browser/.
NOTICE TO USER: Carefully read the following legal agreement.
BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S
DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"),
YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
TERMS AND CONDITIONS OF THIS AGREEMENT.
IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE
THE DATA FILES OR SOFTWARE.
COPYRIGHT AND PERMISSION NOTICE
Copyright (c) 1991-2017 Unicode, Inc. All rights reserved.
Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Unicode data files and any associated documentation
(the "Data Files") or Unicode software and any associated documentation
(the "Software") to deal in the Data Files or Software
without restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, and/or sell copies of
the Data Files or Software, and to permit persons to whom the Data Files
or Software are furnished to do so, provided that either
(a) this copyright and permission notice appear with all copies
of the Data Files or Software, or
(b) this copyright and permission notice appear in associated
Documentation.
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT OF THIRD PARTY RIGHTS.
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THE DATA FILES OR SOFTWARE.
Except as contained in this notice, the name of a copyright holder
shall not be used in advertising or otherwise to promote the sale,
use or other dealings in these Data Files or Software without prior
written authorization of the copyright holder.
utf8/src/utf8lite/README.md 0000644 0001762 0000144 00000000534 13200060072 014742 0 ustar ligges users utf8lite (C Library)
====================
[](https://travis-ci.org/patperry/utf8lite)
[](https://codecov.io/github/patperry/utf8lite?branch=master)
Lightweight UTF-8 processing.
utf8/src/utf8lite/utf8lite.xcodeproj/ 0000755 0001762 0000144 00000000000 13223507430 017232 5 ustar ligges users utf8/src/utf8lite/utf8lite.xcodeproj/project.pbxproj 0000644 0001762 0000144 00000061374 13223507430 022321 0 ustar ligges users // !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 48;
objects = {
/* Begin PBXBuildFile section */
880244841FA1469F000AEC71 /* graphscan.c in Sources */ = {isa = PBXBuildFile; fileRef = 880244821FA14699000AEC71 /* graphscan.c */; };
880244861FA146AA000AEC71 /* graphbreak.h in Headers */ = {isa = PBXBuildFile; fileRef = 880244851FA146AA000AEC71 /* graphbreak.h */; };
884582DB1FA7622000C1CF23 /* graph.c in Sources */ = {isa = PBXBuildFile; fileRef = 884582DA1FA7622000C1CF23 /* graph.c */; };
884582DC1FA7622700C1CF23 /* graph.c in Sources */ = {isa = PBXBuildFile; fileRef = 884582DA1FA7622000C1CF23 /* graph.c */; };
88B6BB601FA60A5100BFF06E /* graphscan.c in Sources */ = {isa = PBXBuildFile; fileRef = 880244821FA14699000AEC71 /* graphscan.c */; };
88B9B6961FFEC656000EC8DD /* check_graphscan.c in Sources */ = {isa = PBXBuildFile; fileRef = 888FDA111FA5367600E2FD27 /* check_graphscan.c */; };
88BAFA031F97AC75006A5A78 /* encode.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BAF9FB1F97AC74006A5A78 /* encode.c */; };
88BAFA041F97AC75006A5A78 /* text.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BAF9FC1F97AC74006A5A78 /* text.c */; };
88BAFA051F97AC75006A5A78 /* char.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BAF9FD1F97AC74006A5A78 /* char.c */; };
88BAFA061F97AC75006A5A78 /* textassign.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BAF9FE1F97AC74006A5A78 /* textassign.c */; };
88BAFA071F97AC75006A5A78 /* normalize.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BAF9FF1F97AC74006A5A78 /* normalize.c */; };
88BAFA081F97AC75006A5A78 /* error.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BAFA001F97AC75006A5A78 /* error.c */; };
88BAFA091F97AC75006A5A78 /* escape.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BAFA011F97AC75006A5A78 /* escape.c */; };
88BAFA0A1F97AC75006A5A78 /* utf8lite.h in Headers */ = {isa = PBXBuildFile; fileRef = 88BAFA021F97AC75006A5A78 /* utf8lite.h */; };
88BAFA111F97AC94006A5A78 /* charwidth.h in Headers */ = {isa = PBXBuildFile; fileRef = 88BAFA0C1F97AC94006A5A78 /* charwidth.h */; };
88BAFA121F97AC94006A5A78 /* combining.h in Headers */ = {isa = PBXBuildFile; fileRef = 88BAFA0D1F97AC94006A5A78 /* combining.h */; };
88BAFA131F97AC94006A5A78 /* casefold.h in Headers */ = {isa = PBXBuildFile; fileRef = 88BAFA0E1F97AC94006A5A78 /* casefold.h */; };
88BAFA141F97AC94006A5A78 /* compose.h in Headers */ = {isa = PBXBuildFile; fileRef = 88BAFA0F1F97AC94006A5A78 /* compose.h */; };
88BAFA151F97AC94006A5A78 /* decompose.h in Headers */ = {isa = PBXBuildFile; fileRef = 88BAFA101F97AC94006A5A78 /* decompose.h */; };
88BAFA2A1F97AD32006A5A78 /* char.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BAF9FD1F97AC74006A5A78 /* char.c */; };
88BAFA2B1F97AD32006A5A78 /* encode.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BAF9FB1F97AC74006A5A78 /* encode.c */; };
88BAFA2C1F97AD32006A5A78 /* error.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BAFA001F97AC75006A5A78 /* error.c */; };
88BAFA2D1F97AD32006A5A78 /* escape.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BAFA011F97AC75006A5A78 /* escape.c */; };
88BAFA2E1F97AD32006A5A78 /* normalize.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BAF9FF1F97AC74006A5A78 /* normalize.c */; };
88BAFA2F1F97AD32006A5A78 /* text.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BAF9FC1F97AC74006A5A78 /* text.c */; };
88BAFA301F97AD32006A5A78 /* textassign.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BAF9FE1F97AC74006A5A78 /* textassign.c */; };
88BAFA311F97AD36006A5A78 /* testutil.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BAFA191F97ACE8006A5A78 /* testutil.c */; };
88CF04931F9D54CE00AA3475 /* array.c in Sources */ = {isa = PBXBuildFile; fileRef = 88CF04911F9D54CE00AA3475 /* array.c */; };
88CF04941F9D54CE00AA3475 /* render.c in Sources */ = {isa = PBXBuildFile; fileRef = 88CF04921F9D54CE00AA3475 /* render.c */; };
88CF04961F9D54EA00AA3475 /* array.h in Headers */ = {isa = PBXBuildFile; fileRef = 88CF04951F9D54EA00AA3475 /* array.h */; };
88CF04971F9D54EE00AA3475 /* array.c in Sources */ = {isa = PBXBuildFile; fileRef = 88CF04911F9D54CE00AA3475 /* array.c */; };
88CF04981F9D54F500AA3475 /* render.c in Sources */ = {isa = PBXBuildFile; fileRef = 88CF04921F9D54CE00AA3475 /* render.c */; };
88DA8D671F97F59700125B42 /* textiter.c in Sources */ = {isa = PBXBuildFile; fileRef = 88DA8D661F97F59700125B42 /* textiter.c */; };
88DA8D681F97F59E00125B42 /* textiter.c in Sources */ = {isa = PBXBuildFile; fileRef = 88DA8D661F97F59700125B42 /* textiter.c */; };
88E5EB1F1F982D3F00E98123 /* textmap.c in Sources */ = {isa = PBXBuildFile; fileRef = 88E5EB1E1F982D3F00E98123 /* textmap.c */; };
88E5EB201F982D5000E98123 /* textmap.c in Sources */ = {isa = PBXBuildFile; fileRef = 88E5EB1E1F982D3F00E98123 /* textmap.c */; };
/* End PBXBuildFile section */
/* Begin PBXCopyFilesBuildPhase section */
88BAFA211F97AD26006A5A78 /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = /usr/share/man/man1/;
dstSubfolderSpec = 0;
files = (
);
runOnlyForDeploymentPostprocessing = 1;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
880244821FA14699000AEC71 /* graphscan.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = graphscan.c; path = src/graphscan.c; sourceTree = ""; };
880244851FA146AA000AEC71 /* graphbreak.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = graphbreak.h; path = src/private/graphbreak.h; sourceTree = ""; };
884582DA1FA7622000C1CF23 /* graph.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = graph.c; path = src/graph.c; sourceTree = ""; };
885E0CEF1F97AC280002F6CB /* libutf8lite.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libutf8lite.dylib; sourceTree = BUILT_PRODUCTS_DIR; };
888FDA111FA5367600E2FD27 /* check_graphscan.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = check_graphscan.c; path = tests/check_graphscan.c; sourceTree = ""; };
88BAF9FB1F97AC74006A5A78 /* encode.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = encode.c; path = src/encode.c; sourceTree = ""; };
88BAF9FC1F97AC74006A5A78 /* text.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = text.c; path = src/text.c; sourceTree = ""; };
88BAF9FD1F97AC74006A5A78 /* char.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = char.c; path = src/char.c; sourceTree = ""; };
88BAF9FE1F97AC74006A5A78 /* textassign.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = textassign.c; path = src/textassign.c; sourceTree = ""; };
88BAF9FF1F97AC74006A5A78 /* normalize.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = normalize.c; path = src/normalize.c; sourceTree = ""; };
88BAFA001F97AC75006A5A78 /* error.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = error.c; path = src/error.c; sourceTree = ""; };
88BAFA011F97AC75006A5A78 /* escape.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = escape.c; path = src/escape.c; sourceTree = ""; };
88BAFA021F97AC75006A5A78 /* utf8lite.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = utf8lite.h; path = src/utf8lite.h; sourceTree = ""; };
88BAFA0C1F97AC94006A5A78 /* charwidth.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = charwidth.h; path = src/private/charwidth.h; sourceTree = ""; };
88BAFA0D1F97AC94006A5A78 /* combining.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = combining.h; path = src/private/combining.h; sourceTree = ""; };
88BAFA0E1F97AC94006A5A78 /* casefold.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = casefold.h; path = src/private/casefold.h; sourceTree = ""; };
88BAFA0F1F97AC94006A5A78 /* compose.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = compose.h; path = src/private/compose.h; sourceTree = ""; };
88BAFA101F97AC94006A5A78 /* decompose.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = decompose.h; path = src/private/decompose.h; sourceTree = ""; };
88BAFA171F97ACE8006A5A78 /* check_text.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = check_text.c; path = tests/check_text.c; sourceTree = ""; };
88BAFA181F97ACE8006A5A78 /* testutil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = testutil.h; path = tests/testutil.h; sourceTree = ""; };
88BAFA191F97ACE8006A5A78 /* testutil.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = testutil.c; path = tests/testutil.c; sourceTree = ""; };
88BAFA1A1F97ACE8006A5A78 /* check_unicode.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = check_unicode.c; path = tests/check_unicode.c; sourceTree = ""; };
88BAFA231F97AD26006A5A78 /* check_utf8lite */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = check_utf8lite; sourceTree = BUILT_PRODUCTS_DIR; };
88CF04911F9D54CE00AA3475 /* array.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = array.c; path = src/array.c; sourceTree = ""; };
88CF04921F9D54CE00AA3475 /* render.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = render.c; path = src/render.c; sourceTree = ""; };
88CF04951F9D54EA00AA3475 /* array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = array.h; path = src/private/array.h; sourceTree = ""; };
88CF04991F9D551300AA3475 /* check_render.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = check_render.c; path = tests/check_render.c; sourceTree = ""; };
88DA8D661F97F59700125B42 /* textiter.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = textiter.c; path = src/textiter.c; sourceTree = ""; };
88E5EB1E1F982D3F00E98123 /* textmap.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = textmap.c; path = src/textmap.c; sourceTree = ""; };
88E5EB211F982D5D00E98123 /* check_textmap.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = check_textmap.c; path = tests/check_textmap.c; sourceTree = ""; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
885E0CEC1F97AC280002F6CB /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
88BAFA201F97AD26006A5A78 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
885E0CE61F97AC280002F6CB = {
isa = PBXGroup;
children = (
88BAF9FA1F97AC51006A5A78 /* src */,
88BAFA161F97ACBF006A5A78 /* tests */,
885E0CF01F97AC280002F6CB /* Products */,
);
sourceTree = "";
};
885E0CF01F97AC280002F6CB /* Products */ = {
isa = PBXGroup;
children = (
885E0CEF1F97AC280002F6CB /* libutf8lite.dylib */,
88BAFA231F97AD26006A5A78 /* check_utf8lite */,
);
name = Products;
sourceTree = "";
};
88BAF9FA1F97AC51006A5A78 /* src */ = {
isa = PBXGroup;
children = (
88BAFA0B1F97AC7D006A5A78 /* private */,
88CF04911F9D54CE00AA3475 /* array.c */,
88BAF9FD1F97AC74006A5A78 /* char.c */,
88BAF9FB1F97AC74006A5A78 /* encode.c */,
88BAFA001F97AC75006A5A78 /* error.c */,
88BAFA011F97AC75006A5A78 /* escape.c */,
884582DA1FA7622000C1CF23 /* graph.c */,
880244821FA14699000AEC71 /* graphscan.c */,
88CF04921F9D54CE00AA3475 /* render.c */,
88BAF9FF1F97AC74006A5A78 /* normalize.c */,
88BAF9FC1F97AC74006A5A78 /* text.c */,
88BAF9FE1F97AC74006A5A78 /* textassign.c */,
88DA8D661F97F59700125B42 /* textiter.c */,
88E5EB1E1F982D3F00E98123 /* textmap.c */,
88BAFA021F97AC75006A5A78 /* utf8lite.h */,
);
name = src;
sourceTree = "";
};
88BAFA0B1F97AC7D006A5A78 /* private */ = {
isa = PBXGroup;
children = (
88CF04951F9D54EA00AA3475 /* array.h */,
88BAFA0E1F97AC94006A5A78 /* casefold.h */,
88BAFA0C1F97AC94006A5A78 /* charwidth.h */,
88BAFA0D1F97AC94006A5A78 /* combining.h */,
88BAFA0F1F97AC94006A5A78 /* compose.h */,
88BAFA101F97AC94006A5A78 /* decompose.h */,
880244851FA146AA000AEC71 /* graphbreak.h */,
);
name = private;
sourceTree = "";
};
88BAFA161F97ACBF006A5A78 /* tests */ = {
isa = PBXGroup;
children = (
888FDA111FA5367600E2FD27 /* check_graphscan.c */,
88CF04991F9D551300AA3475 /* check_render.c */,
88BAFA171F97ACE8006A5A78 /* check_text.c */,
88E5EB211F982D5D00E98123 /* check_textmap.c */,
88BAFA1A1F97ACE8006A5A78 /* check_unicode.c */,
88BAFA191F97ACE8006A5A78 /* testutil.c */,
88BAFA181F97ACE8006A5A78 /* testutil.h */,
);
name = tests;
sourceTree = "";
};
/* End PBXGroup section */
/* Begin PBXHeadersBuildPhase section */
885E0CED1F97AC280002F6CB /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
88BAFA0A1F97AC75006A5A78 /* utf8lite.h in Headers */,
88BAFA141F97AC94006A5A78 /* compose.h in Headers */,
88BAFA151F97AC94006A5A78 /* decompose.h in Headers */,
88CF04961F9D54EA00AA3475 /* array.h in Headers */,
880244861FA146AA000AEC71 /* graphbreak.h in Headers */,
88BAFA131F97AC94006A5A78 /* casefold.h in Headers */,
88BAFA111F97AC94006A5A78 /* charwidth.h in Headers */,
88BAFA121F97AC94006A5A78 /* combining.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */
885E0CEE1F97AC280002F6CB /* utf8lite */ = {
isa = PBXNativeTarget;
buildConfigurationList = 885E0CF31F97AC280002F6CB /* Build configuration list for PBXNativeTarget "utf8lite" */;
buildPhases = (
885E0CEB1F97AC280002F6CB /* Sources */,
885E0CEC1F97AC280002F6CB /* Frameworks */,
885E0CED1F97AC280002F6CB /* Headers */,
);
buildRules = (
);
dependencies = (
);
name = utf8lite;
productName = utf8lite;
productReference = 885E0CEF1F97AC280002F6CB /* libutf8lite.dylib */;
productType = "com.apple.product-type.library.dynamic";
};
88BAFA221F97AD26006A5A78 /* check_utf8lite */ = {
isa = PBXNativeTarget;
buildConfigurationList = 88BAFA271F97AD26006A5A78 /* Build configuration list for PBXNativeTarget "check_utf8lite" */;
buildPhases = (
88BAFA1F1F97AD26006A5A78 /* Sources */,
88BAFA201F97AD26006A5A78 /* Frameworks */,
88BAFA211F97AD26006A5A78 /* CopyFiles */,
);
buildRules = (
);
dependencies = (
);
name = check_utf8lite;
productName = check_utf8lite;
productReference = 88BAFA231F97AD26006A5A78 /* check_utf8lite */;
productType = "com.apple.product-type.tool";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
885E0CE71F97AC280002F6CB /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0900;
ORGANIZATIONNAME = "Patrick Perry";
TargetAttributes = {
885E0CEE1F97AC280002F6CB = {
CreatedOnToolsVersion = 9.0;
ProvisioningStyle = Automatic;
};
88BAFA221F97AD26006A5A78 = {
CreatedOnToolsVersion = 9.0;
ProvisioningStyle = Automatic;
};
};
};
buildConfigurationList = 885E0CEA1F97AC280002F6CB /* Build configuration list for PBXProject "utf8lite" */;
compatibilityVersion = "Xcode 8.0";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = 885E0CE61F97AC280002F6CB;
productRefGroup = 885E0CF01F97AC280002F6CB /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
885E0CEE1F97AC280002F6CB /* utf8lite */,
88BAFA221F97AD26006A5A78 /* check_utf8lite */,
);
};
/* End PBXProject section */
/* Begin PBXSourcesBuildPhase section */
885E0CEB1F97AC280002F6CB /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
884582DB1FA7622000C1CF23 /* graph.c in Sources */,
88BAFA081F97AC75006A5A78 /* error.c in Sources */,
88BAFA071F97AC75006A5A78 /* normalize.c in Sources */,
88BAFA091F97AC75006A5A78 /* escape.c in Sources */,
88BAFA051F97AC75006A5A78 /* char.c in Sources */,
88DA8D671F97F59700125B42 /* textiter.c in Sources */,
88BAFA041F97AC75006A5A78 /* text.c in Sources */,
88BAFA031F97AC75006A5A78 /* encode.c in Sources */,
88B6BB601FA60A5100BFF06E /* graphscan.c in Sources */,
88CF04941F9D54CE00AA3475 /* render.c in Sources */,
88BAFA061F97AC75006A5A78 /* textassign.c in Sources */,
88E5EB1F1F982D3F00E98123 /* textmap.c in Sources */,
88CF04931F9D54CE00AA3475 /* array.c in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
88BAFA1F1F97AD26006A5A78 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
884582DC1FA7622700C1CF23 /* graph.c in Sources */,
88BAFA2D1F97AD32006A5A78 /* escape.c in Sources */,
88BAFA2B1F97AD32006A5A78 /* encode.c in Sources */,
88BAFA311F97AD36006A5A78 /* testutil.c in Sources */,
88CF04971F9D54EE00AA3475 /* array.c in Sources */,
88BAFA2C1F97AD32006A5A78 /* error.c in Sources */,
88B9B6961FFEC656000EC8DD /* check_graphscan.c in Sources */,
88BAFA2A1F97AD32006A5A78 /* char.c in Sources */,
88BAFA2F1F97AD32006A5A78 /* text.c in Sources */,
88E5EB201F982D5000E98123 /* textmap.c in Sources */,
88BAFA2E1F97AD32006A5A78 /* normalize.c in Sources */,
88DA8D681F97F59E00125B42 /* textiter.c in Sources */,
88BAFA301F97AD32006A5A78 /* textassign.c in Sources */,
88CF04981F9D54F500AA3475 /* render.c in Sources */,
880244841FA1469F000AEC71 /* graphscan.c in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
885E0CF11F97AC280002F6CB /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.12;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
};
name = Debug;
};
885E0CF21F97AC280002F6CB /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.12;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = macosx;
};
name = Release;
};
885E0CF41F97AC280002F6CB /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
EXECUTABLE_PREFIX = lib;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
885E0CF51F97AC280002F6CB /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
EXECUTABLE_PREFIX = lib;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
88BAFA281F97AD26006A5A78 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_WARN_STRICT_PROTOTYPES = NO;
CODE_SIGN_STYLE = Automatic;
OTHER_CFLAGS = (
"-D_THREAD_SAFE",
"-I/usr/local/Cellar/check/0.12.0/include",
);
OTHER_LDFLAGS = (
"-L/usr/local/Cellar/check/0.12.0/lib",
"-lcheck",
);
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
88BAFA291F97AD26006A5A78 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_WARN_STRICT_PROTOTYPES = NO;
CODE_SIGN_STYLE = Automatic;
OTHER_CFLAGS = (
"-D_THREAD_SAFE",
"-I/usr/local/Cellar/check/0.12.0/include",
);
OTHER_LDFLAGS = (
"-L/usr/local/Cellar/check/0.12.0/lib",
"-lcheck",
);
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
885E0CEA1F97AC280002F6CB /* Build configuration list for PBXProject "utf8lite" */ = {
isa = XCConfigurationList;
buildConfigurations = (
885E0CF11F97AC280002F6CB /* Debug */,
885E0CF21F97AC280002F6CB /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
885E0CF31F97AC280002F6CB /* Build configuration list for PBXNativeTarget "utf8lite" */ = {
isa = XCConfigurationList;
buildConfigurations = (
885E0CF41F97AC280002F6CB /* Debug */,
885E0CF51F97AC280002F6CB /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
88BAFA271F97AD26006A5A78 /* Build configuration list for PBXNativeTarget "check_utf8lite" */ = {
isa = XCConfigurationList;
buildConfigurations = (
88BAFA281F97AD26006A5A78 /* Debug */,
88BAFA291F97AD26006A5A78 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 885E0CE71F97AC280002F6CB /* Project object */;
}
utf8/src/utf8lite/util/ 0000755 0001762 0000144 00000000000 13200060072 014436 5 ustar ligges users utf8/src/utf8lite/util/table-graphbreak.c 0000644 0001762 0000144 00000003503 13301551651 020010 0 ustar ligges users #include
#include
#include
#include "../src/private/charwidth.h"
#include "../src/private/graphbreak.h"
#include "../src/utf8lite.h"
const char *str_charwidth(enum charwidth_prop prop)
{
switch (prop) {
case CHARWIDTH_OTHER:
return "Other";
case CHARWIDTH_EMOJI:
return "Emoji";
case CHARWIDTH_AMBIGUOUS:
return "Ambiguous";
case CHARWIDTH_IGNORABLE:
return "Ignorable";
case CHARWIDTH_NONE:
return "None";
case CHARWIDTH_NARROW:
return "Narrow";
case CHARWIDTH_WIDE:
return "Wide";
default:
assert(0 && "Unrecognized charwidth property");
}
}
const char *str_graph_break(enum graph_break_prop prop)
{
switch (prop) {
case GRAPH_BREAK_OTHER:
return "None";
case GRAPH_BREAK_CR:
return "CR";
case GRAPH_BREAK_CONTROL:
return "Control";
case GRAPH_BREAK_E_BASE:
return "EBase";
case GRAPH_BREAK_E_BASE_GAZ:
return "EBaseGAZ";
case GRAPH_BREAK_E_MODIFIER:
return "EModifier";
case GRAPH_BREAK_EXTEND:
return "Extend";
case GRAPH_BREAK_GLUE_AFTER_ZWJ:
return "GlueAfterZWJ";
case GRAPH_BREAK_L:
return "L";
case GRAPH_BREAK_LF:
return "LF";
case GRAPH_BREAK_LV:
return "LV";
case GRAPH_BREAK_LVT:
return "LVT";
case GRAPH_BREAK_PREPEND:
return "Prepend";
case GRAPH_BREAK_REGIONAL_INDICATOR:
return "RegionalIndicator";
case GRAPH_BREAK_SPACINGMARK:
return "SpacingMark";
case GRAPH_BREAK_T:
return "T";
case GRAPH_BREAK_V:
return "V";
case GRAPH_BREAK_ZWJ:
return "ZWJ";
default:
assert(0 && "Unrecognized graph break property");
}
}
int main(int argc, const char **argv)
{
int32_t i, n = UTF8LITE_CODE_MAX;
int cw, gb;
printf("code,width,graph\n");
for (i = 0; i <= n; i++) {
cw = charwidth(i);
gb = graph_break(i);
printf("U+%04"PRIX32",%s,%s\n", (uint32_t)i,
str_charwidth(cw), str_graph_break(gb));
}
return 0;
}
utf8/src/utf8lite/util/property.py 0000644 0001762 0000144 00000002733 13200060072 016701 0 ustar ligges users
import re
PATTERN = re.compile(r"""^([0-9A-Fa-f]+) # (first code)
(\.\.([0-9A-Fa-f]+))? # (.. last code)?
\s*
; # ;
\s*
(\w+) # (property name)
\s*
(\#.*)?$ # (# comment)?""", re.X)
UNICODE_MAX = 0x10FFFF
def read(filename, sets=False):
try:
file = open(filename, "r")
except FileNotFoundError:
file = open("../" + filename, "r")
code_props = [None] * (UNICODE_MAX + 1)
prop_names = set()
properties = {}
with file:
for line in file:
line = line.split("#")[0] # remove comment
m = PATTERN.match(line)
if m:
first = int(m.group(1), 16)
if m.group(3):
last = int(m.group(3), 16)
else:
last = first
name = m.group(4)
if not name in properties:
properties[name] = set()
prop = properties[name]
for u in range(first, last + 1):
if not sets:
assert code_props[u] is None
code_props[u] = name
prop.add(u)
prop_names.add(name)
if sets:
return properties
else:
return code_props
utf8/src/utf8lite/util/gen-graphbreak.py 0000755 0001762 0000144 00000011271 13200060072 017672 0 ustar ligges users #!/usr/bin/env python3
# Copyright 2017 Patrick O. Perry.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import math
try:
import property
except ModuleNotFoundError:
from util import property
GRAPHEME_BREAK_PROPERTY = "data/ucd/auxiliary/GraphemeBreakProperty.txt"
code_props = property.read(GRAPHEME_BREAK_PROPERTY)
for i in range(len(code_props)):
if code_props[i] is None:
code_props[i] = 'Other'
prop_names = set(code_props)
prop_names.remove('Other')
prop_vals = {}
prop_vals['Other'] = 0;
for p in sorted(prop_names):
prop_vals[p] = len(prop_vals)
def compute_tables(block_size):
nblock = len(code_props) // block_size
stage1 = [None] * nblock
stage2 = []
stage2_dict = {}
for i in range(nblock):
begin = i * block_size
end = begin + block_size
block = tuple(code_props[begin:end])
if block in stage2_dict:
j = stage2_dict[block]
else:
j = len(stage2)
stage2_dict[block] = j
stage2.append(block)
stage1[i] = j
return (stage1,stage2)
def stage1_item_size(nstage2):
nbyte = math.ceil(math.log(nstage2, 2) / 8)
size = 2**math.ceil(math.log(nbyte, 2))
return size
page_size = 4096
block_size = 256
nbytes = {}
best_block_size = 1
smallest_size = len(code_props)
for i in range(1,17):
block_size = 2**i
stage1,stage2 = compute_tables(block_size)
nbyte1 = len(stage1) * stage1_item_size(len(stage2))
nbyte2 = len(stage2) * block_size
nbyte1 = math.ceil(nbyte1 / page_size) * page_size
nbyte2 = math.ceil(nbyte2 / page_size) * page_size
nbyte = nbyte1 + nbyte2
nbytes[block_size] = nbyte
if nbyte < smallest_size:
smallest_size = nbyte
best_block_size = block_size
block_size = best_block_size
stage1,stage2 = compute_tables(block_size)
type1_size = stage1_item_size(len(stage2))
if type1_size == 1:
type1 = 'uint8_t'
elif type1_size == 2:
type1 = 'uint16_t'
elif type1_size == 4:
type1 = 'uint32_t'
else:
type1 = 'uint64_t'
type2 = 'int8_t'
# Write graphbreak.h to stdout
print("/* This file is automatically generated. DO NOT EDIT!")
print(" Instead, edit gen-graphbreak.py and re-run. */")
print("")
print("/*")
print(" * Unicode Grapheme_Break property values.")
print(" *")
print(" * Defined in UAX #29 \"Unicode Text Segmentation\"")
print(" *")
print(" * http://www.unicode.org/reports/tr29/")
print(" *")
print(" * Section 4.1, Table 3.")
print(" *")
print(" *")
print(" * We use the two-stage lookup strategy described at")
print(" *")
print(" * http://www.strchr.com/multi-stage_tables")
print(" *")
print(" */")
print("")
print("#ifndef UNICODE_GRAPHBREAK_H")
print("#define UNICODE_GRAPHBREAK_H")
print("")
print("#include ")
print("")
print("enum graph_break_prop {")
print("\tGRAPH_BREAK_OTHER = 0", end="")
for prop in sorted(prop_names):
print(",\n\tGRAPH_BREAK_" + prop.upper() + " = " + str(prop_vals[prop]),
end="")
print("\n};")
print("")
print("static const " + type1 + " graph_break_stage1[] = {")
for i in range(len(stage1) - 1):
if i % 16 == 0:
print("/* U+{:04X} */".format(i * block_size), end="")
print("{0: >3},".format(stage1[i]), end="")
if i % 16 == 15:
print("")
print("{0: >3}".format(stage1[len(stage1) - 1]))
print("};")
print("")
print("static const " + type2 + " graph_break_stage2[][" +
str(block_size) + "] = {")
#for i in range(len(stage2)):
for i in range(0,len(stage2)):
print(" /* block " + str(i) + " */")
print(" {", end="")
for j in range(block_size):
print("{0: >3}".format(prop_vals[stage2[i][j]]), end="")
if j + 1 == block_size:
print("\n }", end="")
else:
print(",", end="")
if j % 16 == 15:
print("\n ", end="")
if i + 1 != len(stage2):
print(",\n")
else:
print("")
print("};")
print("")
print("static int graph_break(int32_t code)")
print("{")
print("\tconst int32_t block_size = " + str(block_size) + ";")
print("\t" + type1 + " i = graph_break_stage1[code / block_size];")
print("\treturn graph_break_stage2[i][code % block_size];")
print("}")
print("")
print("#endif /* UNICODE_GRAPHBREAK_H */")
utf8/src/utf8lite/util/gen-compose.py 0000755 0001762 0000144 00000015677 13200060072 017247 0 ustar ligges users #!/usr/bin/env python3
# Copyright 2017 Patrick O. Perry.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import math
import re
try:
import unicode_data
except ModuleNotFoundError:
from util import unicode_data
EXCLUSIONS = 'data/ucd/CompositionExclusions.txt'
# get the length-2 decomposition maps (excluding hangul and compatibility maps)
decomp_map = {}
starter = [None] * len(unicode_data.uchars)
for code in range(len(unicode_data.uchars)):
u = unicode_data.uchars[code]
if u is None:
continue
ccc = u.ccc
if ccc is None or ccc == 0:
starter[code] = True
else:
starter[code] = False
d = u.decomp
if d is not None and d.type is None:
if len(d.map) == 2:
decomp_map[code] = tuple(d.map)
# exclude non-starter decomposiitons
decomp_map2 = {}
for p,d in decomp_map.items():
if starter[p] and starter[d[0]]:
decomp_map2[p] = d
decomp_map = decomp_map2
# exclude composition exclusions
try:
file = open(EXCLUSIONS, 'r')
except FileNotFoundError:
file = open('../' + EXCLUSIONS, 'r')
with file:
for line in file:
fields = line.partition('#')
code = fields[0].strip()
if len(code) > 0:
code = int(code, 16)
if code in decomp_map:
del decomp_map[code]
#print('primary\tletter\tcode')
#for p,d in decomp_map.items():
# print(p, '\t', d[0], '\t', d[1], sep='')
# construct table l : [(c,p)]
compose_map = {}
for p,d in decomp_map.items():
l = d[0]
c = d[1]
if l not in compose_map:
compose_map[l] = []
compose_map[l].append((c, p))
compose = []
combiner = []
primary = []
off = 0
for code in range(len(unicode_data.uchars)):
if code in compose_map:
maps = compose_map[code]
maps.sort()
compose.append((off, len(maps)))
combiner.extend([c for (c,p) in maps])
primary.extend([p for (c,p) in maps])
off += len(maps)
else:
compose.append((0,0))
# Hangul
hangul_lpart = off
hangul_lvpart = off + 1
for code in range(0x1100, 0x1113):
compose[code] = (hangul_lpart, 1)
for code in range(0xAC00, 0xD7A4):
if (code - 0xAC00) % 28 == 0:
compose[code] = (hangul_lvpart, 1)
def compute_tables(block_size):
nblock = len(compose) // block_size
stage1 = [None] * nblock
stage2 = []
stage2_dict = {}
for i in range(nblock):
begin = i * block_size
end = begin + block_size
block = tuple(compose[begin:end])
if block in stage2_dict:
j = stage2_dict[block]
else:
j = len(stage2)
stage2_dict[block] = j
stage2.append(block)
stage1[i] = j
return (stage1,stage2)
def stage1_item_size(nstage2):
nbyte = math.ceil(math.log(nstage2, 2) / 8)
size = 2**math.ceil(math.log(nbyte, 2))
return size
page_size = 4096
block_size = 256
nbytes = {}
best_block_size = 1
smallest_size = len(compose)
for i in range(1,17):
block_size = 2**i
stage1,stage2 = compute_tables(block_size)
nbyte1 = len(stage1) * stage1_item_size(len(stage2))
nbyte2 = len(stage2) * block_size
nbyte1 = math.ceil(nbyte1 / page_size) * page_size
nbyte2 = math.ceil(nbyte2 / page_size) * page_size
nbyte = nbyte1 + nbyte2
nbytes[block_size] = nbyte
if nbyte < smallest_size:
smallest_size = nbyte
best_block_size = block_size
block_size = best_block_size
stage1,stage2 = compute_tables(block_size)
type1_size = stage1_item_size(len(stage2))
if type1_size == 1:
type1 = 'uint8_t'
elif type1_size == 2:
type1 = 'uint16_t'
elif type1_size == 4:
type1 = 'uint32_t'
else:
type1 = 'uint64_t'
type2 = 'struct composition'
# Write compose.h to stdout
print("/* This file is automatically generated. DO NOT EDIT!")
print(" Instead, edit gen-compose.py and re-run. */")
print("")
print("/*")
print(" * Unicode primary composites.")
print(" *")
print(" * Defined in Unicode Sec 3.11 \"Normalization Forms\"")
print(" *")
print(" * We use the two-stage lookup strategy described at")
print(" *")
print(" * http://www.strchr.com/multi-stage_tables")
print(" *")
print(" */")
print("")
print("#ifndef UNICODE_COMPOSE_H")
print("#define UNICODE_COMPOSE_H")
print("")
print("#include ")
print("")
print("/* composition")
print(" * -----------")
print(" * offset: the offset into the primary and combiner arrays,")
print(" * or 0 if there are no compositions")
print(" * length: the number of compositions for the codepont")
print(" */")
print("struct composition {")
print("\tunsigned offset : 11;")
print("\tunsigned length : 5;")
print("};")
print("")
print("#define COMPOSITION_BLOCK_SIZE", block_size)
print("")
print("#define COMPOSITION_HANGUL_LPART", hangul_lpart)
print("")
print("#define COMPOSITION_HANGUL_LVPART", hangul_lvpart)
print("")
print("static const " + type1 + " composition_stage1[] = {")
for i in range(len(stage1) - 1):
if i % 16 == 0:
print("/* U+{:04X} */".format(i * block_size), end="")
print("{0: >3},".format(stage1[i]), end="")
if i % 16 == 15:
print("")
print("{0: >3}".format(stage1[len(stage1) - 1]))
print("};")
print("")
print("static const " + type2 + " composition_stage2[][" +
str(block_size) + "] = {")
for i in range(len(stage2)):
print(" /* block " + str(i) + " */")
print(" {", end="")
for j in range(block_size):
print("{{{0: >3}".format(stage2[i][j][0]), end="")
print(",{0: >2}}}".format(stage2[i][j][1]), end="")
if j + 1 == block_size:
print("\n }", end="")
else:
print(",", end="")
if j % 7 == 6:
print("\n ", end="")
else:
print(" ", end="")
if i + 1 != len(stage2):
print(",\n")
else:
print("")
print("};")
print("")
print("static const int32_t composition_combiner[] = {")
for i in range(len(combiner) - 1):
if i % 8 == 0:
print("/* {0: >3} */ ".format(i), end="")
print("0x{0:04X},".format(combiner[i]), end="")
if i % 8 == 7:
print("")
print("0x{0:04X}".format(combiner[len(combiner) - 1]))
print("};")
print("")
print("static const int32_t composition_primary[] = {")
for i in range(len(primary) - 1):
if i % 8 == 0:
print("/* {0: >3} */ ".format(i), end="")
print("0x{0:04X},".format(primary[i]), end="")
if i % 8 == 7:
print("")
print("0x{0:04X}".format(primary[len(primary) - 1]))
print("};")
print("")
print("#endif /* UNICODE_COMPOSE_H */")
utf8/src/utf8lite/util/gen-decompose.py 0000755 0001762 0000144 00000013113 13200060072 017537 0 ustar ligges users #!/usr/bin/env python3
# Copyright 2017 Patrick O. Perry.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import operator
import math
try:
import unicode_data
except ModuleNotFoundError:
from util import unicode_data
decomp_vals = unicode_data.decomp_vals
decomp_map = unicode_data.decomp_map
decomp = unicode_data.decomp
def compute_tables(block_size):
nblock = len(decomp) // block_size
stage1 = [None] * nblock
stage2 = []
stage2_dict = {}
for i in range(nblock):
begin = i * block_size
end = begin + block_size
block = tuple(decomp[begin:end])
if block in stage2_dict:
j = stage2_dict[block]
else:
j = len(stage2)
stage2_dict[block] = j
stage2.append(block)
stage1[i] = j
return (stage1,stage2)
def stage1_item_size(nstage2):
nbyte = math.ceil(math.log(nstage2, 2) / 8)
size = 2**math.ceil(math.log(nbyte, 2))
return size
page_size = 4096
block_size = 256
nbytes = {}
best_block_size = 1
smallest_size = len(decomp)
for i in range(1,17):
block_size = 2**i
stage1,stage2 = compute_tables(block_size)
nbyte1 = len(stage1) * stage1_item_size(len(stage2))
nbyte2 = len(stage2) * block_size
nbyte1 = math.ceil(nbyte1 / page_size) * page_size
nbyte2 = math.ceil(nbyte2 / page_size) * page_size
nbyte = nbyte1 + nbyte2
nbytes[block_size] = nbyte
if nbyte < smallest_size:
smallest_size = nbyte
best_block_size = block_size
block_size = best_block_size
stage1,stage2 = compute_tables(block_size)
type1_size = stage1_item_size(len(stage2))
if type1_size == 1:
type1 = 'uint8_t'
elif type1_size == 2:
type1 = 'uint16_t'
elif type1_size == 4:
type1 = 'uint32_t'
else:
type1 = 'uint64_t'
# Write decompose.h to stdout
print("/* This file is automatically generated. DO NOT EDIT!")
print(" Instead, edit gen-decompose.py and re-run. */")
print("")
print("/*")
print(" * Decomposition mappings.")
print(" *")
print(" * Defined in UAX #44 \"Unicode Character Database\"")
print(" *")
print(" * http://www.unicode.org/reports/tr44/")
print(" *")
print(" * Section 5.7.3, Table 14.")
print(" *")
print(" *")
print(" * We use a two-stage lookup strategy as described at")
print(" *")
print(" * http://www.strchr.com/multi-stage_tables")
print(" *")
print(" */")
print("")
print("#ifndef UNICODE_DECOMPOSE_H")
print("#define UNICODE_DECOMPOSE_H")
print("")
print("#include ")
print("")
print("/* decomposition_type")
print(" * ------------------")
print(" * compatibility decompositions have decomposition_type != 0")
print(" */")
print("enum decomposition_type {", end="")
first = True
for k,v in sorted(decomp_vals.items(), key=operator.itemgetter(1)):
if not first:
print(",", end="")
print("\n\tDECOMPOSITION_" + k.upper() + " = " + str(v), end="")
first = False
print("\n};")
print("")
print("/* decomposition")
print(" * -------------")
print(" * type: the decomposition_type")
print(" *")
print(" * length: the length (in codepoints) of the decomposition mapping,")
print(" * or 0 if there is no decomposition")
print(" *")
print(" * data: the mapped-to codepoint (length = 1), or")
print(" * an index into the `decomposition_mapping` array, pointing")
print(" * to the first codepoint in the mapping (length > 1)")
print(" */")
print("struct decomposition {")
print("\tint type : 6;")
print("\tunsigned length : 5;")
print("\tunsigned data : 21;")
print("};")
print("")
print("#define DECOMPOSITION_BLOCK_SIZE", block_size)
print("")
print("static const " + type1 + " decomposition_stage1[] = {")
for i in range(len(stage1) - 1):
if i % 16 == 0:
print("/* U+{:04X} */".format(i * block_size), end="")
print("{0: >3},".format(stage1[i]), end="")
if i % 16 == 15:
print("")
print("{0: >3}".format(stage1[len(stage1) - 1]))
print("};")
print("")
print("static const struct decomposition decomposition_stage2[][" +
str(block_size) + "] = {")
for i in range(0,len(stage2)):
print(" /* block " + str(i) + " */")
print(" {", end="")
for j in range(block_size):
val = stage2[i][j]
if val is None:
print("{0,0,0}", end="")
else:
if val[0] is None:
t = 0
else:
t = decomp_vals[val[0]]
print("{{{0},{1},0x{2:05X}}}".format(t, val[1], val[2]), end="")
#print("{0: >3}".format(prop_vals[stage2[i][j]]), end="")
if j + 1 == block_size:
print("\n }", end="")
else:
print(",", end="")
if j % 5 == 4:
print("\n ", end="")
if i + 1 != len(stage2):
print(",\n")
else:
print("")
print("};")
print("")
print("static const int32_t decomposition_mapping[] = {")
for i in range(len(decomp_map) - 1):
if i % 8 == 0:
print("/* 0x{:04X} */ ".format(i), end="")
print("0x{0:04X},".format(decomp_map[i]), end="")
if i % 8 == 7:
print("")
print("0x{0:04X}".format(decomp_map[len(decomp_map) - 1]))
print("};")
print("")
print("#endif /* UNICODE_DECOMPOSE_H */")
utf8/src/utf8lite/util/gen-combining.py 0000755 0001762 0000144 00000010512 13200060072 017526 0 ustar ligges users #!/usr/bin/env python3
# Copyright 2017 Patrick O. Perry.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import math
try:
import unicode_data
except ModuleNotFoundError:
from util import unicode_data
combin_vals = set([0])
combin = []
for code in range(len(unicode_data.uchars)):
u = unicode_data.uchars[code]
if u is None or u.ccc is None:
combin.append(0)
else:
ccc = u.ccc
combin_vals.add(ccc)
combin.append(ccc)
def compute_tables(block_size):
nblock = len(combin) // block_size
stage1 = [None] * nblock
stage2 = []
stage2_dict = {}
for i in range(nblock):
begin = i * block_size
end = begin + block_size
block = tuple(combin[begin:end])
if block in stage2_dict:
j = stage2_dict[block]
else:
j = len(stage2)
stage2_dict[block] = j
stage2.append(block)
stage1[i] = j
return (stage1,stage2)
def stage1_item_size(nstage2):
nbyte = math.ceil(math.log(nstage2, 2) / 8)
size = 2**math.ceil(math.log(nbyte, 2))
return size
page_size = 4096
block_size = 256
nbytes = {}
best_block_size = 1
smallest_size = len(combin)
for i in range(1,17):
block_size = 2**i
stage1,stage2 = compute_tables(block_size)
nbyte1 = len(stage1) * stage1_item_size(len(stage2))
nbyte2 = len(stage2) * block_size
nbyte1 = math.ceil(nbyte1 / page_size) * page_size
nbyte2 = math.ceil(nbyte2 / page_size) * page_size
nbyte = nbyte1 + nbyte2
nbytes[block_size] = nbyte
if nbyte < smallest_size:
smallest_size = nbyte
best_block_size = block_size
block_size = best_block_size
stage1,stage2 = compute_tables(block_size)
type1_size = stage1_item_size(len(stage2))
if type1_size == 1:
type1 = 'uint8_t'
elif type1_size == 2:
type1 = 'uint16_t'
elif type1_size == 4:
type1 = 'uint32_t'
else:
type1 = 'uint64_t'
type2 = 'uint8_t'
# Write combining.h to stdout
print("/* This file is automatically generated. DO NOT EDIT!")
print(" Instead, edit gen-combining.py and re-run. */")
print("")
print("/*")
print(" * Canonical_Combining_Class property values.")
print(" *")
print(" * Defined in UAX #44 \"Unicode Character Database\"")
print(" *")
print(" * http://www.unicode.org/reports/tr44/")
print(" *")
print(" * Section 5.7.4, Table 15.")
print(" *")
print(" *")
print(" * We use the two-stage lookup strategy described at")
print(" *")
print(" * http://www.strchr.com/multi-stage_tables")
print(" *")
print(" */")
print("")
print("#ifndef UNICODE_COMBINING_H")
print("#define UNICODE_COMBINING_H")
print("")
print("#include ")
print("")
print("static const " + type1 + " combining_class_stage1[] = {")
for i in range(len(stage1) - 1):
if i % 16 == 0:
print("/* U+{:04X} */".format(i * block_size), end="")
print("{0: >3},".format(stage1[i]), end="")
if i % 16 == 15:
print("")
print("{0: >3}".format(stage1[len(stage1) - 1]))
print("};")
print("")
print("static const " + type2 + " combining_class_stage2[][" +
str(block_size) + "] = {")
for i in range(len(stage2)):
print(" /* block " + str(i) + " */")
print(" {", end="")
for j in range(block_size):
print("{0: >3}".format(stage2[i][j]), end="")
if j + 1 == block_size:
print("\n }", end="")
else:
print(",", end="")
if j % 16 == 15:
print("\n ", end="")
if i + 1 != len(stage2):
print(",\n")
else:
print("")
print("};")
print("")
print("static uint8_t combining_class(int32_t code)")
print("{")
print("\tconst int32_t block_size = " + str(block_size) + ";")
print("\t" + type1 + " i = combining_class_stage1[code / block_size];")
print("\treturn combining_class_stage2[i][code % block_size];")
print("}")
print("")
print("#endif /* UNICODE_COMBINING_H */")
utf8/src/utf8lite/util/compute-typelen.py 0000755 0001762 0000144 00000001703 13200060072 020146 0 ustar ligges users #!/usr/bin/env python3
import math
import re
CASE_FOLDING = 'data/ucd/CaseFolding.txt'
UNICODE_MAX = 0x10FFFF
# Parse CaseFolding.txt
try:
file = open(CASE_FOLDING, 'r')
except FileNotFoundError:
file = open('../' + CASE_FOLDING, 'r')
def utf8_len(code):
if code <= 0x7f:
return 1
elif code <= 0x07FF:
return 2
elif code <= 0xFFFF:
return 3
else:
return 4
with file:
for line in file:
if line[0] != '#' and line[0] != '\n':
fields = line.split(';')
code = int(fields[0], 16)
status = fields[1].strip();
if status == 'C' or status == 'F':
l0 = utf8_len(code)
mapping = [int(x,16) for x in fields[2].split()]
l1 = sum([utf8_len(m) for m in mapping])
ratio = l1 / l0
if ratio >= 3:
print('U+{:04X}'.format(code), mapping, 'ratio: ', ratio)
utf8/src/utf8lite/util/unicode_data.py 0000644 0001762 0000144 00000012405 13200060072 017431 0 ustar ligges users # unicode_data
import collections
import re
UNICODE_DATA = 'data/ucd/UnicodeData.txt'
UNICODE_MAX = 0x10FFFF
try:
unicode_data = open(UNICODE_DATA, "r")
except FileNotFoundError:
unicode_data = open("../" + UNICODE_DATA, "r")
field_names = [
'name', # Name
'category', # General_Category
'ccc', # Canonical_Combining_Class
'bidi', # Bidi_Class
'decomp', # Decomposition_Type, Decomposition_Mapping
'decimal', # Numeric_Value (Numeric_Type = Decimal)
'digit', # Numeric_Value (Numeric_Type = Decimal, Digit)
'numeric', # Numeric_Value (Numeric_Type = Decimal, Digit, Numeric)
'mirrored', # Bidi_Mirrored
'old_name', # Unicode_1_Name
'comment', # ISO_Comment
'ucase', # Simple_Uppercase_Mapping
'lcase', # Simple_Lowercase_Mapping
'tcase' # Simple_Titlecase_Mapping
]
UChar = collections.namedtuple('UChar', field_names)
ids = UChar._make(range(1, len(field_names) + 1))
Decomp = collections.namedtuple('Decomp', ['type', 'map'])
DECOMP_PATTERN = re.compile(r"""^(<(\w+)>)?\s* # decomposition type
((\s*[0-9A-Fa-f]+)+) # decomposition mapping
\s*$""", re.X)
RANGE_PATTERN = re.compile(r"""^<([^,]+),\s* # range name
(First|Last) # first or last
>$""", re.X)
def parse_decomp(code, field):
if field != '':
m = DECOMP_PATTERN.match(field)
assert m
d_type = m.group(2)
d_map = tuple([int(x, 16) for x in m.group(3).split()])
return Decomp(type=d_type, map=d_map)
elif code in range(0xAC00, 0xD7A4):
return Decomp(type='hangul', map=None)
else:
return None
def parse_code(field):
if field != '':
return int(field, 16)
else:
return None
def parse_int(field):
if field != '':
return int(field)
else:
return None
def parse_str(field):
if field == '':
return None
else:
return field
uchars = [None] * (UNICODE_MAX + 1)
with unicode_data:
for line in unicode_data:
fields = line.strip().split(';')
code = int(fields[0], 16)
uchars[code] = UChar(name = fields[ids.name],
category = parse_str(fields[ids.category]),
ccc = parse_int(fields[ids.ccc]),
bidi = fields[ids.bidi],
decomp = parse_decomp(code, fields[ids.decomp]),
decimal = fields[ids.decimal],
digit = fields[ids.digit],
numeric = fields[ids.numeric],
mirrored = fields[ids.mirrored],
old_name = fields[ids.old_name],
comment = fields[ids.comment],
ucase = parse_code(fields[ids.ucase]),
lcase = parse_code(fields[ids.lcase]),
tcase = parse_code(fields[ids.tcase]))
utype = None
for code in range(len(uchars)):
u = uchars[code]
if u is None:
uchars[code] = utype
else:
m = RANGE_PATTERN.match(u.name)
if m:
if m.group(2) == 'First':
utype = u._replace(name = '<' + m.group(1) + '>')
else:
utype = None
decomp_vals = {
'hangul': -1, 'none': 0,
'font': 1, 'noBreak': 2, 'initial': 3, 'medial': 4, 'final': 5,
'isolated': 6, 'circle': 7, 'super': 8, 'sub': 9, 'vertical': 10,
'wide': 11, 'narrow': 12, 'small': 13, 'square': 14, 'fraction': 15,
'compat': 16 }
decomp_map = []
decomp = []
for code in range(len(uchars)):
u = uchars[code]
if u is None or u.decomp is None:
decomp.append(None)
continue
d = u.decomp
if d.map is not None:
d_len = len(d.map)
if d_len > 1:
d_data = len(decomp_map)
decomp_map.extend(d.map)
else:
d_data = d.map[0]
decomp.append((d.type, d_len, d_data))
elif d.type == 'hangul':
decomp.append(('hangul', 2, 0))
else:
decomp.append(None)
# From Unicode-8.0 Section 3.12 Conjoining Jamo Behavior
HANGUL_SBASE = 0xAC00
HANGUL_LBASE = 0x1100
HANGUL_VBASE = 0x1161
HANGUL_TBASE = 0x11A7
HANGUL_LCOUNT = 19
HANGUL_VCOUNT = 21
HANGUL_TCOUNT = 28
HANGUL_NCOUNT = (HANGUL_VCOUNT * HANGUL_TCOUNT)
HANTUL_SCOUNT = (HANGUL_LCOUNT * HANGUL_NCOUNT)
def hangul_decompose(code):
sindex = code - HANGUL_SBASE
lindex = sindex // HANGUL_NCOUNT
vindex = (sindex % HANGUL_NCOUNT) // HANGUL_TCOUNT
tindex = sindex % HANGUL_TCOUNT
lpart = HANGUL_LBASE + lindex
vpart = HANGUL_VBASE + vindex;
tpart = HANGUL_TBASE + tindex;
if tindex > 0:
return (lpart, vpart, tpart)
else:
return (lpart, vpart)
# get a character's decomposition if one exists, as a tuple
def decompose(code, compat=True):
dc = decomp[code]
if dc is None:
return None
t = dc[0]
l = dc[1]
if not compat and t is not None and t != 'hangul':
return None
if l == 1:
return (dc[2],)
elif dc[0] != 'hangul':
o = dc[2]
return tuple(decomp_map[o:o + l])
else:
return hangul_decompose(code)
utf8/src/utf8lite/util/gen-normalization.py 0000755 0001762 0000144 00000013414 13200060072 020453 0 ustar ligges users #!/usr/bin/env python3
# Copyright 2017 Patrick O. Perry.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import math
import re
PATTERN = re.compile(r"""^([0-9A-Fa-f]+) # (first code)
(\.\.([0-9A-Fa-f]+))? # (.. last code)?
\s*
; # ;
\s*
(\w+) # (property name)
\s*
; # ;
\s*
(\w+) # (property value)
\s*
(\#.*)?$ # (# comment)?""", re.X)
UNICODE_MAX = 0x10FFFF
DERIVED_NORMALIZATION_PROPS = "data/ucd/DerivedNormalizationProps.txt"
try:
infile = open(DERIVED_NORMALIZATION_PROPS)
except FileNotFoundError:
infile = open("../" + DERIVED_NORMALIZATION_PROPS, "r")
code_props = ['Yes'] * (UNICODE_MAX + 1)
for line in infile:
m = PATTERN.match(line)
if m is None or m.group(4) != 'NFC_QC':
continue
begin = int(m.group(1), 16)
if m.group(3) is None:
end = begin + 1
else:
end = int(m.group(3), 16) + 1
prop = m.group(5)
if prop == 'M':
prop = 'Maybe'
elif prop == 'N':
prop = 'No'
elif prop == 'Y':
prop = 'Yes'
for code in range(begin, end):
code_props[code] = prop
#print(line, end = "")
#print('[', '{:04X}'.format(begin), ',', '{:04X}'.format(end), '): ',
# prop, sep = '')
infile.close()
prop_names = set(code_props)
prop_vals = {}
prop_vals['No'] = 0
prop_vals['Yes'] = 1
prop_vals['Maybe'] = -1
def compute_tables(block_size):
nblock = len(code_props) // block_size
stage1 = [None] * nblock
stage2 = []
stage2_dict = {}
for i in range(nblock):
begin = i * block_size
end = begin + block_size
block = tuple(code_props[begin:end])
if block in stage2_dict:
j = stage2_dict[block]
else:
j = len(stage2)
stage2_dict[block] = j
stage2.append(block)
stage1[i] = j
return (stage1,stage2)
def stage1_item_size(nstage2):
nbyte = math.ceil(math.log(nstage2, 2) / 8)
size = 2**math.ceil(math.log(nbyte, 2))
return size
page_size = 4096
block_size = 256
nbytes = {}
best_block_size = 1
smallest_size = len(code_props)
for i in range(1,17):
block_size = 2**i
stage1,stage2 = compute_tables(block_size)
#
nbyte1 = len(stage1) * stage1_item_size(len(stage2))
nbyte2 = len(stage2) * block_size
#
nbyte1 = math.ceil(nbyte1 / page_size) * page_size
nbyte2 = math.ceil(nbyte2 / page_size) * page_size
nbyte = nbyte1 + nbyte2
nbytes[block_size] = nbyte
#
if nbyte < smallest_size:
smallest_size = nbyte
best_block_size = block_size
block_size = best_block_size
stage1,stage2 = compute_tables(block_size)
type1_size = stage1_item_size(len(stage2))
if type1_size == 1:
type1 = 'uint8_t'
elif type1_size == 2:
type1 = 'uint16_t'
elif type1_size == 4:
type1 = 'uint32_t'
else:
type1 = 'uint64_t'
type2 = 'int8_t'
# Write normalizationprop.h to stdout
print("/* This file is automatically generated. DO NOT EDIT!")
print(" Instead, edit gen-normalization.py and re-run. */")
print("")
print("/*")
print(" * Unicode NFC_QC property values.")
print(" *")
print(" * Defined in UAX #15 \"Unicode Normalization Forms\"")
print(" *")
print(" * http://www.unicode.org/reports/tr15/")
print(" *")
print(" * Section 9, \"Detecting Normalization Forms.\"")
print(" *")
print(" *")
print(" * We use the two-stage lookup strategy described at")
print(" *")
print(" * http://www.strchr.com/multi-stage_tables")
print(" *")
print(" */")
print("")
print("#ifndef NORMALIZATIONPROP_H")
print("#define NORMALIZATIONPROP_H")
print("")
print("#include ")
print("")
print("enum nfc_qc_prop {")
for i in range(len(prop_names)):
prop = sorted(prop_names)[i]
if i > 0:
print(",")
print("\tNFC_QC_" + prop.upper() + " = " + str(prop_vals[prop]), end="")
print("\n};")
print("")
print("static const " + type1 + " nfc_qc_stage1[] = {")
for i in range(len(stage1) - 1):
if i % 16 == 0:
print("/* U+{:04X} */".format(i * block_size), end="")
print("{0: >3},".format(stage1[i]), end="")
if i % 16 == 15:
print("")
print("{0: >3}".format(stage1[len(stage1) - 1]))
print("};")
print("")
print("static const " + type2 + " nfc_qc_stage2[][" +
str(block_size) + "] = {")
for i in range(len(stage2)):
print(" /* block " + str(i) + " */")
print(" {", end="")
for j in range(block_size):
print("{0: >3}".format(prop_vals[stage2[i][j]]), end="")
if j + 1 == block_size:
print("\n }", end="")
else:
print(",", end="")
if j % 16 == 15:
print("\n ", end="")
if i + 1 != len(stage2):
print(",\n")
else:
print("")
print("};")
print("")
print("static int nfc_qc(uint32_t code)")
print("{")
print("\tconst uint32_t block_size = " + str(block_size) + ";")
print("\t" + type1 + " i = nfc_qc_stage1[code / block_size];")
print("\treturn nfc_qc_stage2[i][code % block_size];")
print("}")
print("")
print("#endif /* NORMALIZATIONPROP_H */")
utf8/src/utf8lite/util/gen-casefold.py 0000755 0001762 0000144 00000013277 13200060072 017354 0 ustar ligges users #!/usr/bin/env python3
# Copyright 2017 Patrick O. Perry.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import math
import re
CASE_FOLDING = 'data/ucd/CaseFolding.txt'
UNICODE_MAX = 0x10FFFF
# Parse CaseFolding.txt
try:
file = open(CASE_FOLDING, 'r')
except FileNotFoundError:
file = open('../' + CASE_FOLDING, 'r')
casefold = []
casefold_map = []
with file:
for line in file:
if line[0] != '#' and line[0] != '\n':
fields = line.split(';')
code = int(fields[0], 16)
status = fields[1].strip();
if status == 'C' or status == 'F':
while code > len(casefold):
casefold.append(None)
assert code == len(casefold)
mapping = [int(x,16) for x in fields[2].split()]
n = len(mapping)
if n > 1:
casefold.append((n, len(casefold_map)))
casefold_map.extend(mapping)
else:
casefold.append((1, mapping[0]))
while len(casefold) <= UNICODE_MAX:
casefold.append(None)
def compute_tables(block_size):
nblock = (UNICODE_MAX + 1) // block_size
stage1 = [None] * nblock
stage2 = []
stage2_dict = {}
for i in range(nblock):
begin = i * block_size
end = begin + block_size
block = tuple(casefold[begin:end])
if block in stage2_dict:
j = stage2_dict[block]
else:
j = len(stage2)
stage2_dict[block] = j
stage2.append(block)
stage1[i] = j
return (stage1,stage2)
def stage1_item_size(nstage2):
nbyte = max(1, math.ceil(math.log(nstage2, 2) / 8))
size = 2**math.ceil(math.log(nbyte, 2))
return size
page_size = 4096
nbytes = {}
best_block_size = 1
smallest_size = UNICODE_MAX + 1
for i in range(1,17):
block_size = 2**i
stage1,stage2 = compute_tables(block_size)
nbyte1 = len(stage1) * stage1_item_size(len(stage2))
nbyte2 = len(stage2) * block_size
nbyte1 = math.ceil(nbyte1 / page_size) * page_size
nbyte2 = math.ceil(nbyte2 / page_size) * page_size
nbyte = nbyte1 + nbyte2
nbytes[block_size] = nbyte
if nbyte < smallest_size:
smallest_size = nbyte
best_block_size = block_size
block_size = best_block_size
stage1,stage2 = compute_tables(block_size)
type1_size = stage1_item_size(len(stage2))
if type1_size == 1:
type1 = 'uint8_t'
elif type1_size == 2:
type1 = 'uint16_t'
elif type1_size == 4:
type1 = 'uint32_t'
else:
type1 = 'uint64_t'
# Write casefold.h to stdout
print("/* This file is automatically generated. DO NOT EDIT!")
print(" Instead, edit gen-casefold.py and re-run. */")
print("")
print("/*")
print(" * Case folding properties.")
print(" *")
print(" * Defined in UAX #44 \"Unicode Character Database\"")
print(" *")
print(" * http://www.unicode.org/reports/tr44/")
print(" *")
print(" * Section 5.6, Case and Case Mapping")
print(" *")
print(" *")
print(" * We use a two-stage lookup strategy as described at")
print(" *")
print(" * http://www.strchr.com/multi-stage_tables")
print(" *")
print(" */")
print("")
print("#ifndef UNICODE_CASEFOLD_H")
print("#define UNICODE_CASEFOLD_H")
print("")
print("#include ")
print("")
print("/* casefold")
print(" * --------")
print(" * length: the length (in codepoints) of the case fold mapping,")
print(" * or 0 if there is no case fold")
print(" *")
print(" * data: the mapped-to codepoint (length = 1), or")
print(" * an index into the `casefold_mapping` array, pointing")
print(" * to the first codepoint in the mapping (length > 1)")
print(" */")
print("struct casefold {")
print("\tunsigned length : 8;")
print("\tunsigned data : 24;")
print("};")
print("")
print("#define CASEFOLD_BLOCK_SIZE", block_size)
print("")
print("static const " + type1 + " casefold_stage1[] = {")
for i in range(len(stage1) - 1):
if i % 16 == 0:
print("/* U+{:04X} */".format(i * block_size), end="")
print("{0: >3},".format(stage1[i]), end="")
if i % 16 == 15:
print("")
print("{0: >3}".format(stage1[len(stage1) - 1]))
print("};")
print("")
print("static const struct casefold casefold_stage2[][" +
str(block_size) + "] = {")
for i in range(0,len(stage2)):
print(" /* block " + str(i) + " */")
print(" {", end="")
for j in range(block_size):
val = stage2[i][j]
if val is None:
print("{0,0}", end="")
else:
print("{{{0},0x{1:05X}}}".format(val[0], val[1]), end="")
#print("{0: >3}".format(prop_vals[stage2[i][j]]), end="")
if j + 1 == block_size:
print("\n }", end="")
else:
print(",", end="")
if j % 5 == 4:
print("\n ", end="")
if i + 1 != len(stage2):
print(",\n")
else:
print("")
print("};")
print("")
print("static const int32_t casefold_mapping[] = {")
for i in range(len(casefold_map) - 1):
if i % 8 == 0:
print("/* 0x{:04X} */ ".format(i), end="")
print("0x{0:04X},".format(casefold_map[i]), end="")
if i % 8 == 7:
print("")
print("0x{0:04X}".format(casefold_map[len(casefold_map) - 1]))
print("};")
print("")
print("#endif /* UNICODE_CASEFOLD_H */")
utf8/src/utf8lite/util/gen-charwidth.py 0000755 0001762 0000144 00000016434 13200060072 017547 0 ustar ligges users #!/usr/bin/env python3
# Copyright 2017 Patrick O. Perry.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import math
try:
import property
import unicode_data
except ModuleNotFoundError:
from util import property
from util import unicode_data
DERIVED_CORE_PROPERTIES = "data/ucd/DerivedCoreProperties.txt"
EAST_ASIAN_WIDTH = "data/ucd/EastAsianWidth.txt"
EMOJI_DATA = "data/emoji/emoji-data.txt"
east_asian_width = property.read(EAST_ASIAN_WIDTH)
# A: Ambiguous (can be narrow or wide depending on context; treat as wide)
# F: Fullwidth (always wide)
# H: Halfwidth (always narrow)
# Na: Narrow (always narrow)
# N: Neutral (non-East Asian; treat as single)
# W: Wide (always wide)
emoji_props = property.read(EMOJI_DATA, sets=True)
# text presentation (MacOS)
emoji_text = set([
# number sign, asterisk
0x0023, 0x002A,
# digit zero..digit nine
0x0030, 0x0031, 0x0032, 0x0033, 0x0034,
0x0035, 0x0036, 0x0037, 0x0038, 0x0039,
# copyright, reserved
0x00A9, 0x00AE,
# double exclamation, exclamation question mark
0x203C, 0x2049,
# trade mark
0x2122,
# arrows
0x2194, 0x2195, 0x2196, 0x2197, 0x2198, 0x2199,
# black, white small square
0x25AA, 0x25AB,
# play, reverse button
0x25B6, 0x25C0,
# male, female sign
0x2640, 0x2642,
# spade, club, heart, diamond suit
0x2660, 0x2663, 0x2665, 0x2666
])
# emoji presentation
emoji = set()
for code in emoji_props['Emoji']:
if code not in emoji_text:
emoji.add(code)
# The following makes more sense according to the spec, but doesn't catch
# all presentation emoji (at least, not on MacOS):
# emoji = emoji_props['Emoji_Presentation']
# for code in emoji_props['Emoji_Modifier_Base']:
# emoji.add(code)
# Treat ignorables as invisible
derived_core_properties = property.read(DERIVED_CORE_PROPERTIES, sets=True)
default_ignorable = derived_core_properties['Default_Ignorable_Code_Point']
# unassigned: not assigned, other, surrogate
none_cats = set(['Cc', 'Cn', 'Co', 'Cs', 'Zl', 'Zp'])
mark_cats = set(['Cf', 'Me', 'Mn'])
none = set([0xFFF9, 0xFFFA, 0xFFFB]) # interlinear annotation markers
mark = set()
for code in range(len(unicode_data.uchars)):
u = unicode_data.uchars[code]
if code in none or code in mark:
pass
elif u is None or u.category in none_cats:
none.add(code)
elif u.category in mark_cats:
mark.add(code)
code_props = [None] * len(east_asian_width)
for code in range(len(code_props)):
eaw = east_asian_width[code]
if code in default_ignorable: # default ingorable overrides
code_props[code] = 'Ignorable'
elif code in emoji: # emoji overrides
code_props[code] = 'Emoji'
elif code in mark: # mark overrides
code_props[code] = 'Mark'
elif code in none: # none overrides
code_props[code] = 'None'
elif eaw == 'F' or eaw == 'W':
code_props[code] = 'Wide'
elif eaw == 'H' or eaw == 'Na' or eaw == 'N':
code_props[code] = 'Narrow'
elif eaw == 'A':
code_props[code] = 'Ambiguous'
else:
code_props[code] = 'Narrow' # default to narrow
prop_names = [
'None', 'Ignorable', 'Mark', 'Narrow', 'Ambiguous', 'Wide', 'Emoji'
]
prop_vals = {}
for p in prop_names:
prop_vals[p] = len(prop_vals)
def compute_tables(block_size):
nblock = len(code_props) // block_size
stage1 = [None] * nblock
stage2 = []
stage2_dict = {}
for i in range(nblock):
begin = i * block_size
end = begin + block_size
block = tuple(code_props[begin:end])
if block in stage2_dict:
j = stage2_dict[block]
else:
j = len(stage2)
stage2_dict[block] = j
stage2.append(block)
stage1[i] = j
return (stage1,stage2)
def stage1_item_size(nstage2):
nbyte = math.ceil(math.log(nstage2, 2) / 8)
size = 2**math.ceil(math.log(nbyte, 2))
return size
page_size = 4096
block_size = 256
nbytes = {}
best_block_size = 1
smallest_size = len(code_props)
for i in range(1,17):
block_size = 2**i
stage1,stage2 = compute_tables(block_size)
nbyte1 = len(stage1) * stage1_item_size(len(stage2))
nbyte2 = len(stage2) * block_size
nbyte1 = math.ceil(nbyte1 / page_size) * page_size
nbyte2 = math.ceil(nbyte2 / page_size) * page_size
nbyte = nbyte1 + nbyte2
nbytes[block_size] = nbyte
if nbyte < smallest_size:
smallest_size = nbyte
best_block_size = block_size
block_size = best_block_size
stage1,stage2 = compute_tables(block_size)
type1_size = stage1_item_size(len(stage2))
if type1_size == 1:
type1 = 'uint8_t'
elif type1_size == 2:
type1 = 'uint16_t'
elif type1_size == 4:
type1 = 'uint32_t'
else:
type1 = 'uint64_t'
type2 = 'int8_t'
# Write chardwidth.h to stdout
print("/* This file is automatically generated. DO NOT EDIT!")
print(" Instead, edit gen-charwidth.py and re-run. */")
print("")
print("/*")
print(" * Unicode East_Asian_Width property values.")
print(" *")
print(" * Defined in UAX #11 \"East Asian Width\"")
print(" *")
print(" * http://www.unicode.org/reports/tr11/")
print(" *")
print(" * We use the two-stage lookup strategy described at")
print(" *")
print(" * http://www.strchr.com/multi-stage_tables")
print(" *")
print(" */")
print("")
print("#ifndef CHARWIDTH_H")
print("#define CHARWIDTH_H")
print("")
print("#include ")
print("")
print("enum charwidth_prop {")
first = True
for prop in prop_names:
if not first:
print(",\n", end="")
else:
first = False
print("\tCHARWIDTH_" + prop.upper() + " = " + str(prop_vals[prop]), end="")
print("\n};")
print("")
print("static const " + type1 + " charwidth_stage1[] = {")
for i in range(len(stage1) - 1):
if i % 16 == 0:
print("/* U+{:04X} */".format(i * block_size), end="")
print("{0: >3},".format(stage1[i]), end="")
if i % 16 == 15:
print("")
print("{0: >3}".format(stage1[len(stage1) - 1]))
print("};")
print("")
print("static const " + type2 + " charwidth_stage2[][" +
str(block_size) + "] = {")
for i in range(len(stage2)):
print(" /* block " + str(i) + " */")
print(" {", end="")
for j in range(block_size):
print("{0: >3}".format(prop_vals[stage2[i][j]]), end="")
if j + 1 == block_size:
print("\n }", end="")
else:
print(",", end="")
if j % 16 == 15:
print("\n ", end="")
if i + 1 != len(stage2):
print(",\n")
else:
print("")
print("};")
print("")
print("static int charwidth(int32_t code)")
print("{")
print("\tconst int32_t block_size = " + str(block_size) + ";")
print("\t" + type1 + " i = charwidth_stage1[code / block_size];")
print("\treturn charwidth_stage2[i][code % block_size];")
print("}")
print("")
print("#endif /* CHARWIDTH_H */")
utf8/src/utf8lite/LICENSE 0000644 0001762 0000144 00000026136 13200060072 014476 0 ustar ligges users
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
utf8/src/utf8lite/Doxyfile 0000644 0001762 0000144 00000317317 13200060072 015203 0 ustar ligges users # Doxyfile 1.8.13
# This file describes the settings to be used by the documentation system
# doxygen (www.doxygen.org) for a project.
#
# All text after a double hash (##) is considered a comment and is placed in
# front of the TAG it is preceding.
#
# All text after a single hash (#) is considered a comment and will be ignored.
# The format is:
# TAG = value [value, ...]
# For lists, items can also be appended using:
# TAG += value [value, ...]
# Values that contain spaces should be placed between quotes (\" \").
#---------------------------------------------------------------------------
# Project related configuration options
#---------------------------------------------------------------------------
# This tag specifies the encoding used for all characters in the config file
# that follow. The default is UTF-8 which is also the encoding used for all text
# before the first occurrence of this tag. Doxygen uses libiconv (or the iconv
# built into libc) for the transcoding. See http://www.gnu.org/software/libiconv
# for the list of possible encodings.
# The default value is: UTF-8.
DOXYFILE_ENCODING = UTF-8
# The PROJECT_NAME tag is a single word (or a sequence of words surrounded by
# double-quotes, unless you are using Doxywizard) that should identify the
# project for which the documentation is generated. This name is used in the
# title of most generated pages and in a few other places.
# The default value is: My Project.
PROJECT_NAME = "utf8lite"
# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
# could be handy for archiving the generated documentation or if some version
# control system is used.
PROJECT_NUMBER =
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
# quick idea about the purpose of the project. Keep the description short.
PROJECT_BRIEF = "A lightweight C library for processing UTF-8 data"
# With the PROJECT_LOGO tag one can specify a logo or an icon that is included
# in the documentation. The maximum height of the logo should not exceed 55
# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy
# the logo to the output directory.
PROJECT_LOGO =
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
# into which the generated documentation will be written. If a relative path is
# entered, it will be relative to the location where doxygen was started. If
# left blank the current directory will be used.
OUTPUT_DIRECTORY = doc
# If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub-
# directories (in 2 levels) under the output directory of each output format and
# will distribute the generated files over these directories. Enabling this
# option can be useful when feeding doxygen a huge amount of source files, where
# putting all generated files in the same directory would otherwise causes
# performance problems for the file system.
# The default value is: NO.
CREATE_SUBDIRS = NO
# If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII
# characters to appear in the names of generated files. If set to NO, non-ASCII
# characters will be escaped, for example _xE3_x81_x84 will be used for Unicode
# U+3044.
# The default value is: NO.
ALLOW_UNICODE_NAMES = NO
# The OUTPUT_LANGUAGE tag is used to specify the language in which all
# documentation generated by doxygen is written. Doxygen will use this
# information to generate all constant output in the proper language.
# Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, Chinese,
# Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States),
# Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian,
# Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages),
# Korean, Korean-en (Korean with English messages), Latvian, Lithuanian,
# Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, Russian,
# Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish,
# Ukrainian and Vietnamese.
# The default value is: English.
OUTPUT_LANGUAGE = English
# If the BRIEF_MEMBER_DESC tag is set to YES, doxygen will include brief member
# descriptions after the members that are listed in the file and class
# documentation (similar to Javadoc). Set to NO to disable this.
# The default value is: YES.
BRIEF_MEMBER_DESC = YES
# If the REPEAT_BRIEF tag is set to YES, doxygen will prepend the brief
# description of a member or function before the detailed description
#
# Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
# brief descriptions will be completely suppressed.
# The default value is: YES.
REPEAT_BRIEF = YES
# This tag implements a quasi-intelligent brief description abbreviator that is
# used to form the text in various listings. Each string in this list, if found
# as the leading text of the brief description, will be stripped from the text
# and the result, after processing the whole list, is used as the annotated
# text. Otherwise, the brief description is used as-is. If left blank, the
# following values are used ($name is automatically replaced with the name of
# the entity):The $name class, The $name widget, The $name file, is, provides,
# specifies, contains, represents, a, an and the.
ABBREVIATE_BRIEF = "The $name class" \
"The $name widget" \
"The $name file" \
is \
provides \
specifies \
contains \
represents \
a \
an \
the
# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
# doxygen will generate a detailed section even if there is only a brief
# description.
# The default value is: NO.
ALWAYS_DETAILED_SEC = NO
# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
# inherited members of a class in the documentation of that class as if those
# members were ordinary class members. Constructors, destructors and assignment
# operators of the base classes will not be shown.
# The default value is: NO.
INLINE_INHERITED_MEMB = NO
# If the FULL_PATH_NAMES tag is set to YES, doxygen will prepend the full path
# before files name in the file list and in the header files. If set to NO the
# shortest path that makes the file name unique will be used
# The default value is: YES.
FULL_PATH_NAMES = YES
# The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path.
# Stripping is only done if one of the specified strings matches the left-hand
# part of the path. The tag can be used to show relative paths in the file list.
# If left blank the directory from which doxygen is run is used as the path to
# strip.
#
# Note that you can specify absolute paths here, but also relative paths, which
# will be relative from the directory where doxygen is started.
# This tag requires that the tag FULL_PATH_NAMES is set to YES.
STRIP_FROM_PATH = src
# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the
# path mentioned in the documentation of a class, which tells the reader which
# header file to include in order to use a class. If left blank only the name of
# the header file containing the class definition is used. Otherwise one should
# specify the list of include paths that are normally passed to the compiler
# using the -I flag.
STRIP_FROM_INC_PATH =
# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but
# less readable) file names. This can be useful is your file systems doesn't
# support long names like on DOS, Mac, or CD-ROM.
# The default value is: NO.
SHORT_NAMES = NO
# If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the
# first line (until the first dot) of a Javadoc-style comment as the brief
# description. If set to NO, the Javadoc-style will behave just like regular Qt-
# style comments (thus requiring an explicit @brief command for a brief
# description.)
# The default value is: NO.
JAVADOC_AUTOBRIEF = YES
# If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first
# line (until the first dot) of a Qt-style comment as the brief description. If
# set to NO, the Qt-style will behave just like regular Qt-style comments (thus
# requiring an explicit \brief command for a brief description.)
# The default value is: NO.
QT_AUTOBRIEF = NO
# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a
# multi-line C++ special comment block (i.e. a block of //! or /// comments) as
# a brief description. This used to be the default behavior. The new default is
# to treat a multi-line C++ comment block as a detailed description. Set this
# tag to YES if you prefer the old behavior instead.
#
# Note that setting this tag to YES also means that rational rose comments are
# not recognized any more.
# The default value is: NO.
MULTILINE_CPP_IS_BRIEF = NO
# If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the
# documentation from any documented member that it re-implements.
# The default value is: YES.
INHERIT_DOCS = YES
# If the SEPARATE_MEMBER_PAGES tag is set to YES then doxygen will produce a new
# page for each member. If set to NO, the documentation of a member will be part
# of the file/class/namespace that contains it.
# The default value is: NO.
SEPARATE_MEMBER_PAGES = NO
# The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen
# uses this value to replace tabs by spaces in code fragments.
# Minimum value: 1, maximum value: 16, default value: 4.
TAB_SIZE = 8
# This tag can be used to specify a number of aliases that act as commands in
# the documentation. An alias has the form:
# name=value
# For example adding
# "sideeffect=@par Side Effects:\n"
# will allow you to put the command \sideeffect (or @sideeffect) in the
# documentation, which will result in a user-defined paragraph with heading
# "Side Effects:". You can put \n's in the value part of an alias to insert
# newlines.
ALIASES =
# This tag can be used to specify a number of word-keyword mappings (TCL only).
# A mapping has the form "name=value". For example adding "class=itcl::class"
# will allow you to use the command class in the itcl::class meaning.
TCL_SUBST =
# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources
# only. Doxygen will then generate output that is more tailored for C. For
# instance, some of the names that are used will be different. The list of all
# members will be omitted, etc.
# The default value is: NO.
OPTIMIZE_OUTPUT_FOR_C = YES
# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or
# Python sources only. Doxygen will then generate output that is more tailored
# for that language. For instance, namespaces will be presented as packages,
# qualified scopes will look different, etc.
# The default value is: NO.
OPTIMIZE_OUTPUT_JAVA = NO
# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
# sources. Doxygen will then generate output that is tailored for Fortran.
# The default value is: NO.
OPTIMIZE_FOR_FORTRAN = NO
# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
# sources. Doxygen will then generate output that is tailored for VHDL.
# The default value is: NO.
OPTIMIZE_OUTPUT_VHDL = NO
# Doxygen selects the parser to use depending on the extension of the files it
# parses. With this tag you can assign which parser to use for a given
# extension. Doxygen has a built-in mapping, but you can override or extend it
# using this tag. The format is ext=language, where ext is a file extension, and
# language is one of the parsers supported by doxygen: IDL, Java, Javascript,
# C#, C, C++, D, PHP, Objective-C, Python, Fortran (fixed format Fortran:
# FortranFixed, free formatted Fortran: FortranFree, unknown formatted Fortran:
# Fortran. In the later case the parser tries to guess whether the code is fixed
# or free formatted code, this is the default for Fortran type files), VHDL. For
# instance to make doxygen treat .inc files as Fortran files (default is PHP),
# and .f files as C (default is Fortran), use: inc=Fortran f=C.
#
# Note: For files without extension you can use no_extension as a placeholder.
#
# Note that for custom extensions you also need to set FILE_PATTERNS otherwise
# the files are not read by doxygen.
EXTENSION_MAPPING =
# If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments
# according to the Markdown format, which allows for more readable
# documentation. See http://daringfireball.net/projects/markdown/ for details.
# The output of markdown processing is further processed by doxygen, so you can
# mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in
# case of backward compatibilities issues.
# The default value is: YES.
MARKDOWN_SUPPORT = YES
# When the TOC_INCLUDE_HEADINGS tag is set to a non-zero value, all headings up
# to that level are automatically included in the table of contents, even if
# they do not have an id attribute.
# Note: This feature currently applies only to Markdown headings.
# Minimum value: 0, maximum value: 99, default value: 0.
# This tag requires that the tag MARKDOWN_SUPPORT is set to YES.
TOC_INCLUDE_HEADINGS = 0
# When enabled doxygen tries to link words that correspond to documented
# classes, or namespaces to their corresponding documentation. Such a link can
# be prevented in individual cases by putting a % sign in front of the word or
# globally by setting AUTOLINK_SUPPORT to NO.
# The default value is: YES.
AUTOLINK_SUPPORT = YES
# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
# to include (a tag file for) the STL sources as input, then you should set this
# tag to YES in order to let doxygen match functions declarations and
# definitions whose arguments contain STL classes (e.g. func(std::string);
# versus func(std::string) {}). This also make the inheritance and collaboration
# diagrams that involve STL classes more complete and accurate.
# The default value is: NO.
BUILTIN_STL_SUPPORT = NO
# If you use Microsoft's C++/CLI language, you should set this option to YES to
# enable parsing support.
# The default value is: NO.
CPP_CLI_SUPPORT = NO
# Set the SIP_SUPPORT tag to YES if your project consists of sip (see:
# http://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen
# will parse them like normal C++ but will assume all classes use public instead
# of private inheritance when no explicit protection keyword is present.
# The default value is: NO.
SIP_SUPPORT = NO
# For Microsoft's IDL there are propget and propput attributes to indicate
# getter and setter methods for a property. Setting this option to YES will make
# doxygen to replace the get and set methods by a property in the documentation.
# This will only work if the methods are indeed getting or setting a simple
# type. If this is not the case, or you want to show the methods anyway, you
# should set this option to NO.
# The default value is: YES.
IDL_PROPERTY_SUPPORT = YES
# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
# tag is set to YES then doxygen will reuse the documentation of the first
# member in the group (if any) for the other members of the group. By default
# all members of a group must be documented explicitly.
# The default value is: NO.
DISTRIBUTE_GROUP_DOC = NO
# If one adds a struct or class to a group and this option is enabled, then also
# any nested class or struct is added to the same group. By default this option
# is disabled and one has to add nested compounds explicitly via \ingroup.
# The default value is: NO.
GROUP_NESTED_COMPOUNDS = NO
# Set the SUBGROUPING tag to YES to allow class member groups of the same type
# (for instance a group of public functions) to be put as a subgroup of that
# type (e.g. under the Public Functions section). Set it to NO to prevent
# subgrouping. Alternatively, this can be done per class using the
# \nosubgrouping command.
# The default value is: YES.
SUBGROUPING = YES
# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions
# are shown inside the group in which they are included (e.g. using \ingroup)
# instead of on a separate page (for HTML and Man pages) or section (for LaTeX
# and RTF).
#
# Note that this feature does not work in combination with
# SEPARATE_MEMBER_PAGES.
# The default value is: NO.
INLINE_GROUPED_CLASSES = NO
# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and unions
# with only public data fields or simple typedef fields will be shown inline in
# the documentation of the scope in which they are defined (i.e. file,
# namespace, or group documentation), provided this scope is documented. If set
# to NO, structs, classes, and unions are shown on a separate page (for HTML and
# Man pages) or section (for LaTeX and RTF).
# The default value is: NO.
INLINE_SIMPLE_STRUCTS = NO
# When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or
# enum is documented as struct, union, or enum with the name of the typedef. So
# typedef struct TypeS {} TypeT, will appear in the documentation as a struct
# with name TypeT. When disabled the typedef will appear as a member of a file,
# namespace, or class. And the struct will be named TypeS. This can typically be
# useful for C code in case the coding convention dictates that all compound
# types are typedef'ed and only the typedef is referenced, never the tag name.
# The default value is: NO.
TYPEDEF_HIDES_STRUCT = NO
# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This
# cache is used to resolve symbols given their name and scope. Since this can be
# an expensive process and often the same symbol appears multiple times in the
# code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small
# doxygen will become slower. If the cache is too large, memory is wasted. The
# cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range
# is 0..9, the default is 0, corresponding to a cache size of 2^16=65536
# symbols. At the end of a run doxygen will report the cache usage and suggest
# the optimal cache size from a speed point of view.
# Minimum value: 0, maximum value: 9, default value: 0.
LOOKUP_CACHE_SIZE = 0
#---------------------------------------------------------------------------
# Build related configuration options
#---------------------------------------------------------------------------
# If the EXTRACT_ALL tag is set to YES, doxygen will assume all entities in
# documentation are documented, even if no documentation was available. Private
# class members and static file members will be hidden unless the
# EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES.
# Note: This will also disable the warnings about undocumented members that are
# normally produced when WARNINGS is set to YES.
# The default value is: NO.
EXTRACT_ALL = NO
# If the EXTRACT_PRIVATE tag is set to YES, all private members of a class will
# be included in the documentation.
# The default value is: NO.
EXTRACT_PRIVATE = NO
# If the EXTRACT_PACKAGE tag is set to YES, all members with package or internal
# scope will be included in the documentation.
# The default value is: NO.
EXTRACT_PACKAGE = NO
# If the EXTRACT_STATIC tag is set to YES, all static members of a file will be
# included in the documentation.
# The default value is: NO.
EXTRACT_STATIC = YES
# If the EXTRACT_LOCAL_CLASSES tag is set to YES, classes (and structs) defined
# locally in source files will be included in the documentation. If set to NO,
# only classes defined in header files are included. Does not have any effect
# for Java sources.
# The default value is: YES.
EXTRACT_LOCAL_CLASSES = YES
# This flag is only useful for Objective-C code. If set to YES, local methods,
# which are defined in the implementation section but not in the interface are
# included in the documentation. If set to NO, only methods in the interface are
# included.
# The default value is: NO.
EXTRACT_LOCAL_METHODS = NO
# If this flag is set to YES, the members of anonymous namespaces will be
# extracted and appear in the documentation as a namespace called
# 'anonymous_namespace{file}', where file will be replaced with the base name of
# the file that contains the anonymous namespace. By default anonymous namespace
# are hidden.
# The default value is: NO.
EXTRACT_ANON_NSPACES = NO
# If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all
# undocumented members inside documented classes or files. If set to NO these
# members will be included in the various overviews, but no documentation
# section is generated. This option has no effect if EXTRACT_ALL is enabled.
# The default value is: NO.
HIDE_UNDOC_MEMBERS = NO
# If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all
# undocumented classes that are normally visible in the class hierarchy. If set
# to NO, these classes will be included in the various overviews. This option
# has no effect if EXTRACT_ALL is enabled.
# The default value is: NO.
HIDE_UNDOC_CLASSES = NO
# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend
# (class|struct|union) declarations. If set to NO, these declarations will be
# included in the documentation.
# The default value is: NO.
HIDE_FRIEND_COMPOUNDS = NO
# If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any
# documentation blocks found inside the body of a function. If set to NO, these
# blocks will be appended to the function's detailed documentation block.
# The default value is: NO.
HIDE_IN_BODY_DOCS = NO
# The INTERNAL_DOCS tag determines if documentation that is typed after a
# \internal command is included. If the tag is set to NO then the documentation
# will be excluded. Set it to YES to include the internal documentation.
# The default value is: NO.
INTERNAL_DOCS = NO
# If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file
# names in lower-case letters. If set to YES, upper-case letters are also
# allowed. This is useful if you have classes or files whose names only differ
# in case and if your file system supports case sensitive file names. Windows
# and Mac users are advised to set this option to NO.
# The default value is: system dependent.
CASE_SENSE_NAMES = NO
# If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with
# their full class and namespace scopes in the documentation. If set to YES, the
# scope will be hidden.
# The default value is: NO.
HIDE_SCOPE_NAMES = NO
# If the HIDE_COMPOUND_REFERENCE tag is set to NO (default) then doxygen will
# append additional text to a page's title, such as Class Reference. If set to
# YES the compound reference will be hidden.
# The default value is: NO.
HIDE_COMPOUND_REFERENCE= NO
# If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of
# the files that are included by a file in the documentation of that file.
# The default value is: YES.
SHOW_INCLUDE_FILES = YES
# If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each
# grouped member an include statement to the documentation, telling the reader
# which file to include in order to use the member.
# The default value is: NO.
SHOW_GROUPED_MEMB_INC = NO
# If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include
# files with double quotes in the documentation rather than with sharp brackets.
# The default value is: NO.
FORCE_LOCAL_INCLUDES = NO
# If the INLINE_INFO tag is set to YES then a tag [inline] is inserted in the
# documentation for inline members.
# The default value is: YES.
INLINE_INFO = YES
# If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the
# (detailed) documentation of file and class members alphabetically by member
# name. If set to NO, the members will appear in declaration order.
# The default value is: YES.
SORT_MEMBER_DOCS = YES
# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief
# descriptions of file, namespace and class members alphabetically by member
# name. If set to NO, the members will appear in declaration order. Note that
# this will also influence the order of the classes in the class list.
# The default value is: NO.
SORT_BRIEF_DOCS = NO
# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the
# (brief and detailed) documentation of class members so that constructors and
# destructors are listed first. If set to NO the constructors will appear in the
# respective orders defined by SORT_BRIEF_DOCS and SORT_MEMBER_DOCS.
# Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief
# member documentation.
# Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting
# detailed member documentation.
# The default value is: NO.
SORT_MEMBERS_CTORS_1ST = NO
# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy
# of group names into alphabetical order. If set to NO the group names will
# appear in their defined order.
# The default value is: NO.
SORT_GROUP_NAMES = NO
# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by
# fully-qualified names, including namespaces. If set to NO, the class list will
# be sorted only by class name, not including the namespace part.
# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
# Note: This option applies only to the class list, not to the alphabetical
# list.
# The default value is: NO.
SORT_BY_SCOPE_NAME = NO
# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to do proper
# type resolution of all parameters of a function it will reject a match between
# the prototype and the implementation of a member function even if there is
# only one candidate or it is obvious which candidate to choose by doing a
# simple string match. By disabling STRICT_PROTO_MATCHING doxygen will still
# accept a match between prototype and implementation in such cases.
# The default value is: NO.
STRICT_PROTO_MATCHING = NO
# The GENERATE_TODOLIST tag can be used to enable (YES) or disable (NO) the todo
# list. This list is created by putting \todo commands in the documentation.
# The default value is: YES.
GENERATE_TODOLIST = YES
# The GENERATE_TESTLIST tag can be used to enable (YES) or disable (NO) the test
# list. This list is created by putting \test commands in the documentation.
# The default value is: YES.
GENERATE_TESTLIST = YES
# The GENERATE_BUGLIST tag can be used to enable (YES) or disable (NO) the bug
# list. This list is created by putting \bug commands in the documentation.
# The default value is: YES.
GENERATE_BUGLIST = YES
# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or disable (NO)
# the deprecated list. This list is created by putting \deprecated commands in
# the documentation.
# The default value is: YES.
GENERATE_DEPRECATEDLIST= YES
# The ENABLED_SECTIONS tag can be used to enable conditional documentation
# sections, marked by \if ... \endif and \cond
# ... \endcond blocks.
ENABLED_SECTIONS =
# The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the
# initial value of a variable or macro / define can have for it to appear in the
# documentation. If the initializer consists of more lines than specified here
# it will be hidden. Use a value of 0 to hide initializers completely. The
# appearance of the value of individual variables and macros / defines can be
# controlled using \showinitializer or \hideinitializer command in the
# documentation regardless of this setting.
# Minimum value: 0, maximum value: 10000, default value: 30.
MAX_INITIALIZER_LINES = 30
# Set the SHOW_USED_FILES tag to NO to disable the list of files generated at
# the bottom of the documentation of classes and structs. If set to YES, the
# list will mention the files that were used to generate the documentation.
# The default value is: YES.
SHOW_USED_FILES = YES
# Set the SHOW_FILES tag to NO to disable the generation of the Files page. This
# will remove the Files entry from the Quick Index and from the Folder Tree View
# (if specified).
# The default value is: YES.
SHOW_FILES = YES
# Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces
# page. This will remove the Namespaces entry from the Quick Index and from the
# Folder Tree View (if specified).
# The default value is: YES.
SHOW_NAMESPACES = YES
# The FILE_VERSION_FILTER tag can be used to specify a program or script that
# doxygen should invoke to get the current version for each file (typically from
# the version control system). Doxygen will invoke the program by executing (via
# popen()) the command command input-file, where command is the value of the
# FILE_VERSION_FILTER tag, and input-file is the name of an input file provided
# by doxygen. Whatever the program writes to standard output is used as the file
# version. For an example see the documentation.
FILE_VERSION_FILTER =
# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed
# by doxygen. The layout file controls the global structure of the generated
# output files in an output format independent way. To create the layout file
# that represents doxygen's defaults, run doxygen with the -l option. You can
# optionally specify a file name after the option, if omitted DoxygenLayout.xml
# will be used as the name of the layout file.
#
# Note that if you run doxygen from a directory containing a file called
# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE
# tag is left empty.
LAYOUT_FILE =
# The CITE_BIB_FILES tag can be used to specify one or more bib files containing
# the reference definitions. This must be a list of .bib files. The .bib
# extension is automatically appended if omitted. This requires the bibtex tool
# to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info.
# For LaTeX the style of the bibliography can be controlled using
# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the
# search path. See also \cite for info how to create references.
CITE_BIB_FILES =
#---------------------------------------------------------------------------
# Configuration options related to warning and progress messages
#---------------------------------------------------------------------------
# The QUIET tag can be used to turn on/off the messages that are generated to
# standard output by doxygen. If QUIET is set to YES this implies that the
# messages are off.
# The default value is: NO.
QUIET = NO
# The WARNINGS tag can be used to turn on/off the warning messages that are
# generated to standard error (stderr) by doxygen. If WARNINGS is set to YES
# this implies that the warnings are on.
#
# Tip: Turn warnings on while writing the documentation.
# The default value is: YES.
WARNINGS = YES
# If the WARN_IF_UNDOCUMENTED tag is set to YES then doxygen will generate
# warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag
# will automatically be disabled.
# The default value is: YES.
WARN_IF_UNDOCUMENTED = YES
# If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for
# potential errors in the documentation, such as not documenting some parameters
# in a documented function, or documenting parameters that don't exist or using
# markup commands wrongly.
# The default value is: YES.
WARN_IF_DOC_ERROR = YES
# This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that
# are documented, but have no documentation for their parameters or return
# value. If set to NO, doxygen will only warn about wrong or incomplete
# parameter documentation, but not about the absence of documentation.
# The default value is: NO.
WARN_NO_PARAMDOC = NO
# If the WARN_AS_ERROR tag is set to YES then doxygen will immediately stop when
# a warning is encountered.
# The default value is: NO.
WARN_AS_ERROR = NO
# The WARN_FORMAT tag determines the format of the warning messages that doxygen
# can produce. The string should contain the $file, $line, and $text tags, which
# will be replaced by the file and line number from which the warning originated
# and the warning text. Optionally the format may contain $version, which will
# be replaced by the version of the file (if it could be obtained via
# FILE_VERSION_FILTER)
# The default value is: $file:$line: $text.
WARN_FORMAT = "$file:$line: $text"
# The WARN_LOGFILE tag can be used to specify a file to which warning and error
# messages should be written. If left blank the output is written to standard
# error (stderr).
WARN_LOGFILE =
#---------------------------------------------------------------------------
# Configuration options related to the input files
#---------------------------------------------------------------------------
# The INPUT tag is used to specify the files and/or directories that contain
# documented source files. You may enter file names like myfile.cpp or
# directories like /usr/src/myproject. Separate the files or directories with
# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
# Note: If this tag is empty the current directory is searched.
INPUT = README.md src
# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
# libiconv (or the iconv built into libc) for the transcoding. See the libiconv
# documentation (see: http://www.gnu.org/software/libiconv) for the list of
# possible encodings.
# The default value is: UTF-8.
INPUT_ENCODING = UTF-8
# If the value of the INPUT tag contains directories, you can use the
# FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and
# *.h) to filter out the source-files in the directories.
#
# Note that for custom extensions or not directly supported extensions you also
# need to set EXTENSION_MAPPING for the extension otherwise the files are not
# read by doxygen.
#
# If left blank the following patterns are tested:*.c, *.cc, *.cxx, *.cpp,
# *.c++, *.java, *.ii, *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h,
# *.hh, *.hxx, *.hpp, *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc,
# *.m, *.markdown, *.md, *.mm, *.dox, *.py, *.pyw, *.f90, *.f95, *.f03, *.f08,
# *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf and *.qsf.
FILE_PATTERNS = *.h \
*.md
# The RECURSIVE tag can be used to specify whether or not subdirectories should
# be searched for input files as well.
# The default value is: NO.
RECURSIVE = NO
# The EXCLUDE tag can be used to specify files and/or directories that should be
# excluded from the INPUT source files. This way you can easily exclude a
# subdirectory from a directory tree whose root is specified with the INPUT tag.
#
# Note that relative paths are relative to the directory from which doxygen is
# run.
EXCLUDE =
# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
# directories that are symbolic links (a Unix file system feature) are excluded
# from the input.
# The default value is: NO.
EXCLUDE_SYMLINKS = NO
# If the value of the INPUT tag contains directories, you can use the
# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
# certain files from those directories.
#
# Note that the wildcards are matched against the file with absolute path, so to
# exclude all test directories for example use the pattern */test/*
EXCLUDE_PATTERNS =
# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
# (namespaces, classes, functions, etc.) that should be excluded from the
# output. The symbol name can be a fully qualified name, a word, or if the
# wildcard * is used, a substring. Examples: ANamespace, AClass,
# AClass::ANamespace, ANamespace::*Test
#
# Note that the wildcards are matched against the file with absolute path, so to
# exclude all test directories use the pattern */test/*
EXCLUDE_SYMBOLS =
# The EXAMPLE_PATH tag can be used to specify one or more files or directories
# that contain example code fragments that are included (see the \include
# command).
EXAMPLE_PATH =
# If the value of the EXAMPLE_PATH tag contains directories, you can use the
# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and
# *.h) to filter out the source-files in the directories. If left blank all
# files are included.
EXAMPLE_PATTERNS = *
# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
# searched for input files to be used with the \include or \dontinclude commands
# irrespective of the value of the RECURSIVE tag.
# The default value is: NO.
EXAMPLE_RECURSIVE = NO
# The IMAGE_PATH tag can be used to specify one or more files or directories
# that contain images that are to be included in the documentation (see the
# \image command).
IMAGE_PATH =
# The INPUT_FILTER tag can be used to specify a program that doxygen should
# invoke to filter for each input file. Doxygen will invoke the filter program
# by executing (via popen()) the command:
#
#
#
# where is the value of the INPUT_FILTER tag, and is the
# name of an input file. Doxygen will then use the output that the filter
# program writes to standard output. If FILTER_PATTERNS is specified, this tag
# will be ignored.
#
# Note that the filter must not add or remove lines; it is applied before the
# code is scanned, but not when the output code is generated. If lines are added
# or removed, the anchors will not be placed correctly.
#
# Note that for custom extensions or not directly supported extensions you also
# need to set EXTENSION_MAPPING for the extension otherwise the files are not
# properly processed by doxygen.
INPUT_FILTER =
# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
# basis. Doxygen will compare the file name with each pattern and apply the
# filter if there is a match. The filters are a list of the form: pattern=filter
# (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how
# filters are used. If the FILTER_PATTERNS tag is empty or if none of the
# patterns match the file name, INPUT_FILTER is applied.
#
# Note that for custom extensions or not directly supported extensions you also
# need to set EXTENSION_MAPPING for the extension otherwise the files are not
# properly processed by doxygen.
FILTER_PATTERNS =
# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
# INPUT_FILTER) will also be used to filter the input files that are used for
# producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES).
# The default value is: NO.
FILTER_SOURCE_FILES = NO
# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file
# pattern. A pattern will override the setting for FILTER_PATTERN (if any) and
# it is also possible to disable source filtering for a specific pattern using
# *.ext= (so without naming a filter).
# This tag requires that the tag FILTER_SOURCE_FILES is set to YES.
FILTER_SOURCE_PATTERNS =
# If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that
# is part of the input, its contents will be placed on the main page
# (index.html). This can be useful if you have a project on for instance GitHub
# and want to reuse the introduction page also for the doxygen output.
USE_MDFILE_AS_MAINPAGE = README.md
#---------------------------------------------------------------------------
# Configuration options related to source browsing
#---------------------------------------------------------------------------
# If the SOURCE_BROWSER tag is set to YES then a list of source files will be
# generated. Documented entities will be cross-referenced with these sources.
#
# Note: To get rid of all source code in the generated output, make sure that
# also VERBATIM_HEADERS is set to NO.
# The default value is: NO.
SOURCE_BROWSER = NO
# Setting the INLINE_SOURCES tag to YES will include the body of functions,
# classes and enums directly into the documentation.
# The default value is: NO.
INLINE_SOURCES = NO
# Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any
# special comment blocks from generated source code fragments. Normal C, C++ and
# Fortran comments will always remain visible.
# The default value is: YES.
STRIP_CODE_COMMENTS = YES
# If the REFERENCED_BY_RELATION tag is set to YES then for each documented
# function all documented functions referencing it will be listed.
# The default value is: NO.
REFERENCED_BY_RELATION = NO
# If the REFERENCES_RELATION tag is set to YES then for each documented function
# all documented entities called/used by that function will be listed.
# The default value is: NO.
REFERENCES_RELATION = NO
# If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set
# to YES then the hyperlinks from functions in REFERENCES_RELATION and
# REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will
# link to the documentation.
# The default value is: YES.
REFERENCES_LINK_SOURCE = YES
# If SOURCE_TOOLTIPS is enabled (the default) then hovering a hyperlink in the
# source code will show a tooltip with additional information such as prototype,
# brief description and links to the definition and documentation. Since this
# will make the HTML file larger and loading of large files a bit slower, you
# can opt to disable this feature.
# The default value is: YES.
# This tag requires that the tag SOURCE_BROWSER is set to YES.
SOURCE_TOOLTIPS = YES
# If the USE_HTAGS tag is set to YES then the references to source code will
# point to the HTML generated by the htags(1) tool instead of doxygen built-in
# source browser. The htags tool is part of GNU's global source tagging system
# (see http://www.gnu.org/software/global/global.html). You will need version
# 4.8.6 or higher.
#
# To use it do the following:
# - Install the latest version of global
# - Enable SOURCE_BROWSER and USE_HTAGS in the config file
# - Make sure the INPUT points to the root of the source tree
# - Run doxygen as normal
#
# Doxygen will invoke htags (and that will in turn invoke gtags), so these
# tools must be available from the command line (i.e. in the search path).
#
# The result: instead of the source browser generated by doxygen, the links to
# source code will now point to the output of htags.
# The default value is: NO.
# This tag requires that the tag SOURCE_BROWSER is set to YES.
USE_HTAGS = NO
# If the VERBATIM_HEADERS tag is set the YES then doxygen will generate a
# verbatim copy of the header file for each class for which an include is
# specified. Set to NO to disable this.
# See also: Section \class.
# The default value is: YES.
VERBATIM_HEADERS = YES
#---------------------------------------------------------------------------
# Configuration options related to the alphabetical class index
#---------------------------------------------------------------------------
# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all
# compounds will be generated. Enable this if the project contains a lot of
# classes, structs, unions or interfaces.
# The default value is: YES.
ALPHABETICAL_INDEX = YES
# The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in
# which the alphabetical index list will be split.
# Minimum value: 1, maximum value: 20, default value: 5.
# This tag requires that the tag ALPHABETICAL_INDEX is set to YES.
COLS_IN_ALPHA_INDEX = 5
# In case all classes in a project start with a common prefix, all classes will
# be put under the same header in the alphabetical index. The IGNORE_PREFIX tag
# can be used to specify a prefix (or a list of prefixes) that should be ignored
# while generating the index headers.
# This tag requires that the tag ALPHABETICAL_INDEX is set to YES.
IGNORE_PREFIX =
#---------------------------------------------------------------------------
# Configuration options related to the HTML output
#---------------------------------------------------------------------------
# If the GENERATE_HTML tag is set to YES, doxygen will generate HTML output
# The default value is: YES.
GENERATE_HTML = YES
# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a
# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
# it.
# The default directory is: html.
# This tag requires that the tag GENERATE_HTML is set to YES.
HTML_OUTPUT = html
# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each
# generated HTML page (for example: .htm, .php, .asp).
# The default value is: .html.
# This tag requires that the tag GENERATE_HTML is set to YES.
HTML_FILE_EXTENSION = .html
# The HTML_HEADER tag can be used to specify a user-defined HTML header file for
# each generated HTML page. If the tag is left blank doxygen will generate a
# standard header.
#
# To get valid HTML the header file that includes any scripts and style sheets
# that doxygen needs, which is dependent on the configuration options used (e.g.
# the setting GENERATE_TREEVIEW). It is highly recommended to start with a
# default header using
# doxygen -w html new_header.html new_footer.html new_stylesheet.css
# YourConfigFile
# and then modify the file new_header.html. See also section "Doxygen usage"
# for information on how to generate the default header that doxygen normally
# uses.
# Note: The header is subject to change so you typically have to regenerate the
# default header when upgrading to a newer version of doxygen. For a description
# of the possible markers and block names see the documentation.
# This tag requires that the tag GENERATE_HTML is set to YES.
HTML_HEADER =
# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each
# generated HTML page. If the tag is left blank doxygen will generate a standard
# footer. See HTML_HEADER for more information on how to generate a default
# footer and what special commands can be used inside the footer. See also
# section "Doxygen usage" for information on how to generate the default footer
# that doxygen normally uses.
# This tag requires that the tag GENERATE_HTML is set to YES.
HTML_FOOTER =
# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style
# sheet that is used by each HTML page. It can be used to fine-tune the look of
# the HTML output. If left blank doxygen will generate a default style sheet.
# See also section "Doxygen usage" for information on how to generate the style
# sheet that doxygen normally uses.
# Note: It is recommended to use HTML_EXTRA_STYLESHEET instead of this tag, as
# it is more robust and this tag (HTML_STYLESHEET) will in the future become
# obsolete.
# This tag requires that the tag GENERATE_HTML is set to YES.
HTML_STYLESHEET =
# The HTML_EXTRA_STYLESHEET tag can be used to specify additional user-defined
# cascading style sheets that are included after the standard style sheets
# created by doxygen. Using this option one can overrule certain style aspects.
# This is preferred over using HTML_STYLESHEET since it does not replace the
# standard style sheet and is therefore more robust against future updates.
# Doxygen will copy the style sheet files to the output directory.
# Note: The order of the extra style sheet files is of importance (e.g. the last
# style sheet in the list overrules the setting of the previous ones in the
# list). For an example see the documentation.
# This tag requires that the tag GENERATE_HTML is set to YES.
HTML_EXTRA_STYLESHEET =
# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
# other source files which should be copied to the HTML output directory. Note
# that these files will be copied to the base HTML output directory. Use the
# $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these
# files. In the HTML_STYLESHEET file, use the file name only. Also note that the
# files will be copied as-is; there are no commands or markers available.
# This tag requires that the tag GENERATE_HTML is set to YES.
HTML_EXTRA_FILES =
# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen
# will adjust the colors in the style sheet and background images according to
# this color. Hue is specified as an angle on a colorwheel, see
# http://en.wikipedia.org/wiki/Hue for more information. For instance the value
# 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300
# purple, and 360 is red again.
# Minimum value: 0, maximum value: 359, default value: 220.
# This tag requires that the tag GENERATE_HTML is set to YES.
HTML_COLORSTYLE_HUE = 220
# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors
# in the HTML output. For a value of 0 the output will use grayscales only. A
# value of 255 will produce the most vivid colors.
# Minimum value: 0, maximum value: 255, default value: 100.
# This tag requires that the tag GENERATE_HTML is set to YES.
HTML_COLORSTYLE_SAT = 100
# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the
# luminance component of the colors in the HTML output. Values below 100
# gradually make the output lighter, whereas values above 100 make the output
# darker. The value divided by 100 is the actual gamma applied, so 80 represents
# a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not
# change the gamma.
# Minimum value: 40, maximum value: 240, default value: 80.
# This tag requires that the tag GENERATE_HTML is set to YES.
HTML_COLORSTYLE_GAMMA = 80
# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
# page will contain the date and time when the page was generated. Setting this
# to YES can help to show when doxygen was last run and thus if the
# documentation is up to date.
# The default value is: NO.
# This tag requires that the tag GENERATE_HTML is set to YES.
HTML_TIMESTAMP = NO
# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
# documentation will contain sections that can be hidden and shown after the
# page has loaded.
# The default value is: NO.
# This tag requires that the tag GENERATE_HTML is set to YES.
HTML_DYNAMIC_SECTIONS = NO
# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries
# shown in the various tree structured indices initially; the user can expand
# and collapse entries dynamically later on. Doxygen will expand the tree to
# such a level that at most the specified number of entries are visible (unless
# a fully collapsed tree already exceeds this amount). So setting the number of
# entries 1 will produce a full collapsed tree by default. 0 is a special value
# representing an infinite number of entries and will result in a full expanded
# tree by default.
# Minimum value: 0, maximum value: 9999, default value: 100.
# This tag requires that the tag GENERATE_HTML is set to YES.
HTML_INDEX_NUM_ENTRIES = 100
# If the GENERATE_DOCSET tag is set to YES, additional index files will be
# generated that can be used as input for Apple's Xcode 3 integrated development
# environment (see: http://developer.apple.com/tools/xcode/), introduced with
# OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a
# Makefile in the HTML output directory. Running make will produce the docset in
# that directory and running make install will install the docset in
# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at
# startup. See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html
# for more information.
# The default value is: NO.
# This tag requires that the tag GENERATE_HTML is set to YES.
GENERATE_DOCSET = NO
# This tag determines the name of the docset feed. A documentation feed provides
# an umbrella under which multiple documentation sets from a single provider
# (such as a company or product suite) can be grouped.
# The default value is: Doxygen generated docs.
# This tag requires that the tag GENERATE_DOCSET is set to YES.
DOCSET_FEEDNAME = "Doxygen generated docs"
# This tag specifies a string that should uniquely identify the documentation
# set bundle. This should be a reverse domain-name style string, e.g.
# com.mycompany.MyDocSet. Doxygen will append .docset to the name.
# The default value is: org.doxygen.Project.
# This tag requires that the tag GENERATE_DOCSET is set to YES.
DOCSET_BUNDLE_ID = org.doxygen.Project
# The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify
# the documentation publisher. This should be a reverse domain-name style
# string, e.g. com.mycompany.MyDocSet.documentation.
# The default value is: org.doxygen.Publisher.
# This tag requires that the tag GENERATE_DOCSET is set to YES.
DOCSET_PUBLISHER_ID = org.doxygen.Publisher
# The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher.
# The default value is: Publisher.
# This tag requires that the tag GENERATE_DOCSET is set to YES.
DOCSET_PUBLISHER_NAME = Publisher
# If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three
# additional HTML index files: index.hhp, index.hhc, and index.hhk. The
# index.hhp is a project file that can be read by Microsoft's HTML Help Workshop
# (see: http://www.microsoft.com/en-us/download/details.aspx?id=21138) on
# Windows.
#
# The HTML Help Workshop contains a compiler that can convert all HTML output
# generated by doxygen into a single compiled HTML file (.chm). Compiled HTML
# files are now used as the Windows 98 help format, and will replace the old
# Windows help format (.hlp) on all Windows platforms in the future. Compressed
# HTML files also contain an index, a table of contents, and you can search for
# words in the documentation. The HTML workshop also contains a viewer for
# compressed HTML files.
# The default value is: NO.
# This tag requires that the tag GENERATE_HTML is set to YES.
GENERATE_HTMLHELP = NO
# The CHM_FILE tag can be used to specify the file name of the resulting .chm
# file. You can add a path in front of the file if the result should not be
# written to the html output directory.
# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
CHM_FILE =
# The HHC_LOCATION tag can be used to specify the location (absolute path
# including file name) of the HTML help compiler (hhc.exe). If non-empty,
# doxygen will try to run the HTML help compiler on the generated index.hhp.
# The file has to be specified with full path.
# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
HHC_LOCATION =
# The GENERATE_CHI flag controls if a separate .chi index file is generated
# (YES) or that it should be included in the master .chm file (NO).
# The default value is: NO.
# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
GENERATE_CHI = NO
# The CHM_INDEX_ENCODING is used to encode HtmlHelp index (hhk), content (hhc)
# and project file content.
# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
CHM_INDEX_ENCODING =
# The BINARY_TOC flag controls whether a binary table of contents is generated
# (YES) or a normal table of contents (NO) in the .chm file. Furthermore it
# enables the Previous and Next buttons.
# The default value is: NO.
# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
BINARY_TOC = NO
# The TOC_EXPAND flag can be set to YES to add extra items for group members to
# the table of contents of the HTML help documentation and to the tree view.
# The default value is: NO.
# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
TOC_EXPAND = NO
# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and
# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated that
# can be used as input for Qt's qhelpgenerator to generate a Qt Compressed Help
# (.qch) of the generated HTML documentation.
# The default value is: NO.
# This tag requires that the tag GENERATE_HTML is set to YES.
GENERATE_QHP = NO
# If the QHG_LOCATION tag is specified, the QCH_FILE tag can be used to specify
# the file name of the resulting .qch file. The path specified is relative to
# the HTML output folder.
# This tag requires that the tag GENERATE_QHP is set to YES.
QCH_FILE =
# The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help
# Project output. For more information please see Qt Help Project / Namespace
# (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#namespace).
# The default value is: org.doxygen.Project.
# This tag requires that the tag GENERATE_QHP is set to YES.
QHP_NAMESPACE = org.doxygen.Project
# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt
# Help Project output. For more information please see Qt Help Project / Virtual
# Folders (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#virtual-
# folders).
# The default value is: doc.
# This tag requires that the tag GENERATE_QHP is set to YES.
QHP_VIRTUAL_FOLDER = doc
# If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom
# filter to add. For more information please see Qt Help Project / Custom
# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
# filters).
# This tag requires that the tag GENERATE_QHP is set to YES.
QHP_CUST_FILTER_NAME =
# The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the
# custom filter to add. For more information please see Qt Help Project / Custom
# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
# filters).
# This tag requires that the tag GENERATE_QHP is set to YES.
QHP_CUST_FILTER_ATTRS =
# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this
# project's filter section matches. Qt Help Project / Filter Attributes (see:
# http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes).
# This tag requires that the tag GENERATE_QHP is set to YES.
QHP_SECT_FILTER_ATTRS =
# The QHG_LOCATION tag can be used to specify the location of Qt's
# qhelpgenerator. If non-empty doxygen will try to run qhelpgenerator on the
# generated .qhp file.
# This tag requires that the tag GENERATE_QHP is set to YES.
QHG_LOCATION =
# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be
# generated, together with the HTML files, they form an Eclipse help plugin. To
# install this plugin and make it available under the help contents menu in
# Eclipse, the contents of the directory containing the HTML and XML files needs
# to be copied into the plugins directory of eclipse. The name of the directory
# within the plugins directory should be the same as the ECLIPSE_DOC_ID value.
# After copying Eclipse needs to be restarted before the help appears.
# The default value is: NO.
# This tag requires that the tag GENERATE_HTML is set to YES.
GENERATE_ECLIPSEHELP = NO
# A unique identifier for the Eclipse help plugin. When installing the plugin
# the directory name containing the HTML and XML files should also have this
# name. Each documentation set should have its own identifier.
# The default value is: org.doxygen.Project.
# This tag requires that the tag GENERATE_ECLIPSEHELP is set to YES.
ECLIPSE_DOC_ID = org.doxygen.Project
# If you want full control over the layout of the generated HTML pages it might
# be necessary to disable the index and replace it with your own. The
# DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) at top
# of each HTML page. A value of NO enables the index and the value YES disables
# it. Since the tabs in the index contain the same information as the navigation
# tree, you can set this option to YES if you also set GENERATE_TREEVIEW to YES.
# The default value is: NO.
# This tag requires that the tag GENERATE_HTML is set to YES.
DISABLE_INDEX = NO
# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
# structure should be generated to display hierarchical information. If the tag
# value is set to YES, a side panel will be generated containing a tree-like
# index structure (just like the one that is generated for HTML Help). For this
# to work a browser that supports JavaScript, DHTML, CSS and frames is required
# (i.e. any modern browser). Windows users are probably better off using the
# HTML help feature. Via custom style sheets (see HTML_EXTRA_STYLESHEET) one can
# further fine-tune the look of the index. As an example, the default style
# sheet generated by doxygen has an example that shows how to put an image at
# the root of the tree instead of the PROJECT_NAME. Since the tree basically has
# the same information as the tab index, you could consider setting
# DISABLE_INDEX to YES when enabling this option.
# The default value is: NO.
# This tag requires that the tag GENERATE_HTML is set to YES.
GENERATE_TREEVIEW = NO
# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that
# doxygen will group on one line in the generated HTML documentation.
#
# Note that a value of 0 will completely suppress the enum values from appearing
# in the overview section.
# Minimum value: 0, maximum value: 20, default value: 4.
# This tag requires that the tag GENERATE_HTML is set to YES.
ENUM_VALUES_PER_LINE = 4
# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be used
# to set the initial width (in pixels) of the frame in which the tree is shown.
# Minimum value: 0, maximum value: 1500, default value: 250.
# This tag requires that the tag GENERATE_HTML is set to YES.
TREEVIEW_WIDTH = 250
# If the EXT_LINKS_IN_WINDOW option is set to YES, doxygen will open links to
# external symbols imported via tag files in a separate window.
# The default value is: NO.
# This tag requires that the tag GENERATE_HTML is set to YES.
EXT_LINKS_IN_WINDOW = NO
# Use this tag to change the font size of LaTeX formulas included as images in
# the HTML documentation. When you change the font size after a successful
# doxygen run you need to manually remove any form_*.png images from the HTML
# output directory to force them to be regenerated.
# Minimum value: 8, maximum value: 50, default value: 10.
# This tag requires that the tag GENERATE_HTML is set to YES.
FORMULA_FONTSIZE = 10
# Use the FORMULA_TRANPARENT tag to determine whether or not the images
# generated for formulas are transparent PNGs. Transparent PNGs are not
# supported properly for IE 6.0, but are supported on all modern browsers.
#
# Note that when changing this option you need to delete any form_*.png files in
# the HTML output directory before the changes have effect.
# The default value is: YES.
# This tag requires that the tag GENERATE_HTML is set to YES.
FORMULA_TRANSPARENT = YES
# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see
# http://www.mathjax.org) which uses client side Javascript for the rendering
# instead of using pre-rendered bitmaps. Use this if you do not have LaTeX
# installed or if you want to formulas look prettier in the HTML output. When
# enabled you may also need to install MathJax separately and configure the path
# to it using the MATHJAX_RELPATH option.
# The default value is: NO.
# This tag requires that the tag GENERATE_HTML is set to YES.
USE_MATHJAX = NO
# When MathJax is enabled you can set the default output format to be used for
# the MathJax output. See the MathJax site (see:
# http://docs.mathjax.org/en/latest/output.html) for more details.
# Possible values are: HTML-CSS (which is slower, but has the best
# compatibility), NativeMML (i.e. MathML) and SVG.
# The default value is: HTML-CSS.
# This tag requires that the tag USE_MATHJAX is set to YES.
MATHJAX_FORMAT = HTML-CSS
# When MathJax is enabled you need to specify the location relative to the HTML
# output directory using the MATHJAX_RELPATH option. The destination directory
# should contain the MathJax.js script. For instance, if the mathjax directory
# is located at the same level as the HTML output directory, then
# MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax
# Content Delivery Network so you can quickly see the result without installing
# MathJax. However, it is strongly recommended to install a local copy of
# MathJax from http://www.mathjax.org before deployment.
# The default value is: http://cdn.mathjax.org/mathjax/latest.
# This tag requires that the tag USE_MATHJAX is set to YES.
MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest
# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
# extension names that should be enabled during MathJax rendering. For example
# MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols
# This tag requires that the tag USE_MATHJAX is set to YES.
MATHJAX_EXTENSIONS =
# The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces
# of code that will be used on startup of the MathJax code. See the MathJax site
# (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an
# example see the documentation.
# This tag requires that the tag USE_MATHJAX is set to YES.
MATHJAX_CODEFILE =
# When the SEARCHENGINE tag is enabled doxygen will generate a search box for
# the HTML output. The underlying search engine uses javascript and DHTML and
# should work on any modern browser. Note that when using HTML help
# (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET)
# there is already a search function so this one should typically be disabled.
# For large projects the javascript based search engine can be slow, then
# enabling SERVER_BASED_SEARCH may provide a better solution. It is possible to
# search using the keyboard; to jump to the search box use + S
# (what the is depends on the OS and browser, but it is typically
# , /, or both). Inside the search box use the to jump into the search results window, the results can be navigated
# using the . Press to select an item or to cancel
# the search. The filter options can be selected when the cursor is inside the
# search box by pressing +. Also here use the
# to select a filter and or to activate or cancel the filter
# option.
# The default value is: YES.
# This tag requires that the tag GENERATE_HTML is set to YES.
SEARCHENGINE = YES
# When the SERVER_BASED_SEARCH tag is enabled the search engine will be
# implemented using a web server instead of a web client using Javascript. There
# are two flavors of web server based searching depending on the EXTERNAL_SEARCH
# setting. When disabled, doxygen will generate a PHP script for searching and
# an index file used by the script. When EXTERNAL_SEARCH is enabled the indexing
# and searching needs to be provided by external tools. See the section
# "External Indexing and Searching" for details.
# The default value is: NO.
# This tag requires that the tag SEARCHENGINE is set to YES.
SERVER_BASED_SEARCH = NO
# When EXTERNAL_SEARCH tag is enabled doxygen will no longer generate the PHP
# script for searching. Instead the search results are written to an XML file
# which needs to be processed by an external indexer. Doxygen will invoke an
# external search engine pointed to by the SEARCHENGINE_URL option to obtain the
# search results.
#
# Doxygen ships with an example indexer (doxyindexer) and search engine
# (doxysearch.cgi) which are based on the open source search engine library
# Xapian (see: http://xapian.org/).
#
# See the section "External Indexing and Searching" for details.
# The default value is: NO.
# This tag requires that the tag SEARCHENGINE is set to YES.
EXTERNAL_SEARCH = NO
# The SEARCHENGINE_URL should point to a search engine hosted by a web server
# which will return the search results when EXTERNAL_SEARCH is enabled.
#
# Doxygen ships with an example indexer (doxyindexer) and search engine
# (doxysearch.cgi) which are based on the open source search engine library
# Xapian (see: http://xapian.org/). See the section "External Indexing and
# Searching" for details.
# This tag requires that the tag SEARCHENGINE is set to YES.
SEARCHENGINE_URL =
# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the unindexed
# search data is written to a file for indexing by an external tool. With the
# SEARCHDATA_FILE tag the name of this file can be specified.
# The default file is: searchdata.xml.
# This tag requires that the tag SEARCHENGINE is set to YES.
SEARCHDATA_FILE = searchdata.xml
# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the
# EXTERNAL_SEARCH_ID tag can be used as an identifier for the project. This is
# useful in combination with EXTRA_SEARCH_MAPPINGS to search through multiple
# projects and redirect the results back to the right project.
# This tag requires that the tag SEARCHENGINE is set to YES.
EXTERNAL_SEARCH_ID =
# The EXTRA_SEARCH_MAPPINGS tag can be used to enable searching through doxygen
# projects other than the one defined by this configuration file, but that are
# all added to the same external search index. Each project needs to have a
# unique id set via EXTERNAL_SEARCH_ID. The search mapping then maps the id of
# to a relative location where the documentation can be found. The format is:
# EXTRA_SEARCH_MAPPINGS = tagname1=loc1 tagname2=loc2 ...
# This tag requires that the tag SEARCHENGINE is set to YES.
EXTRA_SEARCH_MAPPINGS =
#---------------------------------------------------------------------------
# Configuration options related to the LaTeX output
#---------------------------------------------------------------------------
# If the GENERATE_LATEX tag is set to YES, doxygen will generate LaTeX output.
# The default value is: YES.
GENERATE_LATEX = NO
# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If a
# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
# it.
# The default directory is: latex.
# This tag requires that the tag GENERATE_LATEX is set to YES.
LATEX_OUTPUT = latex
# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
# invoked.
#
# Note that when enabling USE_PDFLATEX this option is only used for generating
# bitmaps for formulas in the HTML output, but not in the Makefile that is
# written to the output directory.
# The default file is: latex.
# This tag requires that the tag GENERATE_LATEX is set to YES.
LATEX_CMD_NAME = latex
# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to generate
# index for LaTeX.
# The default file is: makeindex.
# This tag requires that the tag GENERATE_LATEX is set to YES.
MAKEINDEX_CMD_NAME = makeindex
# If the COMPACT_LATEX tag is set to YES, doxygen generates more compact LaTeX
# documents. This may be useful for small projects and may help to save some
# trees in general.
# The default value is: NO.
# This tag requires that the tag GENERATE_LATEX is set to YES.
COMPACT_LATEX = NO
# The PAPER_TYPE tag can be used to set the paper type that is used by the
# printer.
# Possible values are: a4 (210 x 297 mm), letter (8.5 x 11 inches), legal (8.5 x
# 14 inches) and executive (7.25 x 10.5 inches).
# The default value is: a4.
# This tag requires that the tag GENERATE_LATEX is set to YES.
PAPER_TYPE = letter
# The EXTRA_PACKAGES tag can be used to specify one or more LaTeX package names
# that should be included in the LaTeX output. The package can be specified just
# by its name or with the correct syntax as to be used with the LaTeX
# \usepackage command. To get the times font for instance you can specify :
# EXTRA_PACKAGES=times or EXTRA_PACKAGES={times}
# To use the option intlimits with the amsmath package you can specify:
# EXTRA_PACKAGES=[intlimits]{amsmath}
# If left blank no extra packages will be included.
# This tag requires that the tag GENERATE_LATEX is set to YES.
EXTRA_PACKAGES =
# The LATEX_HEADER tag can be used to specify a personal LaTeX header for the
# generated LaTeX document. The header should contain everything until the first
# chapter. If it is left blank doxygen will generate a standard header. See
# section "Doxygen usage" for information on how to let doxygen write the
# default header to a separate file.
#
# Note: Only use a user-defined header if you know what you are doing! The
# following commands have a special meaning inside the header: $title,
# $datetime, $date, $doxygenversion, $projectname, $projectnumber,
# $projectbrief, $projectlogo. Doxygen will replace $title with the empty
# string, for the replacement values of the other commands the user is referred
# to HTML_HEADER.
# This tag requires that the tag GENERATE_LATEX is set to YES.
LATEX_HEADER =
# The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for the
# generated LaTeX document. The footer should contain everything after the last
# chapter. If it is left blank doxygen will generate a standard footer. See
# LATEX_HEADER for more information on how to generate a default footer and what
# special commands can be used inside the footer.
#
# Note: Only use a user-defined footer if you know what you are doing!
# This tag requires that the tag GENERATE_LATEX is set to YES.
LATEX_FOOTER =
# The LATEX_EXTRA_STYLESHEET tag can be used to specify additional user-defined
# LaTeX style sheets that are included after the standard style sheets created
# by doxygen. Using this option one can overrule certain style aspects. Doxygen
# will copy the style sheet files to the output directory.
# Note: The order of the extra style sheet files is of importance (e.g. the last
# style sheet in the list overrules the setting of the previous ones in the
# list).
# This tag requires that the tag GENERATE_LATEX is set to YES.
LATEX_EXTRA_STYLESHEET =
# The LATEX_EXTRA_FILES tag can be used to specify one or more extra images or
# other source files which should be copied to the LATEX_OUTPUT output
# directory. Note that the files will be copied as-is; there are no commands or
# markers available.
# This tag requires that the tag GENERATE_LATEX is set to YES.
LATEX_EXTRA_FILES =
# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated is
# prepared for conversion to PDF (using ps2pdf or pdflatex). The PDF file will
# contain links (just like the HTML output) instead of page references. This
# makes the output suitable for online browsing using a PDF viewer.
# The default value is: YES.
# This tag requires that the tag GENERATE_LATEX is set to YES.
PDF_HYPERLINKS = YES
# If the USE_PDFLATEX tag is set to YES, doxygen will use pdflatex to generate
# the PDF file directly from the LaTeX files. Set this option to YES, to get a
# higher quality PDF documentation.
# The default value is: YES.
# This tag requires that the tag GENERATE_LATEX is set to YES.
USE_PDFLATEX = YES
# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \batchmode
# command to the generated LaTeX files. This will instruct LaTeX to keep running
# if errors occur, instead of asking the user for help. This option is also used
# when generating formulas in HTML.
# The default value is: NO.
# This tag requires that the tag GENERATE_LATEX is set to YES.
LATEX_BATCHMODE = NO
# If the LATEX_HIDE_INDICES tag is set to YES then doxygen will not include the
# index chapters (such as File Index, Compound Index, etc.) in the output.
# The default value is: NO.
# This tag requires that the tag GENERATE_LATEX is set to YES.
LATEX_HIDE_INDICES = NO
# If the LATEX_SOURCE_CODE tag is set to YES then doxygen will include source
# code with syntax highlighting in the LaTeX output.
#
# Note that which sources are shown also depends on other settings such as
# SOURCE_BROWSER.
# The default value is: NO.
# This tag requires that the tag GENERATE_LATEX is set to YES.
LATEX_SOURCE_CODE = NO
# The LATEX_BIB_STYLE tag can be used to specify the style to use for the
# bibliography, e.g. plainnat, or ieeetr. See
# http://en.wikipedia.org/wiki/BibTeX and \cite for more info.
# The default value is: plain.
# This tag requires that the tag GENERATE_LATEX is set to YES.
LATEX_BIB_STYLE = plain
# If the LATEX_TIMESTAMP tag is set to YES then the footer of each generated
# page will contain the date and time when the page was generated. Setting this
# to NO can help when comparing the output of multiple runs.
# The default value is: NO.
# This tag requires that the tag GENERATE_LATEX is set to YES.
LATEX_TIMESTAMP = NO
#---------------------------------------------------------------------------
# Configuration options related to the RTF output
#---------------------------------------------------------------------------
# If the GENERATE_RTF tag is set to YES, doxygen will generate RTF output. The
# RTF output is optimized for Word 97 and may not look too pretty with other RTF
# readers/editors.
# The default value is: NO.
GENERATE_RTF = NO
# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. If a
# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
# it.
# The default directory is: rtf.
# This tag requires that the tag GENERATE_RTF is set to YES.
RTF_OUTPUT = rtf
# If the COMPACT_RTF tag is set to YES, doxygen generates more compact RTF
# documents. This may be useful for small projects and may help to save some
# trees in general.
# The default value is: NO.
# This tag requires that the tag GENERATE_RTF is set to YES.
COMPACT_RTF = NO
# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated will
# contain hyperlink fields. The RTF file will contain links (just like the HTML
# output) instead of page references. This makes the output suitable for online
# browsing using Word or some other Word compatible readers that support those
# fields.
#
# Note: WordPad (write) and others do not support links.
# The default value is: NO.
# This tag requires that the tag GENERATE_RTF is set to YES.
RTF_HYPERLINKS = NO
# Load stylesheet definitions from file. Syntax is similar to doxygen's config
# file, i.e. a series of assignments. You only have to provide replacements,
# missing definitions are set to their default value.
#
# See also section "Doxygen usage" for information on how to generate the
# default style sheet that doxygen normally uses.
# This tag requires that the tag GENERATE_RTF is set to YES.
RTF_STYLESHEET_FILE =
# Set optional variables used in the generation of an RTF document. Syntax is
# similar to doxygen's config file. A template extensions file can be generated
# using doxygen -e rtf extensionFile.
# This tag requires that the tag GENERATE_RTF is set to YES.
RTF_EXTENSIONS_FILE =
# If the RTF_SOURCE_CODE tag is set to YES then doxygen will include source code
# with syntax highlighting in the RTF output.
#
# Note that which sources are shown also depends on other settings such as
# SOURCE_BROWSER.
# The default value is: NO.
# This tag requires that the tag GENERATE_RTF is set to YES.
RTF_SOURCE_CODE = NO
#---------------------------------------------------------------------------
# Configuration options related to the man page output
#---------------------------------------------------------------------------
# If the GENERATE_MAN tag is set to YES, doxygen will generate man pages for
# classes and files.
# The default value is: NO.
GENERATE_MAN = NO
# The MAN_OUTPUT tag is used to specify where the man pages will be put. If a
# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
# it. A directory man3 will be created inside the directory specified by
# MAN_OUTPUT.
# The default directory is: man.
# This tag requires that the tag GENERATE_MAN is set to YES.
MAN_OUTPUT = man
# The MAN_EXTENSION tag determines the extension that is added to the generated
# man pages. In case the manual section does not start with a number, the number
# 3 is prepended. The dot (.) at the beginning of the MAN_EXTENSION tag is
# optional.
# The default value is: .3.
# This tag requires that the tag GENERATE_MAN is set to YES.
MAN_EXTENSION = .3
# The MAN_SUBDIR tag determines the name of the directory created within
# MAN_OUTPUT in which the man pages are placed. If defaults to man followed by
# MAN_EXTENSION with the initial . removed.
# This tag requires that the tag GENERATE_MAN is set to YES.
MAN_SUBDIR =
# If the MAN_LINKS tag is set to YES and doxygen generates man output, then it
# will generate one additional man file for each entity documented in the real
# man page(s). These additional files only source the real man page, but without
# them the man command would be unable to find the correct page.
# The default value is: NO.
# This tag requires that the tag GENERATE_MAN is set to YES.
MAN_LINKS = NO
#---------------------------------------------------------------------------
# Configuration options related to the XML output
#---------------------------------------------------------------------------
# If the GENERATE_XML tag is set to YES, doxygen will generate an XML file that
# captures the structure of the code including all documentation.
# The default value is: NO.
GENERATE_XML = NO
# The XML_OUTPUT tag is used to specify where the XML pages will be put. If a
# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
# it.
# The default directory is: xml.
# This tag requires that the tag GENERATE_XML is set to YES.
XML_OUTPUT = xml
# If the XML_PROGRAMLISTING tag is set to YES, doxygen will dump the program
# listings (including syntax highlighting and cross-referencing information) to
# the XML output. Note that enabling this will significantly increase the size
# of the XML output.
# The default value is: YES.
# This tag requires that the tag GENERATE_XML is set to YES.
XML_PROGRAMLISTING = YES
#---------------------------------------------------------------------------
# Configuration options related to the DOCBOOK output
#---------------------------------------------------------------------------
# If the GENERATE_DOCBOOK tag is set to YES, doxygen will generate Docbook files
# that can be used to generate PDF.
# The default value is: NO.
GENERATE_DOCBOOK = NO
# The DOCBOOK_OUTPUT tag is used to specify where the Docbook pages will be put.
# If a relative path is entered the value of OUTPUT_DIRECTORY will be put in
# front of it.
# The default directory is: docbook.
# This tag requires that the tag GENERATE_DOCBOOK is set to YES.
DOCBOOK_OUTPUT = docbook
# If the DOCBOOK_PROGRAMLISTING tag is set to YES, doxygen will include the
# program listings (including syntax highlighting and cross-referencing
# information) to the DOCBOOK output. Note that enabling this will significantly
# increase the size of the DOCBOOK output.
# The default value is: NO.
# This tag requires that the tag GENERATE_DOCBOOK is set to YES.
DOCBOOK_PROGRAMLISTING = NO
#---------------------------------------------------------------------------
# Configuration options for the AutoGen Definitions output
#---------------------------------------------------------------------------
# If the GENERATE_AUTOGEN_DEF tag is set to YES, doxygen will generate an
# AutoGen Definitions (see http://autogen.sf.net) file that captures the
# structure of the code including all documentation. Note that this feature is
# still experimental and incomplete at the moment.
# The default value is: NO.
GENERATE_AUTOGEN_DEF = NO
#---------------------------------------------------------------------------
# Configuration options related to the Perl module output
#---------------------------------------------------------------------------
# If the GENERATE_PERLMOD tag is set to YES, doxygen will generate a Perl module
# file that captures the structure of the code including all documentation.
#
# Note that this feature is still experimental and incomplete at the moment.
# The default value is: NO.
GENERATE_PERLMOD = NO
# If the PERLMOD_LATEX tag is set to YES, doxygen will generate the necessary
# Makefile rules, Perl scripts and LaTeX code to be able to generate PDF and DVI
# output from the Perl module output.
# The default value is: NO.
# This tag requires that the tag GENERATE_PERLMOD is set to YES.
PERLMOD_LATEX = NO
# If the PERLMOD_PRETTY tag is set to YES, the Perl module output will be nicely
# formatted so it can be parsed by a human reader. This is useful if you want to
# understand what is going on. On the other hand, if this tag is set to NO, the
# size of the Perl module output will be much smaller and Perl will parse it
# just the same.
# The default value is: YES.
# This tag requires that the tag GENERATE_PERLMOD is set to YES.
PERLMOD_PRETTY = YES
# The names of the make variables in the generated doxyrules.make file are
# prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. This is useful
# so different doxyrules.make files included by the same Makefile don't
# overwrite each other's variables.
# This tag requires that the tag GENERATE_PERLMOD is set to YES.
PERLMOD_MAKEVAR_PREFIX =
#---------------------------------------------------------------------------
# Configuration options related to the preprocessor
#---------------------------------------------------------------------------
# If the ENABLE_PREPROCESSING tag is set to YES, doxygen will evaluate all
# C-preprocessor directives found in the sources and include files.
# The default value is: YES.
ENABLE_PREPROCESSING = YES
# If the MACRO_EXPANSION tag is set to YES, doxygen will expand all macro names
# in the source code. If set to NO, only conditional compilation will be
# performed. Macro expansion can be done in a controlled way by setting
# EXPAND_ONLY_PREDEF to YES.
# The default value is: NO.
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
MACRO_EXPANSION = NO
# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES then
# the macro expansion is limited to the macros specified with the PREDEFINED and
# EXPAND_AS_DEFINED tags.
# The default value is: NO.
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
EXPAND_ONLY_PREDEF = NO
# If the SEARCH_INCLUDES tag is set to YES, the include files in the
# INCLUDE_PATH will be searched if a #include is found.
# The default value is: YES.
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
SEARCH_INCLUDES = YES
# The INCLUDE_PATH tag can be used to specify one or more directories that
# contain include files that are not input files but should be processed by the
# preprocessor.
# This tag requires that the tag SEARCH_INCLUDES is set to YES.
INCLUDE_PATH =
# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
# patterns (like *.h and *.hpp) to filter out the header-files in the
# directories. If left blank, the patterns specified with FILE_PATTERNS will be
# used.
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
INCLUDE_FILE_PATTERNS =
# The PREDEFINED tag can be used to specify one or more macro names that are
# defined before the preprocessor is started (similar to the -D option of e.g.
# gcc). The argument of the tag is a list of macros of the form: name or
# name=definition (no spaces). If the definition and the "=" are omitted, "=1"
# is assumed. To prevent a macro definition from being undefined via #undef or
# recursively expanded use the := operator instead of the = operator.
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
PREDEFINED = DOXYGEN_SHOULD_SKIP_THIS
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
# tag can be used to specify a list of macro names that should be expanded. The
# macro definition that is found in the sources will be used. Use the PREDEFINED
# tag if you want to use a different macro definition that overrules the
# definition found in the source code.
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
EXPAND_AS_DEFINED =
# If the SKIP_FUNCTION_MACROS tag is set to YES then doxygen's preprocessor will
# remove all references to function-like macros that are alone on a line, have
# an all uppercase name, and do not end with a semicolon. Such function macros
# are typically used for boiler-plate code, and will confuse the parser if not
# removed.
# The default value is: YES.
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
SKIP_FUNCTION_MACROS = YES
#---------------------------------------------------------------------------
# Configuration options related to external references
#---------------------------------------------------------------------------
# The TAGFILES tag can be used to specify one or more tag files. For each tag
# file the location of the external documentation should be added. The format of
# a tag file without this location is as follows:
# TAGFILES = file1 file2 ...
# Adding location for the tag files is done as follows:
# TAGFILES = file1=loc1 "file2 = loc2" ...
# where loc1 and loc2 can be relative or absolute paths or URLs. See the
# section "Linking to external documentation" for more information about the use
# of tag files.
# Note: Each tag file must have a unique name (where the name does NOT include
# the path). If a tag file is not located in the directory in which doxygen is
# run, you must also specify the path to the tagfile here.
TAGFILES =
# When a file name is specified after GENERATE_TAGFILE, doxygen will create a
# tag file that is based on the input files it reads. See section "Linking to
# external documentation" for more information about the usage of tag files.
GENERATE_TAGFILE =
# If the ALLEXTERNALS tag is set to YES, all external class will be listed in
# the class index. If set to NO, only the inherited external classes will be
# listed.
# The default value is: NO.
ALLEXTERNALS = NO
# If the EXTERNAL_GROUPS tag is set to YES, all external groups will be listed
# in the modules index. If set to NO, only the current project's groups will be
# listed.
# The default value is: YES.
EXTERNAL_GROUPS = YES
# If the EXTERNAL_PAGES tag is set to YES, all external pages will be listed in
# the related pages index. If set to NO, only the current project's pages will
# be listed.
# The default value is: YES.
EXTERNAL_PAGES = YES
# The PERL_PATH should be the absolute path and name of the perl script
# interpreter (i.e. the result of 'which perl').
# The default file (with absolute path) is: /usr/bin/perl.
PERL_PATH = /usr/bin/perl
#---------------------------------------------------------------------------
# Configuration options related to the dot tool
#---------------------------------------------------------------------------
# If the CLASS_DIAGRAMS tag is set to YES, doxygen will generate a class diagram
# (in HTML and LaTeX) for classes with base or super classes. Setting the tag to
# NO turns the diagrams off. Note that this option also works with HAVE_DOT
# disabled, but it is recommended to install and use dot, since it yields more
# powerful graphs.
# The default value is: YES.
CLASS_DIAGRAMS = YES
# You can define message sequence charts within doxygen comments using the \msc
# command. Doxygen will then run the mscgen tool (see:
# http://www.mcternan.me.uk/mscgen/)) to produce the chart and insert it in the
# documentation. The MSCGEN_PATH tag allows you to specify the directory where
# the mscgen tool resides. If left empty the tool is assumed to be found in the
# default search path.
MSCGEN_PATH =
# You can include diagrams made with dia in doxygen documentation. Doxygen will
# then run dia to produce the diagram and insert it in the documentation. The
# DIA_PATH tag allows you to specify the directory where the dia binary resides.
# If left empty dia is assumed to be found in the default search path.
DIA_PATH =
# If set to YES the inheritance and collaboration graphs will hide inheritance
# and usage relations if the target is undocumented or is not a class.
# The default value is: YES.
HIDE_UNDOC_RELATIONS = YES
# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
# available from the path. This tool is part of Graphviz (see:
# http://www.graphviz.org/), a graph visualization toolkit from AT&T and Lucent
# Bell Labs. The other options in this section have no effect if this option is
# set to NO
# The default value is: NO.
HAVE_DOT = NO
# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is allowed
# to run in parallel. When set to 0 doxygen will base this on the number of
# processors available in the system. You can set it explicitly to a value
# larger than 0 to get control over the balance between CPU load and processing
# speed.
# Minimum value: 0, maximum value: 32, default value: 0.
# This tag requires that the tag HAVE_DOT is set to YES.
DOT_NUM_THREADS = 0
# When you want a differently looking font in the dot files that doxygen
# generates you can specify the font name using DOT_FONTNAME. You need to make
# sure dot is able to find the font, which can be done by putting it in a
# standard location or by setting the DOTFONTPATH environment variable or by
# setting DOT_FONTPATH to the directory containing the font.
# The default value is: Helvetica.
# This tag requires that the tag HAVE_DOT is set to YES.
DOT_FONTNAME = Helvetica
# The DOT_FONTSIZE tag can be used to set the size (in points) of the font of
# dot graphs.
# Minimum value: 4, maximum value: 24, default value: 10.
# This tag requires that the tag HAVE_DOT is set to YES.
DOT_FONTSIZE = 10
# By default doxygen will tell dot to use the default font as specified with
# DOT_FONTNAME. If you specify a different font using DOT_FONTNAME you can set
# the path where dot can find it using this tag.
# This tag requires that the tag HAVE_DOT is set to YES.
DOT_FONTPATH =
# If the CLASS_GRAPH tag is set to YES then doxygen will generate a graph for
# each documented class showing the direct and indirect inheritance relations.
# Setting this tag to YES will force the CLASS_DIAGRAMS tag to NO.
# The default value is: YES.
# This tag requires that the tag HAVE_DOT is set to YES.
CLASS_GRAPH = YES
# If the COLLABORATION_GRAPH tag is set to YES then doxygen will generate a
# graph for each documented class showing the direct and indirect implementation
# dependencies (inheritance, containment, and class references variables) of the
# class with other documented classes.
# The default value is: YES.
# This tag requires that the tag HAVE_DOT is set to YES.
COLLABORATION_GRAPH = YES
# If the GROUP_GRAPHS tag is set to YES then doxygen will generate a graph for
# groups, showing the direct groups dependencies.
# The default value is: YES.
# This tag requires that the tag HAVE_DOT is set to YES.
GROUP_GRAPHS = YES
# If the UML_LOOK tag is set to YES, doxygen will generate inheritance and
# collaboration diagrams in a style similar to the OMG's Unified Modeling
# Language.
# The default value is: NO.
# This tag requires that the tag HAVE_DOT is set to YES.
UML_LOOK = NO
# If the UML_LOOK tag is enabled, the fields and methods are shown inside the
# class node. If there are many fields or methods and many nodes the graph may
# become too big to be useful. The UML_LIMIT_NUM_FIELDS threshold limits the
# number of items for each type to make the size more manageable. Set this to 0
# for no limit. Note that the threshold may be exceeded by 50% before the limit
# is enforced. So when you set the threshold to 10, up to 15 fields may appear,
# but if the number exceeds 15, the total amount of fields shown is limited to
# 10.
# Minimum value: 0, maximum value: 100, default value: 10.
# This tag requires that the tag HAVE_DOT is set to YES.
UML_LIMIT_NUM_FIELDS = 10
# If the TEMPLATE_RELATIONS tag is set to YES then the inheritance and
# collaboration graphs will show the relations between templates and their
# instances.
# The default value is: NO.
# This tag requires that the tag HAVE_DOT is set to YES.
TEMPLATE_RELATIONS = NO
# If the INCLUDE_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are set to
# YES then doxygen will generate a graph for each documented file showing the
# direct and indirect include dependencies of the file with other documented
# files.
# The default value is: YES.
# This tag requires that the tag HAVE_DOT is set to YES.
INCLUDE_GRAPH = YES
# If the INCLUDED_BY_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are
# set to YES then doxygen will generate a graph for each documented file showing
# the direct and indirect include dependencies of the file with other documented
# files.
# The default value is: YES.
# This tag requires that the tag HAVE_DOT is set to YES.
INCLUDED_BY_GRAPH = YES
# If the CALL_GRAPH tag is set to YES then doxygen will generate a call
# dependency graph for every global function or class method.
#
# Note that enabling this option will significantly increase the time of a run.
# So in most cases it will be better to enable call graphs for selected
# functions only using the \callgraph command. Disabling a call graph can be
# accomplished by means of the command \hidecallgraph.
# The default value is: NO.
# This tag requires that the tag HAVE_DOT is set to YES.
CALL_GRAPH = NO
# If the CALLER_GRAPH tag is set to YES then doxygen will generate a caller
# dependency graph for every global function or class method.
#
# Note that enabling this option will significantly increase the time of a run.
# So in most cases it will be better to enable caller graphs for selected
# functions only using the \callergraph command. Disabling a caller graph can be
# accomplished by means of the command \hidecallergraph.
# The default value is: NO.
# This tag requires that the tag HAVE_DOT is set to YES.
CALLER_GRAPH = NO
# If the GRAPHICAL_HIERARCHY tag is set to YES then doxygen will graphical
# hierarchy of all classes instead of a textual one.
# The default value is: YES.
# This tag requires that the tag HAVE_DOT is set to YES.
GRAPHICAL_HIERARCHY = YES
# If the DIRECTORY_GRAPH tag is set to YES then doxygen will show the
# dependencies a directory has on other directories in a graphical way. The
# dependency relations are determined by the #include relations between the
# files in the directories.
# The default value is: YES.
# This tag requires that the tag HAVE_DOT is set to YES.
DIRECTORY_GRAPH = YES
# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
# generated by dot. For an explanation of the image formats see the section
# output formats in the documentation of the dot tool (Graphviz (see:
# http://www.graphviz.org/)).
# Note: If you choose svg you need to set HTML_FILE_EXTENSION to xhtml in order
# to make the SVG files visible in IE 9+ (other browsers do not have this
# requirement).
# Possible values are: png, jpg, gif, svg, png:gd, png:gd:gd, png:cairo,
# png:cairo:gd, png:cairo:cairo, png:cairo:gdiplus, png:gdiplus and
# png:gdiplus:gdiplus.
# The default value is: png.
# This tag requires that the tag HAVE_DOT is set to YES.
DOT_IMAGE_FORMAT = png
# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to
# enable generation of interactive SVG images that allow zooming and panning.
#
# Note that this requires a modern browser other than Internet Explorer. Tested
# and working are Firefox, Chrome, Safari, and Opera.
# Note: For IE 9+ you need to set HTML_FILE_EXTENSION to xhtml in order to make
# the SVG files visible. Older versions of IE do not have SVG support.
# The default value is: NO.
# This tag requires that the tag HAVE_DOT is set to YES.
INTERACTIVE_SVG = NO
# The DOT_PATH tag can be used to specify the path where the dot tool can be
# found. If left blank, it is assumed the dot tool can be found in the path.
# This tag requires that the tag HAVE_DOT is set to YES.
DOT_PATH =
# The DOTFILE_DIRS tag can be used to specify one or more directories that
# contain dot files that are included in the documentation (see the \dotfile
# command).
# This tag requires that the tag HAVE_DOT is set to YES.
DOTFILE_DIRS =
# The MSCFILE_DIRS tag can be used to specify one or more directories that
# contain msc files that are included in the documentation (see the \mscfile
# command).
MSCFILE_DIRS =
# The DIAFILE_DIRS tag can be used to specify one or more directories that
# contain dia files that are included in the documentation (see the \diafile
# command).
DIAFILE_DIRS =
# When using plantuml, the PLANTUML_JAR_PATH tag should be used to specify the
# path where java can find the plantuml.jar file. If left blank, it is assumed
# PlantUML is not used or called during a preprocessing step. Doxygen will
# generate a warning when it encounters a \startuml command in this case and
# will not generate output for the diagram.
PLANTUML_JAR_PATH =
# When using plantuml, the PLANTUML_CFG_FILE tag can be used to specify a
# configuration file for plantuml.
PLANTUML_CFG_FILE =
# When using plantuml, the specified paths are searched for files specified by
# the !include statement in a plantuml block.
PLANTUML_INCLUDE_PATH =
# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of nodes
# that will be shown in the graph. If the number of nodes in a graph becomes
# larger than this value, doxygen will truncate the graph, which is visualized
# by representing a node as a red box. Note that doxygen if the number of direct
# children of the root node in a graph is already larger than
# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note that
# the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.
# Minimum value: 0, maximum value: 10000, default value: 50.
# This tag requires that the tag HAVE_DOT is set to YES.
DOT_GRAPH_MAX_NODES = 50
# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs
# generated by dot. A depth value of 3 means that only nodes reachable from the
# root by following a path via at most 3 edges will be shown. Nodes that lay
# further from the root node will be omitted. Note that setting this option to 1
# or 2 may greatly reduce the computation time needed for large code bases. Also
# note that the size of a graph can be further restricted by
# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
# Minimum value: 0, maximum value: 1000, default value: 0.
# This tag requires that the tag HAVE_DOT is set to YES.
MAX_DOT_GRAPH_DEPTH = 0
# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent
# background. This is disabled by default, because dot on Windows does not seem
# to support this out of the box.
#
# Warning: Depending on the platform used, enabling this option may lead to
# badly anti-aliased labels on the edges of a graph (i.e. they become hard to
# read).
# The default value is: NO.
# This tag requires that the tag HAVE_DOT is set to YES.
DOT_TRANSPARENT = NO
# Set the DOT_MULTI_TARGETS tag to YES to allow dot to generate multiple output
# files in one run (i.e. multiple -o and -T options on the command line). This
# makes dot run faster, but since only newer versions of dot (>1.8.10) support
# this, this feature is disabled by default.
# The default value is: NO.
# This tag requires that the tag HAVE_DOT is set to YES.
DOT_MULTI_TARGETS = NO
# If the GENERATE_LEGEND tag is set to YES doxygen will generate a legend page
# explaining the meaning of the various boxes and arrows in the dot generated
# graphs.
# The default value is: YES.
# This tag requires that the tag HAVE_DOT is set to YES.
GENERATE_LEGEND = YES
# If the DOT_CLEANUP tag is set to YES, doxygen will remove the intermediate dot
# files that are used to generate the various graphs.
# The default value is: YES.
# This tag requires that the tag HAVE_DOT is set to YES.
DOT_CLEANUP = YES
utf8/src/init.c 0000644 0001762 0000144 00000002267 13301551651 013045 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include
#include
#include "rutf8.h"
#define CALLDEF(name, n) {#name, (DL_FUNC) &name, n}
static const R_CallMethodDef CallEntries[] = {
CALLDEF(rutf8_as_utf8, 1),
CALLDEF(rutf8_render_table, 14),
CALLDEF(rutf8_utf8_encode, 7),
CALLDEF(rutf8_utf8_format, 11),
CALLDEF(rutf8_utf8_normalize, 5),
CALLDEF(rutf8_utf8_valid, 1),
CALLDEF(rutf8_utf8_width, 4),
{NULL, NULL, 0}
};
void R_init_utf8(DllInfo *dll)
{
R_registerRoutines(dll, NULL, CallEntries, NULL, NULL);
R_useDynamicSymbols(dll, FALSE);
R_forceSymbols(dll, TRUE);
}
utf8/src/as_utf8.c 0000644 0001762 0000144 00000005461 13301551651 013452 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include
#include
#include
#include
#include
#include
#include "rutf8.h"
static const char *encoding_name(cetype_t ce)
{
switch (ce) {
case CE_LATIN1:
return "latin1";
case CE_UTF8:
return "UTF-8";
case CE_SYMBOL:
return "symbol";
case CE_BYTES:
return "bytes";
case CE_ANY:
case CE_NATIVE:
default:
return "unknown";
}
}
SEXP rutf8_as_utf8(SEXP sx)
{
SEXP ans, sstr;
PROTECT_INDEX ipx;
struct utf8lite_message msg;
struct utf8lite_text text;
const uint8_t *str;
cetype_t ce;
size_t size;
R_xlen_t i, n;
int nprot = 0, duped = 0, raw;
if (sx == R_NilValue) {
return R_NilValue;
}
if (!isString(sx)) {
error("argument is not a character object");
}
// reserve a protection slot for ans in case we need to duplicate
PROTECT_WITH_INDEX(ans = sx, &ipx); nprot++;
n = XLENGTH(sx);
for (i = 0; i < n; i++) {
CHECK_INTERRUPT(i);
PROTECT(sstr = STRING_ELT(sx, i)); nprot++;
if (sstr == NA_STRING) {
UNPROTECT(1); nprot--;
continue;
}
ce = getCharCE(sstr);
raw = rutf8_encodes_utf8(ce) || ce == CE_BYTES;
if (raw) {
str = (const uint8_t *)CHAR(sstr);
size = (size_t)XLENGTH(sstr);
} else {
str = (const uint8_t *)rutf8_translate_utf8(sstr);
size = strlen((const char *)str);
}
if (utf8lite_text_assign(&text, str, size, 0, &msg)) {
if (ce == CE_BYTES) {
Rf_error("entry %"PRIu64
" cannot be converted from \"bytes\""
" Encoding to \"UTF-8\"; %s",
(uint64_t)i + 1, msg.string);
} else if (raw) {
Rf_error("entry %"PRIu64
" has wrong Encoding;"
" marked as \"UTF-8\""
" but %s",
(uint64_t)i + 1,
msg.string);
} else {
Rf_error("entry %"PRIu64
" cannot be converted"
" from \"%s\" Encoding to \"UTF-8\";"
" %s in converted string",
(uint64_t)i + 1,
encoding_name(ce),
msg.string);
}
}
if (!raw || ce == CE_BYTES || ce == CE_NATIVE) {
if (!duped) {
REPROTECT(ans = duplicate(ans), ipx);
duped = 1;
}
SET_STRING_ELT(ans, i,
mkCharLenCE((const char *)str,
(int)size, CE_UTF8));
}
UNPROTECT(1); nprot--;
}
UNPROTECT(nprot);
return ans;
}
utf8/src/render_table.c 0000644 0001762 0000144 00000022452 13301551651 014526 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include
#include
#include
#include
#include
#include "rutf8.h"
enum cell_type {
CELL_ENTRY,
CELL_NA,
CELL_NAME,
CELL_ROWNAME
};
struct flags {
int entry;
int na;
int name;
int rowname;
};
struct style {
struct flags flags;
const char *names;
int names_len;
const char *rownames;
int rownames_len;
int right;
const char *esc_open;
const char *esc_close;
};
static int flags_get(const struct flags *f, enum cell_type t)
{
switch (t) {
case CELL_ENTRY:
return f->entry;
case CELL_NA:
return f->na;
case CELL_NAME:
return f->name;
case CELL_ROWNAME:
return f->rowname;
default:
return -1;
}
}
static const char *sgr_get(const struct style *s, enum cell_type t, int *lenptr)
{
switch (t) {
case CELL_NAME:
*lenptr = s->names_len;
return s->names;
case CELL_ROWNAME:
*lenptr = s->rownames_len;
return s->rownames;
default:
*lenptr = 0;
return NULL;
}
}
static int charsxp_width(SEXP sx, int flags)
{
struct rutf8_string text;
int quotes = (flags & UTF8LITE_ESCAPE_DQUOTE) ? 2 : 0;
rutf8_string_init(&text, sx);
return rutf8_string_width(&text, flags) + quotes;
}
static void render_cell(struct utf8lite_render *r, const struct style *s,
enum cell_type t, SEXP sx, int width)
{
struct rutf8_string str;
const char *sgr;
int err = 0, w, pad, right, quote, old, nsgr;
old = r->flags;
TRY(utf8lite_render_set_flags(r, flags_get(&s->flags, t)));
quote = r->flags & UTF8LITE_ESCAPE_DQUOTE;
right = (t == CELL_ROWNAME) ? 0 : s->right;
sgr = sgr_get(s, t, &nsgr);
w = charsxp_width(sx, r->flags);
pad = width - w;
if (sgr) {
TRY(utf8lite_render_raw(r, sgr, nsgr));
}
if (right) {
TRY(utf8lite_render_chars(r, ' ', pad));
}
if (t == CELL_ENTRY) {
TRY(utf8lite_render_set_style(r, s->esc_open, s->esc_close));
}
rutf8_string_init(&str, sx);
rutf8_string_render(r, &str, 0, quote, RUTF8_JUSTIFY_NONE);
if (t == CELL_ENTRY) {
TRY(utf8lite_render_set_style(r, NULL, NULL));
}
if (!right) {
TRY(utf8lite_render_chars(r, ' ', pad));
}
if (sgr) {
TRY(utf8lite_render_raw(r, RUTF8_STYLE_CLOSE,
RUTF8_STYLE_CLOSE_SIZE));
}
TRY(utf8lite_render_set_flags(r, old));
exit:
CHECK_ERROR(err);
}
static void render_entry(struct utf8lite_render *r, const struct style *s,
SEXP sx, int width)
{
render_cell(r, s, CELL_ENTRY, sx, width);
}
static void render_na(struct utf8lite_render *r, const struct style *s,
SEXP sx, int width)
{
render_cell(r, s, CELL_NA, sx, width);
}
static void render_name(struct utf8lite_render *r, const struct style *s,
SEXP sx, int width)
{
render_cell(r, s, CELL_NAME, sx, width);
}
static void render_rowname(struct utf8lite_render *r, const struct style *s,
SEXP sx, int width)
{
render_cell(r, s, CELL_ROWNAME, sx, width);
}
static int render_range(struct utf8lite_render *r, const struct style *s,
SEXP sx, SEXP na_print, int begin, int end,
int print_gap, int max, int namewidth,
const int *colwidths)
{
SEXP elt, name, dim_names, row_names, col_names;
R_xlen_t ix;
int i, j, nrow, nprint, width;
int err = 0, nprot = 0;
PROTECT(dim_names = getAttrib(sx, R_DimNamesSymbol)); nprot++;
row_names = VECTOR_ELT(dim_names, 0);
col_names = VECTOR_ELT(dim_names, 1);
nrow = nrows(sx);
nprint = 0;
if (col_names != R_NilValue) {
TRY(utf8lite_render_chars(r, ' ', namewidth));
for (j = begin; j < end; j++) {
PROTECT(name = STRING_ELT(col_names, j)); nprot++;
assert(name != NA_STRING);
if (j > begin || row_names != R_NilValue) {
TRY(utf8lite_render_chars(r, ' ', print_gap));
}
render_name(r, s, name, colwidths[j]);
UNPROTECT(1); nprot--;
}
TRY(utf8lite_render_newlines(r, 1));
}
for (i = 0; i < nrow; i++) {
CHECK_INTERRUPT(i);
if (nprint == max) {
goto exit;
}
if (row_names != R_NilValue) {
PROTECT(name = STRING_ELT(row_names, i)); nprot++;
assert(name != NA_STRING);
render_rowname(r, s, name, namewidth);
UNPROTECT(1); nprot--;
}
for (j = begin; j < end; j++) {
if (nprint == max) {
TRY(utf8lite_render_newlines(r, 1));
goto exit;
}
nprint++;
if (j > begin || row_names != R_NilValue) {
TRY(utf8lite_render_chars(r, ' ', print_gap));
}
width = colwidths[j];
ix = (R_xlen_t)i + (R_xlen_t)j * (R_xlen_t)nrow;
PROTECT(elt = STRING_ELT(sx, ix)); nprot++;
if (elt == NA_STRING) {
render_na(r, s, na_print, width);
} else {
render_entry(r, s, elt, width);
}
UNPROTECT(1); nprot--;
}
TRY(utf8lite_render_newlines(r, 1));
}
exit:
UNPROTECT(nprot);
CHECK_ERROR(err);
return nprint;
}
SEXP rutf8_render_table(SEXP sx, SEXP swidth, SEXP squote, SEXP sna_print,
SEXP sprint_gap, SEXP sright, SEXP smax,
SEXP snames, SEXP srownames, SEXP sescapes,
SEXP sdisplay, SEXP sstyle, SEXP sutf8,
SEXP slinewidth)
{
SEXP ans, na_print, str, srender, elt, dim_names, row_names, col_names;
struct utf8lite_render *render;
struct style s;
R_xlen_t ix, nx;
int i, j, nrow, ncol;
int width, quote, print_gap, max, display, style, linewidth, utf8;
int begin, end, w, nprint, lw, namewidth, *colwidths;
int nprot = 0;
memset(&s, 0, sizeof(s));
PROTECT(dim_names = getAttrib(sx, R_DimNamesSymbol)); nprot++;
row_names = VECTOR_ELT(dim_names, 0);
col_names = VECTOR_ELT(dim_names, 1);
nrow = nrows(sx);
ncol = ncols(sx);
nx = XLENGTH(sx);
width = INTEGER(swidth)[0];
quote = LOGICAL(squote)[0] == TRUE;
PROTECT(na_print = STRING_ELT(sna_print, 0)); nprot++;
print_gap = INTEGER(sprint_gap)[0];
s.right = LOGICAL(sright)[0] == TRUE;
max = INTEGER(smax)[0];
display = LOGICAL(sdisplay)[0] == TRUE;
style = LOGICAL(sstyle)[0] == TRUE;
utf8 = LOGICAL(sutf8)[0] == TRUE;
linewidth = INTEGER(slinewidth)[0];
s.flags.entry = (UTF8LITE_ESCAPE_CONTROL | UTF8LITE_ENCODE_C);
if (quote) {
s.flags.entry |= UTF8LITE_ESCAPE_DQUOTE;
}
if (display) {
s.flags.entry |= UTF8LITE_ENCODE_RMDI;
s.flags.entry |= UTF8LITE_ENCODE_EMOJIZWSP;
}
if (style) {
if ((s.names = rutf8_as_style(snames))) {
s.names_len = (int)strlen(s.names);
}
if ((s.rownames = rutf8_as_style(srownames))) {
s.rownames_len = (int)strlen(s.rownames);
}
}
if (!utf8) {
s.flags.entry |= UTF8LITE_ESCAPE_UTF8;
}
#if defined(_WIN32) || defined(_WIN64)
s.flags.entry |= UTF8LITE_ESCAPE_EXTENDED;
#endif
s.flags.na = s.flags.entry & ~UTF8LITE_ESCAPE_DQUOTE;
s.flags.name = s.flags.na;
s.flags.rowname = s.flags.name;
PROTECT(srender = rutf8_alloc_render(0)); nprot++;
render = rutf8_as_render(srender);
if (style) {
if ((s.esc_open = rutf8_as_style(sescapes))) {
s.esc_close = RUTF8_STYLE_CLOSE;
}
}
namewidth = 0;
if (row_names == R_NilValue) {
namewidth = 0;
} else {
for (i = 0; i < nrow; i++) {
CHECK_INTERRUPT(i);
PROTECT(elt = STRING_ELT(row_names, i)); nprot++;
assert(elt != NA_STRING);
w = charsxp_width(elt, s.flags.rowname);
if (w > namewidth) {
namewidth = w;
}
UNPROTECT(1); nprot--;
}
}
if (ncol == 0) {
nprint = render_range(render, &s, sx, na_print, 0, 0,
print_gap, max, namewidth, NULL);
goto exit;
}
colwidths = (void *)R_alloc(ncol, sizeof(*colwidths));
for (j = 0; j < ncol; j++) {
colwidths[j] = width;
}
if (col_names != R_NilValue) {
for (j = 0; j < ncol; j++) {
PROTECT(elt = STRING_ELT(col_names, j)); nprot++;
assert(elt != NA_STRING);
w = charsxp_width(elt, s.flags.name);
if (w > colwidths[j]) {
colwidths[j] = w;
}
UNPROTECT(1); nprot--;
}
}
j = 0;
for (ix = 0; ix < nx; ix++) {
PROTECT(elt = STRING_ELT(sx, ix)); nprot++;
if (elt == NA_STRING) {
w = charsxp_width(na_print, s.flags.na);
} else {
w = charsxp_width(elt, s.flags.entry);
}
if (w > colwidths[j]) {
colwidths[j] = w;
}
if ((ix + 1) % nrow == 0) {
j++;
}
UNPROTECT(1); nprot--;
}
nprint = 0;
begin = 0;
while (begin != ncol) {
lw = namewidth;
end = begin;
while (end != ncol) {
// break if including the column puts us over the
// width; we do the calculations like this to
// avoid integer overflow
if (end > begin || row_names != R_NilValue) {
if (lw > linewidth - print_gap) {
break;
}
lw += print_gap;
}
if (lw > linewidth - colwidths[end]) {
break;
}
lw += colwidths[end];
end++;
}
if (begin == end) {
// include at least one column, even if it
// puts us over the line width
end++;
}
nprint += render_range(render, &s, sx, na_print, begin,
end, print_gap, max - nprint,
namewidth, colwidths);
begin = end;
}
exit:
PROTECT(str = mkCharLenCE(render->string, render->length, CE_UTF8));
nprot++;
PROTECT(ans = ScalarString(str)); nprot++;
rutf8_free_render(srender);
UNPROTECT(nprot);
return ans;
}
utf8/src/utf8_width.c 0000644 0001762 0000144 00000004233 13301551651 014162 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include "rutf8.h"
SEXP rutf8_utf8_width(SEXP sx, SEXP sencode, SEXP squote, SEXP sutf8)
{
SEXP ans, selt;
struct rutf8_string elt;
R_xlen_t i, n;
int flags, encode, quote, quotes, utf8, w;
if (sx == R_NilValue) {
return R_NilValue;
}
if (!isString(sx)) {
error("argument is not a character object");
}
n = XLENGTH(sx);
encode = LOGICAL(sencode)[0] == TRUE;
quote = LOGICAL(squote)[0] == TRUE;
utf8 = LOGICAL(sutf8)[0] == TRUE;
flags = UTF8LITE_ENCODE_C;
if (encode) {
flags |= UTF8LITE_ESCAPE_CONTROL;
if (!utf8) {
flags |= UTF8LITE_ESCAPE_UTF8;
}
#if defined(_WIN32) || defined(_WIN64)
flags |= UTF8LITE_ESCAPE_EXTENDED;
#endif
}
if (quote) {
flags |= UTF8LITE_ESCAPE_DQUOTE;
}
quotes = quote ? 2 : 0;
PROTECT(ans = allocVector(INTSXP, n));
setAttrib(ans, R_NamesSymbol, getAttrib(sx, R_NamesSymbol));
setAttrib(ans, R_DimSymbol, getAttrib(sx, R_DimSymbol));
setAttrib(ans, R_DimNamesSymbol, getAttrib(sx, R_DimNamesSymbol));
for (i = 0; i < n; i++) {
CHECK_INTERRUPT(i);
PROTECT(selt = STRING_ELT(sx, i));
rutf8_string_init(&elt, selt);
if (elt.type == RUTF8_STRING_NONE) {
w = NA_INTEGER;
} else if (elt.type == RUTF8_STRING_TEXT && !encode && !utf8
&& !utf8lite_text_isascii(&elt.value.text)) {
w = NA_INTEGER;
} else {
w = rutf8_string_width(&elt, flags);
if (w < 0) {
w = NA_INTEGER;
} else if (w > INT_MAX - quotes) {
Rf_error("width exceeds maximum (%d)",
INT_MAX);
} else {
w += quotes;
}
}
INTEGER(ans)[i] = w;
UNPROTECT(1);
}
UNPROTECT(1);
return ans;
}
utf8/src/text.c 0000644 0001762 0000144 00000016275 13301551651 013072 0 ustar ligges users /*
* Copyright 2017 Patrick O. Perry.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include
#include "rutf8.h"
int rutf8_text_width(const struct utf8lite_text *text, int flags)
{
struct utf8lite_graphscan scan;
int err = 0, width, w;
utf8lite_graphscan_make(&scan, text);
width = 0;
while (utf8lite_graphscan_advance(&scan)) {
TRY(utf8lite_graph_measure(&scan.current, flags, &w));
if (w < 0) {
return -1;
}
if (width > INT_MAX - w) {
Rf_error("width exceeds maximum (%d)", INT_MAX);
}
width += w;
}
exit:
CHECK_ERROR(err);
return width;
}
int rutf8_text_lwidth(const struct utf8lite_text *text, int flags,
int limit, int ellipsis)
{
struct utf8lite_graphscan scan;
int err = 0, width, w;
utf8lite_graphscan_make(&scan, text);
width = 0;
while (utf8lite_graphscan_advance(&scan)) {
TRY(utf8lite_graph_measure(&scan.current, flags, &w));
if (w < 0) {
return -1;
}
if (width > limit - w) {
return width + ellipsis;
}
width += w;
}
exit:
CHECK_ERROR(err);
return width;
}
int rutf8_text_rwidth(const struct utf8lite_text *text, int flags,
int limit, int ellipsis)
{
struct utf8lite_graphscan scan;
int err = 0, width, w;
utf8lite_graphscan_make(&scan, text);
utf8lite_graphscan_skip(&scan);
width = 0;
while (utf8lite_graphscan_retreat(&scan)) {
TRY(utf8lite_graph_measure(&scan.current, flags, &w));
if (w < 0) {
return -1;
}
if (width > limit - w) {
return width + ellipsis;
}
width += w;
}
exit:
return width;
}
static void rutf8_text_lrender(struct utf8lite_render *r,
const struct utf8lite_text *text,
int width_min, int quote, int centre)
{
struct utf8lite_graphscan scan;
int err = 0, w, fullwidth, width, quotes;
assert(width_min >= 0);
quotes = quote ? 2 : 0;
width = 0;
if (centre && width_min > 0) {
fullwidth = rutf8_text_width(text, r->flags);
// ensure fullwidth + quotes doesn't overflow
if (fullwidth <= width_min - quotes) {
width = (width_min - fullwidth - quotes) / 2;
TRY(utf8lite_render_chars(r, ' ', width));
}
}
if (quote) {
TRY(utf8lite_render_raw(r, "\"", 1));
assert(width < INT_MAX); // width <= width_min / 2
width++;
}
utf8lite_graphscan_make(&scan, text);
while (utf8lite_graphscan_advance(&scan)) {
TRY(utf8lite_graph_measure(&scan.current, r->flags, &w));
TRY(utf8lite_render_graph(r, &scan.current));
assert(w >= 0);
if (width <= width_min - w) {
width += w;
} else {
width = width_min; // truncate to avoid overflow
}
}
if (quote) {
TRY(utf8lite_render_raw(r, "\"", 1));
if (width < width_min) { // avoid overflow
width++;
}
}
TRY(utf8lite_render_chars(r, ' ', width_min - width));
exit:
CHECK_ERROR(err);
}
static void rutf8_text_rrender(struct utf8lite_render *r,
const struct utf8lite_text *text,
int width_min, int quote)
{
struct utf8lite_graphscan scan;
int err = 0, fullwidth, quotes;
quotes = quote ? 2 : 0;
if (width_min > 0) {
fullwidth = rutf8_text_width(text, r->flags);
// ensure fullwidth + quotes doesn't overflow
if (fullwidth <= width_min - quotes) {
fullwidth += quotes;
TRY(utf8lite_render_chars(r, ' ',
width_min - fullwidth));
}
}
if (quote) {
TRY(utf8lite_render_raw(r, "\"", 1));
}
utf8lite_graphscan_make(&scan, text);
while (utf8lite_graphscan_advance(&scan)) {
TRY(utf8lite_render_graph(r, &scan.current));
}
if (quote) {
TRY(utf8lite_render_raw(r, "\"", 1));
}
exit:
CHECK_ERROR(err);
}
void rutf8_text_render(struct utf8lite_render *r,
const struct utf8lite_text *text,
int width, int quote, enum rutf8_justify_type justify)
{
int centre;
if (justify == RUTF8_JUSTIFY_RIGHT) {
rutf8_text_rrender(r, text, width, quote);
} else {
centre = (justify == RUTF8_JUSTIFY_CENTRE);
rutf8_text_lrender(r, text, width, quote, centre);
}
}
static SEXP rutf8_text_lformat(struct utf8lite_render *r,
const struct utf8lite_text *text,
int trim, int chars, int quote,
const char *ellipsis, size_t nellipsis,
int wellipsis, int flags, int width_max,
int centre)
{
SEXP ans = R_NilValue;
struct utf8lite_graphscan scan;
int err = 0, w, trunc, bfill, efill, fullwidth, width, quotes;
quotes = quote ? 2 : 0;
bfill = 0;
if (centre && !trim) {
fullwidth = (rutf8_text_lwidth(text, flags, chars, wellipsis)
+ quotes);
if (fullwidth < width_max) {
bfill = (width_max - fullwidth) / 2;
TRY(utf8lite_render_chars(r, ' ', bfill));
}
}
width = 0;
trunc = 0;
utf8lite_graphscan_make(&scan, text);
while (!trunc && utf8lite_graphscan_advance(&scan)) {
TRY(utf8lite_graph_measure(&scan.current, flags, &w));
if (width > chars - w) {
w = wellipsis;
TRY(utf8lite_render_raw(r, ellipsis, nellipsis));
trunc = 1;
} else {
TRY(utf8lite_render_graph(r, &scan.current));
}
width += w;
}
if (!trim) {
efill = width_max - width - quotes - bfill;
TRY(utf8lite_render_chars(r, ' ', efill));
}
ans = mkCharLenCE((char *)r->string, r->length, CE_UTF8);
utf8lite_render_clear(r);
exit:
CHECK_ERROR(err);
return ans;
}
static SEXP rutf8_text_rformat(struct utf8lite_render *r,
const struct utf8lite_text *text,
int trim, int chars, int quote,
const char *ellipsis, size_t nellipsis,
int wellipsis, int flags, int width_max)
{
SEXP ans = R_NilValue;
struct utf8lite_graphscan scan;
int err = 0, w, width, quotes, trunc;
quotes = quote ? 2 : 0;
utf8lite_graphscan_make(&scan, text);
utf8lite_graphscan_skip(&scan);
width = 0;
trunc = 0;
while (!trunc && utf8lite_graphscan_retreat(&scan)) {
TRY(utf8lite_graph_measure(&scan.current, flags, &w));
if (width > chars - w) {
w = wellipsis;
trunc = 1;
}
width += w;
}
if (!trim) {
TRY(utf8lite_render_chars(r, ' ', width_max - width - quotes));
}
if (trunc) {
TRY(utf8lite_render_raw(r, ellipsis, nellipsis));
}
while (utf8lite_graphscan_advance(&scan)) {
TRY(utf8lite_render_graph(r, &scan.current));
}
ans = mkCharLenCE((char *)r->string, r->length, CE_UTF8);
utf8lite_render_clear(r);
exit:
CHECK_ERROR(err);
return ans;
}
SEXP rutf8_text_format(struct utf8lite_render *r,
const struct utf8lite_text *text,
int trim, int chars, enum rutf8_justify_type justify,
int quote, const char *ellipsis, size_t nellipsis,
int wellipsis, int flags, int width_max)
{
int centre;
if (justify == RUTF8_JUSTIFY_RIGHT) {
return rutf8_text_rformat(r, text, trim, chars, quote,
ellipsis, nellipsis, wellipsis,
flags, width_max);
} else {
centre = (justify == RUTF8_JUSTIFY_CENTRE);
return rutf8_text_lformat(r, text, trim, chars, quote,
ellipsis, nellipsis, wellipsis,
flags, width_max, centre);
}
}
utf8/NAMESPACE 0000644 0001762 0000144 00000000356 13203072436 012363 0 ustar ligges users ## Compiled
useDynLib(utf8, .registration = TRUE)
## Exports
export(as_utf8)
export(output_ansi)
export(output_utf8)
export(utf8_encode)
export(utf8_format)
export(utf8_normalize)
export(utf8_print)
export(utf8_valid)
export(utf8_width)
utf8/NEWS 0000644 0001762 0000144 00000004436 13301547457 011657 0 ustar ligges users utf8 1.1.4 (2018-05-24)
=======================
BUG FIXES
* Fix build on Solaris (#7, reported by @krlmlr).
* Fix rendering of emoji ZWJ sequences like "\U1F469\U200D\U2764\UFE0F\U200D\U1F48B\U200D\U1F469".
utf8 1.1.3 (2018-01-03)
=======================
MINOR IMPROVEMENTS
* Make output_utf8() always return TRUE on Windows, so that characters
in the user's native locale don't get escaped by utf8_encode(). The
downside of this change is that on Windows, utf8_width() reports the
wrong values for characters outside the user's locale when stdout()
is redirected by knitr or another process.
* When truncating long strings strings via utf8_format(), use an ellipsis
that is printable in the user's native locale ("\u2026" or "...").
utf8 1.1.2 (2017-12-14)
=======================
BUG FIXES
* Fix bug in utf8_format() with non-NULL width argument.
utf8 1.1.1 (2017-11-28)
=======================
BUG FIXES
* Fix PROTECT bug in as_utf8().
utf8 1.1.0 (2017-11-20)
=======================
NEW FEATURES
* Added output_ansi() and output_utf8() functions to test for
output capabilities.
MINOR IMPROVEMENTS
* Add utf8 argument to utf8_encode(), utf8_format(), utf8_print(),
and utf8_width() for precise control over assumed output capabilities;
defaults to the result of output_utf8().
* Add ability to style backslash escapes with the escapes arguments
to utf8_encode() and utf8_print(). Switch from "faint" styling
to no styling by default.
* Slightly reword error messages for as_utf8().
* Fix (spurious) rchk warnings.
BUG FIXES
* Fix bug in utf8_width() determining width of non-ASCII strings
when LC_CTYPE=C.
DEPRECATED AND DEFUNCT
* No longer export the C version of as_utf8() (the R version is still
present).
utf8 1.0.0 (2017-11-06)
=======================
NEW FEATURES
* Split off functions as_utf8(), utf8_valid(), utf8_normalize(),
utf8_encode(), utf8_format(), utf8_print(), and utf8_width()
from [corpus][corpus] package.
* Added special handling for Unicode grapheme clusters in formatting
and width measurement functions.
* Added ANSI styling to escape sequences.
* Added ability to style row and column names in utf8_print().
[corpus]: http://corpustext.com/ "corpus: Text Corpus Analysis"
utf8/R/ 0000755 0001762 0000144 00000000000 13223515427 011345 5 ustar ligges users utf8/R/coerce.R 0000644 0001762 0000144 00000007675 13203106014 012731 0 ustar ligges users # Copyright 2017 Patrick O. Perry.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
as_character_scalar <- function(name, value, utf8 = TRUE)
{
if (is.null(value)) {
return(NULL)
}
value <- as_character_vector(name, value, utf8)
if (length(value) != 1) {
stop(sprintf("'%s' must be a scalar character string", name))
}
value
}
as_character_vector <- function(name, value, utf8 = TRUE)
{
if (!(is.null(value) || is.character(value) || is.factor(value)
|| all(is.na(value)))) {
stop(sprintf("'%s' must be text, a character vector, or NULL", name))
}
if (is.null(value)) {
return(NULL)
}
value <- as.character(value)
if (utf8) {
value <- as_utf8(value)
}
value
}
as_enum <- function(name, value, choices)
{
if (!(is.character(value) && length(value) == 1 && !is.na(value))) {
stop(sprintf("'%s' must be a character string", name))
}
i <- pmatch(value, choices, nomatch = 0)
if (all(i == 0)) {
stop(sprintf("'%s' must be one of the following: ", name),
paste(dQuote(choices), collapse = ", "))
}
i <- i[i > 0]
choices[[i]]
}
as_integer_scalar <- function(name, value, nonnegative = FALSE)
{
if (is.null(value)) {
return(NULL)
}
value <- as_integer_vector(name, value, nonnegative)
if (length(value) != 1) {
stop(sprintf("'%s' must have length 1", name))
}
value
}
as_integer_vector <- function(name, value, nonnegative = FALSE)
{
if (is.null(value)) {
return(NULL)
}
if (!(is.numeric(value) || all(is.na(value)))) {
stop(sprintf("'%s' must be integer-valued", name))
}
value <- as.integer(value)
if (nonnegative && any(!is.na(value) & value < 0)) {
stop(sprintf("'%s' must be non-negative", name))
}
value
}
as_na_print <- function(name, value)
{
if (is.null(value)) {
return(NULL)
}
value <- as_character_scalar(name, value)
if (is.na(value)) {
stop(sprintf("'%s' cannot be NA", name))
}
value
}
as_nonnegative <- function(name, value)
{
if (is.null(value)) {
return(NULL)
}
value <- as_integer_scalar(name, value, nonnegative = TRUE)
if (is.na(value)) {
stop(sprintf("'%s' cannot be NA", name))
}
value
}
as_option <- function(name, value)
{
if (is.null(value)) {
return(FALSE)
}
if (!(length(value) == 1 && is.logical(value) && !is.na(value))) {
stop(sprintf("'%s' must be TRUE or FALSE", name))
}
as.logical(value)
}
as_chars <- as_nonnegative
as_justify <- function(name, value)
{
as_enum(name, value, c("left", "right", "centre", "none"))
}
as_max_print <- as_nonnegative
as_print_gap <- function(name, value)
{
value <- as_nonnegative(name, value)
if (!is.null(value) && value > 1024) {
stop(sprintf("'%s' must be less than or equal to 1024", name))
}
value
}
as_style <- function(name, value)
{
value <- as_character_scalar(name, value)
if (is.null(value) || is.na(value)) {
return(NULL)
}
if (!grepl("^[0-9;]*$", value)) {
stop(sprintf("'%s' must be a valid ANSI SGR parameter string", name))
}
if (nchar(value) >= 128) {
stop(sprintf("'%s' must have length below 128 characters", name))
}
value
}
as_output_utf8 <- function(name, value)
{
if (is.null(value)) {
return(output_utf8())
}
as_option(name, value)
}
utf8/R/utf8.R 0000644 0001762 0000144 00000003445 13203106107 012351 0 ustar ligges users # Copyright 2017 Patrick O. Perry.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# converts a character vector from its declared encoding to UTF-8
as_utf8 <- function(x, normalize = FALSE)
{
ans <- .Call(rutf8_as_utf8, x)
if (normalize) {
ans <- utf8_normalize(ans)
}
ans
}
# test whether the elements can be converted to valid UTF-8
utf8_valid <- function(x)
{
.Call(rutf8_utf8_valid, x)
}
# gets the width; NA for invalid or nonprintable sequences
utf8_width <- function(x, encode = TRUE, quote = FALSE, utf8 = NULL)
{
with_rethrow({
encode <- as_option("encode", encode)
quote <- as_option("quote", quote)
utf8 <- as_output_utf8("utf8", utf8)
})
.Call(rutf8_utf8_width, x, encode, quote, utf8)
}
utf8_normalize <- function(x, map_case = FALSE, map_compat = FALSE,
map_quote = FALSE, remove_ignorable = FALSE)
{
with_rethrow({
x <- as_utf8(x, normalize = FALSE)
map_case <- as_option("map_case", map_case)
map_compat <- as_option("map_compat", map_compat)
map_quote <- as_option("map_quote", map_quote)
remove_ignorable <- as_option("remove_ignorable", remove_ignorable)
})
.Call(rutf8_utf8_normalize, x, map_case, map_compat, map_quote,
remove_ignorable)
}
utf8/R/output.R 0000644 0001762 0000144 00000002737 13220616106 013032 0 ustar ligges users # Copyright 2017 Patrick O. Perry.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
output_ansi <- function()
{
# tty?
if (isatty(stdout())) {
# and not Windows GUI?
return(.Platform$GUI != "Rgui")
}
# RStudio 1.1 or later with color enabled?
if (!is.na(as.numeric(Sys.getenv("RSTUDIO_CONSOLE_COLOR")))) {
# and output is stdout?
return(stdout() == 1)
}
FALSE
}
output_utf8 <- function()
{
# ASCII-only character locale?
if (Sys.getlocale("LC_CTYPE") == "C") {
return(FALSE)
}
# UTF-8 locale?
if (l10n_info()$`UTF-8`) {
return(TRUE)
}
# Windows?
if (.Platform$OS.type == "windows") {
# This isn't really the case, but there's no way to set the
# locale to UTF-8 on Windows. In RGui and RStudio, UTF-8 is
# always supported on stdout(); output through connections
# gets translated through the native locale.
return(TRUE)
}
FALSE
}
utf8/R/utf8_encode.R 0000644 0001762 0000144 00000002362 13203106023 013660 0 ustar ligges users # Copyright 2017 Patrick O. Perry.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
utf8_encode <- function(x, width = 0L, quote = FALSE, justify = "left",
escapes = NULL, display = FALSE, utf8 = NULL)
{
if (is.null(x)) {
return(NULL)
}
if (!is.character(x)) {
stop("argument is not a character object")
}
with_rethrow({
width <- as_integer_scalar("width", width)
quote <- as_option("quote", quote)
justify <- as_justify("justify", justify)
escapes <- as_style("escapes", escapes)
display <- as_option("display", display)
utf8 <- as_output_utf8("utf8", utf8)
})
.Call(rutf8_utf8_encode, x, width, quote, justify, escapes, display, utf8)
}
utf8/R/utf8_print.R 0000644 0001762 0000144 00000027430 13223515427 013600 0 ustar ligges users # Copyright 2017 Patrick O. Perry.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
utf8_print <- function(x, chars = NULL, quote = TRUE, na.print = NULL,
print.gap = NULL, right = FALSE, max = NULL,
names = NULL, rownames = NULL, escapes = NULL,
display = TRUE, style = TRUE, utf8 = NULL, ...)
{
if (is.null(x)) {
return(invisible(NULL))
}
if (!is.character(x)) {
stop("argument is not a character object")
}
with_rethrow({
chars <- as_chars("chars", chars)
quote <- as_option("quote", quote)
na.print <- as_na_print("na.print", na.print)
print.gap <- as_print_gap("print_gap", print.gap)
right <- as_option("right", right)
max <- as_max_print("max", max)
names <- as_style("names", names)
rownames <- as_style("rownames", rownames)
escapes <- as_style("escapes", escapes)
display <- as_option("display", display)
style <- as_option("style", style)
utf8 <- as_output_utf8("utf8", utf8)
})
if (is.null(print.gap)) {
print.gap <- 1L
}
if (is.null(max)) {
max <- getOption("max.print")
}
if (!output_ansi()) {
style <- FALSE
}
if (!output_utf8()) {
utf8 <- FALSE
}
# truncate character objects
justify <- if (right) "right" else "left"
fmt <- utf8_format(x, trim = TRUE, chars = chars,
justify = justify, na.encode = FALSE,
quote = quote, utf8 = utf8)
dim <- dim(x)
if (is.null(dim) || length(dim) == 1) {
nprint <- print_vector(fmt, quote = quote, na.print = na.print,
print.gap = print.gap, right = right,
max = max, names = names, rownames = rownames,
escapes = escapes, display = display,
style = style, utf8 = utf8)
} else if (length(dim) == 2) {
nprint <- print_matrix(fmt, quote = quote, na.print = na.print,
print.gap = print.gap, right = right,
max = max, names = names, rownames = rownames,
escapes = escapes, display = display,
style = style, utf8 = utf8)
} else {
nprint <- print_array(fmt, quote = quote, na.print = na.print,
print.gap = print.gap, right = right,
max = max, names = names, rownames = rownames,
escapes = escapes, display = display,
style = style, utf8 = utf8)
}
n <- length(x)
if (nprint < n) {
cat(sprintf(
" [ reached getOption(\"max.print\") -- omitted %d entries ]\n",
n - nprint))
}
invisible(x)
}
print_vector <- function(x, quote, na.print, print.gap, right, max,
names, rownames, escapes, display, style, utf8)
{
if (length(x) == 0) {
cat("character(0)\n")
return(0L)
}
# drop dim, convert dimnames to names
if (!is.null(dim(x))) {
x <- c(x)
}
if (!is.null(names(x))) {
nprint <- print_vector_named(x, quote = quote, na.print = na.print,
print.gap = print.gap, right = right,
max = max, names = names,
rownames = rownames, escapes = escapes,
display = display, style = style,
utf8 = utf8)
} else {
nprint <- print_vector_unnamed(x, quote = quote, na.print = na.print,
print.gap = print.gap, right = right,
max = max, names = names,
rownames = rownames, escapes = escapes,
display = display, style = style,
utf8 = utf8)
}
nprint
}
print_vector_named <- function(x, quote, na.print, print.gap, right, max,
names, rownames, escapes, display, style, utf8)
{
n <- length(x)
nm <- names(x)
namewidth <- max(0L, utf8_width(nm, utf8 = utf8))
eltwidth <- element_width(x, quote = quote, na.print = na.print,
utf8 = utf8)
width <- max(eltwidth, namewidth)
linewidth <- getOption("width")
ncol <- max(1L, linewidth %/% (width + print.gap))
extra <- n %% ncol
nprint <- 0L
off <- 0L
while (off + ncol <= n && nprint < max) {
ix <- (off + 1L):(off + ncol)
mat <- matrix(x[ix], ncol = ncol, byrow = TRUE,
dimnames = list(NULL, nm[ix]))
np <- print_table(mat, width = width, quote = quote,
na.print = na.print, print.gap = print.gap,
right = right, max = max - nprint,
names = names, rownames = rownames,
escapes = escapes, display = display,
style = style, utf8 = utf8)
nprint <- nprint + np
off <- off + ncol
}
if (extra > 0L && nprint < max) {
ix <- n - extra + seq_len(extra)
last <- rbind(as.vector(x[ix]))
rownames(last) <- NULL
colnames(last) <- nm[ix]
np <- print_table(last, width = width, quote = quote,
na.print = na.print, print.gap = print.gap,
right = right, max = max - nprint,
names = names, rownames = rownames,
escapes = escapes, display = display,
style = style, utf8 = utf8)
nprint <- nprint + np
}
nprint
}
print_vector_unnamed <- function(x, quote, na.print, print.gap, right,
max, names, rownames, escapes = escapes,
display, style, utf8)
{
n <- length(x)
nm <- utf8_format(paste0("[", seq_len(n), "]"), justify = "right",
utf8 = utf8)
namewidth <- max(0L, utf8_width(nm, utf8 = utf8))
width <- element_width(x, quote = quote, na.print = na.print, utf8 = utf8)
linewidth <- getOption("width")
ncol <- max(1L, (linewidth - namewidth) %/% (width + print.gap))
extra <- n %% ncol
mat <- matrix(x[seq_len(n - extra)], ncol = ncol, byrow = TRUE)
rownames(mat) <- nm[seq(from = 1L, by = ncol, length.out = nrow(mat))]
nprint <- print_table(mat, width = width, quote = quote,
na.print = na.print, print.gap = print.gap,
right = right, max = max, names = names,
rownames = rownames, escapes = escapes,
display = display, style = style, utf8 = utf8)
if (extra > 0L && nprint < max) {
last <- rbind(as.vector(x[n - extra + seq_len(extra)]))
rownames(last) <- nm[n - extra + 1]
np <- print_table(last, width = width, quote = quote,
na.print = na.print, print.gap = print.gap,
right = right, max = max - nprint, names = names,
rownames = rownames, escapes = escapes,
display = display, style = style, utf8 = utf8)
nprint <- nprint + np
}
nprint
}
element_width <- function(x, quote, na.print, utf8)
{
width <- max(0L, utf8_width(x, encode = TRUE, quote = quote, utf8 = utf8),
na.rm = TRUE)
if (anyNA(x)) {
if (is.null(na.print)) {
na.print <- if (quote) "NA" else ""
}
width <- max(width, utf8_width(na.print, utf8 = utf8))
}
width
}
print_matrix <- function(x, quote, na.print, print.gap, right, max,
names, rownames, escapes, display, style, utf8)
{
if (all(dim(x) == 0)) {
cat("<0 x 0 matrix>\n")
return(0L)
}
x <- set_dimnames(x)
print_table(x, width = 0L, quote = quote, na.print = na.print,
print.gap = print.gap, right = right, max = max,
names = names, rownames = rownames, escapes = escapes,
display = display, style = style, utf8 = utf8)
}
print_array <- function(x, quote, na.print, print.gap, right, max,
names, rownames, escapes, display, style, utf8)
{
n <- length(x)
dim <- dim(x)
if (any(dim == 0)) {
cat(sprintf("<%s array>\n", paste(dim, collapse = " x ")))
return(0L)
}
x <- set_dimnames(x)
dimnames <- dimnames(x)
nrow <- dim[1]
ncol <- dim[2]
base <- c(NA, NA, rep(1, length(dim) - 2))
label <- vector("character", length(dim))
for (r in 3:length(dim)) {
label[[r]] <- dimnames[[r]][[1]]
}
nprint <- 0L
off <- 0L
while (off + nrow * ncol <= n && nprint < max) {
cat(paste(label, collapse = ", "), "\n\n", sep = "")
ix <- off + seq_len(nrow * ncol)
mat <- matrix(x[ix], nrow, ncol, dimnames = dimnames[1:2])
np <- print_table(mat, width = 0L, quote = quote, na.print = na.print,
print.gap = print.gap, right = right,
max = max - nprint, names = names,
rownames = rownames, escapes = escapes,
display = display, style = style, utf8 = utf8)
nprint <- nprint + np
off <- off + (nrow * ncol)
r <- 3L
while (r < length(dim) && base[r] == dim[r]) {
base[r] <- 1L
label[r] <- dimnames[[r]][[1L]]
r <- r + 1L
}
if (base[r] < dim[r]) {
base[r] <- base[r] + 1L
label[r] <- dimnames[[r]][[base[r]]]
}
cat("\n")
}
nprint
}
print_table <- function(x, width, quote, na.print, print.gap, right, max,
names, rownames, escapes, display, style, utf8)
{
width <- as.integer(width)
if (is.null(na.print)) {
na.print <- if (quote) "NA" else ""
na.name.print <- ""
} else {
na.name.print <- na.print
}
print.gap <- as.integer(print.gap)
max <- as.integer(max)
if (!is.null(rownames(x))) {
rownames(x)[is.na(rownames(x))] <- na.name.print
}
if (!is.null(colnames(x))) {
colnames(x)[is.na(colnames(x))] <- na.name.print
}
linewidth <- getOption("width")
str <- .Call(rutf8_render_table, x, width, quote, na.print, print.gap,
right, max, names, rownames, escapes, display, style,
utf8, linewidth)
cat(str)
nprint <- min(max, length(x))
nprint
}
set_dimnames <- function(x)
{
dim <- dim(x)
dimnames <- dimnames(x)
if (is.null(dimnames)) {
dimnames <- vector("list", length(dim))
}
for (i in seq_along(dim)) {
d <- dim[[i]]
ix <- seq_len(d)
if (is.null(dimnames[[i]]) && d > 0) {
if (i == 1) {
dimnames[[i]] <- format(paste0("[", ix, ",]"),
justify = "right")
} else if (i == 2) {
dimnames[[i]] <- paste0("[,", ix, "]")
} else {
dimnames[[i]] <- as.character(ix)
}
}
}
dimnames(x) <- dimnames
x
}
utf8/R/util.R 0000644 0001762 0000144 00000002164 13172113461 012443 0 ustar ligges users # Copyright 2017 Patrick O. Perry.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
with_rethrow <- function(expr)
{
parentcall <- sys.call(-1)
eval(envir = parent.frame(),
withCallingHandlers(expr,
error = function(e, call = parentcall) {
e$call <- call
stop(e)
},
warning = function(w, call = parentcall) {
w$call <- call
warning(w)
invokeRestart("muffleWarning")
},
message = function(m, call = parentcall) {
m$call <- call
}
)
)
}
utf8/R/utf8_format.R 0000644 0001762 0000144 00000004542 13220761037 013730 0 ustar ligges users # Copyright 2017 Patrick O. Perry.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
utf8_format <- function(x, trim = FALSE, chars = NULL, justify = "left",
width = NULL, na.encode = TRUE, quote = FALSE,
na.print = NULL, print.gap = NULL, utf8 = NULL, ...)
{
if (is.null(x)) {
return(NULL)
}
if (!is.character(x)) {
stop("argument is not a character object")
}
with_rethrow({
trim <- as_option("trim", trim)
chars <- as_chars("chars", chars)
justify <- as_justify("justify", justify)
width <- as_integer_scalar("width", width)
na.encode <- as_option("na.encode", na.encode)
quote <- as_option("quote", quote)
na.print <- as_na_print("na.print", na.print)
print.gap <- as_print_gap("print_gap", print.gap)
utf8 <- as_output_utf8("utf8", utf8)
})
ellipsis <- "\u2026"
if (is.na(iconv(ellipsis, "UTF-8", ""))) {
ellipsis <- "..."
wellipsis <- 3L
} else {
wellipsis <- 1L
}
if (is.null(chars) && length(x) > 0) {
linewidth <- getOption("width")
quotes <- if (quote) 2 else 0
gap <- if (is.null(print.gap)) 1 else NULL
dim <- dim(x)
dimnames <- dimnames(x)
names <- if (is.null(dimnames)) names(x) else dimnames[[1]]
if (is.null(names)) {
comma <- length(dim) > 1
namewidth <- floor(log10(length(x)) + 1) + 2 + comma
} else if (length(dim) > 1) {
namewidth <- max(0, utf8_width(names, utf8 = utf8))
} else {
namewidth <- 0
}
chars <- (linewidth - wellipsis - quotes - gap - namewidth)
chars <- max(chars, 12)
}
.Call(rutf8_utf8_format, x, trim, chars, justify, width, na.encode,
quote, na.print, ellipsis, wellipsis, utf8)
}
utf8/vignettes/ 0000755 0001762 0000144 00000000000 13301551651 013150 5 ustar ligges users utf8/vignettes/utf8.Rmd 0000644 0001762 0000144 00000037650 13200402576 014514 0 ustar ligges users ---
title: "Unicode: Emoji, accents, and international text"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{Unicode: Emoji, accents, and international text}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
Character encoding
------------------
Before we can analyze a text in R, we first need to get its digital
representation, a sequence of ones and zeros. In practice this works by first
choosing an *encoding* for the text that assigns each character a numerical
value, and then translating the sequence of characters in the text to the
corresponding sequence of numbers specified by the encoding. Today, most new
text is encoded according to the [Unicode standard][unicode], specifically the
8-bit block Unicode Transfer Format, [UTF-8][utf8]. Joel Spolsky gives a
good overview of the situation in an [essay from 2003][spolsky2003].
The software community has mostly moved to UTF-8 as a standard for text
storage and interchange, but there is still a large volume of text in other
encodings. Whenever you read a text file into R, you need to specify the
encoding. If you don't, R will try to guess the encoding, and if it guesses
incorrectly, it will wrongly interpret the sequence of ones and zeros.
We will demonstrate the difficulties of encodings with the text of
Jane Austen's novel, _Mansfield Park_ provided by
[Project Gutenberg][gutenberg]. We will download the text, then
read in the lines of the novel.
```r
# download the zipped text from a Project Gutenberg mirror
url <- "http://mirror.csclub.uwaterloo.ca/gutenberg/1/4/141/141.zip"
tmp <- tempfile()
download.file(url, tmp)
# read the text from the zip file
con <- unz(tmp, "141.txt", encoding = "UTF-8")
lines <- readLines(con)
close(con)
```
The `unz` function and other similar file connection functions have `encoding`
arguments which, if left unspecified default to assuming that text is encoded
in your operating system's native encoding. To ensure consistent behavior
across all platforms (Mac, Windows, and Linux), you should set this option
explicitly. Here, we set `encoding = "UTF-8"`. This is a reasonable default,
but it is not always appropriate. In general, you should determine the
appropriate `encoding` value by looking at the file. Unfortunately, the file
extension `".txt"` is not informative, and could correspond to any encoding.
However, if we read the first few lines of the file, we see the following:
```r
lines[11:20]
```
```
[1] "Author: Jane Austen"
[2] ""
[3] "Release Date: June, 1994 [Etext #141]"
[4] "Posting Date: February 11, 2015"
[5] ""
[6] "Language: English"
[7] ""
[8] "Character set encoding: ASCII"
[9] ""
[10] "*** START OF THIS PROJECT GUTENBERG EBOOK MANSFIELD PARK ***"
```
The character set encoding is reported as ASCII, which is a subset of UTF-8.
So, we should be in good shape.
Unfortunately, we run into trouble as soon as we try to process the text:
```r
corpus::term_stats(lines) # produces an error
```
```
Error in corpus::term_stats(lines): argument entry 15252 is incorrectly marked as "UTF-8": invalid leading byte (0xA3) at position 36
```
The error message tells us that line 15252 contains an invalid byte.
```r
lines[15252]
```
```
[1] "the command of her beauty, and her \xa320,000, any one who could satisfy the"
```
We might wonder if there are other lines with invalid data. We can find
all such lines using the `utf8_valid` function:
```r
lines[!utf8_valid(lines)]
```
```
[1] "the command of her beauty, and her \xa320,000, any one who could satisfy the"
```
So, there are no other invalid lines.
The offending byte in line 15252 is displayed as `\xa3`, an escape code
for hexadecimal value 0xa3, decimal value 163. To understand why this
is invalid, we need to learn more about UTF-8 encoding.
UTF-8
-----
### ASCII
The smallest unit of data transfer on modern computers is the byte, a sequence
of eight ones and zeros that can encode a number between 0 and 255
(hexadecimal 0x00 and 0xff). In the earliest character encodings, the numbers
from 0 to 127 (hexadecimal 0x00 to 0x7f) were standardized in an encoding
known as ASCII, the American Standard Code for Information Interchange.
Here are the characters corresponding to these codes:
```r
codes <- matrix(0:127, 8, 16, byrow = TRUE,
dimnames = list(0:7, c(0:9, letters[1:6])))
ascii <- apply(codes, c(1, 2), intToUtf8)
# replace control codes with ""
ascii["0", c(0:6, "e", "f")] <- ""
ascii["1",] <- ""
ascii["7", "f"] <- ""
utf8_print(ascii, quote = FALSE)
```
```
0 1 2 3 4 5 6 7 8 9 a b c d e f
0 \a \b \t \n \v \f \r
1
2 ! " # $ % & ' ( ) * + , - . /
3 0 1 2 3 4 5 6 7 8 9 : ; < = > ?
4 @ A B C D E F G H I J K L M N O
5 P Q R S T U V W X Y Z [ \\ ] ^ _
6 ` a b c d e f g h i j k l m n o
7 p q r s t u v w x y z { | } ~
```
The first 32 codes (the first two rows of the table) are special control
codes, the most common of which, `0x0a` denotes a new line (`\n`). The special
code `0x00` often denotes the end of the input, and R does not allow this
value in character strings. Code `0x7f` corresponds to a "delete" control.
When you call `utf8_print`, it uses the low level `utf8_encode` subroutine
format control codes; they format as `\uXXXX` for four hexadecimal digits
`XXXX` or as `\UXXXXYYYY` for eight hexadecimal digits `XXXXYYYY`:
```r
utf8_print(intToUtf8(1:0x0f), quote = FALSE)
```
```
[1] \u0001\u0002\u0003\u0004\u0005\u0006\a\b\t\n\v\f\r\u000e\u000f
```
Compare `utf8_print` output with the output with the base R print function:
```r
print(intToUtf8(1:0x0f), quote = FALSE)
```
```
[1] \001\002\003\004\005\006\a\b\t\n\v\f\r\016\017
```
Base R format control codes below 128 using octal escapes. There are some
other differences between the function which we will highlight below.
### Latin-1
ASCII works fine for most text in English, but not for other languages. The
Latin-1 encoding extends ASCII to Latin languages by assigning the numbers
128 to 255 (hexadecimal 0x80 to 0xff) to other common characters in Latin
languages. We can see these characters below.
```r
codes <- matrix(128:255, 8, 16, byrow = TRUE,
dimnames = list(c(8:9, letters[1:6]), c(0:9, letters[1:6])))
latin1 <- apply(codes, c(1, 2), intToUtf8)
# replace control codes with ""
latin1[c("8", "9"),] <- ""
utf8_print(latin1, quote = FALSE)
```
```
0 1 2 3 4 5 6 7 8 9 a b c d e f
8
9
a ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ® ¯
b ° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿
c À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï
d Ð Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü Ý Þ ß
e à á â ã ä å æ ç è é ê ë ì í î ï
f ð ñ ò ó ô õ ö ÷ ø ù ú û ü ý þ ÿ
```
As with ASCII, the first 32 numbers are control codes. The others are
characters common in Latin languages. Note that `0xa3`, the invalid byte
from _Mansfield Park_, corresponds to a pound sign in the Latin-1 encoding.
Given the context of the byte:
```r
lines[15252]
```
```
[1] "the command of her beauty, and her \xa320,000, any one who could satisfy the"
```
this is probably the right symbol. The text is probably encoded in Latin-1,
not UTF-8 or ASCII as claimed in the file.
If you run into an error while reading text that claims to be ASCII, it
is probably encoded as Latin-1. Note, however, that this is not the only
possibility, and there are many other encodings. The `iconvlist` function
will list the ones that R knows how to process:
```r
head(iconvlist(), n = 20)
```
```
[1] "437" "850" "852" "855"
[5] "857" "860" "861" "862"
[9] "863" "865" "866" "869"
[13] "ANSI_X3.4-1968" "ANSI_X3.4-1986" "ARABIC" "ARMSCII-8"
[17] "ASCII" "ASMO-708" "ATARI" "ATARIST"
```
### UTF-8
With only 256 unique values, a single byte is not enough to encode every
character. Multi-byte encodings allow for encoding more. UTF-8 encodes
characters using between 1 and 4 bytes each and allows for up to 1,112,064
character codes. Most of these codes are currently unassigned, but every year
the Unicode consortium meets and adds new characters. You can find a list of
all of the characters in the [Unicode Character Database][unicode-data]. A
listing of the Emoji characters is [available separately][emoji-data].
Say you want to input the Unicode character with hexadecimal code 0x2603.
You can do so in one of three ways:
```r
"\u2603" # with \u + 4 hex digits
```
```
[1] "☃"
```
```r
"\U00002603" # with \U + 8 hex digits
```
```
[1] "☃"
```
```r
intToUtf8(0x2603) # from an integer
```
```
[1] "☃"
```
For characters above `0xffff`, the first method won't work. On Windows,
a bug in the current version of R (fixed in R-devel) prevents using the
second method.
When you try to print Unicode in R, the system will first try to determine
whether the code is printable or not. Non-printable codes include control
codes and unassigned codes. On Mac OS, R uses an outdated function to make
this determination, so it is unable to print most emoji. The `utf8_print`
function uses the most recent version (10.0.0) of the Unicode standard,
and will print all Unicode characters supported by your system:
```r
print(intToUtf8(0x1f600 + 0:79)) # base R
```
```
[1] "\U0001f600\U0001f601\U0001f602\U0001f603\U0001f604\U0001f605\U0001f606\U0001f607\U0001f608\U0001f609\U0001f60a\U0001f60b\U0001f60c\U0001f60d\U0001f60e\U0001f60f\U0001f610\U0001f611\U0001f612\U0001f613\U0001f614\U0001f615\U0001f616\U0001f617\U0001f618\U0001f619\U0001f61a\U0001f61b\U0001f61c\U0001f61d\U0001f61e\U0001f61f\U0001f620\U0001f621\U0001f622\U0001f623\U0001f624\U0001f625\U0001f626\U0001f627\U0001f628\U0001f629\U0001f62a\U0001f62b\U0001f62c\U0001f62d\U0001f62e\U0001f62f\U0001f630\U0001f631\U0001f632\U0001f633\U0001f634\U0001f635\U0001f636\U0001f637\U0001f638\U0001f639\U0001f63a\U0001f63b\U0001f63c\U0001f63d\U0001f63e\U0001f63f\U0001f640\U0001f641\U0001f642\U0001f643\U0001f644\U0001f645\U0001f646\U0001f647\U0001f648\U0001f649\U0001f64a\U0001f64b\U0001f64c\U0001f64d\U0001f64e\U0001f64f"
```
```r
utf8_print(intToUtf8(0x1f600 + 0:79)) # truncates to line width
```
```
[1] "😀😁😂😃😄😅😆😇😈😉😊😋😌😍😎😏😐😑😒😓😔😕😖😗😘😙😚😛😜😝😞😟😠😡😢😣…"
```
```r
utf8_print(intToUtf8(0x1f600 + 0:79), chars = 500) # increase character limit
```
```
[1] "😀😁😂😃😄😅😆😇😈😉😊😋😌😍😎😏😐😑😒😓😔😕😖😗😘😙😚😛😜😝😞😟😠😡😢😣😤😥😦😧😨😩😪😫😬😭😮😯😰😱😲😳😴😵😶😷😸😹😺😻😼😽😾😿🙀🙁🙂🙃🙄🙅🙆🙇🙈🙉🙊🙋🙌🙍🙎🙏"
```
(Characters with codes above 0xffff, including most emoji, are not
supported on Windows.)
The *utf8* package provides the following utilities for validating, formatting,
and printing UTF-8 characters:
+ `as_utf8()` attempts to convert character data to UTF-8, throwing an
error if the data is invalid;
+ `utf8_valid()` tests whether character data is valid according to its
declared encoding;
+ `utf8_normalize()` converts text to Unicode composed normal form (NFC),
optionally applying case-folding and compatibility maps;
+ `utf8_encode()` encodes a character string, escaping all control
characters, so that it can be safely printed to the screen;
+ `utf8_format()` formats a character vector by truncating to a specified
character width limit or by left, right, or center justifying;
+ `utf8_print()` prints UTF-8 character data to the screen;
+ `utf8_width()` measures the display with of UTF-8 character strings
(many emoji and East Asian characters are twice as wide as other
characters).
The package does not provide a method to translate from another encoding to
UTF-8 as the `iconv()` function from base R already serves this purpose.
Translating to UTF-8
--------------------
Back to our original problem: getting the text of _Mansfield Park_ into R.
Our first attempt failed:
```r
corpus::term_stats(lines)
```
```
Error in corpus::term_stats(lines): argument entry 15252 is incorrectly marked as "UTF-8": invalid leading byte (0xA3) at position 36
```
We discovered a problem on line 15252:
```r
lines[15252]
```
```
[1] "the command of her beauty, and her \xa320,000, any one who could satisfy the"
```
The text is likely encoded in Latin-1, not UTF-8 (or ASCII) as we had
originally thought. We can test this by attempting to convert from
Latin-1 to UTF-8 with the `iconv()` function and inspecting the output:
```r
lines2 <- iconv(lines, "latin1", "UTF-8")
lines2[15252]
```
```
[1] "the command of her beauty, and her £20,000, any one who could satisfy the"
```
It worked! Now we can analyze our text.
```r
f <- corpus::text_filter(drop_punct = TRUE, drop = corpus::stopwords_en)
corpus::term_stats(lines2, f)
```
```
term count support
1 fanny 816 806
2 must 508 492
3 crawford 493 488
4 mr 482 466
5 much 459 450
6 miss 432 419
7 said 406 400
8 mrs 408 399
9 sir 372 366
10 edmund 364 364
11 one 370 358
12 think 349 346
13 now 333 331
14 might 324 320
15 time 310 307
16 little 309 300
17 nothing 301 291
18 well 299 286
19 thomas 288 285
20 good 280 275
⋮ (8450 rows total)
```
The *readtext* package
----------------------
If you need more than reading in a single text file, the [readtext][readtext]
package supports reading in text in a variety of file formats and encodings.
Beyond just plain text, that package can read in PDFs, Word documents, RTF,
and many other formats. (Unfortunately, that package currently fails when
trying to read in _Mansfield Park_; the authors are aware of the issue and are
working on a fix.)
Summary
-------
Text comes in a variety of encodings, and you cannot analyze a text without
first knowing its encoding. Many functions for reading in text assume that it
is encoded in UTF-8, but this assumption sometimes fails to hold. If you get
an error message reporting that your UTF-8 text is invalid, use `utf8_valid`
to find the offending texts. Try printing the data to the console before and
after using `iconv` to convert between character encodings. You can use
`utf8_print` to print UTF-8 characters that R refuses to display, including
emoji characters. For reading in exotic file formats like PDF or Word, try
the [readtext][readtext] package.
[emoji-data]: http://www.unicode.org/Public/emoji/5.0/emoji-data.txt
[gutenberg]: http://www.gutenberg.org
[readr]: https://github.com/tidyverse/readr#readme
[readtext]: https://github.com/kbenoit/readtext#readtext
[spolsky2003]: https://www.joelonsoftware.com/2003/10/08/the-absolute-minimum-every-software-developer-absolutely-positively-must-know-about-unicode-and-character-sets-no-excuses/
[unicode]: http://unicode.org/charts/
[unicode-data]: http://www.unicode.org/Public/10.0.0/ucd/UnicodeData.txt
[utf8]: https://en.wikipedia.org/wiki/UTF-8
[windows1252]: https://en.wikipedia.org/wiki/Windows-1252
utf8/README.md 0000644 0001762 0000144 00000016257 13301547554 012441 0 ustar ligges users
utf8
====
[![Build Status (Linux)][travis-badge]][travis]
[![Build Status (Windows)][appveyor-badge]][appveyor]
[![Coverage Status][codecov-badge]][codecov]
[![CRAN Status][cran-badge]][cran]
[![License][apache-badge]][apache]
[![CRAN RStudio Mirror Downloads][cranlogs-badge]][cran]
*utf8* is an R package for manipulating and printing UTF-8 text that fixes
[multiple][windows-enc2utf8] [bugs][emoji-print] in R's UTF-8 handling.
Installation
------------
### Stable version
*utf8* is [available on CRAN][cran]. To install the latest released version,
run the following command in R:
```r
install.packages("utf8")
```
### Development version
To install the latest development version, run the following:
```r
tmp <- tempfile()
system2("git", c("clone", "--recursive", shQuote("https://github.com/patperry/r-utf8.git"), shQuote(tmp)))
devtools::install(tmp)
```
Note that *utf8* uses a git submodule, so you cannot use
`devtools::install_github`.
Usage
-----
### Validate character data and convert to UTF-8
Use `as_utf8` to validate input text and convert to UTF-8 encoding. The
function alerts you if the input text has the wrong declared encoding:
```r
# second entry is encoded in latin-1, but declared as UTF-8
x <- c("fa\u00E7ile", "fa\xE7ile", "fa\xC3\xA7ile")
Encoding(x) <- c("UTF-8", "UTF-8", "bytes")
as_utf8(x) # fails
#> Error in as_utf8(x): entry 2 has wrong Encoding; marked as "UTF-8" but leading byte 0xE7 followed by invalid continuation byte (0x69) at position 4
# mark the correct encoding
Encoding(x[2]) <- "latin1"
as_utf8(x) # succeeds
#> [1] "façile" "façile" "façile"
```
### Normalize data
Use `utf8_normalize` to convert to Unicode composed normal form (NFC).
Optionally apply compatibility maps for NFKC normal form or case-fold.
```r
# three ways to encode an angstrom character
(angstrom <- c("\u00c5", "\u0041\u030a", "\u212b"))
#> [1] "Å" "Å" "Å"
utf8_normalize(angstrom) == "\u00c5"
#> [1] TRUE TRUE TRUE
# perform full Unicode case-folding
utf8_normalize("Größe", map_case = TRUE)
#> [1] "grösse"
# apply compatibility maps to NFKC normal form
# (example from https://twitter.com/aprilarcus/status/367557195186970624)
utf8_normalize("𝖸𝗈 𝐔𝐧𝐢𝐜𝐨𝐝𝐞 𝗅 𝗁𝖾𝗋𝖽 𝕌 𝗅𝗂𝗄𝖾 𝑡𝑦𝑝𝑒𝑓𝑎𝑐𝑒𝑠 𝗌𝗈 𝗐𝖾 𝗉𝗎𝗍 𝗌𝗈𝗆𝖾 𝚌𝚘𝚍𝚎𝚙𝚘𝚒𝚗𝚝𝚜 𝗂𝗇 𝗒𝗈𝗎𝗋 𝔖𝔲𝔭𝔭𝔩𝔢𝔪𝔢𝔫𝔱𝔞𝔯𝔶 𝔚𝔲𝔩𝔱𝔦𝔩𝔦𝔫𝔤𝔳𝔞𝔩 𝔓𝔩𝔞𝔫𝔢 𝗌𝗈 𝗒𝗈𝗎 𝖼𝖺𝗇 𝓮𝓷𝓬𝓸𝓭𝓮 𝕗𝕠𝕟𝕥𝕤 𝗂𝗇 𝗒𝗈𝗎𝗋 𝒇𝒐𝒏𝒕𝒔.",
map_compat = TRUE)
#> [1] "Yo Unicode l herd U like typefaces so we put some codepoints in your Supplementary Wultilingval Plane so you can encode fonts in your fonts."
```
### Print emoji
On some platforms (including MacOS), the R implementation of `print` uses an
outdated version of the Unicode standard to determine which characters are
printable. Use `utf8_print` for an updated print function:
```r
print(intToUtf8(0x1F600 + 0:79)) # with default R print function
#> [1] "\U0001f600\U0001f601\U0001f602\U0001f603\U0001f604\U0001f605\U0001f606\U0001f607\U0001f608\U0001f609\U0001f60a\U0001f60b\U0001f60c\U0001f60d\U0001f60e\U0001f60f\U0001f610\U0001f611\U0001f612\U0001f613\U0001f614\U0001f615\U0001f616\U0001f617\U0001f618\U0001f619\U0001f61a\U0001f61b\U0001f61c\U0001f61d\U0001f61e\U0001f61f\U0001f620\U0001f621\U0001f622\U0001f623\U0001f624\U0001f625\U0001f626\U0001f627\U0001f628\U0001f629\U0001f62a\U0001f62b\U0001f62c\U0001f62d\U0001f62e\U0001f62f\U0001f630\U0001f631\U0001f632\U0001f633\U0001f634\U0001f635\U0001f636\U0001f637\U0001f638\U0001f639\U0001f63a\U0001f63b\U0001f63c\U0001f63d\U0001f63e\U0001f63f\U0001f640\U0001f641\U0001f642\U0001f643\U0001f644\U0001f645\U0001f646\U0001f647\U0001f648\U0001f649\U0001f64a\U0001f64b\U0001f64c\U0001f64d\U0001f64e\U0001f64f"
utf8_print(intToUtf8(0x1F600 + 0:79)) # with utf8_print, truncates line
#> [1] "😀😁😂😃😄😅😆😇😈😉😊😋😌😍😎😏😐😑😒😓😔😕😖😗😘😙😚😛😜😝😞😟😠😡😢😣😤😥😦😧😨😩😪😫…"
utf8_print(intToUtf8(0x1F600 + 0:79), chars = 1000) # higher character limit
#> [1] "😀😁😂😃😄😅😆😇😈😉😊😋😌😍😎😏😐😑😒😓😔😕😖😗😘😙😚😛😜😝😞😟😠😡😢😣😤😥😦😧😨😩😪😫😬😭😮😯😰😱😲😳😴😵😶😷😸😹😺😻😼😽😾😿🙀🙁🙂🙃🙄🙅🙆🙇🙈🙉🙊🙋🙌🙍🙎🙏"
```
Citation
--------
Cite *utf8* with the following BibTeX entry:
```
@Manual{,
title = {utf8: Unicode Text Processing},
author = {Patrick O. Perry},
year = {2018},
note = {R package version 1.1.4},
url = {https://github.com/patperry/r-utf8},
}
```
Contributing
------------
The project maintainer welcomes contributions in the form of feature requests,
bug reports, comments, unit tests, vignettes, or other code. If you'd like to
contribute, either
+ fork the repository and submit a pull request (note the nonstandard
instructions for [building from source][building]);
+ [file an issue][issues];
+ or contact the maintainer via e-mail.
This project is released with a [Contributor Code of Conduct][conduct],
and if you choose to contribute, you must adhere to its terms.
[apache]: https://www.apache.org/licenses/LICENSE-2.0.html "Apache License, Version 2.0"
[apache-badge]: https://img.shields.io/badge/License-Apache%202.0-blue.svg "Apache License, Version 2.0"
[appveyor]: https://ci.appveyor.com/project/patperry/r-utf8/branch/master "Continuous Integration (Windows)"
[appveyor-badge]: https://ci.appveyor.com/api/projects/status/github/patperry/r-utf8?branch=master&svg=true "Continuous Inegration (Windows)"
[building]: #development-version "Building from Source"
[codecov]: https://codecov.io/github/patperry/r-utf8?branch=master "Code Coverage"
[codecov-badge]: https://codecov.io/github/patperry/r-utf8/coverage.svg?branch=master "Code Coverage"
[conduct]: https://github.com/patperry/r-utf8/blob/master/CONDUCT.md "Contributor Code of Conduct"
[cran]: https://cran.r-project.org/package=utf8 "CRAN Page"
[cran-badge]: http://www.r-pkg.org/badges/version/utf8 "CRAN Page"
[cranlogs-badge]: http://cranlogs.r-pkg.org/badges/utf8 "CRAN Downloads"
[emoji-print]: https://twitter.com/ptrckprry/status/887732831161425920 "MacOS Emoji Printing"
[issues]: https://github.com/patperry/r-utf8/issues "Issues"
[travis]: https://travis-ci.org/patperry/r-utf8 "Continuous Integration (Linux)"
[travis-badge]: https://api.travis-ci.org/patperry/r-utf8.svg?branch=master "Continuous Integration (Linux)"
[windows-enc2utf8]: https://twitter.com/ptrckprry/status/901494853758054401 "Windows enc2utf8 Bug"
utf8/MD5 0000644 0001762 0000144 00000013111 13301570673 011452 0 ustar ligges users 578efd3ec90ab6fbd7e99ed8b18ed38d *DESCRIPTION
3b83ef96387f14655fc854ddc3c6bd57 *LICENSE
9eb610e029fc704406b2e7ba88b2038a *NAMESPACE
9fa71eb056c4e25e101b7d4ea45a2e30 *NEWS
efe4676d073d250ff3da3ea2d6e4b6b2 *R/coerce.R
4d195201b31a5dd9e1421ce4f2e88917 *R/output.R
2a5eda5bc43c3c9dea1cb102979317de *R/utf8.R
ae802a9d21ab5c8d298ac005700eacc0 *R/utf8_encode.R
4a812f93d1262da39f29e61e2e385440 *R/utf8_format.R
ac9f046d90643da5a70aad5d1100fdca *R/utf8_print.R
3c072aa1f51826f8532a4d9aa08984a5 *R/util.R
c72a9ccf0f70b59968bb58a5af2f0bce *README.md
c7e6b63b8723366903b2f2e7018215e9 *build/vignette.rds
101804d9a1d4b7cbc97e60643eb0f6d0 *inst/doc/utf8.Rmd
81b88bd3e6a21b2256bca59f6e1a82a3 *inst/doc/utf8.html
beff6587aaf9aab19475f1be68825353 *man/as_utf8.Rd
68c36f6d4109c0d0bf0f4cff4b056ea5 *man/output.Rd
d02a927a2cc0337c4ae6e036b4409bde *man/utf8-package.Rd
5a14fe0023573b4be56fd8b5ba81396c *man/utf8_encode.Rd
fb023daea3908cdfe5cc7343ef11f0b8 *man/utf8_format.Rd
52d53f42a75833fe1c87bb29c300c30f *man/utf8_normalize.Rd
a995d70064a39528c9165a1a62354b3b *man/utf8_print.Rd
7c88586c6da59199e495250205205799 *man/utf8_width.Rd
6667cc6f8230bcafc6bdb8a89fdd9021 *src/Makevars
a8b2fd07189d5b6c2ecea2f7d82005f8 *src/as_utf8.c
0262266acf68a272f2d6a5df06abb2bd *src/bytes.c
ffe6da8fdb6855eb0feb2fbff76153cd *src/context.c
52b9899678840eb60670b13579bfdd53 *src/init.c
1fc0502764c03f848d61464169166f88 *src/render.c
0604e57c30c9f024e0ff4fdbd71f24f2 *src/render_table.c
8ea4a6896ca9c804c947a88b8c3838f5 *src/rutf8.h
6db859fd514c3d9147722092e8a0ad2f *src/string.c
23b71b742ca2ab3b9dae49bf1059e574 *src/text.c
cd52038d86857f26266092d348355153 *src/utf8_encode.c
97e59aa5bf86ef119d97084ce6a32e33 *src/utf8_format.c
5f1ffb2d580a185b4b361099e88a0012 *src/utf8_normalize.c
2dc5f330b2053f4d14b0308bc07c34be *src/utf8_valid.c
9c90631ae5759f0c919ce58731d663cd *src/utf8_width.c
c166a3dd223fed9761e8d25c6568cde4 *src/utf8lite/Doxyfile
3b83ef96387f14655fc854ddc3c6bd57 *src/utf8lite/LICENSE
3e2fb03cfbea80964079ff30e671e76d *src/utf8lite/LICENSE.Unicode
b2249af8232046a16c54cbd2fdc8195b *src/utf8lite/README.md
db6f7ba5923f69d986d01e92dd09b39b *src/utf8lite/src/array.c
69b4fe88c0f1d46e9a857a70ba8842cb *src/utf8lite/src/char.c
d2887e891963f4199b9c3e521a3575d9 *src/utf8lite/src/encode.c
8c34b71bb2f9f1806c1f223077248129 *src/utf8lite/src/error.c
82cd26ef11546650853c7a616bc7ac72 *src/utf8lite/src/escape.c
6df740f18b6c8673f2e52ba363424014 *src/utf8lite/src/graph.c
a237c4249344b555aa4ed40036c083b9 *src/utf8lite/src/graphscan.c
3e40e33a9fde5dbd7336b563c04dd080 *src/utf8lite/src/normalize.c
8216313ada2516b208f2d3118111da11 *src/utf8lite/src/private/array.h
df5ab9d641851b87453ef8f6370bcfee *src/utf8lite/src/private/casefold.h
ce3f521dabdcd5b0cd099445e75c690f *src/utf8lite/src/private/charwidth.h
dd75ddc26f315f8bd6942078c240c51d *src/utf8lite/src/private/combining.h
83d2346f630fcc3e773a690d70056a26 *src/utf8lite/src/private/compose.h
f13fc116207f00397e66b6725220b854 *src/utf8lite/src/private/decompose.h
4f5a3d636962d93a8ed8733054452195 *src/utf8lite/src/private/graphbreak.h
b904921cdc7ab06be409c7b4b67709e6 *src/utf8lite/src/render.c
b4c54edf720d4e30d6447ce06d9fbd0e *src/utf8lite/src/text.c
72312f766c3d78d5dae6de557cd60b2e *src/utf8lite/src/textassign.c
4481035cda7159eb1a41032b4eac8f55 *src/utf8lite/src/textiter.c
8f3bbd3e62d3283c20d8d65e08c70bd2 *src/utf8lite/src/textmap.c
d69e4953d8e584ffc1dfe287cd33b5c5 *src/utf8lite/src/utf8lite.h
2bcf7744830c22ef44d8f2c2fb4e2b70 *src/utf8lite/tests/check_charwidth.c
e63ce2f7e590a9e7345325c8539e7190 *src/utf8lite/tests/check_graphscan.c
36c5cc1fc1fa20a5e7ddf24d2c3f430b *src/utf8lite/tests/check_render.c
173daadc460d4e59de0f85c514c9d923 *src/utf8lite/tests/check_text.c
73d3799becf6db76fc3fb79f6be470fa *src/utf8lite/tests/check_textmap.c
2007768e847762f698eeca8c1ecbb58f *src/utf8lite/tests/check_unicode.c
372a57eabc21bfc8ef914cd04fda6263 *src/utf8lite/tests/testutil.c
aa27a7f945f1ef87419d3fb9436873c2 *src/utf8lite/tests/testutil.h
ebb63cbc9176c0a856dd0cf11743563c *src/utf8lite/tests/wcwidth9/LICENSE
92709a16912626471615259043b2a2fb *src/utf8lite/tests/wcwidth9/wcwidth9.h
ea689e6055e709467d54256165c62fc4 *src/utf8lite/utf8lite.xcodeproj/project.pbxproj
da25f30a14b055083e562d69cc1fddfb *src/utf8lite/util/compute-typelen.py
b0b091302a75f4dec6eff9e66dc9685b *src/utf8lite/util/gen-casefold.py
43a8270696cafee7d3e9bbaeab39087e *src/utf8lite/util/gen-charwidth.py
160d2d3ec316304a77f1e7fcd2b39adf *src/utf8lite/util/gen-combining.py
81666c1ea538ea36f82c585205c20441 *src/utf8lite/util/gen-compose.py
1d8e566d785bcfa97faebbd1dbf6748e *src/utf8lite/util/gen-decompose.py
141dd8720ff44bcda7cbefd419b51bfb *src/utf8lite/util/gen-graphbreak.py
3f6bf0cf3cf78ff5cdabe034bc5f7a98 *src/utf8lite/util/gen-normalization.py
566129d0163eda9080d4536e71c8e58b *src/utf8lite/util/property.py
a0450b7c980b18e4fddda73a17fab113 *src/utf8lite/util/table-graphbreak.c
04cc33e03b4613de9feed90b861fa9d6 *src/utf8lite/util/unicode_data.py
1725ebbc0ab0bb1472c4e02b9aa463e1 *src/util.c
4ce74531891f4e6b12df32189082c682 *tests/testthat.R
1598226105faefe37292b69336deef97 *tests/testthat/helper-capture_output.R
3e2c91ecee1bf14d2e22b90599ed398a *tests/testthat/helper-locale.R
fc4821538e0072d27b46f410ff090c26 *tests/testthat/helper-options.R
09e11a66cd1ce696ebbbd3a0814e7b36 *tests/testthat/test-utf8_encode.R
aaddd57c8c2c0bf1cf9f6c9784f7441c *tests/testthat/test-utf8_format.R
e05c502fae916cd6f841c1bb85cc3c0e *tests/testthat/test-utf8_normalize.R
e82f65a4de6525519f9deec77948b342 *tests/testthat/test-utf8_print.R
8e2c5ecf2df6417f7bbeac71fd0e0a48 *tests/testthat/test-utf8_valid.R
939988b133c4a2df6de138e225695670 *tests/testthat/test-utf8_width.R
101804d9a1d4b7cbc97e60643eb0f6d0 *vignettes/utf8.Rmd
utf8/build/ 0000755 0001762 0000144 00000000000 13301551650 012236 5 ustar ligges users utf8/build/vignette.rds 0000644 0001762 0000144 00000000342 13301551650 014574 0 ustar ligges users mOK
0M ^ƍ!bMQw:U+m13psJB|@vN$WN1ZZh۽EBJ0XRbT
BajkD!с;3gPS>g,?-#r(Pg0nյ
k :ߵwW+/aaOq_R\2+8-_w{ utf8/DESCRIPTION 0000644 0001762 0000144 00000001711 13301570673 012653 0 ustar ligges users Package: utf8
Version: 1.1.4
Title: Unicode Text Processing
Authors@R: c(
person(c("Patrick", "O."), "Perry",
role = c("aut", "cph", "cre"),
email = "patperry@gmail.com"),
person("Unicode, Inc.",
role = c("cph", "dtc"),
comment = "Unicode Character Database"))
Depends: R (>= 2.10)
Suggests: knitr, rmarkdown, testthat
Description: Process and print 'UTF-8' encoded international text (Unicode). Input, validate, normalize, encode, format, and display.
License: Apache License (== 2.0) | file LICENSE
URL: https://github.com/patperry/r-utf8
BugReports: https://github.com/patperry/r-utf8/issues
LazyData: Yes
Encoding: UTF-8
VignetteBuilder: knitr, rmarkdown
NeedsCompilation: yes
Packaged: 2018-05-24 15:00:57 UTC; ptrck
Author: Patrick O. Perry [aut, cph, cre],
Unicode, Inc. [cph, dtc] (Unicode Character Database)
Maintainer: Patrick O. Perry
Repository: CRAN
Date/Publication: 2018-05-24 17:09:15 UTC
utf8/man/ 0000755 0001762 0000144 00000000000 13220753146 011716 5 ustar ligges users utf8/man/utf8_format.Rd 0000644 0001762 0000144 00000005257 13220752641 014453 0 ustar ligges users \name{utf8_format}
\title{UTF-8 Text Formatting}
\alias{utf8_format}
\description{
Format a character object for UTF-8 printing.
}
\usage{
utf8_format(x, trim = FALSE, chars = NULL, justify = "left",
width = NULL, na.encode = TRUE, quote = FALSE,
na.print = NULL, print.gap = NULL, utf8 = NULL, ...)
}
\arguments{
\item{x}{character object.}
\item{trim}{logical scalar indicating whether to suppress padding
spaces around elements.}
\item{chars}{integer scalar indicating the maximum number of
character units to display. Wide characters like emoji take
two character units; combining marks and default ignorables
take none. Longer strings get truncated and suffixed or prefixed
with an ellipsis (\code{"..."} or \code{"\u2026"}, whichever is most
appropriate for the current character locale). Set to \code{NULL} to
limit output to the line width as determined by
\code{getOption("width")}.}
\item{justify}{justification; one of \code{"left"}, \code{"right"},
\code{"centre"}, or \code{"none"}. Can be abbreviated.}
\item{width}{the minimum field width; set to \code{NULL} or
\code{0} for no restriction.}
\item{na.encode}{logical scalar indicating whether to encode
\code{NA} values as character strings.}
\item{quote}{logical scalar indicating whether to format for a context
with surrounding double-quotes (\code{'"'}) and escaped internal
double-quotes.}
\item{na.print}{character string (or \code{NULL}) indicating the
encoding for \code{NA} values. Ignored when \code{na.encode}
is \code{FALSE}.}
\item{print.gap}{non-negative integer (or \code{NULL}) giving the
number of spaces in gaps between columns; set to \code{NULL}
or \code{1} for a single space.}
\item{utf8}{logical scalar indicating whether to format for a UTF-8
capable display (ASCII-only otherwise), or \code{NULL} to
format for output capabilities as determined by \code{output_utf8()}.}
\item{...}{further arguments passed from other methods. Ignored.}
}
\details{
\code{utf8_format} formats a character object for printing, optionally
truncating long character strings.
}
\value{
A character object with the same attributes as \code{x} but with
\code{Encoding} set to \code{"UTF-8"} for elements that can be
converted to valid UTF-8 and \code{"bytes"} for others.
}
\seealso{
\code{\link{utf8_print}}, \code{\link{utf8_encode}}.
}
\examples{
# the second element is encoded in latin-1, but declared as UTF-8
x <- c("fa\u00E7ile", "fa\xE7ile", "fa\xC3\xA7ile")
Encoding(x) <- c("UTF-8", "UTF-8", "bytes")
# formatting
utf8_format(x, chars = 3)
utf8_format(x, chars = 3, justify = "centre", width = 10)
utf8_format(x, chars = 3, justify = "right")
}
utf8/man/utf8_width.Rd 0000644 0001762 0000144 00000003242 13203111055 014257 0 ustar ligges users \name{utf8_width}
\title{Measure the Character String Width}
\alias{utf8_width}
\description{
Compute the display widths of the elements of a character object.
}
\usage{
utf8_width(x, encode = TRUE, quote = FALSE, utf8 = NULL)
}
\arguments{
\item{x}{character object.}
\item{encode}{whether to encode the object before measuring its
width.}
\item{quote}{whether to quote the object before measuring its
width.}
\item{utf8}{logical scalar indicating whether to determine widths
assuming a UTF-8 capable display (ASCII-only otherwise), or
\code{NULL} to format for output capabilities as determined
by \code{output_utf8()}.}
}
\details{
\code{utf8_width} returns the printed widths of the elements of
a character object on a UTF-8 device (or on an ASCII device
when \code{output_utf8()} is \code{FALSE}), when printed with
\code{utf8_print}. If the string is not printable on the device,
for example if it contains a control code like \code{"\n"}, then
the result is \code{NA}. If \code{encode = TRUE}, the default,
then the function returns the widths of the encoded elements
via \code{utf8_encode}); otherwise, the function returns the
widths of the original elements.
}
\value{
An integer object, with the same \code{names}, \code{dim}, and
\code{dimnames} as \code{x}.
}
\seealso{
\code{\link{utf8_print}}.
}
\examples{
# the second element is encoded in latin-1, but declared as UTF-8
x <- c("fa\u00E7ile", "fa\xE7ile", "fa\xC3\xA7ile")
Encoding(x) <- c("UTF-8", "UTF-8", "bytes")
# get widths
utf8_width(x)
utf8_width(x, encode = FALSE)
utf8_width('"')
utf8_width('"', quote = TRUE)
}
utf8/man/as_utf8.Rd 0000644 0001762 0000144 00000002716 13177050221 013557 0 ustar ligges users \name{as_utf8}
\title{UTF-8 Character Encoding}
\alias{as_utf8}
\alias{utf8_valid}
\description{
UTF-8 text encoding and validation.
}
\usage{
as_utf8(x, normalize = FALSE)
utf8_valid(x)
}
\arguments{
\item{x}{character object.}
\item{normalize}{a logical value indicating whether to convert to
Unicode composed normal form (NFC).}
}
\details{
\code{as_utf8} converts a character object from its declared encoding
to a valid UTF-8 character object, or throws an error if no conversion
is possible. If \code{normalize = TRUE}, then the text gets
transformed to Unicode composed normal form (NFC) after conversion
to UTF-8.
\code{utf8_valid} tests whether the elements of a character object
can be translated to valid UTF-8 strings.
}
\value{
For \code{as_utf8}, the result is a character object with the same
attributes as \code{x} but with \code{Encoding} set to \code{"UTF-8"}.
For \code{utf8_valid} a logical object with the same \code{names},
\code{dim}, and \code{dimnames} as \code{x}.
}
\seealso{
\code{\link{utf8_normalize}}, \code{\link{iconv}}.
}
\examples{
# the second element is encoded in latin-1, but declared as UTF-8
x <- c("fa\u00E7ile", "fa\xE7ile", "fa\xC3\xA7ile")
Encoding(x) <- c("UTF-8", "UTF-8", "bytes")
# attempt to convert to UTF-8 (fails)
\dontrun{as_utf8(x)}
y <- x
Encoding(y[2]) <- "latin1" # mark the correct encoding
as_utf8(y) # succeeds
# test for valid UTF-8
utf8_valid(x)
}
utf8/man/utf8_normalize.Rd 0000644 0001762 0000144 00000003177 13176736035 015173 0 ustar ligges users \name{utf8_normalize}
\title{Text Normalization}
\alias{utf8_normalize}
\description{
Transform text to normalized form, optionally mapping to lowercase
and applying compatibility maps.
}
\usage{
utf8_normalize(x, map_case = FALSE, map_compat = FALSE,
map_quote = FALSE, remove_ignorable = FALSE)
}
\arguments{
\item{x}{character object.}
\item{map_case}{a logical value indicating whether to apply Unicode
case mapping to the text. For most languages, this transformation
changes uppercase characters to their lowercase equivalents.}
\item{map_compat}{a logical value indicating whether to apply
Unicode compatibility mappings to the characters, those required
for NFKC and NFKD normal forms.}
\item{map_quote}{a logical value indicating whether to replace curly
single quotes and Unicode apostrophe characters with ASCII
apostrophe (U+0027).}
\item{remove_ignorable}{a logical value indicating whether to remove
Unicode "default ignorable" characters like zero-width spaces
and soft hyphens.}
}
\details{
\code{utf8_normalize} converts the elements of a character object to
Unicode normalized composed form (NFC) while applying the character
maps specified by the \code{map_case}, \code{map_compat},
\code{map_quote}, and \code{remove_ignorable} arguments.
}
\value{
The result is a character object with the same attributes as \code{x}
but with \code{Encoding} set to \code{"UTF-8"}.
}
\seealso{
\code{\link{as_utf8}}.
}
\examples{
angstrom <- c("\u00c5", "\u0041\u030a", "\u212b")
utf8_normalize(angstrom) == "\u00c5"
}
utf8/man/utf8_encode.Rd 0000644 0001762 0000144 00000004404 13203110633 014377 0 ustar ligges users \name{utf8_encode}
\title{Encode Character Object as for UTF-8 Printing}
\alias{utf8_encode}
\description{
Escape the strings in a character object, optionally adding
quotes or spaces, adjusting the width for display.
}
\usage{
utf8_encode(x, width = 0L, quote = FALSE, justify = "left", escapes = NULL,
display = FALSE, utf8 = NULL)
}
\arguments{
\item{x}{character object.}
\item{width}{integer giving the minimum field width; specify
\code{NULL} or \code{NA} for no minimum.}
\item{quote}{logical scalar indicating whether to surround results
with double-quotes and escape internal double-quotes.}
\item{justify}{justification; one of \code{"left"}, \code{"right"},
\code{"centre"}, or \code{"none"}. Can be abbreviated.}
\item{escapes}{a character string specifying the display style for
the backslash escapes, as an ANSI SGR parameter string,
or NULL for no styling.}
\item{display}{logical scalar indicating whether to optimize the
encoding for display, not byte-for-byte data transmission.}
\item{utf8}{logical scalar indicating whether to encode for a UTF-8
capable display (ASCII-only otherwise), or \code{NULL} to
encode for output capabilities as determined by
\code{output_utf8()}.}
}
\details{
\code{utf8_encode} encodes a character object for printing on a UTF-8
device by escaping controls characters and other non-printable
characters. When \code{display = TRUE}, the function optimizes the
encoding for display by removing default ignorable characters (soft
hyphens, zero-width spaces, etc.) and placing zero-width spaces after
wide emoji. When \code{output_utf8()} is \code{FALSE} the function
escapes all non-ASCII characters and gives the same results on all
platforms.
}
\value{
A character object with the same attributes as \code{x} but with
\code{Encoding} set to \code{"UTF-8"}.
}
\seealso{
\code{\link{utf8_print}}.
}
\examples{
# the second element is encoded in latin-1, but declared as UTF-8
x <- c("fa\u00E7ile", "fa\xE7ile", "fa\xC3\xA7ile")
Encoding(x) <- c("UTF-8", "UTF-8", "bytes")
# encoding
utf8_encode(x)
# add style to the escapes
cat(utf8_encode("hello\nstyled\\\\world", escapes = "1"), "\n")
}
utf8/man/output.Rd 0000644 0001762 0000144 00000004750 13220617721 013551 0 ustar ligges users \name{output_utf8}
\title{Output Capabilities}
\alias{output_ansi}
\alias{output_utf8}
\description{
Test whether the output connection has ANSI style escape support
or UTF-8 support.
}
\usage{
output_ansi()
output_utf8()
}
\details{
\code{output_ansi} tests whether the output connection supports ANSI
style escapes. This is \code{TRUE} if the connection is a terminal
and not the Windows GUI. Otherwise, it is true if running in
RStudio 1.1 or later with ANSI escapes enabled, provided \code{stdout()}
has not been redirected to another connection by \code{sink()}.
\code{output_utf8} tests whether the output connection supports UTF-8. For
most platforms \code{l10n_info()$`UTF-8`} gives this information, but this
does not give an accurate result for Windows GUIs. To work around this,
we proceed as follows:
\itemize{
\item if the character locale (\code{LC_CTYPE}) is \code{"C"}, then
the result is \code{FALSE};
\item otherwise, if \code{l10n_info()$`UTF-8`} is \code{TRUE},
then the result is \code{TRUE};
\item if running on Windows, then the result is \code{TRUE};
\item in all other cases the result is \code{FALSE}.
}
Strictly speaking, UTF-8 support is always available on Windows GUI,
but only a subset of UTF-8 is available (defined by the current character
locale) when the output is redirected by \code{knitr} or another process.
Unfortunately, it is impossible to set the character locale to UTF-8 on
Windows. Further, the \code{utf8} package only handles two character
locales: C and UTF-8. To get around this, on Windows, we treat all
non-C locales on that platform as UTF-8. This liberal approach means that
characters in the user's locale never get escaped; others will get output
as \code{}, with incorrect values for \code{utf8_width}.
}
\value{
A logical scalar indicating whether the output connection supports the
given capability.
}
\seealso{
\code{\link{.Platform}}, \code{\link{isatty}}, \code{\link{l10n_info}},
\code{\link{Sys.getlocale}}
}
\examples{
# test whether ANSI style escapes or UTF-8 output are supported
cat("ANSI:", output_ansi(), "\n")
cat("UTF8:", output_utf8(), "\n")
# switch to C locale
Sys.setlocale("LC_CTYPE", "C")
cat("ANSI:", output_ansi(), "\n")
cat("UTF8:", output_utf8(), "\n")
# switch to native locale
Sys.setlocale("LC_CTYPE", "")
tmp <- tempfile()
sink(tmp) # redirect output to a file
cat("ANSI:", output_ansi(), "\n")
cat("UTF8:", output_utf8(), "\n")
sink() # restore stdout
# inspect the output
readLines(tmp)
}
utf8/man/utf8-package.Rd 0000644 0001762 0000144 00000002575 13203074601 014466 0 ustar ligges users \name{utf8-package}
\alias{utf8-package}
\alias{utf8}
\docType{package}
\title{
The utf8 Package
}
\description{
UTF-8 Text Processing
}
\details{
Functions for manipulating and printing UTF-8 encoded text:
\itemize{
\item \code{\link{as_utf8}} attempts to convert character data to UTF-8,
throwing an error if the data is invalid;
\item \code{\link{utf8_valid}} tests whether character data is valid
according to its declared encoding;
\item \code{\link{utf8_normalize}} converts text to Unicode composed
normal form (NFC), optionally applying case-folding and compatibility
maps;
\item \code{\link{utf8_encode}} encodes a character string, escaping all
control characters, so that it can be safely printed to the screen;
\item \code{\link{utf8_format}} formats a character vector by truncating
to a specified character width limit or by left, right, or center
justifying;
\item \code{\link{utf8_print}} prints UTF-8 character data to the screen;
\item \code{\link{utf8_width}} measures the display width of UTF-8 character
strings (many emoji and East Asian characters are twice as wide as other
characters);
\item \code{\link{output_ansi}} and \code{\link{output_utf8}} test for
the output connections capabilities.
}
For a complete list of functions, use \code{library(help = "utf8")}.
}
\author{
Patrick O. Perry
}
\keyword{ package }
utf8/man/utf8_print.Rd 0000644 0001762 0000144 00000007674 13203111776 014323 0 ustar ligges users \name{utf8_print}
\title{Print UTF-8 Text}
\alias{utf8_print}
\description{
Print a UTF-8 character object.
}
\usage{
utf8_print(x, chars = NULL, quote = TRUE, na.print = NULL,
print.gap = NULL, right = FALSE, max = NULL,
names = NULL, rownames = NULL, escapes = NULL,
display = TRUE, style = TRUE, utf8 = NULL, ...)
}
\arguments{
\item{x}{character object.}
\item{chars}{integer scalar indicating the maximum number of
character units to display. Wide characters like emoji take
two character units; combining marks and default ignorables
take none. Longer strings get truncated and suffixed or prefixed
with an ellipsis (\code{"..."} in C locale, \code{"\u2026"} in
others). Set to \code{NULL} to limit output to the line width
as determined by \code{getOption("width")}.}
\item{quote}{logical scalar indicating whether to put surrounding
double-quotes (\code{'"'}) around character strings and escape
internal double-quotes.}
\item{na.print}{character string (or \code{NULL}) indicating
the encoding for \code{NA} values. Ignored when
\code{na.encode} is \code{FALSE}.}
\item{print.gap}{non-negative integer (or \code{NULL}) giving the
number of spaces in gaps between columns; set to \code{NULL}
or \code{1} for a single space.}
\item{right}{logical scalar indicating whether to right-justify
character strings.}
\item{max}{non-negative integer (or \code{NULL}) indicating the
maximum number of elements to print; set to
\code{getOption("max.print")} if argument is \code{NULL}.}
\item{names}{a character string specifying the display style for
the (column) names, as an ANSI SGR parameter string.}
\item{rownames}{a character string specifying the display style for
the row names, as an ANSI SGR parameter string.}
\item{escapes}{a character string specifying the display style for
the backslash escapes, as an ANSI SGR parameter string.}
\item{display}{logical scalar indicating whether to optimize the
encoding for display, not byte-for-byte data transmission.}
\item{style}{logical scalar indicating whether to apply ANSI
terminal escape codes to style the output. Ignored when
\code{output_ansi()} is \code{FALSE}.}
\item{utf8}{logical scalar indicating whether to optimize results
for a UTF-8 capable display, or \code{NULL} to set as the
result of \code{output_utf8()}. Ignored when \code{output_utf8()}
is \code{FALSE}.}
\item{...}{further arguments passed from other methods. Ignored.}
}
\details{
\code{utf8_print} prints a character object after formatting it with
\code{utf8_format}.
For ANSI terminal output (when \code{output_ansi()} is \code{TRUE}),
you can style the row and column names with the \code{rownames} and
\code{names} parameters, specifying an ANSI SGR parameter string; see
\url{https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_(Select_Graphic_Rendition)_parameters}.
}
\value{
The function returns \code{x} invisibly.
}
\seealso{
\code{\link{utf8_format}}.
}
\examples{
# printing (assumes that output is capable of displaying Unicode 10.0.0)
print(intToUtf8(0x1F600 + 0:79)) # with default R print function
utf8_print(intToUtf8(0x1F600 + 0:79)) # with utf8_print, truncates line
utf8_print(intToUtf8(0x1F600 + 0:79), chars = 1000) # higher character limit
# in C locale, output ASCII (same results on all platforms)
oldlocale <- Sys.getlocale("LC_CTYPE")
invisible(Sys.setlocale("LC_CTYPE", "C")) # switch to C locale
utf8_print(intToUtf8(0x1F600 + 0:79))
invisible(Sys.setlocale("LC_CTYPE", oldlocale)) # switch back to old locale
# Mac and Linux only: style the names
# see https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_(Select_Graphic_Rendition)_parameters
utf8_print(matrix(as.character(1:20), 4, 5),
names = "1;4", rownames = "2;3")
}
utf8/LICENSE 0000644 0001762 0000144 00000026136 13171504061 012153 0 ustar ligges users
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.