Home
last modified time | relevance | path

Searched refs:font_size (Results 1 – 25 of 43) sorted by relevance

12

/third_party/skia/third_party/externals/sfntly/cpp/src/sample/chromium/
Dfont_subsetter.cc23 size_t font_size, in SubsetFont() argument
28 original_font == NULL || font_size == 0 || in SubsetFont()
34 if (!subsetter.LoadFont(font_name, original_font, font_size)) { in SubsetFont()
43 size_t font_size, in SubsetFont() argument
48 original_font == NULL || font_size == 0 || in SubsetFont()
54 if (!subsetter.LoadFont(font_index, original_font, font_size)) { in SubsetFont()
Dfont_subsetter.h45 size_t font_size,
69 size_t font_size,
Dsubsetter_impl.h59 size_t font_size);
62 size_t font_size);
Dsubsetter_impl.cc630 size_t font_size) { in LoadFont() argument
632 mis.Attach(original_font, font_size); in LoadFont()
648 size_t font_size) { in LoadFont() argument
650 mis.Attach(original_font, font_size); in LoadFont()
/third_party/ffmpeg/libavcodec/
Dass.c31 const char *font, int font_size, in ff_ass_subtitle_header_full() argument
73 play_res_x, play_res_y, font, font_size, in ff_ass_subtitle_header_full()
84 const char *font, int font_size, in ff_ass_subtitle_header() argument
91 font, font_size, color, color, in ff_ass_subtitle_header()
Dass.h73 const char *font, int font_size,
94 const char *font, int font_size,
Dlibaribb24.c65 unsigned int font_size = 0; in libaribb24_generate_ass_header() local
71 font_size = get_profile_font_size(avctx->profile); in libaribb24_generate_ass_header()
76 font_size = get_profile_font_size(avctx->profile); in libaribb24_generate_ass_header()
119 ASS_DEFAULT_FONT, font_size, ASS_DEFAULT_COLOR, in libaribb24_generate_ass_header()
Dass_split.h42 int font_size; /**< font height */ member
165 void (*font_size)(void *priv, int size); member
Dsrtenc.c100 st->font_size != ASS_DEFAULT_FONT_SIZE || in srt_style_apply()
105 if (st->font_size != ASS_DEFAULT_FONT_SIZE) in srt_style_apply()
106 srt_print(s, " size=\"%d\"", st->font_size); in srt_style_apply()
217 .font_size = srt_font_size_cb,
Dmicrodvddec.c326 int font_size = ASS_DEFAULT_FONT_SIZE; in microdvd_init() local
354 case 's': font_size = tags[i].data1; break; in microdvd_init()
365 return ff_ass_subtitle_header(avctx, font_buf.str, font_size, color, in microdvd_init()
Dass_split.c69 {"Fontsize", ASS_INT, offsetof(ASSStyle, font_size) },
101 {"Fontsize", ASS_INT, offsetof(ASSStyle, font_size) },
542 if (callbacks->font_size) in ff_ass_split_override_codes()
543 callbacks->font_size(priv, size); in ff_ass_split_override_codes()
Dmovtextenc.c236 s->d.style_fontsize = FONTSIZE_SCALE(s, style->font_size); in encode_sample_description()
559 mov_text_font_size_set(s, style->font_size); in mov_text_ass_style_set()
633 .font_size = mov_text_font_size_cb,
Dwebvttenc.c150 .font_size = NULL,
/third_party/skia/tools/
Dusing_skia_and_harfbuzz.cpp115 DoubleOption font_size = DoubleOption("-z", "Font size", 8.0f); member
125 &keywords, &creator, &font_file, &font_size, &left_margin, in Config()
141 font.setSize(SkDoubleToScalar(config->font_size.value)); in Placement()
152 (current_y > config->line_spacing_ratio.value * config->font_size.value && in WriteLine()
163 current_y = config->line_spacing_ratio.value * config->font_size.value; in WriteLine()
169 current_y += endPoint.y() + config->line_spacing_ratio.value * config->font_size.value; in WriteLine()
/third_party/gstreamer/gstplugins_base/gst/subparse/
Dqttextparse.c49 gint font_size; member
73 context->font_size = 12; in qttext_context_init()
223 context->font_size = 12; in qttext_parse_tag()
226 context->font_size = aux; in qttext_parse_tag()
339 context->font_size); in qttext_open_markup()
341 g_string_append_printf (state->buf, " font='%d'", context->font_size); in qttext_open_markup()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-uniscribe.cc479 unsigned int font_size) in populate_log_font() argument
482 lf->lfHeight = - (int) font_size; in populate_log_font()
497 int font_size = font->face->get_upem (); /* Default... */ in _hb_uniscribe_shaper_font_data_create() local
500 font_size = font->y_ppem; in _hb_uniscribe_shaper_font_data_create()
502 if (font_size < 0) in _hb_uniscribe_shaper_font_data_create()
503 font_size = -font_size; in _hb_uniscribe_shaper_font_data_create()
504 data->x_mult = (double) font->x_scale / font_size; in _hb_uniscribe_shaper_font_data_create()
505 data->y_mult = (double) font->y_scale / font_size; in _hb_uniscribe_shaper_font_data_create()
509 if (unlikely (!populate_log_font (&data->log_font, font, font_size))) { in _hb_uniscribe_shaper_font_data_create()
Dhb-coretext.cc147 create_ct_font (CGFontRef cg_font, CGFloat font_size) in create_ct_font() argument
166 ct_font = CTFontCreateUIFontForLanguage (font_type, font_size, nullptr); in create_ct_font()
178 ct_font = CTFontCreateWithGraphicsFont (cg_font, font_size, nullptr, nullptr); in create_ct_font()
326 CGFloat font_size = (CGFloat) (font->ptem <= 0.f ? HB_CORETEXT_DEFAULT_FONT_SIZE : font->ptem); in _hb_coretext_shaper_font_data_create() local
327 CTFontRef ct_font = create_ct_font (cg_font, font_size); in _hb_coretext_shaper_font_data_create()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
Dgen_overlay_widgets.py243 font_size = '0'
252 font_size = widget.font
289 font_size=font_size,
Dgen_overlay_fonts.py172 for font_name, font_size in font_defs:
175 face.set_char_size(font_size << 6)
/third_party/rust/crates/codespan/codespan-reporting/examples/
Dreadme_preview.rs96 let font_size = 12; in main() localVariable
99 let height = padding + num_lines * (font_size + line_spacing) + padding; in main()
161 font_size = font_size, in main()
/third_party/skia/third_party/externals/freetype/src/tools/ftrandom/
Dftrandom.c89 static FT_F26Dot6 font_size = 12 * 64; variable
178 FT_Set_Char_Size( face, 0, font_size, 72, 72 ); in TestFace()
671 font_size = (FT_F26Dot6)( strtod( argv[++i], &end ) * 64 ); in main()
672 if ( *end != '\0' || font_size < 64 ) in main()
/third_party/gstreamer/gstplugins_bad/ext/ttml/
Dgstttmlrender.c1392 gchar *ret, *font_family, *font_size, *fgcolor; in gst_ttml_render_generate_pango_markup() local
1397 font_size = g_strdup_printf ("%u", font_height); in gst_ttml_render_generate_pango_markup()
1411 "font=\"", font_size, "px\" ", in gst_ttml_render_generate_pango_markup()
1419 g_free (font_size); in gst_ttml_render_generate_pango_markup()
1433 GstSubtitleStyleSet * style_set, guint font_size) in gst_ttml_render_get_pango_font_metrics() argument
1439 string = gst_ttml_render_generate_pango_markup (style_set, font_size, in gst_ttml_render_get_pango_font_metrics()
1462 (guint) ceil (element->style_set->font_size * render->height); in gst_ttml_render_get_pango_font_size()
1463 guint font_size = desired_font_size; in gst_ttml_render_get_pango_font_size() local
1470 font_size); in gst_ttml_render_get_pango_font_size()
1472 --font_size; in gst_ttml_render_get_pango_font_size()
[all …]
Dsubtitle.h381 gdouble font_size; member
Dsubtitle.c71 ret->font_size = 1.0; in gst_subtitle_style_set_new()
/third_party/gstreamer/gstplugins_base/ext/pango/
Dgsttextrender.c242 gint font_size = pango_font_description_get_size (desc) / PANGO_SCALE; in gst_text_render_adjust_values_with_fontdesc() local
244 render->shadow_offset = (double) (font_size) / 13.0; in gst_text_render_adjust_values_with_fontdesc()
245 render->outline_offset = (double) (font_size) / 15.0; in gst_text_render_adjust_values_with_fontdesc()

12