Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/harfbuzz/util/
Dfont-options.hh149 font_options_t *font_opts = (font_options_t *) data; in parse_variations() local
153 font_opts->num_variations = 0; in parse_variations()
154 g_free (font_opts->variations); in parse_variations()
155 font_opts->variations = nullptr; in parse_variations()
163 font_opts->num_variations++; in parse_variations()
169font_opts->variations = (hb_variation_t *) calloc (font_opts->num_variations, sizeof (*font_opts->… in parse_variations()
170 if (!font_opts->variations) in parse_variations()
175 font_opts->num_variations = 0; in parse_variations()
178 …if (hb_variation_from_string (p, end ? end - p : -1, &font_opts->variations[font_opts->num_variati… in parse_variations()
179 font_opts->num_variations++; in parse_variations()
[all …]
Dview-cairo.hh48 void init (hb_buffer_t *buffer, const font_options_t *font_opts) in init()
51 scale_bits = - (int) font_opts->subpixel_bits; in init()
70 void finish (hb_buffer_t *buffer, const font_options_t *font_opts) in finish()
72 render (font_opts); in finish()
87 void render (const font_options_t *font_opts);
95 view_cairo_t::render (const font_options_t *font_opts) in render() argument
101 int x_sign = font_opts->font_size_x < 0 ? -1 : +1; in render()
102 int y_sign = font_opts->font_size_y < 0 ? -1 : +1; in render()
104 hb_font_t *font = font_opts->font; in render()
135 cairo_scaled_font_t *scaled_font = helper_cairo_create_scaled_font (font_opts); in render()
Dhb-ot-shape-closure.cc55 void init (const font_options_t *font_opts) in init()
58 font = hb_font_reference (font_opts->font); in init()
95 void finish (const font_options_t *font_opts) in finish()
Dhb-shape.cc48 void init (hb_buffer_t *buffer, const font_options_t *font_opts) in init()
52 font = hb_font_reference (font_opts->font); in init()
117 void finish (hb_buffer_t *buffer, const font_options_t *font_opts) in finish()
Dhelper-cairo.hh80 helper_cairo_create_scaled_font (const font_options_t *font_opts) in helper_cairo_create_scaled_font() argument
82 hb_font_t *font = hb_font_reference (font_opts->font); in helper_cairo_create_scaled_font()
100 const char *blob_data = hb_blob_get_data (font_opts->blob, &blob_length); in helper_cairo_create_scaled_font()
105 font_opts->face_index, in helper_cairo_create_scaled_font()
134 cairo_face = cairo_ft_font_face_create_for_ft_face (ft_face, font_opts->ft_load_flags); in helper_cairo_create_scaled_font()
141 font_opts->font_size_x, in helper_cairo_create_scaled_font()
142 font_opts->font_size_y); in helper_cairo_create_scaled_font()
/third_party/chromium/patch/
D0001-cve.patch72037 +helper_cairo_create_ft_font_face (const font_options_t *font_opts)
72055 + const char *blob_data = hb_blob_get_data (font_opts->blob, &blob_length);
72060 + font_opts->face_index,
72075 + const int *coords = hb_font_get_var_coords_normalized (font_opts->font, &num_coords);
72089 + cairo_face = cairo_ft_font_face_create_for_ft_face (ft_face, font_opts->ft_load_flags);
72397 +helper_cairo_create_user_font_face (const font_options_t *font_opts)
72403 + hb_font_reference (font_opts->font),
72408 + hb_face_t *face = hb_font_get_face (font_opts->font);
72463 +helper_cairo_use_hb_draw (const font_options_t *font_opts)
72474 helper_cairo_create_scaled_font (const font_options_t *font_opts)
[all …]