bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#48408: BUGFIX: window-default-font-height: check for nil string


From: martin rudalics
Subject: bug#48408: BUGFIX: window-default-font-height: check for nil string
Date: Sun, 16 May 2021 11:28:00 +0200

> Actually, no, I do have an opinion on that: face-font can return a
> string even on a TTY frame, at least in a build --without-x.  (Which
> seems to be an inconsistency in and of itself, btw.)
>
> In general, trusting frame parameters too much is IME not a good idea,
> as they are too loosely defined.

Is it possible that `window-font-width' and `window-font-height' run
into a similar problem when `face-font' returns nil?

martin





reply via email to

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