Home
last modified time | relevance | path

Searched refs:lastGlyphID (Results 1 – 12 of 12) sorted by relevance

/external/skqp/tests/
DPDFGlyphsToUnicodeTest.cpp78 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()
/external/skia/tests/
DPDFGlyphsToUnicodeTest.cpp77 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()
/external/skqp/src/pdf/
DSkPDFFont.h58 return (gid >= this->firstGlyphID() && gid <= this->lastGlyphID()) || gid == 0; in hasGlyph()
66 SkASSERT(gid >= this->firstGlyphID() && gid <= this->lastGlyphID()); in glyphToPDFFontEncoding()
110 SkGlyphID lastGlyphID() const { return fGlyphUsage.lastGlyph(); } in lastGlyphID() function
122 SkGlyphID lastGlyphID,
DSkPDFFont.cpp233 SkGlyphID lastGlyphID, in SkPDFFont() argument
237 , fGlyphUsage(firstGlyphID, lastGlyphID) in SkPDFFont()
409 font.lastGlyphID()); in emit_subset_type0()
478 SkGlyphID lastGlyphID = pdfFont.lastGlyphID(); in emit_subset_type1() local
488 unsigned glyphCount = 1 + lastGlyphID - firstGlyphID; in emit_subset_type1()
498 for (unsigned gID = firstGlyphID; gID <= lastGlyphID; gID++) { in emit_subset_type1()
505 encDiffs->reserve(lastGlyphID - firstGlyphID + 3); in emit_subset_type1()
508 SkASSERT(glyphNames.size() > lastGlyphID); in emit_subset_type1()
511 for (int gID = firstGlyphID; gID <= lastGlyphID; gID++) { in emit_subset_type1()
638 SkGlyphID lastGlyphID = pdfFont.lastGlyphID(); in emit_subset_type3() local
[all …]
DSkPDFMakeToUnicodeCmap.cpp157 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()
DSkPDFMakeToUnicodeCmap.h18 SkGlyphID lastGlyphID);
26 SkGlyphID lastGlyphID);
/external/skia/src/pdf/
DSkPDFFont.h62 return (gid >= this->firstGlyphID() && gid <= this->lastGlyphID()) || gid == 0; in hasGlyph()
70 SkASSERT(gid >= this->firstGlyphID() && gid <= this->lastGlyphID()); in glyphToPDFFontEncoding()
118 SkGlyphID lastGlyphID() const { return fGlyphUsage.lastGlyph(); } in lastGlyphID() function
130 SkGlyphID lastGlyphID,
DSkPDFType1Font.cpp287 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()
DSkPDFFont.cpp227 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 …]
DSkPDFMakeToUnicodeCmap.cpp157 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()
DSkPDFMakeToUnicodeCmap.h18 SkGlyphID lastGlyphID);
26 SkGlyphID lastGlyphID);
/external/fonttools/Lib/fontTools/ttLib/tables/
D_c_m_a_p.py988 lastGlyphID = startGlyphID - self._format_step
996 if not self._IsInSameRun(glyphID, lastGlyphID, charCode, lastCharCode):
1001 lastGlyphID = glyphID
1055 def _IsInSameRun(self, glyphID, lastGlyphID, charCode, lastCharCode): argument
1056 return (glyphID == 1 + lastGlyphID) and (charCode == 1 + lastCharCode)
1069 def _IsInSameRun(self, glyphID, lastGlyphID, charCode, lastCharCode): argument
1070 return (glyphID == lastGlyphID) and (charCode == 1 + lastCharCode)