Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Ethan A Merritt Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Can I set the pdf version? Date: Fri, 18 Mar 2016 20:56:06 -0700 Organization: A noiseless patient Spider Lines: 28 Message-ID: References: <04b996f9-6ef1-4ce5-ac71-a68ae802a3c3@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Injection-Date: Sat, 19 Mar 2016 03:53:00 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="7bbfccb08e3cb0f92ebf95516f5f5a81"; logging-data="3644"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19EQDRmCmceDWol3UF+pb1A" User-Agent: KNode/4.14.5 Cancel-Lock: sha1:z98NBXrfP1xGR3HRTMXvyWxTlmU= Xref: csiph.com comp.graphics.apps.gnuplot:3264 raonath@gmail.com wrote: > For inclusion into pdftex, I would prefer to produce pdf (set terminal > pdf ...) from gnuplot (rather than eps or metapost. To avoid nagging > by pdftex, I would like the gnuplot output to use PDF level 1.4 > (rather than 1.5 that comes out) Can I do that? I could not find an > option in the manual for this. I assume you are asking about the cairo pdf terminal (as opposed to pdf output from the qt terminal or tikz->pdflatex or the commercial PDFlib). The cairo library itself supports a routine that would do this cairo_pdf_surface_restrict_to_version() but gnuplot does not currently offer an interface to it. > Related question: Does gnuplot use anything not in PDf level 1.4? I > can set the version in pdftex, but would prefer not to if that is OK. I don't think there is a general answer to that. Gnuplot calls into the cairo library routines, which do whatever they feel like. The only thing I can think of in gnuplot output that might require PDF > 1.4 is the use of OpenType fonts. But you have your choice of fonts so that should be possible to avoid if you care. Ethan > Thanks in advance > Nath Rao