[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macO
From: |
Dmitri A. Sergatskov |
Subject: |
[Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macOS with Retina / HiDPI scaling |
Date: |
Thu, 18 Jan 2018 13:31:05 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0 |
Follow-up Comment #33, bug #49053 (project octave):
Fedora 27 has both Qr5 and Qt4.
I built the latest hg tip with you patatch and with
./configure --with-qt=4
There were some warnings:
CXX libinterp/corefcn/libinterp_corefcn_libcorefcn_la-inv.lo
CXX
libinterp/corefcn/libinterp_corefcn_libcorefcn_la-interpreter-private.lo
CXX libinterp/corefcn/libinterp_corefcn_libcorefcn_la-interpreter.lo
../libinterp/corefcn/gl-render.cc: In member function ‘virtual void
octave::opengl_renderer::setup_opengl_transformation(const
axes::properties&)’:
../libinterp/corefcn/gl-render.cc:1162:56: warning: use of old-style cast
[-Wold-style-cast]
glOrtho (0, roundf(screen_scale_inverse*(float)vw[2]),
roundf(screen_scale_inverse*(float)vw[3]), 0, xZ1, xZ2);
^
../libinterp/corefcn/gl-render.cc:1162:99: warning: use of old-style cast
[-Wold-style-cast]
glOrtho (0, roundf(screen_scale_inverse*(float)vw[2]),
roundf(screen_scale_inverse*(float)vw[3]), 0, xZ1, xZ2);
^
../libinterp/corefcn/gl-render.cc: In member function ‘virtual void
octave::opengl_renderer::draw_text_background(const text::properties&,
bool)’:
../libinterp/corefcn/gl-render.cc:3547:56: warning: use of old-style cast
[-Wold-style-cast]
glOrtho (0, roundf(screen_scale_inverse*(float)vp[2]),
roundf(screen_scale_inverse*(float)vp[3]), 0, xZ1, xZ2);
^
../libinterp/corefcn/gl-render.cc:3547:99: warning: use of old-style cast
[-Wold-style-cast]
glOrtho (0, roundf(screen_scale_inverse*(float)vp[2]),
roundf(screen_scale_inverse*(float)vp[3]), 0, xZ1, xZ2);
^
../libinterp/corefcn/gl-render.cc: In member function ‘virtual void
octave::opengl_renderer::init_marker(const string&, double, float)’:
../libinterp/corefcn/gl-render.cc:4124:56: warning: use of old-style cast
[-Wold-style-cast]
glOrtho (0, roundf(screen_scale_inverse*(float)vw[2]),
roundf(screen_scale_inverse*(float)vw[3]), 0, xZ1, xZ2);
^
../libinterp/corefcn/gl-render.cc:4124:99: warning: use of old-style cast
[-Wold-style-cast]
glOrtho (0, roundf(screen_scale_inverse*(float)vw[2]),
roundf(screen_scale_inverse*(float)vw[3]), 0, xZ1, xZ2);
^
but it seems to run fine.
I can try some tests, but I do not have HDPI monitor.
Dmitri.
--
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49053>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macOS with Retina / HiDPI scaling, (continued)
- [Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macOS with Retina / HiDPI scaling, Ben Abbott, 2018/01/14
- [Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macOS with Retina / HiDPI scaling, Ben Abbott, 2018/01/14
- [Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macOS with Retina / HiDPI scaling, John Swensen, 2018/01/14
- [Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macOS with Retina / HiDPI scaling, Ben Abbott, 2018/01/14
- [Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macOS with Retina / HiDPI scaling, Ben Abbott, 2018/01/16
- [Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macOS with Retina / HiDPI scaling, John Swensen, 2018/01/17
- [Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macOS with Retina / HiDPI scaling, Ben Abbott, 2018/01/17
- [Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macOS with Retina / HiDPI scaling, Sebastian, 2018/01/18
- [Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macOS with Retina / HiDPI scaling, Ben Abbott, 2018/01/18
- [Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macOS with Retina / HiDPI scaling, John Swensen, 2018/01/18
- [Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macOS with Retina / HiDPI scaling,
Dmitri A. Sergatskov <=
- [Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macOS with Retina / HiDPI scaling, Markus Mützel, 2018/01/18
- [Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macOS with Retina / HiDPI scaling, John Swensen, 2018/01/18
- [Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macOS with Retina / HiDPI scaling, Sebastian, 2018/01/18
- [Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macOS with Retina / HiDPI scaling, John Swensen, 2018/01/18
- [Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macOS with Retina / HiDPI scaling, John Swensen, 2018/01/18
- [Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macOS with Retina / HiDPI scaling, Dmitri A. Sergatskov, 2018/01/18
- [Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macOS with Retina / HiDPI scaling, Markus Mützel, 2018/01/18
- [Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macOS with Retina / HiDPI scaling, Mike Miller, 2018/01/18
- [Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macOS with Retina / HiDPI scaling, Markus Mützel, 2018/01/18
- [Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macOS with Retina / HiDPI scaling, Mike Miller, 2018/01/18