Home
last modified time | relevance | path

Searched refs:y_scale (Results 1 – 24 of 24) sorted by relevance

/external/freetype/src/cff/
Dcffobjs.c231 size->metrics.x_scale, size->metrics.y_scale, in cff_size_select()
238 FT_Pos x_scale, y_scale; in cff_size_select() local
244 y_scale = FT_MulDiv( size->metrics.y_scale, top_upm, sub_upm ); in cff_size_select()
249 y_scale = size->metrics.y_scale; in cff_size_select()
253 x_scale, y_scale, 0, 0 ); in cff_size_select()
303 size->metrics.x_scale, size->metrics.y_scale, in cff_size_request()
310 FT_Pos x_scale, y_scale; in cff_size_request() local
316 y_scale = FT_MulDiv( size->metrics.y_scale, top_upm, sub_upm ); in cff_size_request()
321 y_scale = size->metrics.y_scale; in cff_size_request()
325 x_scale, y_scale, 0, 0 ); in cff_size_request()
Dcffgload.c2485 glyph->y_scale = 0x10000L; in cff_slot_load()
2489 glyph->y_scale = size->root.metrics.y_scale; in cff_slot_load()
2578 glyph->y_scale = FT_MulDiv( glyph->y_scale, top_upm, sub_upm ); in cff_slot_load()
2781 FT_Fixed y_scale = glyph->y_scale; in cff_slot_load() local
2789 vec->y = FT_MulFix( vec->y, y_scale ); in cff_slot_load()
2794 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, y_scale ); in cff_slot_load()
Dcffobjs.h79 FT_Fixed y_scale; member
/external/freetype/src/truetype/
Dttgload.c657 loader->exec->metrics.y_scale = 1 << 16; in TT_Hint_Glyph()
665 loader->exec->metrics.y_scale = in TT_Hint_Glyph()
666 ((TT_Size)loader->size)->metrics.y_scale; in TT_Hint_Glyph()
793 FT_Fixed y_scale = ((TT_Size)loader->size)->metrics.y_scale; in TT_Process_Simple_Glyph() local
799 vec->y = FT_MulFix( vec->y, y_scale ); in TT_Process_Simple_Glyph()
953 FT_Fixed y_scale = ((TT_Size)loader->size)->metrics.y_scale; in TT_Process_Composite_Component() local
957 y = FT_MulFix( y, y_scale ); in TT_Process_Composite_Component()
1096 FT_Fixed x_scale, y_scale; in load_truetype_glyph() local
1134 y_scale = ((TT_Size)loader->size)->metrics.y_scale; in load_truetype_glyph()
1139 y_scale = 0x10000L; in load_truetype_glyph()
[all …]
Dttobjs.c440 metrics->y_scale = 0; in tt_size_run_fpgm()
822 metrics->y_scale = FT_DivFix( metrics->y_ppem << 6, in tt_size_reset()
826 FT_PIX_ROUND( FT_MulFix( face->root.ascender, metrics->y_scale ) ); in tt_size_reset()
828 FT_PIX_ROUND( FT_MulFix( face->root.descender, metrics->y_scale ) ); in tt_size_reset()
830 FT_PIX_ROUND( FT_MulFix( face->root.height, metrics->y_scale ) ); in tt_size_reset()
848 size->ttmetrics.scale = metrics->y_scale; in tt_size_reset()
Dttinterp.c4836 if ( CUR.metrics.x_scale == CUR.metrics.y_scale ) in Ins_MD()
4848 vec.y = TT_MULFIX( vec1->y - vec2->y, CUR.metrics.y_scale ); in Ins_MD()
5776 if ( CUR.metrics.x_scale == CUR.metrics.y_scale ) in Ins_MDRP()
5788 vec.y = TT_MULFIX( vec1->y - vec2->y, CUR.metrics.y_scale ); in Ins_MDRP()
/external/freetype/src/autofit/
Daftypes.h219 FT_Fixed y_scale; /* from font units to 1/64th device pixels */ member
230 (a)->y_scale == (b)->y_scale && \
Dafloader.c352 y = FT_MulFix( subglyph->arg2, hints->y_scale ) + hints->y_delta; in af_loader_load_g()
386 vvector.y = FT_MulFix( vvector.y, metrics->scaler.y_scale ); in af_loader_load_g()
443 metrics->scaler.y_scale ); in af_loader_load_g()
486 scaler.y_scale = size->metrics.y_scale; in af_loader_load_glyph()
Dafhints.c561 FT_Fixed y_scale = hints->y_scale; in af_glyph_hints_reload() local
622 hints->y_scale = y_scale; in af_glyph_hints_reload()
653 point->oy = point->y = FT_MulFix( vec->y, y_scale ) + y_delta; in af_glyph_hints_reload()
Daflatin.c69 scaler->x_scale = scaler->y_scale = 0x10000L; in af_latin_metrics_init_widths()
454 scale = scaler->y_scale; in af_latin_metrics_scale_dim()
486 FT_Pos scaled = FT_MulFix( blue->shoot.org, scaler->y_scale ); in af_latin_metrics_scale_dim()
518 metrics->root.scaler.y_scale = scale; in af_latin_metrics_scale_dim()
933 : hints->y_scale; in af_latin_hints_compute_edges()
944 segment_length_threshold = FT_DivFix( 64, hints->y_scale ); in af_latin_hints_compute_edges()
1325 hints->y_scale = metrics->axis[AF_DIMENSION_VERT].scale; in af_latin_hints_init()
Daflatin2.c77 scaler->x_scale = scaler->y_scale = 0x10000L; in af_latin2_metrics_init_widths()
462 scale = scaler->y_scale; in af_latin2_metrics_scale_dim()
495 FT_Pos scaled = FT_MulFix( blue->shoot.org, scaler->y_scale ); in af_latin2_metrics_scale_dim()
517 metrics->root.scaler.y_scale = scale; in af_latin2_metrics_scale_dim()
990 : hints->y_scale; in af_latin2_hints_compute_edges()
1009 segment_length_threshold = FT_DivFix( 64, hints->y_scale ); in af_latin2_hints_compute_edges()
1410 hints->y_scale = metrics->axis[AF_DIMENSION_VERT].scale; in af_latin2_hints_init()
Dafcjk.c88 axis->scale = scaler->y_scale; in af_cjk_metrics_scale_dim()
173 : hints->y_scale; in af_cjk_hints_link_segments()
342 : hints->y_scale; in af_cjk_hints_compute_edges()
617 hints->y_scale = metrics->axis[AF_DIMENSION_VERT].scale; in af_cjk_hints_init()
Dafhints.h195 FT_Fixed y_scale; member
Dafwarp.c156 org_scale = hints->y_scale; in af_warper_compute()
/external/freetype/src/base/
Dftobjs.c716 metrics->y_scale, 64 ); in FT_Load_Glyph()
2419 metrics->y_scale ) ); in ft_recompute_scaled_metrics()
2422 metrics->y_scale ) ); in ft_recompute_scaled_metrics()
2425 metrics->y_scale ) ); in ft_recompute_scaled_metrics()
2431 metrics->y_scale ); in ft_recompute_scaled_metrics()
2434 metrics->y_scale ); in ft_recompute_scaled_metrics()
2437 metrics->y_scale ); in ft_recompute_scaled_metrics()
2463 metrics->y_scale = FT_DivFix( bsize->y_ppem, in FT_Select_Metrics()
2471 metrics->y_scale = 1L << 16; in FT_Select_Metrics()
2516 metrics->y_scale = (FT_Fixed)req->height; in FT_Request_Metrics()
[all …]
Dftsynth.c88 face->size->metrics.y_scale ) / 24; in FT_GlyphSlot_Embolden()
Dftadvanc.c41 scale = face->size->metrics.y_scale; in _ft_face_scale_advances()
/external/freetype/src/pshinter/
Dpshglob.c709 FT_Fixed y_scale, in psh_globals_set_scale() argument
727 if ( y_scale != dim->scale_mult || in psh_globals_set_scale()
730 dim->scale_mult = y_scale; in psh_globals_set_scale()
734 psh_blues_scale_zones( &globals->blues, y_scale, y_delta ); in psh_globals_set_scale()
Dpshglob.h173 FT_Fixed y_scale,
Dpshalgo.c2224 FT_Fixed y_scale = dim_y->scale_mult; in ps_hints_apply() local
2227 FT_Fixed old_y_scale = y_scale; in ps_hints_apply()
2235 scaled = FT_MulFix( globals->blues.normal_top.zones->org_ref, y_scale ); in ps_hints_apply()
2242 y_scale = FT_MulDiv( y_scale, fitted, scaled ); in ps_hints_apply()
2247 psh_globals_set_scale( glyph->globals, x_scale, y_scale, 0, 0 ); in ps_hints_apply()
/external/freetype/include/freetype/internal/
Dpshints.h51 FT_Fixed y_scale,
/external/qemu/android/skin/
Dwindow.c1124 double x_scale, y_scale; in skin_window_resize() local
1132 y_scale = window_h * 1.0 / layout_h; in skin_window_resize()
1134 scale = (x_scale <= y_scale) ? x_scale : y_scale; in skin_window_resize()
/external/webkit/WebCore/platform/graphics/chromium/
DFontLinux.cpp309 font->y_scale = 1; in allocHarfbuzzFont()
/external/freetype/include/freetype/
Dfreetype.h1359 FT_Fixed y_scale; /* units to 26.6 fractional pixels */ member