Lines Matching refs:fAdvance
34 std::vector<int16_t> fAdvance; member
63 if (SkToInt(range->fAdvance.size()) < expectedAdvanceCount) { in strip_uninteresting_trailing_advances_from_range()
68 if (range->fAdvance[i] != kDontCareAdvance && in strip_uninteresting_trailing_advances_from_range()
69 range->fAdvance[i] != kInvalidAdvance && in strip_uninteresting_trailing_advances_from_range()
70 range->fAdvance[i] != 0) { in strip_uninteresting_trailing_advances_from_range()
82 SkASSERT(SkToInt(range->fAdvance.size()) == range->fEndId - range->fStartId + 1); in zero_wildcards_in_range()
85 for (size_t i = 0; i < range->fAdvance.size(); ++i) { in zero_wildcards_in_range()
86 if (range->fAdvance[i] == kDontCareAdvance) { in zero_wildcards_in_range()
87 range->fAdvance[i] = 0; in zero_wildcards_in_range()
108 SkASSERT(range->fAdvance.size() >= newLength); in finish_range()
109 range->fAdvance.resize(newLength); in finish_range()
119 SkASSERT(range.fAdvance.size() == 1); in compose_advance_data()
120 *defaultAdvance = range.fAdvance[0]; in compose_advance_data()
125 for (size_t j = 0; j < range.fAdvance.size(); j++) in compose_advance_data()
127 scale_from_font_units(range.fAdvance[j], emSize)); in compose_advance_data()
133 SkASSERT(range.fAdvance.size() == 1); in compose_advance_data()
137 scale_from_font_units(range.fAdvance[0], emSize)); in compose_advance_data()
199 } else if (SkToInt(curRange.fAdvance.size()) == in SkPDFMakeCIDGlyphWidthsArray()
203 curRange.fAdvance.resize(0); in SkPDFMakeCIDGlyphWidthsArray()
241 curRange.fAdvance.push_back(lastAdvance); in SkPDFMakeCIDGlyphWidthsArray()
252 curRange.fAdvance.push_back(advance); in SkPDFMakeCIDGlyphWidthsArray()