[vlc-devel] Hi-DPI support for Linux and Windows
pierre
pierre at videolabs.io
Fri Sep 29 15:15:38 CEST 2017
On Friday, September 29, 2017 3:58:54 PM CEST 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 ?
This is something we probably could discuss. Qt5.7 move the licence from
LGPLv2 to LGPLv3. But Qt module is only for Linux and Windows application.
Does it matters?
--
Pierre Lamot
More information about the vlc-devel
mailing list