[PATCH] Add support for HiDpi screens
Enrico Forestieri
forenr at lyx.org
Sun Jul 19 21:58:46 UTC 2020
On Sun, Jul 19, 2020 at 12:16:02AM +0200, Jean-Marc Lasgouttes wrote:
> Le 18/07/2020 à 23:07, Enrico Forestieri a écrit :
> > You mean the normal sized icons? That's surprising. With a similar
> > configuration, on Windows changes nothing. The normal size icons are
> > still too small, but chosing the large ones is simply a right click on
> > a toolbar.
>
> At least it is not wrong.
>
> What size do you use on windows? If I read correctly Qt source, default
> would be 24, 16 is small and 32 is large.
On a HiDpi screen with 1.25 scaling the large sized ones seem the right ones.
> > > The question is whether your needed to use weird settings to get things
> > > right.
> >
> > Uh?
>
> Are the icons of the correct size for you by default? (just curious)
Only on non-HiDpi screens, otherwise they are too small.
> > > BTW, do we have a strong attachment to our current icons sizes? I was
> > > wondering about using the ones proposed by QStyle, which are actually taken
> > > from the repsective OSes.
> >
> > You know, if it ain't broke, don't fix it ;-)
>
> So boring :) For example, I am not sure that by default the fonts have the
> right size on macOS.
Note that even if you can obtain any size starting from the svg sources,
the vector graphics have to be tailored for the output resolution to
obtain the best result. I remember to have tweaked the sources such
that to not obtain blurry icons.
So, be warned that changing size could mean to have to revisit the svg
sources to obtain the best results.
--
Enrico
More information about the lyx-devel
mailing list