Home
last modified time | relevance | path

Searched refs:firstGlyphID (Results 1 – 10 of 10) sorted by relevance

/third_party/flutter/skia/src/pdf/
DSkPDFFont.h63 return (gid >= this->firstGlyphID() && gid <= this->lastGlyphID()) || gid == 0; in hasGlyph()
71 SkASSERT(gid >= this->firstGlyphID() && gid <= this->lastGlyphID()); in glyphToPDFFontEncoding()
72 SkASSERT(this->firstGlyphID() > 0); in glyphToPDFFontEncoding()
73 return gid - this->firstGlyphID() + 1; in glyphToPDFFontEncoding()
118 SkGlyphID firstGlyphID() const { return fGlyphUsage.firstNonZero(); } in firstGlyphID() function
130 SkGlyphID firstGlyphID,
DSkPDFMakeToUnicodeCmap.cpp156 SkGlyphID firstGlyphID, in SkPDFAppendCmapSections() argument
160 glyphOffset = firstGlyphID - 1; in SkPDFAppendCmapSections()
170 for (int i = firstGlyphID - glyphOffset; i < limit + 1; ++i) { in SkPDFAppendCmapSections()
212 SkGlyphID firstGlyphID, in SkPDFMakeToUnicodeCmap() argument
217 firstGlyphID, lastGlyphID); in SkPDFMakeToUnicodeCmap()
DSkPDFType1Font.cpp286 SkGlyphID firstGlyphID = pdfFont.firstGlyphID(); in SkPDFEmitType1Font() local
297 unsigned glyphCount = 1 + lastGlyphID - firstGlyphID; in SkPDFEmitType1Font()
305 int glyphRangeSize = lastGlyphID - firstGlyphID + 2; in SkPDFEmitType1Font()
308 for (unsigned gId = firstGlyphID; gId <= lastGlyphID; gId++) { in SkPDFEmitType1Font()
309 glyphIDs[gId - firstGlyphID + 1] = gId; in SkPDFEmitType1Font()
320 encDiffs->reserve(lastGlyphID - firstGlyphID + 3); in SkPDFEmitType1Font()
326 for (int gID = firstGlyphID; gID <= lastGlyphID; gID++) { in SkPDFEmitType1Font()
DSkPDFFont.cpp227 SkGlyphID firstGlyphID, in SkPDFFont() argument
232 , fGlyphUsage(firstGlyphID, lastGlyphID) in SkPDFFont()
307 SkASSERT(font.firstGlyphID() == 1); in emit_subset_type0()
396 font.firstGlyphID(), in emit_subset_type0()
513 SkGlyphID firstGlyphID = pdfFont.firstGlyphID(); in emit_subset_type3() local
516 SkASSERT(lastGlyphID >= firstGlyphID); in emit_subset_type3()
519 while (lastGlyphID > firstGlyphID && !subset.has(lastGlyphID)) { in emit_subset_type3()
541 SkASSERT(firstGlyphID > 0); in emit_subset_type3()
542 SkASSERT(lastGlyphID >= firstGlyphID); in emit_subset_type3()
543 int glyphCount = lastGlyphID - firstGlyphID + 2; in emit_subset_type3()
[all …]
DSkPDFMakeToUnicodeCmap.h17 SkGlyphID firstGlyphID,
25 SkGlyphID firstGlyphID,
/third_party/skia/src/pdf/
DSkPDFFont.h61 return (gid >= this->firstGlyphID() && gid <= this->lastGlyphID()) || gid == 0; in hasGlyph()
69 SkASSERT(gid >= this->firstGlyphID() && gid <= this->lastGlyphID()); in glyphToPDFFontEncoding()
70 SkASSERT(this->firstGlyphID() > 0); in glyphToPDFFontEncoding()
71 return gid - this->firstGlyphID() + 1; in glyphToPDFFontEncoding()
116 SkGlyphID firstGlyphID() const { return fGlyphUsage.firstNonZero(); } in firstGlyphID() function
128 SkGlyphID firstGlyphID,
DSkPDFMakeToUnicodeCmap.cpp156 SkGlyphID firstGlyphID, in SkPDFAppendCmapSections() argument
160 glyphOffset = firstGlyphID - 1; in SkPDFAppendCmapSections()
170 for (int i = firstGlyphID - glyphOffset; i < limit + 1; ++i) { in SkPDFAppendCmapSections()
212 SkGlyphID firstGlyphID, in SkPDFMakeToUnicodeCmap() argument
217 firstGlyphID, lastGlyphID); in SkPDFMakeToUnicodeCmap()
DSkPDFType1Font.cpp286 SkGlyphID firstGlyphID = pdfFont.firstGlyphID(); in SkPDFEmitType1Font() local
297 unsigned glyphCount = 1 + lastGlyphID - firstGlyphID; in SkPDFEmitType1Font()
305 int glyphRangeSize = lastGlyphID - firstGlyphID + 2; in SkPDFEmitType1Font()
308 for (unsigned gId = firstGlyphID; gId <= lastGlyphID; gId++) { in SkPDFEmitType1Font()
309 glyphIDs[gId - firstGlyphID + 1] = gId; in SkPDFEmitType1Font()
320 encDiffs->reserve(lastGlyphID - firstGlyphID + 3); in SkPDFEmitType1Font()
326 for (int gID = firstGlyphID; gID <= lastGlyphID; gID++) { in SkPDFEmitType1Font()
DSkPDFFont.cpp226 SkGlyphID firstGlyphID, in SkPDFFont() argument
231 , fGlyphUsage(firstGlyphID, lastGlyphID) in SkPDFFont()
310 SkASSERT(font.firstGlyphID() == 1); in emit_subset_type0()
399 font.firstGlyphID(), in emit_subset_type0()
531 SkGlyphID firstGlyphID = pdfFont.firstGlyphID(); in emit_subset_type3() local
534 SkASSERT(lastGlyphID >= firstGlyphID); in emit_subset_type3()
537 while (lastGlyphID > firstGlyphID && !subset.has(lastGlyphID)) { in emit_subset_type3()
567 SkASSERT(firstGlyphID > 0); in emit_subset_type3()
568 SkASSERT(lastGlyphID >= firstGlyphID); in emit_subset_type3()
569 int glyphCount = lastGlyphID - firstGlyphID + 2; in emit_subset_type3()
[all …]
DSkPDFMakeToUnicodeCmap.h17 SkGlyphID firstGlyphID,
25 SkGlyphID firstGlyphID,