Home
last modified time | relevance | path

Searched refs:numberOfHMetrics (Results 1 - 14 of 14) sorted by relevance

/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/subsetter/
H A DHorizontalMetricsTableBuilder.java61 int numberOfHMetrics = nMetrics; in build()
62 while (numberOfHMetrics > 1 && metrics.get(numberOfHMetrics - 2).advanceWidth == lastWidth) { in build()
63 numberOfHMetrics--; in build()
65 int size = 4 * numberOfHMetrics + 2 * (nMetrics - numberOfHMetrics); in build()
69 for (int i = 0; i < numberOfHMetrics; i++) { in build()
75 for (int i = numberOfHMetrics; i < nMetrics; i++) { in build()
81 hheaBuilder.setNumberOfHMetrics(numberOfHMetrics); in build()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
H A DHorizontalHeaderTable.java50 numberOfHMetrics(34); enum constant
112 public int numberOfHMetrics() { in numberOfHMetrics() method in HorizontalHeaderTable
113 return this.data.readUShort(Offset.numberOfHMetrics.offset); in numberOfHMetrics()
244 public int numberOfHMetrics() { in numberOfHMetrics() method in HorizontalHeaderTable.Builder
245 return this.internalReadData().readUShort(Offset.numberOfHMetrics.offset); in numberOfHMetrics()
249 this.internalWriteData().writeUShort(Offset.numberOfHMetrics.offset, version); in setNumberOfHMetrics()
H A DHorizontalMetricsTable.java63 public int numberOfHMetrics() { in numberOfHMetrics() method in HorizontalMetricsTable
/third_party/cups-filters/fontembed/
H A Dtest_analyze.c173 printf("hmtx (%d):\n",otf->numberOfHMetrics); in show_hmtx()
174 for (iA=0;iA<otf->numberOfHMetrics;iA++) { in show_hmtx()
179 printf(" (last is repeated for the remaining %d glyphs)\n",otf->numGlyphs-otf->numberOfHMetrics); in show_hmtx()
221 printf("numberOfHMetrics: %d\n",otf->numberOfHMetrics); in main()
H A Dsfnt_int.h64 if (gid>=otf->numberOfHMetrics) { in get_width_fast()
65 return get_USHORT(otf->hmtx+(otf->numberOfHMetrics-1)*4); in get_width_fast()
H A Dsfnt.h28 unsigned short numberOfHMetrics; member
H A Dsfnt.c547 otf->numberOfHMetrics=get_USHORT(hhea+34); in otf_load_more()
554 (len!=otf->numberOfHMetrics*2+otf->numGlyphs*2) ) { in otf_load_more()
658 if (gid>=otf->numberOfHMetrics) { in otf_get_width()
659 return get_USHORT(otf->hmtx+(otf->numberOfHMetrics-1)*2); in otf_get_width()
660 // TODO? lsb=get_SHORT(otf->hmtx+otf->numberOfHMetrics*2+gid*2); // lsb: left_side_bearing (also in table) in otf_get_width()
/third_party/skia/src/sfnt/
H A DSkOTTable_hhea.h44 SK_OT_USHORT numberOfHMetrics; variable
51 static_assert(offsetof(SkOTTableHorizontalHeader, numberOfHMetrics) == 34, "SkOTTableHorizontalHeader_numberOfHMetrics_not_at_34");
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/
H A DHheaTests.java51 assertEquals(12, hheaTable.numberOfHMetrics()); in testNumHMetrics()
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/tools/subsetter/
H A DHorizontalMetricsTableBuilderTest.java57 assertEquals(3, hmtxTable.numberOfHMetrics()); in testHorizontalMetricsTableBuilder()
H A DRenumberingSubsetTest.java111 assertEquals(3, hheaTable.numberOfHMetrics()); in testHorizontalHeader()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sflint/
H A DSFLint.java162 for (int i = 0; i < hmtx.numberOfHMetrics(); i++) { in lintAdvanceWidths()
/third_party/skia/src/ports/
H A DSkTypeface_win_dw.cpp557 (1 == SkEndian_SwapBE16(hheaTable->numberOfHMetrics)));
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/
H A DFont.java918 horizontalHeaderBuilder.numberOfHMetrics()); in interRelateBuilders()

Completed in 8 milliseconds