Home
last modified time | relevance | path

Searched refs:nGlyphs (Results 1 – 21 of 21) sorted by relevance

/third_party/flutter/engine/flutter/third_party/txt/tests/
DLayoutTest.cpp366 ASSERT_EQ(ltrLayout.nGlyphs(), rtlLayout.nGlyphs()); in TEST_F()
367 ASSERT_EQ(6u, ltrLayout.nGlyphs()); in TEST_F()
369 size_t nGlyphs = ltrLayout.nGlyphs(); in TEST_F() local
370 for (size_t i = 0; i < nGlyphs; ++i) { in TEST_F()
371 EXPECT_EQ(ltrLayout.getFont(i), rtlLayout.getFont(nGlyphs - i - 1)); in TEST_F()
372 EXPECT_EQ(ltrLayout.getGlyphId(i), rtlLayout.getGlyphId(nGlyphs - i - 1)); in TEST_F()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/subsetter/
DPostScriptTableBuilder.java379 int nGlyphs = names.size(); in build() local
400 int newLength = 34 + 2 * nGlyphs + nameBytes.length; in build()
404 data.writeUShort(Offset.numberOfGlyphs.offset, nGlyphs); in build()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/subsetter/
DPostScriptTableBuilder.java379 int nGlyphs = names.size(); in build() local
400 int newLength = 34 + 2 * nGlyphs + nameBytes.length; in build()
404 data.writeUShort(Offset.numberOfGlyphs.offset, nGlyphs); in build()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sflint/
DSFLint.java121 int nGlyphs = loca.numGlyphs(); in lintWindowsClipping() local
127 for (int glyphId = 0; glyphId < nGlyphs; glyphId++) { in lintWindowsClipping()
200 int nGlyphs = loca.numGlyphs(); in lintAllGlyphs() local
201 for (int glyphId = 0; glyphId < nGlyphs; glyphId++) { in lintAllGlyphs()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sflint/
DSFLint.java121 int nGlyphs = loca.numGlyphs(); in lintWindowsClipping() local
127 for (int glyphId = 0; glyphId < nGlyphs; glyphId++) { in lintWindowsClipping()
200 int nGlyphs = loca.numGlyphs(); in lintAllGlyphs() local
201 for (int glyphId = 0; glyphId < nGlyphs; glyphId++) { in lintAllGlyphs()
/third_party/flutter/skia/third_party/externals/freetype/src/gxvalid/
Dgxvkern.c383 FT_UShort nGlyphs; in gxv_kern_subtable_fmt2_clstbl_validate() local
390 nGlyphs = FT_NEXT_USHORT( p ); in gxv_kern_subtable_fmt2_clstbl_validate()
392 tag, firstGlyph, nGlyphs )); in gxv_kern_subtable_fmt2_clstbl_validate()
395 gxv_glyphid_validate( (FT_UShort)( firstGlyph + nGlyphs - 1 ), gxvalid ); in gxv_kern_subtable_fmt2_clstbl_validate()
397 gxv_array_getlimits_ushort( p, p + ( 2 * nGlyphs ), in gxv_kern_subtable_fmt2_clstbl_validate()
402 gxv_odtect_add_range( table, 2 * nGlyphs, tag, odtect ); in gxv_kern_subtable_fmt2_clstbl_validate()
Dgxvcommn.c951 FT_UShort nGlyphs; in gxv_ClassTable_validate() local
960 nGlyphs = FT_NEXT_USHORT( p ); in gxv_ClassTable_validate()
962 GXV_TRACE(( " (firstGlyph = %d, nGlyphs = %d)\n", firstGlyph, nGlyphs )); in gxv_ClassTable_validate()
964 if ( !nGlyphs ) in gxv_ClassTable_validate()
967 gxv_glyphid_validate( (FT_UShort)( firstGlyph + nGlyphs ), gxvalid ); in gxv_ClassTable_validate()
978 for ( i = 0; i < nGlyphs; i++ ) in gxv_ClassTable_validate()
/third_party/freetype/src/gxvalid/
Dgxvkern.c383 FT_UShort nGlyphs; in gxv_kern_subtable_fmt2_clstbl_validate() local
390 nGlyphs = FT_NEXT_USHORT( p ); in gxv_kern_subtable_fmt2_clstbl_validate()
392 tag, firstGlyph, nGlyphs )); in gxv_kern_subtable_fmt2_clstbl_validate()
395 gxv_glyphid_validate( (FT_UShort)( firstGlyph + nGlyphs - 1 ), gxvalid ); in gxv_kern_subtable_fmt2_clstbl_validate()
397 gxv_array_getlimits_ushort( p, p + ( 2 * nGlyphs ), in gxv_kern_subtable_fmt2_clstbl_validate()
402 gxv_odtect_add_range( table, 2 * nGlyphs, tag, odtect ); in gxv_kern_subtable_fmt2_clstbl_validate()
Dgxvcommn.c950 FT_UShort nGlyphs; in gxv_ClassTable_validate() local
959 nGlyphs = FT_NEXT_USHORT( p ); in gxv_ClassTable_validate()
961 GXV_TRACE(( " (firstGlyph = %d, nGlyphs = %d)\n", firstGlyph, nGlyphs )); in gxv_ClassTable_validate()
963 if ( !nGlyphs ) in gxv_ClassTable_validate()
966 gxv_glyphid_validate( (FT_UShort)( firstGlyph + nGlyphs ), gxvalid ); in gxv_ClassTable_validate()
977 for ( i = 0; i < nGlyphs; i++ ) in gxv_ClassTable_validate()
/third_party/skia/third_party/externals/freetype/src/gxvalid/
Dgxvkern.c383 FT_UShort nGlyphs; in gxv_kern_subtable_fmt2_clstbl_validate() local
390 nGlyphs = FT_NEXT_USHORT( p ); in gxv_kern_subtable_fmt2_clstbl_validate()
392 tag, firstGlyph, nGlyphs )); in gxv_kern_subtable_fmt2_clstbl_validate()
395 gxv_glyphid_validate( (FT_UShort)( firstGlyph + nGlyphs - 1 ), gxvalid ); in gxv_kern_subtable_fmt2_clstbl_validate()
397 gxv_array_getlimits_ushort( p, p + ( 2 * nGlyphs ), in gxv_kern_subtable_fmt2_clstbl_validate()
402 gxv_odtect_add_range( table, 2 * nGlyphs, tag, odtect ); in gxv_kern_subtable_fmt2_clstbl_validate()
Dgxvcommn.c950 FT_UShort nGlyphs; in gxv_ClassTable_validate() local
959 nGlyphs = FT_NEXT_USHORT( p ); in gxv_ClassTable_validate()
961 GXV_TRACE(( " (firstGlyph = %d, nGlyphs = %d)\n", firstGlyph, nGlyphs )); in gxv_ClassTable_validate()
963 if ( !nGlyphs ) in gxv_ClassTable_validate()
966 gxv_glyphid_validate( (FT_UShort)( firstGlyph + nGlyphs ), gxvalid ); in gxv_ClassTable_validate()
977 for ( i = 0; i < nGlyphs; i++ ) in gxv_ClassTable_validate()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
DGlyfEncoder.java60 int nGlyphs = loca.numGlyphs(); in encode() local
63 for (int glyphId = 0; glyphId < nGlyphs; glyphId++) { in encode()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
DGlyfEncoder.java60 int nGlyphs = loca.numGlyphs(); in encode() local
63 for (int glyphId = 0; glyphId < nGlyphs; glyphId++) { in encode()
/third_party/flutter/engine/flutter/third_party/txt/src/minikin/
DLayout.h97 size_t nGlyphs() const;
DLayout.cpp1216 size_t Layout::nGlyphs() const { in nGlyphs() function in minikin::Layout
/third_party/flutter/txt/src/minikin/
DLayout.h97 size_t nGlyphs() const;
DLayout.cpp1148 size_t Layout::nGlyphs() const { in nGlyphs() function in minikin::Layout
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sfntdump/
DSfntDump.java402 int nGlyphs = post.numberOfGlyphs(); in dumpFont() local
403 for (int glyphId = 0; glyphId < nGlyphs; glyphId++) { in dumpFont()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sfntdump/
DSfntDump.java402 int nGlyphs = post.numberOfGlyphs(); in dumpFont() local
403 for (int glyphId = 0; glyphId < nGlyphs; glyphId++) { in dumpFont()
/third_party/flutter/txt/src/txt/
Dparagraph_txt.cc89 if (layout.nGlyphs() == 0) in GetLayoutTypefaceRuns()
93 for (size_t i = 1; i < layout.nGlyphs(); ++i) { in GetLayoutTypefaceRuns()
101 result.emplace_back(run_start, layout.nGlyphs()); in GetLayoutTypefaceRuns()
879 if (layout.nGlyphs() == 0) in Layout()
944 if (glyph_index < layout.nGlyphs()) { in Layout()
972 FML_DCHECK(layout.nGlyphs() == 1); in Layout()
/third_party/flutter/engine/flutter/third_party/txt/src/txt/
Dparagraph_txt.cc88 if (layout.nGlyphs() == 0) in GetLayoutTypefaceRuns()
92 for (size_t i = 1; i < layout.nGlyphs(); ++i) { in GetLayoutTypefaceRuns()
100 result.emplace_back(run_start, layout.nGlyphs()); in GetLayoutTypefaceRuns()
857 if (layout.nGlyphs() == 0) in Layout()
921 if (glyph_index < layout.nGlyphs()) { in Layout()