[Top][All Lists]

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

[Octave-bug-tracker] [bug #53197] Size of svg output is 75% of PaperPosi

From: Rik
Subject: [Octave-bug-tracker] [bug #53197] Size of svg output is 75% of PaperPosition value
Date: Wed, 28 Feb 2018 17:21:57 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Update of bug #53197 (project octave):

                  Status:               Confirmed => Fixed                  
             Open/Closed:                    Open => Closed                 


Follow-up Comment #15:

I reviewed and committed the patch here

I modified the search/replace code slightly to that below.

  srchstr[pos+1] = 't';  // "px" -> "pt"
  // Assume the second occurrence is at the same line
  pos = srchstr.find ("px", pos);
  srchstr[pos+1] = 't';  // "px" -> "pt"
  std::strcpy (str, srchstr.c_str ());

Instead of using the .replace() member function of strings I used direct
access [] to replace the single character in question.  Also, rather than
start the second search from position 0, I started it from the existing
position to be a bit more efficient.

Marking bug as fixed.

@Michael: I'm not sure about the status of some of your comments in this
report.  Do you want to file another bug report about the lack of
documentation for pdfwriter and cropping?


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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