From e06921ba9541759101336126a6af96ab66b9ee2d Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sun, 14 May 2006 13:42:48 +0000 Subject: Fairly ropey font-embedding support. In particular, the PDF output is technically incorrect, though it works perfectly well with xpdf. To do it properly requires actually parsing the unencrypted part of a Type 1 font, which will be a bit tedious in C. [originally from svn r6685] --- psdata.c | 1 + 1 file changed, 1 insertion(+) (limited to 'psdata.c') diff --git a/psdata.c b/psdata.c index 68ee58c..8c3b9cd 100644 --- a/psdata.c +++ b/psdata.c @@ -4095,6 +4095,7 @@ void init_std_fonts(void) { if (done) return; for (i = 0; i < (int)lenof(ps_std_fonts); i++) { font_info *fi = snew(font_info); + fi->fp = NULL; fi->name = ps_std_fonts[i].name; fi->nglyphs = lenof(ps_std_glyphs) - 1; fi->glyphs = ps_std_glyphs; -- cgit v1.1