[cairo-commit] src/cairo-deprecated.h
Benjamin Otte
company at kemper.freedesktop.org
Sun Mar 23 07:31:30 PDT 2008
src/cairo-deprecated.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 9a1f7bbc357ecce351b459f883b4ebeaa6640b65
Author: Benjamin Otte <otte at gnome.org>
Date: Sun Mar 23 15:31:24 2008 +0100
[API] unbreak CAIRO_FONT_TYPE_ATSUI
commit 9d61f7db8082baf3a223c4ea41a53de372676e40 broke API by making the
CAIRO_FONT_TYPE_ATSUI symbol not work anymore. However, this symbol was part of
Cairo's public API and should continue working this way.
diff --git a/src/cairo-deprecated.h b/src/cairo-deprecated.h
index 49aab8b..c73d2b7 100644
--- a/src/cairo-deprecated.h
+++ b/src/cairo-deprecated.h
@@ -50,6 +50,8 @@
*/
#define CAIRO_FORMAT_RGB16_565 4
+#define CAIRO_FONT_TYPE_ATSUI CAIRO_FONT_TYPE_QUARTZ
+
#ifndef _CAIROINT_H_
/* Obsolete functions. These definitions exist to coerce the compiler
@@ -105,7 +107,6 @@
#define cairo_pdf_surface_set_dpi cairo_pdf_surface_set_dpi_REPLACED_BY_cairo_surface_set_fallback_resolution
#define cairo_svg_surface_set_dpi cairo_svg_surface_set_dpi_REPLACED_BY_cairo_surface_set_fallback_resolution
#define cairo_atsui_font_face_create_for_atsu_font_id cairo_atsui_font_face_create_for_atsu_font_id_REPLACED_BY_cairo_quartz_font_face_create_for_atsu_font_id
-#define CAIRO_FONT_TYPE_ATSUI CAIRO_FONT_TYPE_ATSUI_replaced_by_CAIRO_FONT_TYPE_QUARTZ
#define cairo_current_path cairo_current_path_DEPRECATED_BY_cairo_copy_path
#define cairo_current_path_flat cairo_current_path_flat_DEPRECATED_BY_cairo_copy_path_flat
More information about the cairo-commit
mailing list