diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /gfx/cairo/05-ft-font-synth-flags-api.patch | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'gfx/cairo/05-ft-font-synth-flags-api.patch')
-rw-r--r-- | gfx/cairo/05-ft-font-synth-flags-api.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gfx/cairo/05-ft-font-synth-flags-api.patch b/gfx/cairo/05-ft-font-synth-flags-api.patch new file mode 100644 index 0000000000..a234872034 --- /dev/null +++ b/gfx/cairo/05-ft-font-synth-flags-api.patch @@ -0,0 +1,35 @@ +diff --git a/gfx/cairo/cairo/src/cairo-ft-font.c b/gfx/cairo/cairo/src/cairo-ft-font.c +--- a/gfx/cairo/cairo/src/cairo-ft-font.c ++++ b/gfx/cairo/cairo/src/cairo-ft-font.c +@@ -3736,7 +3736,8 @@ cairo_ft_font_face_create_for_pattern (F + **/ + cairo_font_face_t * + cairo_ft_font_face_create_for_ft_face (FT_Face face, +- int load_flags) ++ int load_flags, ++ unsigned int synth_flags) + { + cairo_ft_unscaled_font_t *unscaled; + cairo_font_face_t *font_face; +@@ -3748,7 +3749,7 @@ cairo_ft_font_face_create_for_ft_face (F + return (cairo_font_face_t *)&_cairo_font_face_nil; + + ft_options.load_flags = load_flags; +- ft_options.synth_flags = 0; ++ ft_options.synth_flags = synth_flags; + _cairo_font_options_init_default (&ft_options.base); + + font_face = _cairo_ft_font_face_create (unscaled, &ft_options); +diff --git a/gfx/cairo/cairo/src/cairo-ft.h b/gfx/cairo/cairo/src/cairo-ft.h +--- a/gfx/cairo/cairo/src/cairo-ft.h ++++ b/gfx/cairo/cairo/src/cairo-ft.h +@@ -54,7 +54,8 @@ CAIRO_BEGIN_DECLS + + cairo_public cairo_font_face_t * + cairo_ft_font_face_create_for_ft_face (FT_Face face, +- int load_flags); ++ int load_flags, ++ unsigned int synth_flags); + + /** + * cairo_ft_synthesize_t: |