mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-02 02:38:07 +02:00
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.
This commit is contained in:
parent
141bca74ba
commit
547e2f552c
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue