Skip to content
Snippets Groups Projects
Commit 55deda7d authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

Fix pdflatex graphics inclusion problem (thanks Micha!)
parent e6e9e954
No related branches found
No related tags found
No related merge requests found
/* $Id: gl2ps.cpp,v 1.79 2003-11-04 17:10:29 geuzaine Exp $ */ /* $Id: gl2ps.cpp,v 1.80 2003-11-04 23:07:27 geuzaine Exp $ */
/* /*
* GL2PS, an OpenGL to PostScript Printing Library * GL2PS, an OpenGL to PostScript Printing Library
* Copyright (C) 1999-2003 Christophe Geuzaine <geuz@geuz.org> * Copyright (C) 1999-2003 Christophe Geuzaine <geuz@geuz.org>
...@@ -1694,9 +1694,10 @@ void gl2psPrintPostScriptHeader(void){ ...@@ -1694,9 +1694,10 @@ void gl2psPrintPostScriptHeader(void){
time_t now; time_t now;
#ifdef GL2PS_HAVE_ZLIB #ifdef GL2PS_HAVE_ZLIB
char tmp[10] = {0x1f,0x8b /* magic numbers */, 8 /* compression method */, char tmp[10] = {(char)0x1f,(char)0x8b /* magic numbers */,
0 /* flags */, 0,0,0,0 /* time */, 2 /* xflags: max compression */, 8 /* compression method */, 0 /* flags */,
0x03 /* FIXME: OS code */}; 0,0,0,0 /* time */, 2 /* xflags: max compression */,
(char)0x03 /* FIXME: OS code */};
if(gl2ps->options & GL2PS_COMPRESS){ if(gl2ps->options & GL2PS_COMPRESS){
gl2psSetupCompress(); gl2psSetupCompress();
...@@ -2626,7 +2627,6 @@ int gl2psPrintPDFSinglePage(){ ...@@ -2626,7 +2627,6 @@ int gl2psPrintPDFSinglePage(){
"/Resources\n" "/Resources\n"
"<<\n" "<<\n"
"/ProcSet [/PDF /Text /ImageB /ImageC] %%/ImageI\n" "/ProcSet [/PDF /Text /ImageB /ImageC] %%/ImageI\n"
"/Length 5 0 R\n"
"/ExtGState\n" "/ExtGState\n"
"<<\n" "<<\n"
"/GS1 7 0 R\n" "/GS1 7 0 R\n"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment