Ignore:
Timestamp:
Sep 20, 2014, 4:08:35 PM (4 years ago)
Author:
cameron
Message:

Additional properties; sorting

File:
1 edited

Legend:

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

    r4179 r4180  
    301301   f.write("\nusing namespace UCD;\n\n")
    302302   print "%s bytes" % sum([prop_map[p].bytes() for p in prop_map.keys()])
    303    for p in props:
     303   for p in sorted(props):
    304304     f.write(prop_map[p].showC('value_sets[%s][0]' % (p)))
    305305   close_header_file(f)
     
    353353   generate_binary_properties_file('DerivedCoreProperties', property_lookup_map)
    354354   #
     355   # LineBreak types
     356   generate_property_value_file('LineBreak', 'lb', property_value_lookup_map['lb'])
     357   #
    355358   # East Asian Width
    356359   generate_property_value_file('EastAsianWidth', 'ea', property_value_lookup_map['ea'])
    357 
    358 
     360   #
     361   # Hangul Syllable Type
     362   generate_property_value_file('HangulSyllableType', 'hst', property_value_lookup_map['hst'])
     363
     364   #
     365   # Jamo Short Name - AAARGH - property value for 110B is an empty string!!!!!  - Not in PropertyValueAliases.txt
     366   # generate_property_value_file('Jamo', 'jsn', property_value_lookup_map['jsn'])
     367
     368
     369if __name__ == "__main__":
     370  UCD_main()
Note: See TracChangeset for help on using the changeset viewer.