GNU bug report logs - #73777
set-fontset-font doesn't set :size for specific characters when using some fonts

Previous Next

Package: emacs;

Reported by: Rodrigo Morales <rodrigo-mailing-lists <at> morales.pe>

Date: Sat, 12 Oct 2024 19:12:01 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Rodrigo Morales <rodrigo-mailing-lists <at> morales.pe>
Cc: 73777 <at> debbugs.gnu.org
Subject: bug#73777: set-fontset-font doesn't set :size for specific characters when using some fonts
Date: Fri, 18 Oct 2024 09:27:36 +0300
> From: Rodrigo Morales <rodrigo-mailing-lists <at> morales.pe>
> Date: Sat, 12 Oct 2024 14:10:25 -0500
> 
> 
> I am using GNU Emacs 29.4 in Ubuntu 22.04.5 LTS.
> 
> Today, I was trying to change the font size for the character =“= (#x201C, LEFT DOUBLE QUOTATION MARK) using the sexp shown below. I noticed an inconsistency: that sexp only sets the size for the character =“= when specific fonts are used.
> 
> #+BEGIN_SRC elisp
> (set-fontset-font t ?“ (font-spec :family "Noto Sans Mono" :size 50))
> #+END_SRC

Before I start digging into how we handle :size in a fontset, I have
two questions:

 . did you reset use-default-font-for-symbols to nil? without that,
   Emacs prefers to use the default face's font for punctuation and
   symbols, effectively disregarding the fontsets
 . which fonts did you find problematic in this case? you say
   "specific fonts", but it is not clear which fonts exhibit this
   behavior

Thanks.




This bug report was last modified 214 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.