diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2008-05-04 22:43:08 +0930 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2008-05-04 22:43:08 +0930 |
commit | 547e2f552cff264b943803d3a1ff03d05bde35c0 (patch) | |
tree | c6ca93d76be1253dd3dd0ebed73f907972d0d134 /src/cairo-win32-printing-surface.c | |
parent | 141bca74ba154d79fab49db74a51cd41f04e3a34 (diff) |
Fix win32-printing show_glyphs analysis for Type 1 fonts
The analysis code needs to include the Type 1 font check that was
previously adding the the rendering code.
Diffstat (limited to 'src/cairo-win32-printing-surface.c')
-rw-r--r-- | src/cairo-win32-printing-surface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-win32-printing-surface.c b/src/cairo-win32-printing-surface.c index edb0af4c..22379e25 100644 --- a/src/cairo-win32-printing-surface.c +++ b/src/cairo-win32-printing-surface.c @@ -1312,6 +1312,7 @@ _cairo_win32_printing_surface_show_glyphs (void *abstract_surfac if (surface->paginated_mode == CAIRO_PAGINATED_MODE_ANALYZE) { if (!(cairo_scaled_font_get_type (scaled_font) == CAIRO_FONT_TYPE_WIN32 && + ! _cairo_win32_scaled_font_is_type1 (scaled_font) && source->type == CAIRO_PATTERN_TYPE_SOLID)) { for (i = 0; i < num_glyphs; i++) { status = _cairo_scaled_glyph_lookup (scaled_font, |