Re: Xft with multiple DPIs/multihead doesn't support different DPI

Behdad Esfahbod <[email protected]>
Newsgroups gmane.comp.fonts.fontconfig
Message-ID <CAF63+7VhHeNRA3U=cUL8j7wkLX5r+ReBGLivkVxGFQPXLF6Cjw@mail.gmail.com>
Hi Ben,

You need a desktop environment that supports different DPIs across
different displays. I *think* most recent versions of GNOME do that but I'm
not sure.

behdad

On Mon, Mar 26, 2018 at 12:52 AM, Ben Stern <[email protected]> wrote:

> In my fontconfig/conf.d, I can specify fontconfig XML which states a given
> DPI, but I can't specify this per-head.
>
> I'm running multihead on monitors with different resolutions, and my
> choices
> are huge fonts on the lower-resolution monitor and normal sizes on the
> higher resolution monitor, or unreadably small fonts on this hi-res monitor
> and normal size on the low-res monitor.
>
> xdpyinfo | grep inch correctly tells me
>     on :0.0: 157x157 dots per inch
>     on :0.1: 94x94 dots per inch
>
> xrdb -query | grep dpi correctly tells me
>     on :0.0 XFt.dpi: 157
>     on :0.1 XFt.dpi: 94
>
> farad:~/.config/fontconfig/conf.d$ grep -i -A2 dpi *
>     19-DisplayProperties.conf: <edit name="dpi" mode="assign"
> binding="same">
>     19-DisplayProperties.conf- <double>157.0</double>
>     19-DisplayProperties.conf- </edit>
>
> Note that without the 19-DisplayProperties.conf setting the DPI to 157
> explicitly, the menus and other fontconfig-rendered text on my hi-res
> monitor appears to be defaulting to the historic 96 DPI setting, and are
> therefore tiny, because they're approximately 60% of the size they ought to
> be.
>
> How can I tell fontconfig to use the correct DPI on a given head?
>
> (I tried to open this as a bug and was directed here instead.)
>
> Thanks,
> Ben
> --
> Ben Stern
> This space intentionally left blank.
> _______________________________________________
> Fontconfig mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/fontconfig
>



-- 
behdad
http://behdad.org/

_______________________________________________
Fontconfig mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/fontconfig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.