[vlc-devel] Hi-DPI support for Linux and Windows
Rémi Denis-Courmont
remi at remlab.net
Fri Sep 29 14:58:54 CEST 2017
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 ?
--
雷米‧德尼-库尔蒙
https://www.remlab.net/
More information about the vlc-devel
mailing list