summaryrefslogtreecommitdiff
path: root/src/cairo-debug.c
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2010-11-16 23:48:39 +1030
committerAdrian Johnson <ajohnson@redneon.com>2010-11-16 23:48:39 +1030
commiteb29a25dd6dddc511388bf883c9b95843ecdb823 (patch)
tree672888e953f4e1d7c9f819375b7adfd0dae7410a /src/cairo-debug.c
parent31e116f084d0ff073bed9d0e9c1c6ca1e5db4843 (diff)
win32: Use a font_face hash table to provide unique font faces
Similar to the freetype and toy font backends, use a hash table to map logfont,hfont to font faces. This fixes the multiple embedding of the same font in PDF. https://bugs.freedesktop.org/show_bug.cgi?id=24849
Diffstat (limited to 'src/cairo-debug.c')
-rw-r--r--src/cairo-debug.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cairo-debug.c b/src/cairo-debug.c
index c9567531..e9e72b6a 100644
--- a/src/cairo-debug.c
+++ b/src/cairo-debug.c
@@ -69,6 +69,10 @@ cairo_debug_reset_static_data (void)
_cairo_ft_font_reset_static_data ();
#endif
+#if CAIRO_HAS_WIN32_FONT
+ _cairo_win32_font_reset_static_data ();
+#endif
+
_cairo_intern_string_reset_static_data ();
_cairo_scaled_font_reset_static_data ();