[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recent changes incorrectly calculate font size within daemon mode

From: Michael Heerdegen
Subject: Re: Recent changes incorrectly calculate font size within daemon mode
Date: Thu, 30 Aug 2018 18:35:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Paul Eggert <address@hidden> writes:

> Michael Heerdegen wrote:
> > The problem is that (aref xlfd-fields xlfd-regexp-pixelsize-subnum)
> > returns nil which I guess is not correct.
> Thanks for this example. However, it relies on some stuff from Drew
> Adams that is not part of Emacs.

Yes, and I'm also not sure if this problem is related, though I guess it
could likely be.

> Can you please give a self-contained example of how to reproduce the
> problem? (If the first step is "download foo from bar", that's fine;
> however, I couldn't easily figure out how to download Adams's code
> from his wiki, as a page seems to be missing.)

Just install the "frame-fns" and "frame-cmds' Gnu Elpa packages.  Load
them in this order, then eval (enlarge-font 1).

> Also, what platform are you running on, and have you configured your
> fonts in any way?

"GNU Emacs 27.0.50 (build 15, x86_64-pc-linux-gnu, GTK+ Version
3.22.30)\n of 2018-08-29"

master build from today.  Debian Linux.  I have not configured fonts in
any way AFAICT.  Don't know much about this stuff.  I just noticed that
`enlarge-font' stopped working some days ago, and reverting to the
commit that has been mentioned made the problem go away.
`text-scale-adjust' works normally OTOH.

Anything else I can do?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]