diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2006-05-14 13:42:48 +0000 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2006-05-14 13:42:48 +0000 |
| commit | e06921ba9541759101336126a6af96ab66b9ee2d (patch) | |
| tree | 96ec2e47e9f592d08ea7af56893873e5c4704bbf /input.c | |
| parent | 9f368a32d754b2827a38f51aa6191aa625ce6a10 (diff) | |
| download | halibut-e06921ba9541759101336126a6af96ab66b9ee2d.zip halibut-e06921ba9541759101336126a6af96ab66b9ee2d.tar.gz halibut-e06921ba9541759101336126a6af96ab66b9ee2d.tar.bz2 halibut-e06921ba9541759101336126a6af96ab66b9ee2d.tar.xz | |
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]
Diffstat (limited to 'input.c')
| -rw-r--r-- | input.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); } |