mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 07:39:16 +00:00
ICU-12985 pre-parse VerticalOrientation.txt
X-SVN-Rev: 40086
This commit is contained in:
parent
eb57bf7c90
commit
761c994436
3 changed files with 695 additions and 688 deletions
|
@ -114,6 +114,7 @@ export LD_LIBRARY_PATH=$ICU_ROOT/dbg/icu4c/lib
|
|||
- fix other errors
|
||||
Exception: no default values (@missing lines) for some Catalog or Enumerated properties: [u'vo']
|
||||
-> add vo=Vertical_Orientation to _ignored_properties
|
||||
-> later removed again, parsing the file, even though we do not yet store data for runtime use
|
||||
|
||||
* new constants for new property values
|
||||
- preparseucd.py error:
|
||||
|
@ -188,7 +189,7 @@ export LD_LIBRARY_PATH=$ICU_ROOT/dbg/icu4c/lib
|
|||
vo ; Tr ; Transformed_Rotated
|
||||
vo ; Tu ; Transformed_Upright
|
||||
vo ; U ; Upright
|
||||
-> ignored for now
|
||||
-> only pre-parsed for now, but not yet stored for runtime use
|
||||
|
||||
* update Script metadata: SCRIPT_PROPS[] in uscript_props.cpp & UScript.ScriptMetadata
|
||||
(not strictly necessary for NOT_ENCODED scripts)
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -76,8 +76,6 @@ _ignored_properties = set((
|
|||
"XO_NFD",
|
||||
"XO_NFKC",
|
||||
"XO_NFKD",
|
||||
# ICU does not (yet) support Vertical_Orientation.
|
||||
"vo",
|
||||
# ICU does not use Unihan properties.
|
||||
"cjkAccountingNumeric",
|
||||
"cjkOtherNumeric",
|
||||
|
@ -809,6 +807,7 @@ def ParseLineBreak(in_file): ParseOneProperty(in_file, "lb")
|
|||
def ParseScripts(in_file): ParseOneProperty(in_file, "sc")
|
||||
def ParseScriptExtensions(in_file): ParseOneProperty(in_file, "scx")
|
||||
def ParseSentenceBreak(in_file): ParseOneProperty(in_file, "SB")
|
||||
def ParseVerticalOrientation(in_file): ParseOneProperty(in_file, "vo")
|
||||
def ParseWordBreak(in_file): ParseOneProperty(in_file, "WB")
|
||||
|
||||
|
||||
|
@ -1565,6 +1564,7 @@ _files = {
|
|||
"ScriptExtensions.txt": (DontCopy, ParseScriptExtensions),
|
||||
"SpecialCasing.txt": (CopyOnly, ParseSpecialCasing),
|
||||
"UnicodeData.txt": (CopyOnly, ParseUnicodeData, 2),
|
||||
"VerticalOrientation.txt": (DontCopy, ParseVerticalOrientation),
|
||||
"WordBreakProperty.txt": (DontCopy, ParseWordBreak),
|
||||
"WordBreakTest.txt": (PrependBOM, "testdata"),
|
||||
# From www.unicode.org/Public/idna/<version>/
|
||||
|
|
Loading…
Add table
Reference in a new issue