Searched defs:metrics (Results 51 - 75 of 93) sorted by relevance

1234

/external/freetype/src/sfnt/
H A Dsfobjs.c992 /* vertical metrics tables (i.e. `hhea' and `vhea' tables are */
1059 /* do not load the metrics headers and tables if this is an Apple */
1074 /* overriding metrics, tolerate a missing `hmtx' table. */
1101 /* overriding metrics, tolerate a missing `hhea' table. */
1342 FT_Size_Metrics metrics; local
1359 error = sfnt->load_strike_metrics( face, i, &metrics );
1363 bsize->height = (FT_Short)( metrics.height >> 6 );
1365 ( avgwidth * metrics.x_ppem + em_size / 2 ) / em_size );
1367 bsize->x_ppem = metrics.x_ppem << 6;
1368 bsize->y_ppem = metrics
[all...]
H A Dttsbit.c239 FT_Size_Metrics* metrics )
254 metrics->x_ppem = (FT_UShort)strike[44];
255 metrics->y_ppem = (FT_UShort)strike[45];
257 metrics->ascender = (FT_Char)strike[16] << 6; /* hori.ascender */
258 metrics->descender = (FT_Char)strike[17] << 6; /* hori.descender */
259 metrics->height = metrics->ascender - metrics->descender;
262 metrics->max_advance = ( (FT_Char)strike[22] + /* min_origin_SB */
306 metrics
333 TT_SBit_Metrics metrics; member in struct:TT_SBitDecoderRec_
503 TT_SBit_Metrics metrics = decoder->metrics; local
[all...]
/external/freetype/src/truetype/
H A Dttobjs.h294 /* we have our own copy of metrics so that we can modify */
296 FT_Size_Metrics metrics; member in struct:TT_SizeRec_
H A Dttgload.c70 /* Return the horizontal metrics in font units for a given glyph. */
87 /* Return the vertical metrics in font units for a given glyph. */
135 /* (which gets altered by the metrics functions) */
192 /* overriding metrics for this glyph. */
196 FT_Incremental_MetricsRec metrics; local
200 metrics.bearing_x = loader->left_bearing;
201 metrics.bearing_y = 0;
202 metrics.advance = loader->advance;
203 metrics.advance_v = 0;
207 glyph_index, FALSE, &metrics );
2056 FT_Incremental_MetricsRec metrics; local
2120 TT_SBit_MetricsRec metrics; local
[all...]
H A Dttinterp.h173 FT_Size_Metrics metrics; member in struct:TT_ExecContextRec_
174 TT_Size_Metrics tt_metrics; /* size metrics */
/external/pdfium/third_party/freetype/src/sfnt/
H A Dsfobjs.c992 /* vertical metrics tables (i.e. `hhea' and `vhea' tables are */
1059 /* do not load the metrics headers and tables if this is an Apple */
1074 /* overriding metrics, tolerate a missing `hmtx' table. */
1101 /* overriding metrics, tolerate a missing `hhea' table. */
1342 FT_Size_Metrics metrics; local
1359 error = sfnt->load_strike_metrics( face, i, &metrics );
1363 bsize->height = (FT_Short)( metrics.height >> 6 );
1365 ( avgwidth * metrics.x_ppem + em_size / 2 ) / em_size );
1367 bsize->x_ppem = metrics.x_ppem << 6;
1368 bsize->y_ppem = metrics
[all...]
H A Dttsbit.c239 FT_Size_Metrics* metrics )
254 metrics->x_ppem = (FT_UShort)strike[44];
255 metrics->y_ppem = (FT_UShort)strike[45];
257 metrics->ascender = (FT_Char)strike[16] << 6; /* hori.ascender */
258 metrics->descender = (FT_Char)strike[17] << 6; /* hori.descender */
259 metrics->height = metrics->ascender - metrics->descender;
262 metrics->max_advance = ( (FT_Char)strike[22] + /* min_origin_SB */
305 metrics
329 TT_SBit_Metrics metrics; member in struct:TT_SBitDecoderRec_
499 TT_SBit_Metrics metrics = decoder->metrics; local
[all...]
/external/pdfium/third_party/freetype/src/truetype/
H A Dttobjs.h294 /* we have our own copy of metrics so that we can modify */
296 FT_Size_Metrics metrics; member in struct:TT_SizeRec_
H A Dttgload.c70 /* Return the horizontal metrics in font units for a given glyph. */
87 /* Return the vertical metrics in font units for a given glyph. */
133 /* (which gets altered by the metrics functions) */
188 /* overriding metrics for this glyph. */
192 FT_Incremental_MetricsRec metrics; local
196 metrics.bearing_x = loader->left_bearing;
197 metrics.bearing_y = 0;
198 metrics.advance = loader->advance;
199 metrics.advance_v = 0;
203 glyph_index, FALSE, &metrics );
1968 FT_Incremental_MetricsRec metrics; local
2032 TT_SBit_MetricsRec metrics; local
[all...]
H A Dttinterp.h185 FT_Size_Metrics metrics; member in struct:TT_ExecContextRec_
186 TT_Size_Metrics tt_metrics; /* size metrics */
/external/skia/src/ports/
H A DSkScalerContext_win_dw.cpp256 // If the user requested aliased, do so with aliased compatible metrics.
274 // render high quality rotated glyphs but measure using bitmap metrics.
293 // The normal case is to use natural symmetric rendering and linear metrics.
347 "Could not get gdi compatible glyph metrics.");
350 "Could not get design metrics.");
363 // DirectWrite produced 'compatible' metrics, but while close,
469 void SkScalerContext_DW::generateFontMetrics(SkPaint::FontMetrics* metrics) { argument
470 if (NULL == metrics) {
474 sk_bzero(metrics, sizeof(*metrics));
[all...]
/external/webrtc/src/modules/audio_processing/aec/
H A Decho_cancellation.c702 WebRtc_Word32 WebRtcAec_GetMetrics(void *aecInst, AecMetrics *metrics) argument
713 if (metrics == NULL) {
724 metrics->erl.instant = (short) aecpc->aec->erl.instant;
729 metrics->erl.average = (short) dtmp;
732 metrics->erl.average = offsetLevel;
735 metrics->erl.max = (short) aecpc->aec->erl.max;
738 metrics->erl.min = (short) aecpc->aec->erl.min;
741 metrics->erl.min = offsetLevel;
745 metrics->erle.instant = (short) aecpc->aec->erle.instant;
750 metrics
[all...]
/external/webrtc/src/modules/audio_processing/test/
H A Dprocess_test.cc120 printf("\n Level metrics (enabled by default)\n");
892 printf("\n--Level metrics--\n");
896 EchoCancellation::Metrics metrics; local
897 apm->echo_cancellation()->GetMetrics(&metrics);
898 printf("\n--Echo metrics--\n");
901 PrintStat(metrics.echo_return_loss);
903 PrintStat(metrics.echo_return_loss_enhancement);
905 PrintStat(metrics.a_nlp);
911 printf("\n--Delay metrics--\n");
H A Dunit_test.cc512 EchoCancellation::Metrics metrics; local
514 apm_->echo_cancellation()->GetMetrics(&metrics));
/external/freetype/src/autofit/
H A Dafcjk.c70 af_cjk_metrics_init_widths( AF_CJKMetrics metrics, argument
81 af_style_names[metrics->root.style_class->style] ));
85 metrics->axis[AF_DIMENSION_HORZ].width_count = 0;
86 metrics->axis[AF_DIMENSION_VERT].width_count = 0;
97 AF_FaceGlobals globals = metrics->root.globals;
100 AF_StyleClass style_class = metrics->root.style_class;
108 af_get_char_index( &metrics->root,
117 af_get_char_index( &metrics->root,
126 af_get_char_index( &metrics->root,
150 dummy->units_per_em = metrics
257 af_cjk_metrics_init_blues( AF_CJKMetrics metrics, FT_Face face ) argument
512 af_cjk_metrics_check_digits( AF_CJKMetrics metrics, FT_Face face ) argument
584 af_cjk_metrics_scale_dim( AF_CJKMetrics metrics, AF_Scaler scaler, AF_Dimension dim ) argument
679 af_cjk_metrics_scale( AF_CJKMetrics metrics, AF_Scaler scaler ) argument
1194 af_cjk_hints_compute_blue_edges( AF_GlyphHints hints, AF_CJKMetrics metrics, AF_Dimension dim ) argument
1417 AF_CJKMetrics metrics = (AF_CJKMetrics)hints->metrics; local
[all...]
H A Daflatin.c57 af_latin_metrics_init_widths( AF_LatinMetrics metrics, argument
68 af_style_names[metrics->root.style_class->style] ));
72 metrics->axis[AF_DIMENSION_HORZ].width_count = 0;
73 metrics->axis[AF_DIMENSION_VERT].width_count = 0;
84 AF_FaceGlobals globals = metrics->root.globals;
87 AF_StyleClass style_class = metrics->root.style_class;
102 af_get_char_index( &metrics->root,
111 af_get_char_index( &metrics->root,
120 af_get_char_index( &metrics->root,
144 dummy->units_per_em = metrics
258 af_latin_metrics_init_blues( AF_LatinMetrics metrics, FT_Face face ) argument
816 af_latin_metrics_check_digits( AF_LatinMetrics metrics, FT_Face face ) argument
888 af_latin_metrics_scale_dim( AF_LatinMetrics metrics, AF_Scaler scaler, AF_Dimension dim ) argument
1131 af_latin_metrics_scale( AF_LatinMetrics metrics, AF_Scaler scaler ) argument
2087 AF_LatinMetrics metrics = (AF_LatinMetrics)hints->metrics; local
[all...]
H A Daflatin2.c59 af_latin2_metrics_init_widths( AF_LatinMetrics metrics, argument
68 metrics->axis[AF_DIMENSION_HORZ].width_count = 0;
69 metrics->axis[AF_DIMENSION_VERT].width_count = 0;
81 metrics->root.style_class->standard_char );
91 dummy->units_per_em = metrics->units_per_em;
106 AF_LatinAxis axis = &metrics->axis[dim];
149 AF_LatinAxis axis = &metrics->axis[dim];
155 : AF_LATIN_CONSTANT( metrics, 50 );
185 af_latin2_metrics_init_blues( AF_LatinMetrics metrics, argument
195 AF_LatinAxis axis = &metrics
430 af_latin2_metrics_check_digits( AF_LatinMetrics metrics, FT_Face face ) argument
516 af_latin2_metrics_scale_dim( AF_LatinMetrics metrics, AF_Scaler scaler, AF_Dimension dim ) argument
684 af_latin2_metrics_scale( AF_LatinMetrics metrics, AF_Scaler scaler ) argument
1631 AF_LatinMetrics metrics = (AF_LatinMetrics) hints->metrics; local
[all...]
/external/libnl/lib/route/
H A Droute_obj.c264 nl_dump_line(p, " metrics [");
473 __ADD(ROUTE_ATTR_METRICS, metrics)
1082 struct nlattr *metrics; local
1127 metrics = nla_nest_start(msg, RTA_METRICS);
1128 if (metrics == NULL)
1136 nla_nest_end(msg, metrics);
/external/skia/src/core/
H A DSkRecordDraw.cpp530 SkPaint::FontMetrics metrics; local
531 paint.getFontMetrics(&metrics);
532 correct.fLeft += metrics.fXMin;
533 correct.fTop += metrics.fTop;
534 correct.fRight += metrics.fXMax;
535 correct.fBottom += metrics.fBottom;
540 metrics.fXMin, metrics.fTop, metrics.fXMax, metrics
[all...]
/external/emma/lib/
H A Demma_ant.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/vladium/ com/vladium/emma/ com/vladium/emma/ANTMain ...
/external/freetype/include/
H A Dfreetype.h269 /* A structure used to model the metrics of a single glyph. The */
331 /* This structure models the metrics of a bitmap strike (i.e., a set */
511 /* metrics. */
541 /* i.e., the glyph's metrics, its image (bitmap or outline), and */
993 /* vertical metrics. Only relevant for */
1103 /* Indicates that the face contains horizontal glyph metrics. This */
1107 /* Indicates that the face contains vertical glyph metrics. This */
1200 * horizontal metrics (this is true for all font formats though).
1203 * @FT_HAS_VERTICAL can be used to check for vertical metrics.
1217 * vertical metrics (an
1521 FT_Size_Metrics metrics; /* size metrics */ member in struct:FT_SizeRec_
1734 FT_Glyph_Metrics metrics; member in struct:FT_GlyphSlotRec_
[all...]
/external/freetype/src/base/
H A Dftobjs.c344 FT_ZERO( &slot->metrics );
551 FT_Glyph_Metrics* metrics = &slot->metrics; local
557 metrics->horiBearingX = FT_PIX_FLOOR( metrics->horiBearingX );
558 metrics->horiBearingY = FT_PIX_CEIL ( metrics->horiBearingY );
560 right = FT_PIX_CEIL( metrics->vertBearingX + metrics->width );
561 bottom = FT_PIX_CEIL( metrics
770 FT_Size_Metrics* metrics = &face->size->metrics; local
2601 ft_synthesize_vertical_metrics( FT_Glyph_Metrics* metrics, FT_Pos advance ) argument
2664 FT_Size_Metrics* metrics; local
2711 FT_Size_Metrics* metrics; local
2853 FT_Size_Metrics* metrics = &face->size->metrics; local
2907 FT_Size_Metrics* metrics = &face->size->metrics; local
[all...]
/external/freetype/src/cff/
H A Dcffgload.c2650 glyph->x_scale = size->root.metrics.x_scale;
2651 glyph->y_scale = size->root.metrics.y_scale;
2671 TT_SBit_MetricsRec metrics; local
2680 &metrics );
2692 glyph->root.metrics.width = (FT_Pos)metrics.width << 6;
2693 glyph->root.metrics.height = (FT_Pos)metrics.height << 6;
2695 glyph->root.metrics.horiBearingX = (FT_Pos)metrics
2910 FT_Incremental_MetricsRec metrics; local
2951 FT_Glyph_Metrics* metrics = &glyph->root.metrics; local
[all...]
/external/pdfium/third_party/freetype/include/
H A Dfreetype.h269 /* A structure used to model the metrics of a single glyph. The */
331 /* This structure models the metrics of a bitmap strike (i.e., a set */
500 /* metrics. */
530 /* i.e., the glyph's metrics, its image (bitmap or outline), and */
973 /* vertical metrics. Only relevant for */
1083 /* Indicates that the face contains horizontal glyph metrics. This */
1087 /* Indicates that the face contains vertical glyph metrics. This */
1180 * horizontal metrics (this is true for all font formats though).
1183 * @FT_HAS_VERTICAL can be used to check for vertical metrics.
1197 * vertical metrics (an
1501 FT_Size_Metrics metrics; /* size metrics */ member in struct:FT_SizeRec_
1714 FT_Glyph_Metrics metrics; member in struct:FT_GlyphSlotRec_
[all...]
/external/pdfium/third_party/freetype/src/base/
H A Dftobjs.c344 FT_ZERO( &slot->metrics );
551 FT_Glyph_Metrics* metrics = &slot->metrics; local
557 metrics->horiBearingX = FT_PIX_FLOOR( metrics->horiBearingX );
558 metrics->horiBearingY = FT_PIX_CEIL ( metrics->horiBearingY );
560 right = FT_PIX_CEIL( metrics->vertBearingX + metrics->width );
561 bottom = FT_PIX_CEIL( metrics
770 FT_Size_Metrics* metrics = &face->size->metrics; local
2605 ft_synthesize_vertical_metrics( FT_Glyph_Metrics* metrics, FT_Pos advance ) argument
2668 FT_Size_Metrics* metrics; local
2715 FT_Size_Metrics* metrics; local
2857 FT_Size_Metrics* metrics = &face->size->metrics; local
2911 FT_Size_Metrics* metrics = &face->size->metrics; local
[all...]

Completed in 4685 milliseconds

1234