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

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

[Octave-bug-tracker] [bug #53535] print with eps driver should use '-tig


From: Rik
Subject: [Octave-bug-tracker] [bug #53535] print with eps driver should use '-tight' bbox by default for Matlab compatibility
Date: Mon, 16 Apr 2018 16:53:29 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Update of bug #53535 (project octave):

                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #1:

It does look correct to make tight the default.  However, it looks to be
slightly more complicated.  For unknown reasons there is both a "loose"
setting and a "tight_flag" setting and it is not the case "loose" is simply
the logical inverse of "tight_flag".

In print.m the tight_flag is used to decide how to invoke epstool to produce
output:


    if (opts.tight_flag)
      cmd = "--copy --bbox";


However, the loose option is used to set a different option in
__print_parse_opts__.m.


    if (arg_st.formatted_for_printing)
      arg_st.ghostscript.epscrop = ! arg_st.loose;
    else
      ## pstoedit throws errors if the EPS file isn't cropped
      arg_st.ghostscript.epscrop = true;
    endif


I'm not sure why there are two options and whether they can be safely
collapsed in to one.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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