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

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

[Octave-bug-tracker] [bug #59546] Missing latex interpreter


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #59546] Missing latex interpreter
Date: Tue, 6 Apr 2021 13:23:20 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0

Follow-up Comment #70, bug #59546 (project octave):

Thanks, so the problem is not the size of the output PDF (the properties show
correct size) but rather the base transform that is applied when drawing. In
the files you sent, I do see notable differences in the PDF for 100 and 125%
scallings. 
Does the following change (setViewport -> setWindow) have an effect on the
output PDF?


diff -r d9b3402d52bd src/octave-svgconvert.cc
--- a/src/octave-svgconvert.cc  Mon Apr 05 19:34:04 2021 +0200
+++ b/src/octave-svgconvert.cc  Tue Apr 06 19:15:04 2021 +0200
@@ -66,7 +66,7 @@
 
     // Painter settings
     begin (&m_printer);
-    setViewport (QRect (0, 0, sz.width () * scl, sz.height () * scl));
+    setWindow (QRect (0, 0, sz.width () * scl, sz.height () * scl));
     scale (scl, scl);
   }

  

On linux this has no effect but it is expected since IIUC logical and device
coordinates are the same on that platform.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59546>

_______________________________________________
  Message posté via Savannah
  https://savannah.gnu.org/




reply via email to

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