summaryrefslogtreecommitdiff
path: root/gs/base/gxfcopy.h
diff options
context:
space:
mode:
Diffstat (limited to 'gs/base/gxfcopy.h')
-rw-r--r--gs/base/gxfcopy.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gs/base/gxfcopy.h b/gs/base/gxfcopy.h
index c46ca65ec..40a80a875 100644
--- a/gs/base/gxfcopy.h
+++ b/gs/base/gxfcopy.h
@@ -71,6 +71,8 @@ int gs_copy_font(gs_font *font, const gs_matrix *orig_matrix,
gs_memory_t *mem, gs_font **pfont_new,
int max_reserved_glyphs);
+int gs_free_copied_font(gs_font *font);
+
/*
* Copy a glyph, including any sub-glyphs. The destination font ("copied"
* argument) must be a font created by gs_copy_font. The source font
@@ -125,6 +127,9 @@ int gs_copy_glyph(gs_font *font, gs_glyph glyph, gs_font *copied);
int gs_copy_glyph_options(gs_font *font, gs_glyph glyph, gs_font *copied,
int options);
+int gs_copied_font_free_glyphs(gs_font *font);
+int gs_copied_font_free_data(gs_font *font);
+
/*
* Add an encoding entry to a copied font. If the given encoding entry is
* not empty and is not the same as the new value, gs_copied_font_encode