diff options
author | Owen Taylor <otaylor@redhat.com> | 2005-07-21 06:52:13 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@redhat.com> | 2005-07-21 06:52:13 +0000 |
commit | 075cf23cdc071b170e591fd07ff6c272d561d3ee (patch) | |
tree | 6a0700fc4c19c94d7bf9acc2c6be6dabe628d569 /src/cairo-ft.h | |
parent | a43c9eb7b0b73493735ffa176154073604da33e6 (diff) | |
download | cairo-075cf23cdc071b170e591fd07ff6c272d561d3ee.tar.gz |
src/cairo-font-options.c src/cairo.h src/cairoint.h src/Makefile.am: Add an opaque cairo_font_options_t structure.
src/cairo-font.c src/cairo.h src/cairoint.h: Add a cairo_font_options_t object to cairo_scaled_font_create().
src/cairo-surface.c src/cairoint.h: Add virtualized cairo_surface_get_font_options() to get the font options for a surface.
Adapt to cairo_scaled_font_create() change.
Add an implementation of get_font_options() that turns off metrics hinting.
src/cairo-xlib-screen.c src/cairo-xlib-private.h: Add a "screen info" structure that holds (for now) information about the default font options for the screen.
Implement get_font_options()
src/cairo-ft-font.c src/cairo-ft.h: Add functions to apply a cairo_font_options_t to a FcPattern or get the load flags for a cairo_font_options_t.
Adapt to font options additions. Add support for non-antialiased rendering of scalable fonts. Add support for turning off metrics hinting.
Adapt to font options additions.
doc/public/Makefile.am doc/public/cairo-sections.txt: Update.
reviewed by: cworth
Diffstat (limited to 'src/cairo-ft.h')
-rw-r--r-- | src/cairo-ft.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cairo-ft.h b/src/cairo-ft.h index 4e8b8bcdb..3a065c02e 100644 --- a/src/cairo-ft.h +++ b/src/cairo-ft.h @@ -52,6 +52,9 @@ CAIRO_BEGIN_DECLS cairo_font_face_t * cairo_ft_font_face_create_for_pattern (FcPattern *pattern); +void cairo_ft_font_options_substitute (const cairo_font_options_t *options, + FcPattern *pattern); + cairo_font_face_t * cairo_ft_font_face_create_for_ft_face (FT_Face face, int load_flags); |