From 3342d0657522d6b3acaae5216b7026165154ab52 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 19 Oct 2004 04:07:51 +0200 Subject: moved cidtogid into pdf_font, added colorspaces and pdf_page object --- tree/font.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'tree/font.c') diff --git a/tree/font.c b/tree/font.c index 207896c5..a8ac016c 100644 --- a/tree/font.c +++ b/tree/font.c @@ -28,9 +28,6 @@ fz_initfont(fz_font *font, char *name) font->dvmtx.x = 0; font->dvmtx.y = 880; font->dvmtx.w = -1000; - - font->ncidtogid = 0; - font->cidtogid = nil; } void @@ -48,13 +45,6 @@ fz_setfontbbox(fz_font *font, int xmin, int ymin, int xmax, int ymax) font->bbox.max.y = ymax; } -void -fz_setcidtogid(fz_font *font, int n, unsigned short *map) -{ - font->ncidtogid = n; - font->cidtogid = map; -} - void fz_setdefaulthmtx(fz_font *font, int w) { @@ -251,7 +241,6 @@ fz_freefont(fz_font *font) { if (font->free) font->free(font); - fz_free(font->cidtogid); fz_free(font->hmtx); fz_free(font->vmtx); fz_free(font); -- cgit v1.2.3