src/ccutil/unicharset.cpp
bool UNICHARSET::SizesDistinct(UNICHAR_ID id1, UNICHAR_ID id2) const {
  int overlap = std::min(unichars[id1].properties.max_top,
                         unichars[id2].properties.max_top) -
                std::max(unichars[id1].properties.min_top,
                         unichars[id2].properties.min_top);
  return overlap <= 0;
}
// Returns true if the acceptable ranges of the tops of the characters do
// not overlap, making their x-height calculations distinct.
Returns true if the acceptable ranges of the tops of the characters do
not overlap, making their x-height calculations distinct.
Returns true if the acceptable ranges of the tops of the characters do not overlap making their x - height calculations distinct .
bool UNICHARSET::SizesDistinct(UNICHAR_ID id1, UNICHAR_ID id2) const {
  int overlap = std::min(unichars[id1].properties.max_top,
                         unichars[id2].properties.max_top) -
                std::max(unichars[id1].properties.min_top,
                         unichars[id2].properties.min_top);
  return overlap <= 0;
}
bool UNICHARSET :: SizesDistinct ( UNICHAR_ID id1 , UNICHAR_ID id2 ) const { int overlap = std :: min ( unichars [ id1 ] . properties . max_top , unichars [ id2 ] . properties . max_top ) - std :: max ( unichars [ id1 ] . properties . min_top , unichars [ id2 ] . properties . min_top ) ; return overlap <= 0 ; }
Returns true if the acceptable ranges of the tops of the characters do
not overlap, making their x-height calculations distinct.
Returns true if the acceptable ranges of the tops of the characters do not overlap making their x - height calculations distinct .