|
From: | Ben Abbott |
Subject: | [Octave-bug-tracker] [bug #34720] print() for FLTK produces wrong size and scale |
Date: | Tue, 15 Nov 2011 18:50:59 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.120 Safari/535.2 |
Follow-up Comment #17, bug #34720 (project octave): I just noticed that print() behaves differently when run from the command line than it does when run as part of a script. The examples I gave below were all run as scripts. When I run a simple example from the command line graphics_toolkit fltk plot (rand (2)) print (sprintf ("-r%d", round (get (0, "screenpixelsperinch"))), "test.png") The result should be 800x600 but is 800x625 from the command line and 600x527 when run as a script (My screenpixelsperinch is 99.898). _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?34720> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |