Home
last modified time | relevance | path

Searched refs:font_size (Results 1 – 25 of 35) 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/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/ffmpeg/libavcodec/
Dass.c30 const char *font, int font_size, in ff_ass_subtitle_header_full() argument
72 play_res_x, play_res_y, font, font_size, in ff_ass_subtitle_header_full()
83 const char *font, int font_size, in ff_ass_subtitle_header() argument
90 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,
Dsrtenc.c103 st->font_size != ASS_DEFAULT_FONT_SIZE || in srt_style_apply()
108 if (st->font_size != ASS_DEFAULT_FONT_SIZE) in srt_style_apply()
109 srt_print(s, " size=\"%d\"", st->font_size); in srt_style_apply()
220 .font_size = srt_font_size_cb,
Dlibaribb24.c66 unsigned int font_size = 0; in libaribb24_generate_ass_header() local
72 font_size = get_profile_font_size(avctx->profile); in libaribb24_generate_ass_header()
77 font_size = get_profile_font_size(avctx->profile); in libaribb24_generate_ass_header()
120 ASS_DEFAULT_FONT, font_size, ASS_DEFAULT_COLOR, in libaribb24_generate_ass_header()
Dass_split.h42 int font_size; /**< font height */ member
149 void (*font_size)(void *priv, int size); member
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()
Dttmlenc.c233 if (style.font_size < 0) { in ttml_write_region()
235 style.font_size); in ttml_write_region()
287 style.font_size); in ttml_write_region()
Dass_split.c77 {"Fontsize", ASS_INT, offsetof(ASSStyle, font_size) },
109 {"Fontsize", ASS_INT, offsetof(ASSStyle, font_size) },
531 if (callbacks->font_size) in ff_ass_split_override_codes()
532 callbacks->font_size(priv, size); in ff_ass_split_override_codes()
Dmovtextenc.c234 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()
631 .font_size = mov_text_font_size_cb,
Dwebvttenc.c151 .font_size = NULL,
/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/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/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/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/python/Lib/idlelib/idle_test/
Dtest_configdialog.py132 d.font_size.set('1')
137 self.assertNotEqual(d.font_size.get(), '1')
198 self.assertEqual(d.font_size.get(), '40')
218 d.font_size.set(default_size)
230 d.font_size.set('20')
251 d.font_size.set('5')
/third_party/python/Lib/idlelib/
Dconfigdialog.py335 self.font_size = tracers.add(StringVar(self), self.var_changed_font)
357 self.sizelist = DynOptionMenu(frame_font_param, self.font_size, None)
394 font_size = configured_font[1]
414 font_size)
428 value = self.font_size.get()
453 new_font = (font_name, self.font_size.get(), font_weight)
/third_party/littlefs/scripts/
Dplotmpl.py598 font_size=FONT_SIZE,
697 plt.rc('font', size=font_size)
/third_party/skia/third_party/externals/imgui/
Dimstb_truetype.h605 …kFontRange(stbtt_pack_context *spc, const unsigned char *fontdata, int font_index, float font_size,
622 float font_size; member
3995 float fh = ranges[i].font_size; in stbtt_PackFontRangesGatherRects()
4055 float fh = ranges[i].font_size; in stbtt_PackFontRangesRenderIntoRects()
4168 …kFontRange(stbtt_pack_context *spc, const unsigned char *fontdata, int font_index, float font_size, in stbtt_PackFontRange() argument
4176 range.font_size = font_size; in stbtt_PackFontRange()

12