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);
Doptions.cc263 font_options_t *font_opts = (font_options_t *) data; in parse_variations() local
267 font_opts->num_variations = 0; in parse_variations()
268 g_free (font_opts->variations); in parse_variations()
269 font_opts->variations = NULL; in parse_variations()
277 font_opts->num_variations++; in parse_variations()
283font_opts->variations = (hb_variation_t *) calloc (font_opts->num_variations, sizeof (*font_opts->… in parse_variations()
287 font_opts->num_variations = 0; in parse_variations()
290 …if (hb_variation_from_string (p, end ? end - p : -1, &font_opts->variations[font_opts->num_variati… in parse_variations()
291 font_opts->num_variations++; in parse_variations()
400 font_options_t *font_opts = (font_options_t *) data; in parse_font_size() local
[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.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.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()
127 font_opts->font_size_x, in helper_cairo_create_scaled_font()
128 font_opts->font_size_y); in helper_cairo_create_scaled_font()
Dhelper-cairo.hh36 helper_cairo_create_scaled_font (const font_options_t *font_opts);