Changeset 5664 for icGREP


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

BidiMirroringGlyph? support

Location:
icGREP/icgrep-devel
Files:
2 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
  • icGREP/icgrep-devel/icgrep/UCD/PropertyObjectTable.h

    r5663 r5664  
    1313#include <array>
    1414#include "BidiBrackets.h"
     15#include "BidiMirroring.h"
    1516#include "Blocks.h"
    1617#include "CompositionExclusions.h"
     
    5859    new UnsupportedPropertyObject(tc, PropertyObject::ClassTypeId::StringProperty),
    5960    new UnsupportedPropertyObject(uc, PropertyObject::ClassTypeId::StringProperty),
    60     new UnsupportedPropertyObject(bmg, PropertyObject::ClassTypeId::StringProperty),
     61    &BMG_ns::property_object,
    6162    &BPB_ns::property_object,
    6263    new UnsupportedPropertyObject(cjkIICore, PropertyObject::ClassTypeId::StringProperty),
Note: See TracChangeset for help on using the changeset viewer.