[vlc-devel] Hi-DPI support for Linux and Windows
jb at videolan.org
Fri Sep 29 15:52:35 CEST 2017
On Fri, 29 Sep 2017, at 14:58, Rémi Denis-Courmont wrote:
> Le perjantaina 29. syyskuuta 2017, 10.25.02 EEST Pierre Lamot a écrit :
> > This set of patch aims to provide support Hi-DPI in qt interface for
> > windows and linux.
> > The global idea is to switch from raster to vector graphics for icons
> > and graphics when possible to ensure that the render adapts to every
> > DPI.
> > There is mainly 3 cases:
> > * QIcon: are scaled properly with the qsvgicon engine from Qt
> > * QPixmap: I introduce a function to render Svg to the requested size
> > scaled for current DPI
> > * Generated images and widgets: solution may vary.
> > Some graphics have been scaled according to font metrics when
> > associated to a text.
> > Patch 09 is necessary to support Qt 5.6, the behavior should be correct
> > starting from Qt 5.7
> So require >= 5.7 ?
No. XP is on 5.6 only.
Jean-Baptiste Kempf - President
+33 672 704 734
More information about the vlc-devel