From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: <86iktqncx3.fsf@gnu.org> References: <87wmiddtni.fsf@morales.pe> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25445"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73777@debbugs.gnu.org To: Rodrigo Morales Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 18 08:29:06 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t1gTx-0006Tz-U6 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Oct 2024 08:29:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t1gTc-0006tP-FU; Fri, 18 Oct 2024 02:28:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t1gTY-0006tA-Dv for bug-gnu-emacs@gnu.org; Fri, 18 Oct 2024 02:28:40 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t1gTY-0005U6-4l for bug-gnu-emacs@gnu.org; Fri, 18 Oct 2024 02:28:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=ssph/xlLzWEASrvU+77fgbKR4EfR3KN1U9gXVd+Fx3w=; b=q3Gd489Cfk8MUfWm6T5YCFlfIZKJ81RbqyRFix+KTw1bh2fPYzrTkbyrKiLGC+bnoHPuGW/BrcTTyTKrmFmECDXuPPr0u/Pax8wa0KRMZtUfQjscZr8bmlgL4cfddJsMEf3Qz74+4XJVplggZ0Q88/hmi297Rzarp93/oqeQ8IbnqjIrhb5q78bPh42lbONy4maENqof11ecHnqWzxdtnKlDRDFWQf+3HYrgJF14q5+hFoGPvrIuP4huaySwpVJkukt3vAxX77aQTIyab5eockoEkBejPUXRcs41YjT8iHv436wyuYFVbUMlfBOtpXrTIFYxRmOZkDjGVjgyaBx2zQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t1gTt-0005L9-ST for bug-gnu-emacs@gnu.org; Fri, 18 Oct 2024 02:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Oct 2024 06:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73777 X-GNU-PR-Package: emacs Original-Received: via spool by 73777-submit@debbugs.gnu.org id=B73777.172923289220455 (code B ref 73777); Fri, 18 Oct 2024 06:29:01 +0000 Original-Received: (at 73777) by debbugs.gnu.org; 18 Oct 2024 06:28:12 +0000 Original-Received: from localhost ([127.0.0.1]:36799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t1gT5-0005Jr-Qk for submit@debbugs.gnu.org; Fri, 18 Oct 2024 02:28:12 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t1gT2-0005Jb-Al for 73777@debbugs.gnu.org; Fri, 18 Oct 2024 02:28:11 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t1gSY-0005IB-Qj; Fri, 18 Oct 2024 02:27:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=ssph/xlLzWEASrvU+77fgbKR4EfR3KN1U9gXVd+Fx3w=; b=KO/fDLLFmaRmTg2nk+tY msdXUIW748TVF6D2SwVvCNpWhmF7d62OxsILQDIswhs8EGURjZ7t7jSGAL5rMVpVyVzEdBJS/ZZX4 2eMXg9Li03ZV9aWhCBeYeETn3lm9jXfD3eHjCsdGtsif2Q8Tl6KKfXDxwiCXmX4qA1a+cwJ9NE5fE xSvmck21xEMfVyx9aecD3e47JIh3rS5kbtapxRR9fxZLE0oiV5VtoE4dTCAgC5G+yvQP4iF+4T3CM GDgb8E/MKUJ/7u67wCYeNC+ChvzNEniAdXVH5dUv5CK2bqSQqeZtL9DUzwwv6Dsgz3neMP/tieesd zllSy85bCUyJ1Q==; In-Reply-To: <87wmiddtni.fsf@morales.pe> (message from Rodrigo Morales on Sat, 12 Oct 2024 14:10:25 -0500) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:293765 Archived-At: > From: Rodrigo Morales > 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.