[Top][All Lists]

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

[Octave-bug-tracker] [bug #45285] printing with "-S..." option messes fi

From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #45285] printing with "-S..." option messes figure size and png output
Date: Mon, 5 Feb 2018 17:43:23 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0

Follow-up Comment #17, bug #45285 (project octave):

        idx = rindex (arg, ":");
        if (idx)
          arg_st.font = arg(3:idx-1);
          arg_st.fontsize = str2double (arg(idx+1:end));
          arg_st.font = arg(3:end);
      elseif (length (arg) > 2 && arg(1:2) == "-S")
        arg_st.canvas_size = str2double (strsplit (arg(3:end), ","));
      elseif (length (arg) > 2 && arg(1:2) == "-r")
        arg_st.ghostscript.resolution = str2double (arg(3:end));
      elseif (length (arg) > 2 && arg(1:2) == "-f")
        arg_st.figure = str2double (arg(3:end));
      elseif (any (strcmp (arg, {"-painters", "-opengl"})))
        warning ("print: '%s' accepted for Matlab compatibility, but is
ignored", arg);
      elseif (strcmp (arg, "-noui"))
        warning ("print: option '-noui' not yet implemented");
152,9         23%


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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