src/ccutil/unicharset.cpp
void UNICHARSET::ExpandRangesFromOther(const UNICHARSET &src) {
  for (unsigned ch = 0; ch < unichars.size(); ++ch) {
    const char *utf8 = id_to_unichar(ch);
    UNICHAR_PROPERTIES properties;
    if (src.GetStrProperties(utf8, &properties)) {
      // Expand just the ranges from properties.
      unichars[ch].properties.ExpandRangesFrom(properties);
    }
  }
}
// Expands the tops and bottoms and widths for this unicharset given a
// src unicharset with ranges in it. The unicharsets don't have to be the
// same, and graphemes are correctly accounted for.
Expands the tops and bottoms and widths for this unicharset given a
src unicharset with ranges in it. The unicharsets don't have to be the
same, and graphemes are correctly accounted for.
Expands the tops and bottoms and widths for this unicharset given a src unicharset with ranges in it . The unicharsets don ' t have to be the same and graphemes are correctly accounted for .
void UNICHARSET::ExpandRangesFromOther(const UNICHARSET &src) {
  for (unsigned ch = 0; ch < unichars.size(); ++ch) {
    const char *utf8 = id_to_unichar(ch);
    UNICHAR_PROPERTIES properties;
    if (src.GetStrProperties(utf8, &properties)) {
      unichars[ch].properties.ExpandRangesFrom(properties);
    }
  }
}
void UNICHARSET :: ExpandRangesFromOther ( const UNICHARSET & src ) { for ( unsigned ch = 0 ; ch < unichars . size ( ) ; ++ ch ) { const char * utf8 = id_to_unichar ( ch ) ; UNICHAR_PROPERTIES properties ; if ( src . GetStrProperties ( utf8 , & properties ) ) { unichars [ ch ] . properties . ExpandRangesFrom ( properties ) ; } } }
Expands the tops and bottoms and widths for this unicharset given a
src unicharset with ranges in it.
Expands the tops and bottoms and widths for this unicharset given a src unicharset with ranges in it .
// Expand just the ranges from properties.