diff options
author | Vladimir Vukicevic <vladimir@pobox.com> | 2008-01-15 14:27:14 -0800 |
---|---|---|
committer | Vladimir Vukicevic <vladimir@h-232.office.mozilla.org> | 2008-01-15 14:27:14 -0800 |
commit | 57c2b75c229ac7811c573548ae50e6b0e4ecf862 (patch) | |
tree | 5741eb3aab508a0f2602e83a5fdf236bd4066365 /src/cairo-quartz-private.h | |
parent | 968eaf3c44f37ada9c1d7005fc84ead797e11b58 (diff) |
[quartz] Store the CGFontRef and reuse it for rendering
Previously the CGFontRef was recreated each time in show_glyphs; this
caused the font to get re-embedded in any PDF files that were being
generated through Quartz.
Diffstat (limited to 'src/cairo-quartz-private.h')
-rw-r--r-- | src/cairo-quartz-private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cairo-quartz-private.h b/src/cairo-quartz-private.h index 5e46e8d49..52a3d7fb6 100644 --- a/src/cairo-quartz-private.h +++ b/src/cairo-quartz-private.h @@ -72,6 +72,9 @@ _cairo_atsui_scaled_font_get_atsu_style (cairo_scaled_font_t *sfont); ATSUFontID _cairo_atsui_scaled_font_get_atsu_font_id (cairo_scaled_font_t *sfont); + +CGFontRef +_cairo_atsui_scaled_font_get_cg_font_ref (cairo_scaled_font_t *sfont); #endif /* CAIRO_HAS_ATSUI_FONT */ #endif /* CAIRO_QUARTZ_PRIVATE_H */ |