diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-04-29 13:19:39 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-04-29 13:19:39 +0000 |
commit | 7b7497d5ec04f3a154975722b6b2725be6566271 (patch) | |
tree | 5a8a1d7c3b262877c81c2051b574e6dd3be308c7 /Build/source/texk/web2c/pdftexdir/pdftoepdf.cc | |
parent | 0f81c6717bd7d19eb1e3091b5f18d1f3d988e02c (diff) |
More pdftex headers
git-svn-id: svn://tug.org/texlive/trunk@18040 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir/pdftoepdf.cc')
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/pdftoepdf.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc b/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc index 19f06c27dff..6e846b6023a 100644 --- a/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc +++ b/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc @@ -52,7 +52,7 @@ Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #include "GlobalParams.h" #include "Error.h" -#include "epdf.h" +#include "pdftoepdf.h" // This file is mostly C and not very much C++; it's just used to interface // the functions of xpdf, which happens to be written in C++. @@ -615,15 +615,15 @@ static void writeRefs() xref->fetch(r->ref.num, r->ref.gen, &obj1); if (r->type == objFont) { assert(!obj1.isStream()); - zpdfbeginobj(r->num, 2); // \pdfobjcompresslevel = 2 is for this + pdfbeginobj(r->num, 2); // \pdfobjcompresslevel = 2 is for this copyFontDict(&obj1, r); pdf_puts("\n"); pdfendobj(); } else if (r->type != objFontDesc) { // /FontDescriptor is written via write_fontdescriptor() if (obj1.isStream()) - zpdfbeginobj(r->num, 0); + pdfbeginobj(r->num, 0); else - zpdfbeginobj(r->num, 2); // \pdfobjcompresslevel = 2 is for this + pdfbeginobj(r->num, 2); // \pdfobjcompresslevel = 2 is for this copyObject(&obj1); pdf_puts("\n"); pdfendobj(); @@ -648,7 +648,7 @@ static void writeEncodings() if ((s = ((Gfx8BitFont *) r->font)->getCharName(i)) != 0) glyphNames[i] = s; else - glyphNames[i] = notdef; + glyphNames[i] = (char *) notdef; } epdf_write_enc(glyphNames, r->enc_objnum); } |