From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#33019: 26.1; can not set fontset as frame font by set-frame-font Date: Mon, 21 Feb 2022 15:57:10 +0100 Message-ID: <87pmngi7y1.fsf@gnus.org> References: <86bm80a5ip.fsf@gmail.com> <83pnwfwtkh.fsf@gnu.org> <86sh1bro7t.fsf@gmail.com> <834ldrvt8k.fsf@gnu.org> <86o9byslsf.fsf@gmail.com> <831s8uwfwl.fsf@gnu.org> <86k1mmrv1z.fsf@gmail.com> <83h8hqungs.fsf@gnu.org> <86ftxarsxg.fsf@gmail.com> <83d0seukdr.fsf@gnu.org> <86bm7yrnx4.fsf@gmail.com> <83a7niugnc.fsf@gnu.org> <867eilsy91.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24184"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 33019@debbugs.gnu.org To: ynyaaa@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 21 16:02:49 2022 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 1nMADB-00068u-Hs for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Feb 2022 16:02:49 +0100 Original-Received: from localhost ([::1]:57890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nMADA-00024n-DE for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Feb 2022 10:02:48 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37916) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMA8Y-0006fH-7n for bug-gnu-emacs@gnu.org; Mon, 21 Feb 2022 09:58:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44705) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nMA8X-0008Hu-U3 for bug-gnu-emacs@gnu.org; Mon, 21 Feb 2022 09:58:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nMA8X-0003Ub-RJ for bug-gnu-emacs@gnu.org; Mon, 21 Feb 2022 09:58:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Feb 2022 14:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33019 X-GNU-PR-Package: emacs Original-Received: via spool by 33019-submit@debbugs.gnu.org id=B33019.164545544513077 (code B ref 33019); Mon, 21 Feb 2022 14:58:01 +0000 Original-Received: (at 33019) by debbugs.gnu.org; 21 Feb 2022 14:57:25 +0000 Original-Received: from localhost ([127.0.0.1]:38250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMA7w-0003OR-Ns for submit@debbugs.gnu.org; Mon, 21 Feb 2022 09:57:24 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:39620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMA7v-0003Km-BG for 33019@debbugs.gnu.org; Mon, 21 Feb 2022 09:57:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=N7wV1ozKx44mTtPoo/ixcRG4Vm85TBnh1DA/OgrpX0k=; b=etT+tFm+rHvvtQepE3cge6Y2eN somChuuD/bscCuLvNkltTj87AtxHtUXuM/kchjjl4BFh00r8oOcFWNPSAQikhloOy/a9WcPkRQp5N vsb8CgHHHJ+mksVDraDXYkvbibueXK2KlcVmeYwNYRHxKcCNeFDAjbGExtTEzWkbuFZk=; Original-Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nMA7l-00006T-EA; Mon, 21 Feb 2022 15:57:16 +0100 X-Now-Playing: Modern English's _Take Me To The Trees_: "Flood Of Light" In-Reply-To: <867eilsy91.fsf@gmail.com> (ynyaaa@gmail.com's message of "Sat, 13 Oct 2018 23:43:38 +0900") 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" Xref: news.gmane.io gmane.emacs.bugs:227350 Archived-At: --=-=-= Content-Type: text/plain ynyaaa@gmail.com writes: > Evaluating the form below, five U+4E00s are inserted with same glyphs. > C-u C-x = on each character shows the same information. > >> display: by this font (glyph code) >> uniscribe:-outline-Noto Sans CJK JP >> Regular-normal-normal-normal-sans-17-*-*-*-p-*-iso8859-1 (#x2667) > > (let ((prefix "-outline-Noto Serif CJK JP-normal-normal-normal-serif-*-*-*-*-p-*-")) > (set-frame-font "Noto Mono") > (set-fontset-font "fontset-default" '(#x4E00 . #x9FFF) > "Noto Sans CJK JP Regular") > (insert "\x4E00" > (propertize "\x4E00" 'face '(:family "Noto Serif CJK JP")) > (propertize "\x4E00" 'face '(:font "Noto Serif CJK JP")) > (propertize "\x4E00" 'face (list :font (concat prefix "iso10646-1"))) > (propertize "\x4E00" 'face (list :font (concat prefix "jisx0208-sjis"))) > )) (I'm going through old bug reports that unfortunately weren't resolved at the time.) Trying this in Emacs 29, I get a different font on the second char: --=-=-= Content-Type: image/png Content-Disposition: inline Content-Transfer-Encoding: base64 iVBORw0KGgoAAAANSUhEUgAAANMAAABNCAMAAAALtaHYAAAABGdBTUEAALGPC/xhBQAAACBjSFJN AAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAflBMVEXy8vL///8AAAD5+fn8 3pxNJjl1uOb8////+NOMPg8BAAABByNXndX2///+9One3dzc3Nzc3Ne2djIJAQABAhVBg8Tu/v// //zZiDYFAAAAAAIZaLz5///82Ig2BQAAAAEBBh1drOr+//////3dl08lICAgICAgICI2e8T6//8O wtrnAAAAAWJLR0QB/wIt3gAAABBjYU52AAAPAAAACWAAAAhGAAADOnMVnMEAAAC4SURBVGje7dRH DsIwFEXRJPTee++w/w2yARQ8iJCDzh1aT186EydJkpakLPAtTZiYmJiYmJiYmJgiMX2q5KbgmJiY mJiYmJiYmJiYmJiYmJiiMFX+z1St1Rt/Zmq22p1ur4ym/mD4udF4kmXT2Twy02K5yvJab7bpbp+3 OBxP54ArxUwKM30vLtPlervn9Xi+AkwBV4qZ/OQvjy4mJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYm Jqb83to8W84zWJEGAAAAAElFTkSuQmCC --=-=-= Content-Type: text/plain But I'm not sure I understand this bug report fully. Are you still seeing this problem in recent Emacs versions? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no --=-=-=--