From: Araki K. <ara...@us...> - 2018-03-16 15:26:13
|
Hi, From: "Yuri D'Elia" <wa...@th...> Subject: Re: [Mlterm-dev-en] OSC1337 support for preserveAspectRatio Date: Fri, 16 Mar 2018 15:58:57 +0100 Message-ID: <87r...@wa...> >> + dpi_for_fc = dpi; > Looking at the xft version, who initially sets dpi_for_fc? mlterm doesn't sets dpi_for_fc unless mlterm works as libvte compatible library or letter_space option is set. > Xft uses the Xft.dpi X resource for text rendering. If this isn't set, > it falls back for the primary display DPI setting in xrandr. > > But fetching the resource manually seems somewhat wrong. > I would have expected fontconfig to have some helper function for this. How about following setting in ~/.fonts.conf instead of Xft.dpi resource. <match target="pattern"> <edit name="dpi" mode="assign"><double>100</double></edit> </match> --- Araki Ken ara...@us... |