Lines Matching full:gid
184 for (int gId = 0; gId <= lastIndex; gId++) { in SkPDFMakeCIDGlyphWidthsArray() local
186 if (gId < lastIndex) { in SkPDFMakeCIDGlyphWidthsArray()
187 if (!subset || 0 == gId || subset->has(gId)) { in SkPDFMakeCIDGlyphWidthsArray()
188 advance = (int16_t)cache->getGlyphIDAdvance(gId).fAdvanceX; in SkPDFMakeCIDGlyphWidthsArray()
202 curRange.fStartId = gId; // reset in SkPDFMakeCIDGlyphWidthsArray()
206 finish_range(&curRange, gId - 1, AdvanceMetric::kRun); in SkPDFMakeCIDGlyphWidthsArray()
209 curRange = AdvanceMetric(gId); in SkPDFMakeCIDGlyphWidthsArray()
219 gId - repeatedAdvances - wildCardsInRun - 2, in SkPDFMakeCIDGlyphWidthsArray()
223 curRange = AdvanceMetric(gId); in SkPDFMakeCIDGlyphWidthsArray()
226 finish_range(&curRange, gId - trailingWildCards - 1, in SkPDFMakeCIDGlyphWidthsArray()
230 curRange = AdvanceMetric(gId); in SkPDFMakeCIDGlyphWidthsArray()
236 gId - repeatedAdvances - wildCardsInRun - 2, in SkPDFMakeCIDGlyphWidthsArray()
240 AdvanceMetric(gId - repeatedAdvances - wildCardsInRun - 1); in SkPDFMakeCIDGlyphWidthsArray()
242 finish_range(&curRange, gId - 1, AdvanceMetric::kRun); in SkPDFMakeCIDGlyphWidthsArray()
245 curRange = AdvanceMetric(gId); in SkPDFMakeCIDGlyphWidthsArray()