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: Sat, 19 Oct 2024 09:36:51 +0300 Message-ID: <86frosmwe4.fsf@gnu.org> References: <87wmiddtni.fsf@morales.pe> <86iktqncx3.fsf@gnu.org> <87ttd8di7o.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="25912"; 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 Sat Oct 19 08:38:04 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 1t236C-0006cP-Hm for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Oct 2024 08:38:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t235t-0007Ni-Ex; Sat, 19 Oct 2024 02:37:45 -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 1t235n-0007NP-A5 for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2024 02:37:39 -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 1t235n-0006zH-22 for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2024 02:37:39 -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=Bt9njDZsK5yTR/MglaN5hhx3KVAyvafgSMrp1m6fmiE=; b=Gk6VW6X40OpanFTV+Bc/iMv/Z8VBIu/s4toLSpwLxWbpS+u6KGb8zK/D6SsZJRRDpFMexhFr0j9MP7rBcLRffrZqNWr1BSbnbB5bfHyu7Jk69vIH6pHXi2UqlUc8LZnstLQW4r1XPVSd2JO5BD90PBWvMnaFkp4keksKDhSUMDG/hLo2JYIT8I8lXA78S0c63CdMpWM2hM7vUhem+x2pHUP5Hp/4ElyJsH5XIL9x0to3qCYiOChiOkqO9RiuB6XFIQTcQigefG3js9LBlyRzqg5Bx8Sa7Jy0R2HBTlYQh/ySHOsYqUnCaDN43aM2b+IZCi0Q698jwyShAnMEyC8Tdw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t2369-0005o6-UA for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2024 02:38: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: Sat, 19 Oct 2024 06:38: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.172931984722273 (code B ref 73777); Sat, 19 Oct 2024 06:38:01 +0000 Original-Received: (at 73777) by debbugs.gnu.org; 19 Oct 2024 06:37:27 +0000 Original-Received: from localhost ([127.0.0.1]:41027 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t235a-0005nB-ST for submit@debbugs.gnu.org; Sat, 19 Oct 2024 02:37:27 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t235Y-0005mx-8a for 73777@debbugs.gnu.org; Sat, 19 Oct 2024 02:37:24 -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 1t2353-0006xA-FE; Sat, 19 Oct 2024 02:36:53 -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=Bt9njDZsK5yTR/MglaN5hhx3KVAyvafgSMrp1m6fmiE=; b=NJ8DX4tit7KMYBbYacl/ P7W8+5Wkc+i0zI5+0yapg1k7G8Zu/bF8uSUCZuKzFYKbEj2VUNGHNSOQ8kf35nNIpxCNgUPjEobS0 lrvfQvhhZ9HlBuvANXaXw7gVNFt9h+8jXZ5ddX+QJ8gMXyMVZ2SIE6qSSQ5YC2iLzRcIu4uYJzF94 GBa6btdjWAemtH65AvfRJ7d1sUNaBOhpRJBnlsFQsbIUoTTTSVxmbiXbIfqInSwZXOqxDqhW+tBsO DNbWKe+8vaqd6LA4YDlA1P+t6zSs4cMEi43L3d6mwsGanblrn74SmNX2wky9DDf4hWe/dyiXeGFrV xL50sMw2TAr99g==; In-Reply-To: <87ttd8di7o.fsf@morales.pe> (message from Rodrigo Morales on Fri, 18 Oct 2024 19:55:39 -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:293831 Archived-At: > From: Rodrigo Morales > CC: <73777@debbugs.gnu.org> > Date: Fri, 18 Oct 2024 19:55:39 -0500 > > > . 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 > > No. I didn't know that the variable use-default-font-for-symbols existed > when I wrote that message. Now that I know of its existence, I believe > that Emacs behaves consistently with regards to what I mentioned in my > first message. > > > . which fonts did you find problematic in this case? you say > > "specific fonts", but it is not clear which fonts exhibit this > > behavior > > I thought that the font which was problematic was "Noto Sans Mono" > because when I used that font (in "Experiment 1" and "Experiment 2"), I > could not increase the size of the character “ (#x201C, LEFT DOUBLE > QUOTATION MARK) by evaluating (set-fontset-font t ?“ (font-spec :family > "Noto Sans Mono" :size 50)), . However, when I used "Fixed 5" (in > "Experiment 3"), evaluating (set-fontset-font t ?“ (font-spec :family > "Noto Sans Mono" :size 50)) did increase the size of the character > (#x201C, LEFT DOUBLE QUOTATION MARK). > > Now that I know that the variable use-default-font-for-symbols controls > whether Emacs should honor fontsets, I don't think there's a problematic > font, instead it was my fault for not correctly knowing the variable > that instruct Emacs that it shoud honor fontsets. It's an obscure variable, not mentioned in any manuals (because we don't believe someone will want to specify a separate font for punctuation characters). It's a little wonder you didn't know about it. So does this mean we can now close this bug? Or are there any left-overs we still need to handle?