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] --- input.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'input.c') diff --git a/input.c b/input.c index 6e20488..d1b529d 100644 --- a/input.c +++ b/input.c @@ -1579,6 +1579,9 @@ paragraph *read_input(input *in, indexdata *idx) { if (strcmp(in->filenames[in->currindex] + strlen(in->filenames[in->currindex]) - 4, ".afm") == 0) read_afm_file(in); + else if (strcmp(in->filenames[in->currindex] + + strlen(in->filenames[in->currindex]) - 4, ".pfa") == 0) + read_pfa_file(in); else read_file(&hptr, in, idx, macros); } -- cgit v1.1