Searched defs:num_glyphs (Results 1 - 25 of 95) sorted by relevance

1234

/external/chromium_org/third_party/ots/src/
H A Dloca.cc28 const unsigned num_glyphs = file->maxp->num_glyphs; local
30 loca->offsets.resize(num_glyphs + 1);
31 // maxp->num_glyphs is uint16_t, thus the addition never overflows.
37 for (unsigned i = 0; i <= num_glyphs; ++i) {
49 for (unsigned i = 0; i <= num_glyphs; ++i) {
H A Dltsh.cc27 uint16_t num_glyphs = 0; local
29 !table.ReadU16(&num_glyphs)) {
39 if (num_glyphs != file->maxp->num_glyphs) {
40 OTS_WARNING("bad num_glyphs: %u", num_glyphs);
45 ltsh->ypels.reserve(num_glyphs);
46 for (unsigned i = 0; i < num_glyphs; ++i) {
H A Dmetrics.cc72 if (header->num_metrics > file->maxp->num_glyphs) {
102 const uint16_t num_glyphs,
109 if (num_metrics > num_glyphs) {
115 const unsigned num_sbs = num_glyphs - num_metrics;
101 ParseMetricsTable(Buffer *table, const uint16_t num_glyphs, const OpenTypeMetricsHeader *header, OpenTypeMetricsTable *metrics) argument
H A Dmaxp.h13 uint16_t num_glyphs; member in struct:ots::OpenTypeMAXP
H A Dpost.cc49 uint16_t num_glyphs = 0; local
50 if (!table.ReadU16(&num_glyphs)) {
58 if (num_glyphs == 0) {
59 if (file->maxp->num_glyphs > 258) {
69 if (num_glyphs != file->maxp->num_glyphs) {
70 // Note: Fixedsys500c.ttf seems to have inconsistent num_glyphs values.
74 post->glyph_name_index.resize(num_glyphs);
75 for (unsigned i = 0; i < num_glyphs; ++i) {
106 for (unsigned i = 0; i < num_glyphs;
[all...]
/external/harfbuzz_ng/util/
H A Dhelper-cairo.hh52 unsigned int num_glyphs; member in struct:helper_cairo_line_t
69 *x_advance = glyphs[num_glyphs].x;
70 *y_advance = glyphs[num_glyphs].y;
/external/chromium_org/third_party/freetype/src/psaux/
H A Dt1cmap.h47 FT_UInt num_glyphs; member in struct:T1_CMapStdRec_
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/truetype/
H A Dloca_table.h88 void SetNumGlyphs(int32_t num_glyphs);
144 int32_t num_glyphs() { return num_glyphs_; } function in class:sfntly::LocaTable
171 int32_t num_glyphs);
/external/freetype/src/psaux/
H A Dt1cmap.h47 FT_UInt num_glyphs; member in struct:T1_CMapStdRec_
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/psaux/
H A Dt1cmap.h47 FT_UInt num_glyphs; member in struct:T1_CMapStdRec_
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/
H A Dt1load.h42 FT_Int num_glyphs; member in struct:T1_Loader_
/external/sfntly/cpp/src/sfntly/table/truetype/
H A Dloca_table.h88 void SetNumGlyphs(int32_t num_glyphs);
144 int32_t num_glyphs() { return num_glyphs_; } function in class:sfntly::LocaTable
171 int32_t num_glyphs);
/external/chromium_org/third_party/freetype/src/sfnt/
H A Dttcmap.h135 FT_UInt num_glyphs; member in struct:TT_ValidatorRec_
141 #define TT_VALID_GLYPH_COUNT( x ) TT_VALIDATOR( x )->num_glyphs
H A Dttpost.c163 FT_Int num_glyphs; local
170 if ( FT_READ_USHORT( num_glyphs ) )
179 if ( num_glyphs > face->max_profile.numGlyphs )
190 if ( FT_NEW_ARRAY ( glyph_indices, num_glyphs ) ||
191 FT_FRAME_ENTER( num_glyphs * 2L ) )
194 for ( n = 0; n < num_glyphs; n++ )
207 for ( n = 0; n < num_glyphs; n++ )
282 table->num_glyphs = (FT_UShort)num_glyphs;
315 FT_Int num_glyphs; local
[all...]
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-face-private.hh55 mutable unsigned int num_glyphs; member in struct:hb_face_t
88 if (unlikely (num_glyphs == (unsigned int) -1))
90 return num_glyphs;
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/core/
H A Dhorizontal_device_metrics_table.cc75 int32_t num_glyphs)
76 : Table(header, data), num_glyphs_(num_glyphs) {
101 void HorizontalDeviceMetricsTable::Builder::SetNumGlyphs(int32_t num_glyphs) { argument
102 if (num_glyphs < 0) {
108 num_glyphs_ = num_glyphs;
112 table->num_glyphs_ = num_glyphs;
72 HorizontalDeviceMetricsTable( Header* header, ReadableFontData* data, int32_t num_glyphs) argument
H A Dhorizontal_metrics_table.cc87 int32_t num_glyphs)
90 num_glyphs_(num_glyphs) {
130 void HorizontalMetricsTable::Builder::SetNumGlyphs(int32_t num_glyphs) { argument
131 assert(num_glyphs >= 0);
132 num_glyphs_ = num_glyphs;
135 table->num_glyphs_ = num_glyphs;
84 HorizontalMetricsTable(Header* header, ReadableFontData* data, int32_t num_hmetrics, int32_t num_glyphs) argument
/external/freetype/src/sfnt/
H A Dttcmap.h135 FT_UInt num_glyphs; member in struct:TT_ValidatorRec_
141 #define TT_VALID_GLYPH_COUNT( x ) TT_VALIDATOR( x )->num_glyphs
H A Dttpost.c163 FT_Int num_glyphs; local
170 if ( FT_READ_USHORT( num_glyphs ) )
179 if ( num_glyphs > face->max_profile.numGlyphs )
190 if ( FT_NEW_ARRAY ( glyph_indices, num_glyphs ) ||
191 FT_FRAME_ENTER( num_glyphs * 2L ) )
194 for ( n = 0; n < num_glyphs; n++ )
207 for ( n = 0; n < num_glyphs; n++ )
282 table->num_glyphs = (FT_UShort)num_glyphs;
315 FT_Int num_glyphs; local
[all...]
/external/harfbuzz_ng/src/
H A Dhb-face-private.hh55 mutable unsigned int num_glyphs; member in struct:hb_face_t
88 if (unlikely (num_glyphs == (unsigned int) -1))
90 return num_glyphs;
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/sfnt/
H A Dttcmap.h135 FT_UInt num_glyphs; member in struct:TT_ValidatorRec_
141 #define TT_VALID_GLYPH_COUNT( x ) TT_VALIDATOR( x )->num_glyphs
H A Dttpost.c163 FT_Int num_glyphs; local
170 if ( FT_READ_USHORT( num_glyphs ) )
179 if ( num_glyphs > face->max_profile.numGlyphs )
190 if ( FT_NEW_ARRAY ( glyph_indices, num_glyphs ) ||
191 FT_FRAME_ENTER( num_glyphs * 2L ) )
194 for ( n = 0; n < num_glyphs; n++ )
207 for ( n = 0; n < num_glyphs; n++ )
282 table->num_glyphs = (FT_UShort)num_glyphs;
315 FT_Int num_glyphs; local
[all...]
/external/sfntly/cpp/src/sfntly/table/core/
H A Dhorizontal_device_metrics_table.cc75 int32_t num_glyphs)
76 : Table(header, data), num_glyphs_(num_glyphs) {
101 void HorizontalDeviceMetricsTable::Builder::SetNumGlyphs(int32_t num_glyphs) { argument
102 if (num_glyphs < 0) {
108 num_glyphs_ = num_glyphs;
112 table->num_glyphs_ = num_glyphs;
72 HorizontalDeviceMetricsTable( Header* header, ReadableFontData* data, int32_t num_glyphs) argument
H A Dhorizontal_metrics_table.cc87 int32_t num_glyphs)
90 num_glyphs_(num_glyphs) {
130 void HorizontalMetricsTable::Builder::SetNumGlyphs(int32_t num_glyphs) { argument
131 assert(num_glyphs >= 0);
132 num_glyphs_ = num_glyphs;
135 table->num_glyphs_ = num_glyphs;
84 HorizontalMetricsTable(Header* header, ReadableFontData* data, int32_t num_hmetrics, int32_t num_glyphs) argument
/external/chromium_org/third_party/brotli/src/woff2/
H A Dnormalize.cc74 int num_glyphs = NumGlyphs(*font); local
85 size_t max_normalized_glyf_size = 1.1 * glyf_table->length + 2 * num_glyphs;
94 for (int i = 0; i < num_glyphs; ++i) {

Completed in 1286 milliseconds

1234