Home
last modified time | relevance | path

Searched refs:font_opts (Results 1 – 9 of 9) sorted by relevance

/external/harfbuzz_ng/util/
Dmain-font-text.hh71 font_opts (&options, default_font_size, subpixel_bits), in main_font_text_t()
81 … if (argc && !font_opts.font_file) font_opts.font_file = locale_to_utf8 (argv[0]), argc--, argv++; in main()
85 if (!font_opts.font_file) in main()
90 consumer.init (&font_opts); in main()
101 consumer.finish (&font_opts); in main()
108 font_options_t font_opts; member
Dshape-consumer.hh42 void init (const font_options_t *font_opts) in init()
44 font = hb_font_reference (font_opts->get_font ()); in init()
45 output.init (font_opts); in init()
71 void finish (const font_options_t *font_opts) in finish()
73 output.finish (font_opts); in finish()
Dview-cairo.hh46 void init (const font_options_t *font_opts) in init()
49 scale_bits = -font_opts->subpixel_bits; in init()
77 void finish (const font_options_t *font_opts) in finish()
79 render (font_opts); in finish()
97 void render (const font_options_t *font_opts);
Dview-cairo.cc33 view_cairo_t::render (const font_options_t *font_opts) in render() argument
39 int x_sign = font_opts->font_size_x < 0 ? -1 : +1; in render()
40 int y_sign = font_opts->font_size_y < 0 ? -1 : +1; in render()
42 hb_font_t *font = font_opts->get_font(); in render()
65 cairo_scaled_font_t *scaled_font = helper_cairo_create_scaled_font (font_opts); in render()
Dhb-ot-shape-closure.cc56 void init (const font_options_t *font_opts) in init()
59 font = hb_font_reference (font_opts->get_font ()); in init()
91 void finish (const font_options_t *font_opts) in finish()
Dhb-shape.cc40 void init (const font_options_t *font_opts) in init()
45 font = hb_font_reference (font_opts->get_font ()); in init()
109 void finish (const font_options_t *font_opts) in finish()
Dhelper-cairo.cc73 helper_cairo_create_scaled_font (const font_options_t *font_opts) in helper_cairo_create_scaled_font() argument
75 hb_font_t *font = hb_font_reference (font_opts->get_font ()); in helper_cairo_create_scaled_font()
91 font_opts->font_file, in helper_cairo_create_scaled_font()
92 font_opts->face_index, in helper_cairo_create_scaled_font()
109 font_opts->font_size_x, in helper_cairo_create_scaled_font()
110 font_opts->font_size_y); in helper_cairo_create_scaled_font()
Doptions.cc359 font_options_t *font_opts = (font_options_t *) data; in parse_font_size() local
362 font_opts->font_size_y = font_opts->font_size_x = FONT_SIZE_UPEM; in parse_font_size()
365 switch (sscanf (arg, "%lf%*[ ,]%lf", &font_opts->font_size_x, &font_opts->font_size_y)) { in parse_font_size()
366 case 1: font_opts->font_size_y = font_opts->font_size_x; in parse_font_size()
Dhelper-cairo.hh36 helper_cairo_create_scaled_font (const font_options_t *font_opts);