unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Rodrigo Morales <rodrigo-mailing-lists@morales.pe>
Cc: 73777@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	[thread overview]
Message-ID: <86iktqncx3.fsf@gnu.org> (raw)
In-Reply-To: <87wmiddtni.fsf@morales.pe> (message from Rodrigo Morales on Sat,  12 Oct 2024 14:10:25 -0500)

> From: Rodrigo Morales <rodrigo-mailing-lists@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.





  reply	other threads:[~2024-10-18  6:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-12 19:10 bug#73777: set-fontset-font doesn't set :size for specific characters when using some fonts Rodrigo Morales
2024-10-18  6:27 ` Eli Zaretskii [this message]
2024-10-19  0:55   ` Rodrigo Morales
2024-10-19  6:36     ` Eli Zaretskii

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=86iktqncx3.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=73777@debbugs.gnu.org \
    --cc=rodrigo-mailing-lists@morales.pe \
    /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).