Hi,
On 12/05/2017 12:16 PM, Aidan Kehoe wrote:
Hi René --
Ar an ceathrú lá de mí na Nollaig, scríobh René Rebe:
> since years I use xemacs-beta, currently 21.5.34:
>
>
https://t2sde.org/packages/xemacs-beta
>
> Except the lack of updates I am quite happy with that setup, however one
> details drives me increasingly crazy. Namely HiDPI font scaling when I
> switch between old displays and newer, 4k+ HiDPI, 192++ dpi screens.
;
> I have this font selection in my .xemacs/init.el
>
> (set-face-font 'default "Source Code Pro-13") ; or -22 for HiDPI
>
> Ideally I want this -13 to be pt, so that I do not have to edit the file
> each time I switch my desk or continue coding on the road.
In fontconfig theory the -13 is pt, so it seems that the underlying library
isn’t handling it correctly.
> Googling around suggest others alternative forms which either do not
> work in xemacs-beta, or do not prove the situation.
>
> I tried to read the lisp files, but could not find anything that would
> help me there either.
>
> Is there anything "pt" like so that a 13pt would result in say 13
pixels
> on a low resolution display, and 26 (or whatever) pixels on a HiDPI
> screen with the X server dpi set accordingly?
>
> PS: Surprisingly the Xemacs menus and such sale automatically, just not
> this most important, main edit buffer, ..?
... except this suggests it does!?
Xft isn’t my bailiwick, and I don’t have a high-DPI screen available to
reproduce ± debug this issue. Stephen?
With an xserver, you could just run "xrandr --dpi 192" or so to
"simulate" a "HiDPI" screen, ...
Thanks,
René
--
René Rebe, ExactCODE GmbH, Lietzenburger Str. 42, DE-10117 Berlin
http://exactcode.com |
http://t2-project.org |
http://rene.rebe.de