GNOME Bugzilla – Bug 732537
hidpi: Scale fonts on wayland
Last modified: 2014-07-23 12:09:47 UTC
See patch, with this hidpi is at least the same state as in X11.
Created attachment 279658 [details] [review] hidpi: Scale fonts on wayland On X11 we don't need to scale up fonts because font scaling is already handled by clutter based xft-dpi. On wayland we need to scale fonts by ourselves so introduce a scale-fonts property on the theme-context and set it to true on wayland.
Review of attachment 279658 [details] [review]: I suppose we can't set the resolution on the clutter backend instead?
(In reply to comment #2) > Review of attachment 279658 [details] [review]: > > I suppose we can't set the resolution on the clutter backend instead? Yes we can ;)
Created attachment 279659 [details] [review] hidpi: Scale fonts on wayland On X11 we don't need to scale up fonts because font scaling is already handled by clutter based xft-dpi. On wayland we need to set the resolution by ourselves so do that when the scale factor changes.
Attachment 279659 [details] pushed as 775bd96 - hidpi: Scale fonts on wayland