/external/chromium_org/third_party/freetype/include/freetype/internal/ |
H A D | sfnt.h | 81 /* the common SFNT tables (head, OS/2, maxp, metrics, etc.) in the */ 219 /* Get the big metrics for a given embedded bitmap. */ 227 /* big_metrics :: A big SBit metrics structure for the glyph. */ 236 /* If the image format uses variable metrics, the stream cursor is */ 237 /* positioned just after the metrics header in the `EBDT' table on */ 243 TT_SBit_Metrics metrics ); 253 /* returns its metrics. */ 276 /* A big sbit metrics structure for the glyph image. */ 327 /* Load the metrics of a given strike. */ 335 /* metrics [all...] |
H A D | tttypes.h | 146 /* A structure modeling the long metrics of the `hmtx' and `vmtx' */ 168 /* A simple type to model the short metrics of the `hmtx' and `vmtx' */ 333 /* A structure used to hold the big metrics of a given glyph bitmap */ 376 /* A structure used to hold the small metrics of a given glyph bitmap */ 409 /* A structure used to describe the text line metrics of a given */ 496 /* metrics for each glyph bitmap. */ 518 TT_SBit_MetricsRec metrics; member in struct:TT_SBit_RangeRec_ 551 /* hori :: The line metrics for horizontal layouts. */ 553 /* vert :: The line metrics for vertical layouts. */ 629 /* hori :: The horizontal line metrics [all...] |
/external/chromium_org/third_party/freetype/src/autofit/ |
H A D | afcjk.c | 69 af_cjk_metrics_init_widths( AF_CJKMetrics metrics, argument 78 metrics->axis[AF_DIMENSION_HORZ].width_count = 0; 79 metrics->axis[AF_DIMENSION_VERT].width_count = 0; 90 metrics->root.clazz->standard_char ); 100 dummy->units_per_em = metrics->units_per_em; 119 AF_CJKAxis axis = &metrics->axis[dim]; 163 AF_CJKAxis axis = &metrics->axis[dim]; 168 : AF_LATIN_CONSTANT( metrics, 50 ); 267 af_cjk_metrics_init_blues( AF_CJKMetrics metrics, argument 450 axis = &metrics 505 af_cjk_metrics_check_digits( AF_CJKMetrics metrics, FT_Face face ) argument 575 af_cjk_metrics_scale_dim( AF_CJKMetrics metrics, AF_Scaler scaler, AF_Dimension dim ) argument 667 af_cjk_metrics_scale( AF_CJKMetrics metrics, AF_Scaler scaler ) argument 1175 af_cjk_hints_compute_blue_edges( AF_GlyphHints hints, AF_CJKMetrics metrics, AF_Dimension dim ) argument 1388 AF_CJKMetrics metrics = (AF_CJKMetrics) hints->metrics; local [all...] |
H A D | afcjk.h | 33 /* CJK (global) metrics management */ 86 /* used for horizontal metrics too for CJK */ 108 af_cjk_metrics_init( AF_CJKMetrics metrics, 112 af_cjk_metrics_scale( AF_CJKMetrics metrics, 117 AF_CJKMetrics metrics ); 122 AF_CJKMetrics metrics ); 126 af_cjk_metrics_check_digits( AF_CJKMetrics metrics, 130 af_cjk_metrics_init_widths( AF_CJKMetrics metrics,
|
H A D | afdummy.c | 27 AF_ScriptMetrics metrics ) 30 metrics );
|
H A D | afglobal.c | 205 if ( globals->metrics[nn] ) 210 FT_ASSERT( globals->metrics[nn]->clazz == clazz ); 213 clazz->script_metrics_done( globals->metrics[nn] ); 215 FT_FREE( globals->metrics[nn] ); 234 AF_ScriptMetrics metrics = NULL; local 257 metrics = globals->metrics[clazz->script]; 258 if ( metrics == NULL ) 260 /* create the global metrics object if necessary */ 264 if ( FT_ALLOC( metrics, claz [all...] |
H A D | afglobal.h | 71 AF_ScriptMetrics metrics[AF_SCRIPT_MAX]; member in struct:AF_FaceGlobalsRec_
|
H A D | afhints.c | 578 /* Reset metrics. */ 582 AF_ScriptMetrics metrics ) 584 hints->metrics = metrics; 585 hints->scaler_flags = metrics->scaler.flags; 630 * hint metrics appropriately
|
H A D | afhints.h | 76 * `fake' segments that are generated to hint metrics appropriately, 354 AF_ScriptMetrics metrics; member in struct:AF_GlyphHintsRec_ 420 AF_ScriptMetrics metrics );
|
H A D | afindic.c | 36 af_indic_metrics_init( AF_CJKMetrics metrics, argument 43 metrics->units_per_em = face->units_per_EM; 49 af_cjk_metrics_init_widths( metrics, face ); 52 af_cjk_metrics_init_blues( metrics, face, af_cjk_blue_chars ); 54 af_cjk_metrics_check_digits( metrics, face ); 64 af_indic_metrics_scale( AF_CJKMetrics metrics, argument 68 af_cjk_metrics_scale( metrics, scaler ); 74 AF_CJKMetrics metrics ) 77 return af_cjk_hints_init( hints, metrics ); 84 AF_CJKMetrics metrics ) [all...] |
H A D | aflatin.c | 56 af_latin_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; 80 metrics->root.clazz->standard_char ); 85 metrics->root.clazz->standard_char, glyph_index )); 93 dummy->units_per_em = metrics->units_per_em; 112 AF_LatinAxis axis = &metrics->axis[dim]; 158 AF_LatinAxis axis = &metrics->axis[dim]; 164 : AF_LATIN_CONSTANT( metrics, 50 ); 216 af_latin_metrics_init_blues( AF_LatinMetrics metrics, argument 501 af_latin_metrics_check_digits( AF_LatinMetrics metrics, FT_Face face ) argument 572 af_latin_metrics_scale_dim( AF_LatinMetrics metrics, AF_Scaler scaler, AF_Dimension dim ) argument 769 af_latin_metrics_scale( AF_LatinMetrics metrics, AF_Scaler scaler ) argument 1657 AF_LatinMetrics metrics = (AF_LatinMetrics) hints->metrics; local [all...] |
H A D | aflatin.h | 34 #define AF_LATIN_CONSTANT( metrics, c ) \ 35 ( ( (c) * (FT_Long)( (AF_LatinMetrics)(metrics) )->units_per_em ) / 2048 ) 54 /* Latin (global) metrics management */ 107 /* ignored for horizontal metrics */ 127 af_latin_metrics_init( AF_LatinMetrics metrics, 131 af_latin_metrics_scale( AF_LatinMetrics metrics, 135 af_latin_metrics_init_widths( AF_LatinMetrics metrics, 139 af_latin_metrics_check_digits( AF_LatinMetrics metrics,
|
H A D | aflatin2.c | 59 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; 80 metrics->root.clazz->standard_char ); 90 dummy->units_per_em = metrics->units_per_em; 105 AF_LatinAxis axis = &metrics->axis[dim]; 148 AF_LatinAxis axis = &metrics->axis[dim]; 154 : AF_LATIN_CONSTANT( metrics, 50 ); 184 af_latin2_metrics_init_blues( AF_LatinMetrics metrics, argument 194 AF_LatinAxis axis = &metrics 429 af_latin2_metrics_check_digits( AF_LatinMetrics metrics, FT_Face face ) argument 515 af_latin2_metrics_scale_dim( AF_LatinMetrics metrics, AF_Scaler scaler, AF_Dimension dim ) argument 683 af_latin2_metrics_scale( AF_LatinMetrics metrics, AF_Scaler scaler ) argument 1630 AF_LatinMetrics metrics = (AF_LatinMetrics) hints->metrics; local [all...] |
H A D | afloader.c | 111 AF_ScriptMetrics metrics = loader->metrics; local 173 loader->pp2.x = FT_MulFix( slot->metrics.horiAdvance, 183 if ( metrics->clazz->script_hints_apply ) 184 metrics->clazz->script_hints_apply( hints, 186 metrics ); 188 /* we now need to adjust the metrics according to the change in */ 400 vvector.x = slot->metrics.vertBearingX - slot->metrics.horiBearingX; 401 vvector.y = slot->metrics 521 AF_ScriptMetrics metrics; local [all...] |
H A D | afloader.h | 47 AF_ScriptMetrics metrics; member in struct:AF_LoaderRec_
|
H A D | aftypes.h | 216 * - A specific global analyzer that will compute global metrics 262 /* This function parses an FT_Face to compute global metrics for 266 (*AF_Script_InitMetricsFunc)( AF_ScriptMetrics metrics, 270 (*AF_Script_ScaleMetricsFunc)( AF_ScriptMetrics metrics, 274 (*AF_Script_DoneMetricsFunc)( AF_ScriptMetrics metrics ); 279 AF_ScriptMetrics metrics ); 284 AF_ScriptMetrics metrics );
|
/external/chromium_org/third_party/freetype/src/base/ |
H A D | ftadvanc.c | 43 scale = face->size->metrics.y_scale; 45 scale = face->size->metrics.x_scale;
|
H A D | ftobjs.c | 346 FT_ZERO( &slot->metrics ); 548 FT_Glyph_Metrics* metrics = &slot->metrics; local 554 metrics->horiBearingX = FT_PIX_FLOOR( metrics->horiBearingX ); 555 metrics->horiBearingY = FT_PIX_CEIL ( metrics->horiBearingY ); 557 right = FT_PIX_CEIL( metrics->vertBearingX + metrics->width ); 558 bottom = FT_PIX_CEIL( metrics 760 FT_Size_Metrics* metrics = &face->size->metrics; local 2560 ft_synthesize_vertical_metrics( FT_Glyph_Metrics* metrics, FT_Pos advance ) argument 2623 FT_Size_Metrics* metrics; local 2670 FT_Size_Metrics* metrics; local 2812 FT_Size_Metrics* metrics = &face->size->metrics; local 2866 FT_Size_Metrics* metrics = &face->size->metrics; local [all...] |
H A D | ftsynth.c | 99 face->size->metrics.y_scale ) / 24; 142 slot->metrics.width += xstr; 143 slot->metrics.height += ystr; 144 slot->metrics.horiAdvance += xstr; 145 slot->metrics.vertAdvance += ystr;
|
/external/chromium_org/third_party/freetype/src/cff/ |
H A D | cf2ft.c | 383 FT_ASSERT( decoder->builder.face->root.size->metrics.y_ppem ); 386 decoder->builder.face->root.size->metrics.y_ppem );
|
H A D | cffgload.c | 2650 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 2901 FT_Incremental_MetricsRec metrics; local 2942 FT_Glyph_Metrics* metrics = &glyph->root.metrics; local [all...] |
H A D | cffobjs.c | 234 size->metrics.x_scale, size->metrics.y_scale, 246 x_scale = FT_MulDiv( size->metrics.x_scale, top_upm, sub_upm ); 247 y_scale = FT_MulDiv( size->metrics.y_scale, top_upm, sub_upm ); 251 x_scale = size->metrics.x_scale; 252 y_scale = size->metrics.y_scale; 306 size->metrics.x_scale, size->metrics.y_scale, 318 x_scale = FT_MulDiv( size->metrics.x_scale, top_upm, sub_upm ); 319 y_scale = FT_MulDiv( size->metrics [all...] |
/external/chromium_org/third_party/freetype/src/sfnt/ |
H A D | pngshim.c | 182 TT_SBit_Metrics metrics, 199 if ( x_offset < 0 || x_offset + metrics->width > map->width || 200 y_offset < 0 || y_offset + metrics->height > map->rows || 242 (FT_Int)imgWidth != metrics->width || 243 (FT_Int)imgHeight != metrics->height ) 178 Load_SBit_Png( FT_Bitmap* map, FT_Int x_offset, FT_Int y_offset, FT_Int pix_bits, TT_SBit_Metrics metrics, FT_Memory memory, FT_Byte* data, FT_UInt png_len ) argument
|
H A D | pngshim.h | 36 TT_SBit_Metrics metrics,
|
H A D | sfobjs.c | 590 /* vertical metrics tables (i.e. `hhea' and `vhea' tables are */ 650 /* do not load the metrics headers and tables if this is an Apple */ 665 /* overriding metrics, tolerate a missing `hmtx' table. */ 692 /* overriding metrics, tolerate a missing `hhea' table. */ 929 FT_Size_Metrics metrics; local 946 error = sfnt->load_strike_metrics( face, i, &metrics ); 950 bsize->height = (FT_Short)( metrics.height >> 6 ); 952 ( avgwidth * metrics.x_ppem + em_size / 2 ) / em_size ); 954 bsize->x_ppem = metrics.x_ppem << 6; 955 bsize->y_ppem = metrics [all...] |