diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-09-17 21:19:48 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2008-09-17 21:19:48 +0100 |
commit | d83a4d9905a68c3060e689015bffb03137fcbb0f (patch) | |
tree | 6e50a41062824f7179d0d851cd4b80822b8fb985 /src/cairo-svg-surface.c | |
parent | eb39151fdc4e72f0836d6fbb5df54885352b3b87 (diff) |
[svg] Emit user-fonts.
Iterate over the user fonts subsets and emit the scaled glyphs.
Diffstat (limited to 'src/cairo-svg-surface.c')
-rw-r--r-- | src/cairo-svg-surface.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cairo-svg-surface.c b/src/cairo-svg-surface.c index 97ceedd5..63b0bfb4 100644 --- a/src/cairo-svg-surface.c +++ b/src/cairo-svg-surface.c @@ -752,7 +752,14 @@ _cairo_svg_document_emit_font_subsets (cairo_svg_document_t *document) status = _cairo_scaled_font_subsets_foreach_scaled (document->font_subsets, _cairo_svg_document_emit_font_subset, document); + if (status) + goto FAIL; + status = _cairo_scaled_font_subsets_foreach_user (document->font_subsets, + _cairo_svg_document_emit_font_subset, + document); + + FAIL: _cairo_scaled_font_subsets_destroy (document->font_subsets); document->font_subsets = NULL; |