Lines Matching refs:curRange
182 AdvanceMetric curRange(0); in SkPDFMakeCIDGlyphWidthsArray() local
199 } else if (SkToInt(curRange.fAdvance.size()) == in SkPDFMakeCIDGlyphWidthsArray()
202 curRange.fStartId = gId; // reset in SkPDFMakeCIDGlyphWidthsArray()
203 curRange.fAdvance.resize(0); in SkPDFMakeCIDGlyphWidthsArray()
206 finish_range(&curRange, gId - 1, AdvanceMetric::kRun); in SkPDFMakeCIDGlyphWidthsArray()
207 compose_advance_data(curRange, emSize, defaultAdvance, result.get()); in SkPDFMakeCIDGlyphWidthsArray()
209 curRange = AdvanceMetric(gId); in SkPDFMakeCIDGlyphWidthsArray()
218 finish_range(&curRange, in SkPDFMakeCIDGlyphWidthsArray()
221 compose_advance_data(curRange, emSize, defaultAdvance, result.get()); in SkPDFMakeCIDGlyphWidthsArray()
223 curRange = AdvanceMetric(gId); in SkPDFMakeCIDGlyphWidthsArray()
226 finish_range(&curRange, gId - trailingWildCards - 1, in SkPDFMakeCIDGlyphWidthsArray()
228 compose_advance_data(curRange, emSize, defaultAdvance, result.get()); in SkPDFMakeCIDGlyphWidthsArray()
230 curRange = AdvanceMetric(gId); in SkPDFMakeCIDGlyphWidthsArray()
235 finish_range(&curRange, in SkPDFMakeCIDGlyphWidthsArray()
238 compose_advance_data(curRange, emSize, defaultAdvance, result.get()); in SkPDFMakeCIDGlyphWidthsArray()
239 curRange = in SkPDFMakeCIDGlyphWidthsArray()
241 curRange.fAdvance.push_back(lastAdvance); in SkPDFMakeCIDGlyphWidthsArray()
242 finish_range(&curRange, gId - 1, AdvanceMetric::kRun); in SkPDFMakeCIDGlyphWidthsArray()
243 compose_advance_data(curRange, emSize, defaultAdvance, result.get()); in SkPDFMakeCIDGlyphWidthsArray()
245 curRange = AdvanceMetric(gId); in SkPDFMakeCIDGlyphWidthsArray()
252 curRange.fAdvance.push_back(advance); in SkPDFMakeCIDGlyphWidthsArray()
257 if (curRange.fStartId == lastIndex) { in SkPDFMakeCIDGlyphWidthsArray()
262 finish_range(&curRange, lastIndex - 1, AdvanceMetric::kRange); in SkPDFMakeCIDGlyphWidthsArray()
263 compose_advance_data(curRange, emSize, defaultAdvance, result.get()); in SkPDFMakeCIDGlyphWidthsArray()