On Thu, Jan 05, 2023 at 09:41:35PM +0100, René J.V. Bertin via X11-users wrote: > On Wednesday January 04 2023 21:42:17 Peter Dyballa wrote: > > > >> Am 4.1.2023 um 21:00 schrieb Clark Souers: > >> > >> How do I increase X11 font size on a Mac Big Sur 11.7.2? I am using > >> Xquartz 2.7.11. should I update to 2.82? > > > >There is, as far as I know, no such means. Each X client can have its own > >font at its own size. > > That's not the entire truth. It does apply to legacy applications that use > only X11 primitives for font rendering, but AFAIK libXft (`man Xft`) does > provide a global scale factor representing the DPI resolution of the screen > (or rather, entire desktop):
DPI resolution isn't the same as font size. Xft uses fontconfig for managing this, as noted in the manual page: https://invisible-island.net/xterm/xft/xft.html FC_DPI Dots/inch used for resolution (default: computed from the display height). https://www.freedesktop.org/software/fontconfig/fontconfig-devel/x19.html dpi FC_DPI Double Target dots per inch size FC_SIZE Double Point size Font size is usually measured in points (not pixels/dots), because that directly relates to how large the characters appear on the screen, rather than how crisp they are. (xterm does both types of fonts) The Xft values are all implemented as properties via fontconfig (actually, X resources). xterm (and some other applications) get those via a call to XftDefaultSubstitute: https://gitlab.freedesktop.org/xorg/lib/libxft/-/blob/master/src/xftdpy.c#L481 > ``` > > xrdb -query | fgrep Xft > Xft.antialias: 1 > Xft.autohint: 0 > Xft.dpi: 86 > Xft.hinting: 1 > Xft.hintstyle: hintfull > Xft.lcdfilter: lcddefault > Xft.rgba: rgb > ``` None of those resources deal with font _size_, but only provide help for applications to display using a given size. So there's no guarantee that any two X applications are using the same font size (except of course for the case where they're using the same toolkit, e.g., Qt). -- Thomas E. Dickey <[email protected]> https://invisible-island.net
signature.asc
Description: PGP signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. X11-users mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com This email sent to [email protected]
