[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58479] plottyy print out is different than on
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #58479] plottyy print out is different than onscreen appearance |
Date: |
Tue, 2 Jun 2020 13:34:58 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0 |
Follow-up Comment #3, bug #58479 (project octave):
This is most probably a consequence of bug #45600: for display, we specify the
characters size in pixels when it should be in points. So for screens with a
resolution greater than 72 dpi, characters are down scaled on-screen but not
in printout.
Actually, bug #45600 is on my top list of annoyance, and I recently tried to
solve it (again) but it is very hard do properly: it is easy to fix the size
of characters onscreen, but then you have to circumvent the fact that gl2ps
interprets pixels as points...
I think the proper way out is to send scaled data to gl2ps using
gl2psAddPolyPrimitive (undocumented, see [1]). This would also let us stop
using the deprecated GL_FEEDBACK render mode (see [2] for motivations behind
gl2psAddPolyPrimitive) and let us solve bug #48689.
For this to happen there is a lot of work though :-).
[1] https://gitlab.onelab.info/gl2ps/gl2ps/-/blob/master/gl2ps.h
[2] http://www.geuz.org/pipermail/gl2ps/2016/000424.html
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58479>
_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/