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

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

[Octave-bug-tracker] [bug #52193] Font choices are ignored when printing


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #52193] Font choices are ignored when printing to an image file
Date: Mon, 3 Sep 2018 16:34:45 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

Follow-up Comment #38, bug #52193 (project octave):

I uploaded an updated version of the qt converter in which I removed all
instances of qDebug and printf and favored std::cerr, I removed the ability to
convert to raster formats since we don't use it and I reworked a few minor
things.

Unfortunately I have some bad news, there is something very wrong when
printing images: neighbor pixels colors get somehow mixed. This is mostly
visible in "uncorrelated" (e.g. random) images:


demo imshow 7
print -dsvg toto.svg
print -dpdfcrop toto.pdf


This is most probably a bug in Qt's QPrinter painting device since painting to
a QImage works perfectly. I reported a simplified example of the misbehavior
on Qt's forum but got no answer
(https://forum.qt.io/topic/94230/printing-qimage-to-pdf)

This looks like a show stopper for svg conversion being the default. Thoughts
? 
Could I add a "-svgconvert" flag to allow the use of svg conversion when
images don't come into play? 

(file #44927)
    _______________________________________________________

Additional Item Attachment:

File name: octave-svgconvert.cc           Size:23 KB


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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