Home
last modified time | relevance | path

Searched refs:advanceWidth (Results 1 – 25 of 39) sorted by relevance

12

/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/subsetter/
DHorizontalMetricsTableBuilder.java38 public int advanceWidth; field in HorizontalMetricsTableBuilder.LongHorMetric
41 public LongHorMetric(int advanceWidth, int lsb) { in LongHorMetric() argument
42 this.advanceWidth = advanceWidth; in LongHorMetric()
60 int lastWidth = metrics.get(nMetrics - 1).advanceWidth; in build()
62 while (numberOfHMetrics > 1 && metrics.get(numberOfHMetrics - 2).advanceWidth == lastWidth) { in build()
70 int advanceWidth = metrics.get(i).advanceWidth; in build() local
71 advanceWidthMax = Math.max(advanceWidth, advanceWidthMax); in build()
72 index += data.writeUShort(index, advanceWidth); in build()
DHorizontalMetricsTableSubsetter.java49 int advanceWidth = origMetrics.advanceWidth(origGlyphId); in subset() local
51 metrics.add(new HorizontalMetricsTableBuilder.LongHorMetric(advanceWidth, lsb)); in subset()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/subsetter/
DHorizontalMetricsTableBuilder.java38 public int advanceWidth; field in HorizontalMetricsTableBuilder.LongHorMetric
41 public LongHorMetric(int advanceWidth, int lsb) { in LongHorMetric() argument
42 this.advanceWidth = advanceWidth; in LongHorMetric()
60 int lastWidth = metrics.get(nMetrics - 1).advanceWidth; in build()
62 while (numberOfHMetrics > 1 && metrics.get(numberOfHMetrics - 2).advanceWidth == lastWidth) { in build()
70 int advanceWidth = metrics.get(i).advanceWidth; in build() local
71 advanceWidthMax = Math.max(advanceWidth, advanceWidthMax); in build()
72 index += data.writeUShort(index, advanceWidth); in build()
DHorizontalMetricsTableSubsetter.java49 int advanceWidth = origMetrics.advanceWidth(origGlyphId); in subset() local
51 metrics.add(new HorizontalMetricsTableBuilder.LongHorMetric(advanceWidth, lsb)); in subset()
/third_party/flutter/skia/third_party/externals/sfntly/java/test/com/google/typography/font/tools/subsetter/
DHorizontalMetricsTableBuilderTest.java59 assertEquals(123, hmtxTable.advanceWidth(0)); in testHorizontalMetricsTableBuilder()
61 assertEquals(123, hmtxTable.advanceWidth(1)); in testHorizontalMetricsTableBuilder()
63 assertEquals(789, hmtxTable.advanceWidth(2)); in testHorizontalMetricsTableBuilder()
65 assertEquals(789, hmtxTable.advanceWidth(3)); in testHorizontalMetricsTableBuilder()
DHintStripTest.java89 assertEquals(1229, hmtxTable.advanceWidth(0)); in testHorizontalMetrics()
91 assertEquals(1182, hmtxTable.advanceWidth(67)); in testHorizontalMetrics()
93 assertEquals(1139, hmtxTable.advanceWidth(68)); in testHorizontalMetrics()
95 assertEquals(1139, hmtxTable.advanceWidth(162)); in testHorizontalMetrics()
DRenumberingSubsetTest.java99 assertEquals(1229, hmtxTable.advanceWidth(0)); in testHorizontalMetrics()
101 assertEquals(1182, hmtxTable.advanceWidth(1)); in testHorizontalMetrics()
103 assertEquals(1139, hmtxTable.advanceWidth(2)); in testHorizontalMetrics()
105 assertEquals(1139, hmtxTable.advanceWidth(3)); in testHorizontalMetrics()
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/tools/subsetter/
DHorizontalMetricsTableBuilderTest.java59 assertEquals(123, hmtxTable.advanceWidth(0)); in testHorizontalMetricsTableBuilder()
61 assertEquals(123, hmtxTable.advanceWidth(1)); in testHorizontalMetricsTableBuilder()
63 assertEquals(789, hmtxTable.advanceWidth(2)); in testHorizontalMetricsTableBuilder()
65 assertEquals(789, hmtxTable.advanceWidth(3)); in testHorizontalMetricsTableBuilder()
DHintStripTest.java89 assertEquals(1229, hmtxTable.advanceWidth(0)); in testHorizontalMetrics()
91 assertEquals(1182, hmtxTable.advanceWidth(67)); in testHorizontalMetrics()
93 assertEquals(1139, hmtxTable.advanceWidth(68)); in testHorizontalMetrics()
95 assertEquals(1139, hmtxTable.advanceWidth(162)); in testHorizontalMetrics()
DRenumberingSubsetTest.java99 assertEquals(1229, hmtxTable.advanceWidth(0)); in testHorizontalMetrics()
101 assertEquals(1182, hmtxTable.advanceWidth(1)); in testHorizontalMetrics()
103 assertEquals(1139, hmtxTable.advanceWidth(2)); in testHorizontalMetrics()
105 assertEquals(1139, hmtxTable.advanceWidth(3)); in testHorizontalMetrics()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sflint/
DSFLint.java163 int advanceWidth = hmtx.hMetricAdvanceWidth(i); in lintAdvanceWidths() local
164 if (i == 0 || advanceWidth > maxAdvanceWidth) { in lintAdvanceWidths()
165 maxAdvanceWidth = advanceWidth; in lintAdvanceWidths()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sflint/
DSFLint.java163 int advanceWidth = hmtx.hMetricAdvanceWidth(i); in lintAdvanceWidths() local
164 if (i == 0 || advanceWidth > maxAdvanceWidth) { in lintAdvanceWidths()
165 maxAdvanceWidth = advanceWidth; in lintAdvanceWidths()
/third_party/flutter/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/
DMetricsTests.java41 int width = hmtxTable.advanceWidth(gid); in testBasicHmtxValidity()
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/
DMetricsTests.java41 int width = hmtxTable.advanceWidth(gid); in testBasicHmtxValidity()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
DHdmxEncoder.java50 ((64 * ppem * hmtx.advanceWidth(j) + unitsPerEm / 2) / unitsPerEm + 32) / 64; in encode()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
DHdmxEncoder.java50 ((64 * ppem * hmtx.advanceWidth(j) + unitsPerEm / 2) / unitsPerEm + 32) / 64; in encode()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
DHorizontalMetricsTable.java102 public int advanceWidth(int glyphId) { in advanceWidth() method in HorizontalMetricsTable
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
DHorizontalMetricsTable.java102 public int advanceWidth(int glyphId) { in advanceWidth() method in HorizontalMetricsTable
/third_party/icu/icu4c/source/samples/layout/
Dsfnt.h214 le_uint16 advanceWidth; member
/third_party/skia/third_party/externals/icu/source/samples/layout/
Dsfnt.h214 le_uint16 advanceWidth; member
/third_party/flutter/skia/third_party/externals/icu/source/samples/layout/
Dsfnt.h214 le_uint16 advanceWidth; member
/third_party/icu/icu4c/source/test/perf/leperf/
DFontObject.h177 le_uint16 advanceWidth; member
DFontObject.cpp243 return SWAPW(hmtxTable->hMetrics[index].advanceWidth); in getGlyphAdvance()
/third_party/icu/icu4c/source/test/letest/
DFontObject.h173 le_uint16 advanceWidth; member
DFontObject.cpp239 return SWAPW(hmtxTable->hMetrics[index].advanceWidth); in getGlyphAdvance()

12