/third_party/skia/tests/ |
D | PDFGlyphsToUnicodeTest.cpp | 77 SkGlyphID lastGlyphID = SkToU16(glyphToUnicode.count() - 1); in DEF_TEST() local 84 std::min<SkGlyphID>(0xFFFF, lastGlyphID)); in DEF_TEST() 107 std::min<SkGlyphID>(0x00FF, lastGlyphID)); in DEF_TEST() 126 std::min<SkGlyphID>(0x00FE, lastGlyphID)); in DEF_TEST() 140 std::min<SkGlyphID>(0x110, lastGlyphID)); in DEF_TEST() 166 lastGlyphID = SkToU16(glyphToUnicode.count() - 1); in DEF_TEST() 180 std::min<SkGlyphID>(0xFFFF, lastGlyphID)); in DEF_TEST()
|
/third_party/flutter/skia/tests/ |
D | PDFGlyphsToUnicodeTest.cpp | 78 SkGlyphID lastGlyphID = SkToU16(glyphToUnicode.count() - 1); in DEF_TEST() local 85 SkTMin<SkGlyphID>(0xFFFF, lastGlyphID)); in DEF_TEST() 108 SkTMin<SkGlyphID>(0x00FF, lastGlyphID)); in DEF_TEST() 127 SkTMin<SkGlyphID>(0x00FE, lastGlyphID)); in DEF_TEST() 141 SkTMin<SkGlyphID>(0x110, lastGlyphID)); in DEF_TEST() 167 lastGlyphID = SkToU16(glyphToUnicode.count() - 1); in DEF_TEST() 181 SkTMin<SkGlyphID>(0xFFFF, lastGlyphID)); in DEF_TEST()
|
/third_party/skia/src/pdf/ |
D | SkPDFFont.h | 61 return (gid >= this->firstGlyphID() && gid <= this->lastGlyphID()) || gid == 0; in hasGlyph() 69 SkASSERT(gid >= this->firstGlyphID() && gid <= this->lastGlyphID()); in glyphToPDFFontEncoding() 117 SkGlyphID lastGlyphID() const { return fGlyphUsage.lastGlyph(); } in lastGlyphID() function 129 SkGlyphID lastGlyphID,
|
D | SkPDFType1Font.cpp | 287 SkGlyphID lastGlyphID = pdfFont.lastGlyphID(); 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() 320 encDiffs->reserve(lastGlyphID - firstGlyphID + 3); in SkPDFEmitType1Font() 323 SkASSERT(glyphNames.size() > lastGlyphID); in SkPDFEmitType1Font() 326 for (int gID = firstGlyphID; gID <= lastGlyphID; gID++) { in SkPDFEmitType1Font()
|
D | SkPDFFont.cpp | 227 SkGlyphID lastGlyphID, in SkPDFFont() argument 231 , fGlyphUsage(firstGlyphID, lastGlyphID) in SkPDFFont() 400 font.lastGlyphID()); in emit_subset_type0() 532 SkGlyphID lastGlyphID = pdfFont.lastGlyphID(); in emit_subset_type3() local 534 SkASSERT(lastGlyphID >= firstGlyphID); in emit_subset_type3() 537 while (lastGlyphID > firstGlyphID && !subset.has(lastGlyphID)) { in emit_subset_type3() 538 --lastGlyphID; in emit_subset_type3() 568 SkASSERT(lastGlyphID >= firstGlyphID); in emit_subset_type3() 569 int glyphCount = lastGlyphID - firstGlyphID + 2; in emit_subset_type3() 580 for (SkGlyphID gID : SingleByteGlyphIdIterator(firstGlyphID, lastGlyphID)) { in emit_subset_type3() [all …]
|
D | SkPDFMakeToUnicodeCmap.cpp | 157 SkGlyphID lastGlyphID) { in SkPDFAppendCmapSections() argument 168 const int limit = (int)lastGlyphID + 1 - glyphOffset; in SkPDFAppendCmapSections() 213 SkGlyphID lastGlyphID) { in SkPDFMakeToUnicodeCmap() argument 217 firstGlyphID, lastGlyphID); in SkPDFMakeToUnicodeCmap()
|
D | SkPDFMakeToUnicodeCmap.h | 18 SkGlyphID lastGlyphID); 26 SkGlyphID lastGlyphID);
|
/third_party/flutter/skia/src/pdf/ |
D | SkPDFFont.h | 63 return (gid >= this->firstGlyphID() && gid <= this->lastGlyphID()) || gid == 0; in hasGlyph() 71 SkASSERT(gid >= this->firstGlyphID() && gid <= this->lastGlyphID()); in glyphToPDFFontEncoding() 119 SkGlyphID lastGlyphID() const { return fGlyphUsage.lastGlyph(); } in lastGlyphID() function 131 SkGlyphID lastGlyphID,
|
D | SkPDFType1Font.cpp | 287 SkGlyphID lastGlyphID = pdfFont.lastGlyphID(); 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() 320 encDiffs->reserve(lastGlyphID - firstGlyphID + 3); in SkPDFEmitType1Font() 323 SkASSERT(glyphNames.size() > lastGlyphID); in SkPDFEmitType1Font() 326 for (int gID = firstGlyphID; gID <= lastGlyphID; gID++) { in SkPDFEmitType1Font()
|
D | SkPDFFont.cpp | 228 SkGlyphID lastGlyphID, in SkPDFFont() argument 232 , fGlyphUsage(firstGlyphID, lastGlyphID) in SkPDFFont() 397 font.lastGlyphID()); in emit_subset_type0() 514 SkGlyphID lastGlyphID = pdfFont.lastGlyphID(); in emit_subset_type3() local 516 SkASSERT(lastGlyphID >= firstGlyphID); in emit_subset_type3() 519 while (lastGlyphID > firstGlyphID && !subset.has(lastGlyphID)) { in emit_subset_type3() 520 --lastGlyphID; in emit_subset_type3() 542 SkASSERT(lastGlyphID >= firstGlyphID); in emit_subset_type3() 543 int glyphCount = lastGlyphID - firstGlyphID + 2; in emit_subset_type3() 554 for (SkGlyphID gID : SingleByteGlyphIdIterator(firstGlyphID, lastGlyphID)) { in emit_subset_type3() [all …]
|
D | SkPDFMakeToUnicodeCmap.cpp | 157 SkGlyphID lastGlyphID) { in SkPDFAppendCmapSections() argument 168 const int limit = (int)lastGlyphID + 1 - glyphOffset; in SkPDFAppendCmapSections() 213 SkGlyphID lastGlyphID) { in SkPDFMakeToUnicodeCmap() argument 217 firstGlyphID, lastGlyphID); in SkPDFMakeToUnicodeCmap()
|
D | SkPDFMakeToUnicodeCmap.h | 18 SkGlyphID lastGlyphID); 26 SkGlyphID lastGlyphID);
|