From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: jsbien@mimuw.edu.pl (Janusz S. =?UTF-8?Q?Bie=C5=84?=) Newsgroups: gmane.emacs.bugs Subject: bug#45184: 26.1; Private Unicode plains 15 and 16 seem not supported Date: Sat, 12 Dec 2020 07:19:15 +0100 Message-ID: <87ft4b7di4.fsf@mimuw.edu.pl> References: <87v9d8mdlk.fsf@mimuw.edu.pl> <83k0to14uu.fsf@gnu.org> Reply-To: jsbien@mimuw.edu.pl Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11684"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: 45184@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 12 07:20:13 2020 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 1knyGK-0002vB-PU for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Dec 2020 07:20:12 +0100 Original-Received: from localhost ([::1]:38414 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knyGJ-0002Jn-8U for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Dec 2020 01:20:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knyGA-0002Jd-Qa for bug-gnu-emacs@gnu.org; Sat, 12 Dec 2020 01:20:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60511) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1knyGA-0004EH-J0 for bug-gnu-emacs@gnu.org; Sat, 12 Dec 2020 01:20:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1knyGA-0006lk-DJ for bug-gnu-emacs@gnu.org; Sat, 12 Dec 2020 01:20:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: jsbien@mimuw.edu.pl (Janusz S. =?UTF-8?Q?Bie=C5=84?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Dec 2020 06:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45184 X-GNU-PR-Package: emacs Original-Received: via spool by 45184-submit@debbugs.gnu.org id=B45184.160775396325930 (code B ref 45184); Sat, 12 Dec 2020 06:20:02 +0000 Original-Received: (at 45184) by debbugs.gnu.org; 12 Dec 2020 06:19:23 +0000 Original-Received: from localhost ([127.0.0.1]:43824 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knyFX-0006kA-4n for submit@debbugs.gnu.org; Sat, 12 Dec 2020 01:19:23 -0500 Original-Received: from mail.mimuw.edu.pl ([193.0.96.6]:53139) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knyFU-0006jw-2E for 45184@debbugs.gnu.org; Sat, 12 Dec 2020 01:19:21 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by duch.mimuw.edu.pl (Postfix) with ESMTP id B8045618E3B58; Sat, 12 Dec 2020 07:19:18 +0100 (CET) X-Virus-Scanned: amavisd-new at mimuw.edu.pl Original-Received: from duch.mimuw.edu.pl ([127.0.0.1]) by localhost (mail.mimuw.edu.pl [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id FjC5NeQ2W-9h; Sat, 12 Dec 2020 07:19:16 +0100 (CET) Original-Received: from jsbdebian.mimuw.edu.pl (unknown [176.221.123.157]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by duch.mimuw.edu.pl (Postfix) with ESMTPSA; Sat, 12 Dec 2020 07:19:15 +0100 (CET) In-Reply-To: <83k0to14uu.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 11 Dec 2020 22:10:17 +0200") 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:195821 Archived-At: On Fri, Dec 11 2020 at 22:10 +02, Eli Zaretskii wrote: > severity 45184 wishlist This is a bug report, not a feature request. > thanks > >> From: jsbien@mimuw.edu.pl (Janusz S. Bie=C5=84) >> Date: Fri, 11 Dec 2020 18:55:51 +0100 >>=20 >> I intend to use plains 15 and/or 16 for the historical variant of Polish >> letters. An appropriate font is understand preparation, but not yet >> available publicty. >>=20 >> When the font was installed in ./loca/share/fonts, a QT program found it >> and displayed the characters correctly. Emacs, to the contrary, for >>=20 >> character: =F3=B0=80=80 (displayed as =F3=B0=80=80) (codepoint 983040, #= o3600000, #xf0000) >>=20 >> reports "no font available". > > That's because Emacs has no idea that you are using SPUA planes for > Polish. The fact that I want to use the characters for Polish is irrelevant. > You need to tell Emacs about that by augmenting your fontset. The PUA from the Basic Multulingual Plane are used by me for years and do not require doing anything with the fontset. For example, LATIN SMALL LETTER LONG S WITH FLOURISH (coming from the Medieval Unicode Font Initiative) is displayed without problem and the appropriate font is found automatically: character: =EE=A2=B7 (displayed as =EE=A2=B7) (codepoint 59575,= #o164267, #xe8b7) xft:-psbk-Junicode-normal-normal-normal-*-15-*-*-*-*-0-iso10646-1 (#x94= C) The same should happen for the characters from plains 15 and 16. However now even the explicit selection of the appropriate font doesn't help. > (And even after you do that, there could be problems, because Emacs > doesn't treat PUA ranges of Unicode codepoints as characters.) Really? What do you exactly mean? My experience contradicts this statement. I think the Emacs code just for some reason limits the range of the Unicode characters, and the limitation should be removed. Regards Janusz --=20 ,=20=20=20 Janusz S. Bien emeryt (emeritus) https://sites.google.com/view/jsbien