Ignore:
Timestamp:
Oct 4, 2017, 2:00:27 PM (21 months ago)
Author:
cameron
Message:

BidiMirroringGlyph? support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/UCD-scripts/UCD_properties.py

    r5662 r5664  
    198198        elif isinstance(property_object, StringPropertyObject):
    199199            emit_string_property(f, property_code, property_object.null_str_set, property_object.reflexive_set, property_object.cp_value_map)
     200        else: return
     201        self.supported_props.append(property_code)
    200202
    201203    def generate_property_value_file(self, filename_root, property_code):
     
    209211        f.write("}\n")
    210212        cformat.close_header_file(f)
    211         if isinstance(property_object, BinaryPropertyObject) or isinstance(property_object, EnumeratedPropertyObject): self.supported_props.append(property_code)
    212213        self.property_data_headers.append(basename)
    213214
     
    222223            self.emit_property(f, p)
    223224            property_object = self.property_object_map[p]
    224             if isinstance(property_object, BinaryPropertyObject) or isinstance(property_object, EnumeratedPropertyObject): self.supported_props.append(p)
    225225        f.write("}\n\n")
    226226        cformat.close_header_file(f)
     
    395395    ucd.generate_multisection_properties_file('DerivedNormalizationProps')
    396396    #
    397     # Bidi_Class
     397    # Bidirectional properties
    398398    ucd.generate_property_value_file('extracted/DerivedBidiClass', 'bc')
    399399    ucd.generate_multicolumn_properties_file('BidiBrackets', ['bpb', 'bpt'])
     400    ucd.generate_property_value_file('BidiMirroring', 'bmg')
    400401
    401402    # Indic properties
Note: See TracChangeset for help on using the changeset viewer.