summaryrefslogtreecommitdiff
path: root/src/cairo-type3-glyph-surface.c
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2008-10-22 21:36:42 +1030
committerAdrian Johnson <ajohnson@redneon.com>2008-10-22 22:00:31 +1030
commit5e4a1cb0b830f069d99c9512563c82ad628587e3 (patch)
tree33e8ab49a69314d17d5234f0412cac0af2d8c3e5 /src/cairo-type3-glyph-surface.c
parent170686d4b0ed913a1a175f3f354ec5796814b416 (diff)
downloadcairo-5e4a1cb0b830f069d99c9512563c82ad628587e3.tar.gz
Don't add a notdef glyph to Type 3 font subsets
This allows user-fonts to use glyph 0 when embedding in PS/PDF. According to ISO32000 Type 3 fonts do not require a notdef glyph.
Diffstat (limited to 'src/cairo-type3-glyph-surface.c')
-rw-r--r--src/cairo-type3-glyph-surface.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/cairo-type3-glyph-surface.c b/src/cairo-type3-glyph-surface.c
index ed8fff7f2..c84f5f05e 100644
--- a/src/cairo-type3-glyph-surface.c
+++ b/src/cairo-type3-glyph-surface.c
@@ -435,22 +435,6 @@ cleanup:
}
cairo_status_t
-_cairo_type3_glyph_surface_emit_notdef_glyph (void *abstract_surface,
- cairo_output_stream_t *stream,
- cairo_box_t *bbox,
- double *width)
-{
- bbox->p1.x = 0;
- bbox->p1.y = 0;
- bbox->p2.x = 0;
- bbox->p2.y = 0;
- *width = 0.0;
- _cairo_output_stream_printf (stream, "0 0 0 0 0 0 d1\n");
-
- return CAIRO_STATUS_SUCCESS;
-}
-
-cairo_status_t
_cairo_type3_glyph_surface_emit_glyph (void *abstract_surface,
cairo_output_stream_t *stream,
unsigned long glyph_index,