Changeset 4743 for proto/charsetcompiler


Ignore:
Timestamp:
Aug 23, 2015, 10:52:37 AM (4 years ago)
Author:
cameron
Message:

Support for Canonical Combining Class property

Location:
proto/charsetcompiler/UCD
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • proto/charsetcompiler/UCD/UCD_parser.py

    r4740 r4743  
    115115            extra_list = re.findall("[-A-Za-z_0-9.]+", extra)
    116116            value_preferred_full_name = extra_list[0]
    117             value_aliases = extra_list[1:]
     117            # Treat integer string as an alias
     118            value_aliases = [m.group(2)] + extra_list[1:]
    118119        # Special case for age: second field is numeric, third field is enum
    119120        # treat numeric value as an alias string
  • proto/charsetcompiler/UCD/UCD_properties.py

    r4740 r4743  
    258258    ucd.generate_property_value_file('HangulSyllableType', 'hst')
    259259    #
     260    # Canonical_Combining_Class
     261    ucd.generate_property_value_file('extracted/DerivedCombiningClass', 'ccc')
     262    #
    260263    # Jamo Short Name - AAARGH - property value for 110B is an empty string!!!!!  - Not in PropertyValueAliases.txt
    261264    # ucd.generate_property_value_file('Jamo', 'jsn')
Note: See TracChangeset for help on using the changeset viewer.