Lines Matching refs:ranges
45 ranges = rawTable["RangeRecord"]
50 sorted_ranges = sorted(ranges, key=lambda a: a.StartCoverageIndex)
51 if ranges != sorted_ranges:
53 ranges = sorted_ranges
55 for r in ranges:
92 ranges = [[last]]
95 ranges[-1].append(last)
96 ranges.append([glyphID])
98 ranges[-1].append(last)
100 if brokenOrder or len(ranges) * 3 < len(glyphs): # 3 words vs. 1 word
103 for i in range(len(ranges)):
104 start, end = ranges[i]
110 ranges[i] = r
114 ranges.sort(key=lambda a: a.StartID)
115 for r in ranges:
118 rawTable = {"RangeRecord": ranges}
284 ranges = [[lastCls, last, lastName]]
287 ranges[-1].extend([last, lastName])
288 ranges.append([cls, glyphID, glyphName])
292 ranges[-1].extend([last, lastName])
294 startGlyph = ranges[0][1]
295 endGlyph = ranges[-1][3]
297 if len(ranges) * 3 < glyphCount + 1:
299 for i in range(len(ranges)):
300 cls, start, startName, end, endName = ranges[i]
305 ranges[i] = rec
307 rawTable = {"ClassRangeRecord": ranges}
310 startGlyphName = ranges[0][2]
312 for cls, start, startName, end, endName in ranges: