Home
last modified time | relevance | path

Searched refs:font_opts (Results 1 – 10 of 10) 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
Doptions.cc276 font_options_t *font_opts = (font_options_t *) data; in parse_variations() local
280 font_opts->num_variations = 0; in parse_variations()
281 g_free (font_opts->variations); in parse_variations()
282 font_opts->variations = nullptr; in parse_variations()
290 font_opts->num_variations++; in parse_variations()
296font_opts->variations = (hb_variation_t *) calloc (font_opts->num_variations, sizeof (*font_opts->… in parse_variations()
297 if (!font_opts->variations) in parse_variations()
302 font_opts->num_variations = 0; in parse_variations()
305 …if (hb_variation_from_string (p, end ? end - p : -1, &font_opts->variations[font_opts->num_variati… in parse_variations()
306 font_opts->num_variations++; in parse_variations()
[all …]
Dview-cairo.hh46 void init (hb_buffer_t *buffer, const font_options_t *font_opts) in init()
49 scale_bits = - (int) font_opts->subpixel_bits; in init()
68 void finish (hb_buffer_t *buffer, const font_options_t *font_opts) in finish()
70 render (font_opts); in finish()
88 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()
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-subset.cc43 const font_options_t *font_opts) in init()
45 font = hb_font_reference (font_opts->get_font ()); in init()
90 void finish (const font_options_t *font_opts) in finish()
Dhelper-cairo.cc76 helper_cairo_create_scaled_font (const font_options_t *font_opts) in helper_cairo_create_scaled_font() argument
78 hb_font_t *font = hb_font_reference (font_opts->get_font ()); in helper_cairo_create_scaled_font()
96 const char *blob_data = hb_blob_get_data (font_opts->blob, &blob_length); in helper_cairo_create_scaled_font()
101 font_opts->face_index, in helper_cairo_create_scaled_font()
130 cairo_face = cairo_ft_font_face_create_for_ft_face (ft_face, font_opts->ft_load_flags); in helper_cairo_create_scaled_font()
137 font_opts->font_size_x, in helper_cairo_create_scaled_font()
138 font_opts->font_size_y); in helper_cairo_create_scaled_font()
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()
112 void finish (hb_buffer_t *buffer, const font_options_t *font_opts) in finish()
Dhelper-cairo.hh37 helper_cairo_create_scaled_font (const font_options_t *font_opts);