/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/bitmap/ |
H A D | BitmapSizeTable.java | 104 public BitmapGlyphInfo glyphInfo(int glyphId) { in glyphInfo() argument 105 IndexSubTable subTable = searchIndexSubTables(glyphId); in glyphInfo() 109 return subTable.glyphInfo(glyphId); in glyphInfo() 112 public int glyphOffset(int glyphId) { in glyphOffset() argument 113 IndexSubTable subTable = searchIndexSubTables(glyphId); in glyphOffset() 117 return subTable.glyphOffset(glyphId); in glyphOffset() 120 public int glyphLength(int glyphId) { in glyphLength() argument 121 IndexSubTable subTable = searchIndexSubTables(glyphId); in glyphLength() 125 return subTable.glyphLength(glyphId); in glyphLength() 128 public int glyphFormat(int glyphId) { in glyphFormat() argument 136 searchIndexSubTables(int glyphId) searchIndexSubTables() argument 145 linearSearchIndexSubTables(int glyphId) linearSearchIndexSubTables() argument 154 binarySearchIndexSubTables(int glyphId) binarySearchIndexSubTables() argument 337 glyphInfo(int glyphId) glyphInfo() argument 345 glyphOffset(int glyphId) glyphOffset() argument 353 glyphLength(int glyphId) glyphLength() argument 361 glyphFormat(int glyphId) glyphFormat() argument 429 searchIndexSubTables(int glyphId) searchIndexSubTables() argument 438 linearSearchIndexSubTables(int glyphId) linearSearchIndexSubTables() argument 449 binarySearchIndexSubTables(int glyphId) binarySearchIndexSubTables() argument [all...] |
H A D | IndexSubTable.java | 83 public BitmapGlyphInfo glyphInfo(int glyphId) { in glyphInfo() argument 84 int loca = this.checkGlyphRange(glyphId); in glyphInfo() 88 if (this.glyphStartOffset(glyphId) == -1) { in glyphInfo() 92 return new BitmapGlyphInfo(glyphId, this.imageDataOffset(), this.glyphStartOffset(glyphId), in glyphInfo() 93 this.glyphLength(glyphId), this.imageFormat()); in glyphInfo() 96 public final int glyphOffset(int glyphId) { in glyphOffset() argument 97 int glyphStartOffset = this.glyphStartOffset(glyphId); in glyphOffset() 107 * @param glyphId the glyph id 110 public abstract int glyphStartOffset(int glyphId); in glyphStartOffset() argument 112 glyphLength(int glyphId) glyphLength() argument 116 checkGlyphRange(int glyphId, int firstGlyphId, int lastGlyphId) checkGlyphRange() argument 123 checkGlyphRange(int glyphId) checkGlyphRange() argument 295 glyphInfo(int glyphId) glyphInfo() argument 306 glyphOffset(int glyphId) glyphOffset() argument 317 glyphStartOffset(int glyphId) glyphStartOffset() argument 325 glyphLength(int glyphId) glyphLength() argument 336 checkGlyphRange(int glyphId) checkGlyphRange() argument [all...] |
H A D | BitmapGlyphInfo.java | 27 private final int glyphId; field in BitmapGlyphInfo 38 * @param glyphId the glyph id 44 public BitmapGlyphInfo(int glyphId, int blockOffset, int startOffset, int length, int format) { in BitmapGlyphInfo() argument 45 this.glyphId = glyphId; in BitmapGlyphInfo() 57 * @param glyphId the glyph id 62 public BitmapGlyphInfo(int glyphId, int startOffset, int length, int format) { in BitmapGlyphInfo() argument 63 this.glyphId = glyphId; in BitmapGlyphInfo() 71 public int glyphId() { in glyphId() method in BitmapGlyphInfo [all...] |
H A D | IndexSubTableFormat2.java | 55 public int glyphStartOffset(int glyphId) { in glyphStartOffset() argument 56 int loca = this.checkGlyphRange(glyphId); in glyphStartOffset() 61 public int glyphLength(int glyphId) { in glyphLength() argument 62 this.checkGlyphRange(glyphId); in glyphLength() 110 public int glyphStartOffset(int glyphId) { in glyphStartOffset() argument 111 int loca = super.checkGlyphRange(glyphId); in glyphStartOffset() 116 public int glyphLength(int glyphId) { in glyphLength() argument 117 super.checkGlyphRange(glyphId); in glyphLength() 140 private int glyphId; field in IndexSubTableFormat2.Builder.BitmapGlyphInfoIterator 143 this.glyphId in BitmapGlyphInfoIterator() [all...] |
H A D | IndexSubTableFormat1.java | 46 public int glyphStartOffset(int glyphId) { in glyphStartOffset() argument 47 int loca = this.checkGlyphRange(glyphId); in glyphStartOffset() 52 public int glyphLength(int glyphId) { in glyphLength() argument 53 int loca = this.checkGlyphRange(glyphId); in glyphLength() 105 public int glyphLength(int glyphId) { in glyphLength() argument 106 int loca = this.checkGlyphRange(glyphId); in glyphLength() 112 public int glyphStartOffset(int glyphId) { in glyphStartOffset() argument 113 int loca = this.checkGlyphRange(glyphId); in glyphStartOffset() 152 private int glyphId; field in IndexSubTableFormat1.Builder.BitmapGlyphInfoIterator 155 this.glyphId in BitmapGlyphInfoIterator() [all...] |
H A D | IndexSubTableFormat3.java | 46 public int glyphStartOffset(int glyphId) { in glyphStartOffset() argument 47 int loca = this.checkGlyphRange(glyphId); in glyphStartOffset() 52 public int glyphLength(int glyphId) { in glyphLength() argument 53 int loca = this.checkGlyphRange(glyphId); in glyphLength() 108 public int glyphLength(int glyphId) { in glyphLength() argument 109 int loca = this.checkGlyphRange(glyphId); in glyphLength() 115 public int glyphStartOffset(int glyphId) { in glyphStartOffset() argument 116 int loca = this.checkGlyphRange(glyphId); in glyphStartOffset() 156 private int glyphId; field in IndexSubTableFormat3.Builder.BitmapGlyphInfoIterator 159 this.glyphId in BitmapGlyphInfoIterator() [all...] |
H A D | IndexSubTableFormat4.java | 52 public int glyphStartOffset(int glyphId) { in glyphStartOffset() argument 53 this.checkGlyphRange(glyphId); in glyphStartOffset() 54 int pairIndex = this.findCodeOffsetPair(glyphId); in glyphStartOffset() 64 public int glyphLength(int glyphId) { in glyphLength() argument 65 this.checkGlyphRange(glyphId); in glyphLength() 66 int pairIndex = this.findCodeOffsetPair(glyphId); in glyphLength() 76 protected int findCodeOffsetPair(int glyphId) { in findCodeOffsetPair() argument 78 Offset.codeOffsetPairLength.offset, this.numGlyphs(), glyphId); in findCodeOffsetPair() 171 public int glyphLength(int glyphId) { in glyphLength() argument 172 this.checkGlyphRange(glyphId); in glyphLength() 182 glyphStartOffset(int glyphId) glyphStartOffset() argument 225 findCodeOffsetPair(int glyphId) findCodeOffsetPair() argument [all...] |
H A D | IndexSubTableFormat5.java | 64 public int glyphStartOffset(int glyphId) { in glyphStartOffset() argument 65 this.checkGlyphRange(glyphId); in glyphStartOffset() 68 FontData.DataSize.USHORT.size(), this.numGlyphs(), glyphId); in glyphStartOffset() 76 public int glyphLength(int glyphId) { in glyphLength() argument 77 this.checkGlyphRange(glyphId); in glyphLength() 145 public int glyphLength(int glyphId) { in glyphLength() argument 150 public int glyphStartOffset(int glyphId) { in glyphStartOffset() argument 151 this.checkGlyphRange(glyphId); in glyphStartOffset() 153 int loca = Collections.binarySearch(glyphArray, glyphId); in glyphStartOffset() 277 for (Integer glyphId in subSerialize() [all...] |
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/truetype/ |
H A D | LocaTable.java | 65 * @param glyphId the glyph id to get the offset for; must be less than or 69 public int glyphOffset(int glyphId) { in glyphOffset() argument 70 if (glyphId < 0 || glyphId >= this.numGlyphs) { in glyphOffset() 73 return this.loca(glyphId); in glyphOffset() 78 * @param glyphId the glyph id to get the offset for; must be greater than or 82 public int glyphLength(int glyphId) { in glyphLength() argument 83 if (glyphId < 0 || glyphId >= this.numGlyphs) { in glyphLength() 86 return this.loca(glyphId in glyphLength() 224 checkGlyphRange(int glyphId) checkGlyphRange() argument 317 glyphOffset(int glyphId) glyphOffset() argument 331 glyphLength(int glyphId) glyphLength() argument [all...] |
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/sfnttool/ |
H A D | GlyphCoverage.java | 53 int glyphId = cmap.glyphId(c); in getGlyphCoverage() 54 touchGlyph(font, coverage, glyphId); in getGlyphCoverage() 61 private static void touchGlyph(Font font, Set<Integer> coverage, int glyphId) { in touchGlyph() argument 62 if (!coverage.contains(glyphId)) { in touchGlyph() 63 coverage.add(glyphId); in touchGlyph() 64 Glyph glyph = getGlyph(font, glyphId); in touchGlyph() 88 private static Glyph getGlyph(Font font, int glyphId) { in getGlyph() argument 91 int offset = locaTable.glyphOffset(glyphId); in getGlyph() 92 int length = locaTable.glyphLength(glyphId); in getGlyph() [all...] |
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sflint/ |
H A D | SFLint.java | 127 for (int glyphId = 0; glyphId < nGlyphs; glyphId++) { in lintWindowsClipping() 128 int offset = loca.glyphOffset(glyphId); in lintWindowsClipping() 129 int length = loca.glyphLength(glyphId); in lintWindowsClipping() 136 if (glyphId == 0 || xMin < bbox_xMin) { in lintWindowsClipping() 139 if (glyphId == 0 || yMin < bbox_yMin) { in lintWindowsClipping() 142 if (glyphId == 0 || xMax > bbox_xMax) { in lintWindowsClipping() 145 if (glyphId == 0 || yMax > bbox_yMax) { in lintWindowsClipping() 175 private void lintCompositeGlyph(Font font, CompositeGlyph glyph, int glyphId) { in lintCompositeGlyph() argument [all...] |
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sfntdump/ |
H A D | SfntDump.java | 403 for (int glyphId = 0; glyphId < nGlyphs; glyphId++) { in dumpFont() 404 System.out.printf("%d: %s\n", glyphId, post.glyphName(glyphId)); in dumpFont() 447 for (int glyphId = this.glyphSet.nextSetBit(0); in dumpFont() 448 glyphId >= 0; glyphId = this.glyphSet.nextSetBit(glyphId+1)) { in dumpFont() 449 int offset = locaTable.glyphOffset(glyphId); in dumpFont() [all...] |
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/ |
H A D | HorizontalMetricsTable.java | 102 public int advanceWidth(int glyphId) { in advanceWidth() argument 103 if (glyphId < this.numHMetrics) { in advanceWidth() 104 return this.hMetricAdvanceWidth(glyphId); in advanceWidth() 109 public int leftSideBearing(int glyphId) { in leftSideBearing() argument 110 if (glyphId < this.numHMetrics) { in leftSideBearing() 111 return this.hMetricLSB(glyphId); in leftSideBearing() 113 return this.lsbTableEntry(glyphId - this.numHMetrics); in leftSideBearing()
|
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/tools/subsetter/ |
H A D | CMapTableBuilderTest.java | 45 int glyphId = entry.getValue(); in verifyCmap() 46 assertEquals(glyphId, cmap.glyphId(unicode)); in verifyCmap() 48 assertEquals(CMapTable.NOTDEF, cmap.glyphId(0xffff)); in verifyCmap() 49 assertEquals(CMapTable.NOTDEF, cmap.glyphId(0xfffe)); in verifyCmap()
|
H A D | HintStripTest.java | 82 assertEquals(67, cmap.glyphId(0x60)); in testCmap() 83 assertEquals(68, cmap.glyphId(0x61)); in testCmap() 84 assertEquals(162, cmap.glyphId(0xe0)); in testCmap() 156 private static Glyph getGlyph(Font font, int glyphId) { in getGlyph() argument 159 int offset = locaTable.glyphOffset(glyphId); in getGlyph() 160 int length = locaTable.glyphLength(glyphId); in getGlyph()
|
H A D | RenumberingSubsetTest.java | 92 assertEquals(1, cmap.glyphId(0x60)); in testCmap() 93 assertEquals(2, cmap.glyphId(0x61)); in testCmap() 94 assertEquals(3, cmap.glyphId(0xe0)); in testCmap() 181 private static Glyph getGlyph(Font font, int glyphId) { in getGlyph() argument 184 int offset = locaTable.glyphOffset(glyphId); in getGlyph() 185 int length = locaTable.glyphLength(glyphId); in getGlyph()
|
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/ |
H A D | GlyphEditingTests.java | 66 for (int glyphId = 0; glyphId < locaSlots; glyphId++) { in testEditLocaTable() 67 newLoca.add(glyphId * 6); in testEditLocaTable() 78 for (int glyphId = 0; glyphId < loca.numGlyphs(); glyphId++) { in testEditLocaTable() 79 assertEquals(glyphId * 6, loca.glyphOffset(glyphId)); in testEditLocaTable()
|
H A D | GlyphTests.java | 122 int glyphId = cmap.glyphId(encChar); in checkTestSet() 123 if (glyphId != CMapTable.NOTDEF) { in checkTestSet() 124 int offset = locaTable.glyphOffset(glyphId); in checkTestSet() 125 int length = locaTable.glyphLength(glyphId); in checkTestSet()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/component/ |
H A D | GlyphGroup.java | 124 for (int glyphId : this) { in toString() 125 sb.append(glyphId); in toString() 128 String glyphName = post.glyphName(glyphId); in toString()
|
H A D | Rule.java | 178 int glyph = cmap.glyphId(code); in glyphGroupForText() 258 for (Integer glyphId : glyphGroup) { in permuteToSegments() 262 newSegment.add(new GlyphGroup(glyphId)); in permuteToSegments() 389 for (int glyphId : glyphIds) { in deltaRules() 390 RuleSegment input = new RuleSegment(glyphId); in deltaRules() 391 RuleSegment subst = new RuleSegment(glyphId + delta); in deltaRules()
|
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/issue_tests/ |
H A D | Issue28Tests.java | 39 int glyphId = locaTable.numGlyphs() - 1;
in getLastGlyph() 41 int offset = locaTable.glyphOffset(glyphId);
in getLastGlyph() 42 int length = locaTable.glyphLength(glyphId);
in getLastGlyph()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/fontinfo/ |
H A D | FontInfo.java | 255 if (cmap.glyphId(charId) != CMapTable.NOTDEF) { in numChars() 284 int glyphId = cmap.glyphId(charId); in listChars() 285 if (glyphId != CMapTable.NOTDEF) { in listChars() 287 String.format("%d", glyphId), UCharacter.getExtendedName(charId) }; in listChars() 327 if (cmap.glyphId(UCharacter.codePointAt(charStr, 0)) > 0) { in listCharBlockCoverage() 343 if (cmap.glyphId(UCharacter.codePointAt(charStr, 0)) > 0) { in listCharBlockCoverage() 373 if (cmap.glyphId(charId) != CMapTable.NOTDEF) { in listScriptCoverage() 426 if (cmap.glyphId(charId) != CMapTable.NOTDEF) { in listCharsNeededToCoverScript() 618 mappedGlyphs.add(cmap.glyphId(codePoin in listUnmappedGlyphs() [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-color-colr-table.hh | 116 operator hb_ot_color_layer_t () const { return {glyphId, colorIdx}; } in operator hb_ot_color_layer_t() 125 HBGlyphID16 glyphId; /* Glyph ID of layer glyph */ member 143 { return g < glyphId ? -1 : g > glyphId ? 1 : 0; } in cmp() 152 HBGlyphID16 glyphId; /* Glyph ID of reference glyph */ member 1160 { return g < glyphId ? -1 : g > glyphId ? 1 : 0; } in cmp() 1168 if (!s->check_assign (out->glyphId, glyph_map->get (glyphId), in serialize() 1182 HBGlyphID16 glyphId; /* Glyp member [all...] |
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/ |
H A D | GlyfEncoder.java | 63 for (int glyphId = 0; glyphId < nGlyphs; glyphId++) { in encode() 64 int sourceOffset = loca.glyphOffset(glyphId); in encode() 65 int length = loca.glyphLength(glyphId); in encode()
|
/third_party/skia/src/ports/ |
H A D | SkScalerContext_win_dw.cpp | 429 uint16_t glyphId = glyph->getGlyphID(); in generateAdvance() local 434 if (fGlyphCount <= glyphId) { in generateAdvance() 451 &glyphId, 1, in generateAdvance() 456 HRBM(typeface->fDWriteFontFace->GetDesignGlyphMetrics(&glyphId, 1, &gm), in generateAdvance() 495 UINT16 glyphId = glyph->getGlyphID(); in getBoundingBox() local 507 run.glyphIndices = &glyphId; in getBoundingBox() 571 UINT16 glyphId = glyph.getGlyphID(); in getColorGlyphRun() local 583 run.glyphIndices = &glyphId; in getColorGlyphRun() 1245 UINT16 glyphId = SkTo<UINT16>(glyph); in generatePath() local 1252 &glyphId, in generatePath() [all...] |