unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andrew Hyatt <ahyatt@gmail.com>
To: npostavs@users.sourceforge.net
Cc: Juanma Barranquero <lekktu@gmail.com>,
	1547@debbugs.gnu.org, 1785@debbugs.gnu.org
Subject: bug#1785: bug#1547: face-font-rescale-alist has no effect
Date: Thu, 14 Jul 2016 00:04:16 -0400	[thread overview]
Message-ID: <m2bn20n9vj.fsf@Andrews-MacBook-Pro.local> (raw)
In-Reply-To: <87a8hqiorl.fsf@users.sourceforge.net> (npostavs's message of "Sat, 09 Jul 2016 15:40:14 -0400")

npostavs@users.sourceforge.net writes:

> Andrew Hyatt <ahyatt@gmail.com> writes:
>> I'm looking at this for Emacs 25, just to see if it can reproduce.  I
>> believe this is still the case.  Here's how I attempted to reproduce it
>> (keep in mind I don't have any particular knowledge of this
>> functionality).
>>
>> 1) Start emacs with "emacs -Q" in a window (X-windows, or other system
>> capable of handling different fonts)
>> 2) Eval, in the scratch buffer, (add-to-list 'face-font-rescale-alist
>> (cons (font-at 1) 4.0)).
>
> I think that's not right format for face-font-rescale-alist, the car
> should be a string, not a font object.  Doing
>
>    (add-to-list 'face-font-rescale-alist '(".*" . 4.0))
>
> and tnen opening a new frame gives enlarged text in the new frame, and
> causes only buffer name in the modeline the original frame to be
> enlarged.  Also it looks like the buffer name in the modeline of the new
> frame is enlarged twice.  So it mostly works, but there is some
> difficulty with the existing faces used in the current frame.
>
> Doing
>
>     emacs -Q --eval "(add-to-list 'face-font-rescale-alist '(\".*\" . 4.0))"
>
> does give enlarged text in the initial frame.

Thanks for the information.  I tried this out on a Mac and found that,
with your corrected expression, I was able to see roughly what you see,
with the exception that some faces were not rescaled for some reason,
except when I started it with the rescale list eval'd at emacs start
time.

So, as you note, there are still some bugs here, enough (IMHO) to leave
this open and at the same priority.





  reply	other threads:[~2016-07-14  4:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-12 10:53 bug#1547: face-font-rescale-alist has no effect Juanma Barranquero
2008-12-13  3:30 ` Kenichi Handa
2008-12-14 13:00   ` Juanma Barranquero
2008-12-16 11:33     ` Kenichi Handa
2019-10-31 17:58   ` bug#1785: " Lars Ingebrigtsen
2016-01-07  4:14 ` Andrew Hyatt
2016-07-09 19:40   ` npostavs
2016-07-14  4:04     ` Andrew Hyatt [this message]
2016-07-14 15:08       ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2009-04-17  4:23 Chong Yidong
2009-04-18  4:11 Chong Yidong
2009-04-18 18:14 ` Stefan Monnier
2009-04-22 14:04   ` Chong Yidong
2009-04-25 14:26 Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2bn20n9vj.fsf@Andrews-MacBook-Pro.local \
    --to=ahyatt@gmail.com \
    --cc=1547@debbugs.gnu.org \
    --cc=1785@debbugs.gnu.org \
    --cc=lekktu@gmail.com \
    --cc=npostavs@users.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).