[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62287] Plotting: printing to pdf raises error
From: |
Stefan Schlögl |
Subject: |
[Octave-bug-tracker] [bug #62287] Plotting: printing to pdf raises error for non-initialized parameter papersize_points |
Date: |
Mon, 11 Apr 2022 08:24:13 -0400 (EDT) |
Follow-up Comment #1, bug #62287 (project octave):
I raised this bug and provided the possible fix. However, upon further
testing, I noticed that a forced initialization of the variable
papersize_points with running the private function "gs_papersize" would lead
to incorrect sizes for ghostscript output files (always some sort of letter
format).
So in my opinion either the warning message should be removed or the bugfix
should the call to the function like that:
[temp_papersize, papersize_points, paperposition] = ...
gs_papersize (arg_st.figure, arg_st.orientation)
(instead of overwriting the arg_st structure with incorrect information just
read in the variables which are really required to perform the validation.
Best,
Stefan
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62287>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/