Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3264

Re: Can I set the pdf version?

From Ethan A Merritt <EAMerritt@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Can I set the pdf version?
Date 2016-03-18 20:56 -0700
Organization A noiseless patient Spider
Message-ID <nciies$3hs$1@dont-email.me> (permalink)
References <04b996f9-6ef1-4ce5-ac71-a68ae802a3c3@googlegroups.com>

Show all headers | View raw


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

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Find similar


Thread

Can I set the pdf version? raonath@gmail.com - 2016-03-18 08:09 -0700
  Re: Can I set the pdf version? Ethan A Merritt <EAMerritt@gmail.com> - 2016-03-18 20:56 -0700

csiph-web