octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #52940] Regression with "PaperPosition" and pr


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #52940] Regression with "PaperPosition" and printing
Date: Wed, 24 Jan 2018 12:30:00 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #29, bug #52940 (project octave):

OK, that's more compact like I was looking for, thanks.

To follow up on your idea to use ___guidata___, attached is a proof-of-concept
sort of changeset with a lot of cruft to illustrate the idea.  Rather than
just send a matrix via ___guidata___, it sends a structure and "position" is
one of the elements of that structure.  It could use a few more checks
(is-a-matrix, has at least four elements, etc.) to ensure no crash from
improper ___guidata___ format.  Nonetheless, please try this and see if it has
potential.

First, the on-screen figure doesn't change size (that's nice!).  However,
although the paper size of the PDF output is correct, the figure itself is
drawn at the on-screen figure size.  The next step would be to get/pass
information about plot scaling from somewhere else other than the on-screen
image.  My guess is that would be doable, but I haven't looked to deep into
that.

(file #43067)
    _______________________________________________________

Additional Item Attachment:

File name: octave-gl2ps_proof_of_concept-djs2018jan24.diff Size:2 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52940>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]