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.hh55 font_opts (&options, default_font_size, subpixel_bits), in main_font_text_t()
65 … if (argc && !font_opts.font_file) font_opts.font_file = locale_to_utf8 (argv[0]), argc--, argv++; in main()
69 if (!font_opts.font_file) in main()
75 consumer.init (buffer, &font_opts); in main()
83 consumer.finish (&font_opts); in main()
90 font_options_t font_opts; member
Dview-cairo.hh47 void init (hb_buffer_t *buffer, const font_options_t *font_opts) in init()
50 scale_bits = -font_opts->subpixel_bits; in init()
75 void finish (hb_buffer_t *buffer, const font_options_t *font_opts) in finish()
77 render (font_opts); in finish()
95 void render (const font_options_t *font_opts);
Dshape-consumer.hh45 const font_options_t *font_opts) in init()
47 font = hb_font_reference (font_opts->get_font ()); in init()
51 output.init (buffer, font_opts); in init()
80 void finish (const font_options_t *font_opts) in finish()
82 output.finish (buffer, font_opts); in finish()
Doptions.cc265 font_options_t *font_opts = (font_options_t *) data; in parse_variations() local
269 font_opts->num_variations = 0; in parse_variations()
270 g_free (font_opts->variations); in parse_variations()
271 font_opts->variations = nullptr; in parse_variations()
279 font_opts->num_variations++; in parse_variations()
285font_opts->variations = (hb_variation_t *) calloc (font_opts->num_variations, sizeof (*font_opts->… in parse_variations()
286 if (!font_opts->variations) in parse_variations()
291 font_opts->num_variations = 0; in parse_variations()
294 …if (hb_variation_from_string (p, end ? end - p : -1, &font_opts->variations[font_opts->num_variati… in parse_variations()
295 font_opts->num_variations++; in parse_variations()
[all …]
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.cc57 const font_options_t *font_opts) in init()
60 font = hb_font_reference (font_opts->get_font ()); in init()
92 void finish (const font_options_t *font_opts) in finish()
Dhb-shape.cc42 void init (hb_buffer_t *buffer, const font_options_t *font_opts) in init()
47 font = hb_font_reference (font_opts->get_font ()); in init()
113 void finish (hb_buffer_t *buffer, const font_options_t *font_opts) in finish()
Dhelper-cairo.cc74 helper_cairo_create_scaled_font (const font_options_t *font_opts) in helper_cairo_create_scaled_font() argument
76 hb_font_t *font = hb_font_reference (font_opts->get_font ()); in helper_cairo_create_scaled_font()
93 font_opts->font_file, in helper_cairo_create_scaled_font()
94 font_opts->face_index, in helper_cairo_create_scaled_font()
129 font_opts->font_size_x, in helper_cairo_create_scaled_font()
130 font_opts->font_size_y); in helper_cairo_create_scaled_font()
Dhelper-cairo.hh37 helper_cairo_create_scaled_font (const font_options_t *font_opts);