[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #34720] plot box shifts when printing with FLT
From: |
Ben Abbott |
Subject: |
[Octave-bug-tracker] [bug #34720] plot box shifts when printing with FLTK |
Date: |
Wed, 09 Nov 2011 21:01:24 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.106 Safari/535.2 |
Follow-up Comment #14, bug #34720 (project octave):
The "canvas_size" parameter specifies the requested size of the output.
Changing this should not change the relative position of the axes box.
I reviewed the result returned by _print_parse_opts_ for the simple example
below, and it looks correct to me (in particular the pageoffset is zero for
bit mapped output, as it should be).
plot([1 1]);
print foo.png
The bit mapped output is derived from eps output. So I checked that this
conversion (done by ghostscript) did not introduce the offset, by examining
the eps output. Since the eps output also includes the offset, the problem
must be in the output of the eps.
The BBOX in the eps file should be [8, 6] * 72 = [576 432] but is actually
[576 450].
It looks like the problem is either with the FLTK part of the octave code, or
with FLTK itself (or maybe gl2ps).
I have faint recollection that we once had a problem where the status bar at
the bottom of the FLTK window was being included in the output. It looks to me
as if this may be happening again (the proportions are about correct).
I think Shai fixed this before (?). I've cc'd him.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34720>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #34720] printing svg gets out of canvas, (continued)
- [Octave-bug-tracker] [bug #34720] printing svg gets out of canvas, Muhali, 2011/11/03
- [Octave-bug-tracker] [bug #34720] plot box shifts when printing with FLTK, Ben Abbott, 2011/11/03
- [Octave-bug-tracker] [bug #34720] plot box shifts when printing with FLTK, Ben Abbott, 2011/11/03
- [Octave-bug-tracker] [bug #34720] plot box shifts when printing with FLTK, Ben Abbott, 2011/11/03
- [Octave-bug-tracker] [bug #34720] plot box shifts when printing with FLTK, Muhali, 2011/11/03
- [Octave-bug-tracker] [bug #34720] plot box shifts when printing with FLTK, Ben Abbott, 2011/11/03
- [Octave-bug-tracker] [bug #34720] plot box shifts when printing with FLTK, Muhali, 2011/11/03
- [Octave-bug-tracker] [bug #34720] plot box shifts when printing with FLTK, Ben Abbott, 2011/11/03
- [Octave-bug-tracker] [bug #34720] plot box shifts when printing with FLTK, Ben Abbott, 2011/11/03
- [Octave-bug-tracker] [bug #34720] plot box shifts when printing with FLTK, Muhali, 2011/11/09
- [Octave-bug-tracker] [bug #34720] plot box shifts when printing with FLTK,
Ben Abbott <=
- Message not available
- [Octave-bug-tracker] [bug #34720] print() for FLTK produces wrong size and scale, Ben Abbott, 2011/11/13
- [Octave-bug-tracker] [bug #34720] print() for FLTK produces wrong size and scale, Ben Abbott, 2011/11/15
- [Octave-bug-tracker] [bug #34720] print() for FLTK produces wrong size and scale, Ben Abbott, 2011/11/20
- [Octave-bug-tracker] [bug #34720] print() for FLTK produces wrong size and scale, Ben Abbott, 2011/11/22
- [Octave-bug-tracker] [bug #34720] print() for FLTK produces wrong size and scale, Ben Abbott, 2011/11/22
- [Octave-bug-tracker] [bug #34720] print() for FLTK produces wrong size and scale, Ben Abbott, 2011/11/22