diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2021-08-08 10:44:19 +0930 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2022-02-27 15:44:58 +1030 |
commit | 90ca6354722879ab6af980aeb3aed2bab0b2a7af (patch) | |
tree | 2565c7dd52758eb35437e08cd1a593809dc0c336 /src/cairo.h | |
parent | 1a799577b2c7bcd3757211adcc4e46abb3bdfc97 (diff) | |
download | cairo-90ca6354722879ab6af980aeb3aed2bab0b2a7af.tar.gz |
Import win32 dwrite font backend from
https://hg.mozilla.org/mozilla-central/file/7338d7d940913147f8a1b1e8bd2b25ab255f4373/gfx/cairo/cairo/src
and add to the meson build. I've omitted the
cairo_surface_set_subpixel_antialiasing() API and its use in quartz
and dwrite. Not sure if that is needed.
It compiles. Not tested.
Diffstat (limited to 'src/cairo.h')
-rw-r--r-- | src/cairo.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cairo.h b/src/cairo.h index fb1da4146..3aaa7a022 100644 --- a/src/cairo.h +++ b/src/cairo.h @@ -1545,6 +1545,7 @@ cairo_font_face_status (cairo_font_face_t *font_face); * @CAIRO_FONT_TYPE_QUARTZ: The font is of type Quartz (Since: 1.6, in 1.2 and * 1.4 it was named CAIRO_FONT_TYPE_ATSUI) * @CAIRO_FONT_TYPE_USER: The font was create using cairo's user font api (Since: 1.8) + * @CAIRO_FONT_TYPE_DWRITE: The font is of type Win32 DWrite (Since: 1.18) * * #cairo_font_type_t is used to describe the type of a given font * face or scaled font. The font types are also known as "font @@ -1581,7 +1582,8 @@ typedef enum _cairo_font_type { CAIRO_FONT_TYPE_FT, CAIRO_FONT_TYPE_WIN32, CAIRO_FONT_TYPE_QUARTZ, - CAIRO_FONT_TYPE_USER + CAIRO_FONT_TYPE_USER, + CAIRO_FONT_TYPE_DWRITE } cairo_font_type_t; cairo_public cairo_font_type_t |