[Fontconfig] Xft with multiple DPIs/multihead doesn't support different DPI

Behdad Esfahbod behdad at behdad.org
Mon Mar 26 18:23:16 UTC 2018


On Mon, Mar 26, 2018 at 9:56 AM, Ben Stern <bas-savannah at ubrew.org> wrote:

> On Mon, Mar 26, 2018 at 01:32:25AM -0700, Behdad Esfahbod wrote:
> > On Mon, Mar 26, 2018 at 1:19 AM, Ben Stern <bas-savannah at ubrew.org>
> wrote:
> >> Is there truly no way to set different resolutions without using a
> >> desktop environment?  How does GNOME do it?  It must tell fontconfig
> >> somehow, mustn't it?
> >
> > Desktop environments can handle multiple differing display densities in
> > different ways. They can rescale the application for example, and I
> *think*
> > that's what GNOME does. They can also tell fontconfig different DPI
> numbers
> > at run-time, but that's really not the hard part about it.
>
> So there isn't any programmatic way to either:
>
> - get fontconfig to query X for the DPI and honor the Xft.dpi resource, or
>
> - configure fontconfig statically to use a specific DPI per screen?
>
> If so, I'll go back to Savannah and open a feature request or something.
>

Fontconfig doesn't know or care about X or screens. Xft does and can do
things. But Xft has been deal for over a decade now. You should file a
request with KDE.

-- 
behdad
http://behdad.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig/attachments/20180326/6992a5bf/attachment.html>


More information about the Fontconfig mailing list