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#10867: 26.3; XIM preedit/status font handling Date: Sat, 08 Aug 2020 11:00:19 +0300 Message-ID: <83bljl7ejw.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39305"; mail-complaints-to="usenet@ciao.gmane.io" Cc: wengxt@gmail.com, 10867@debbugs.gnu.org To: Yichao Yu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 08 10:01:20 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 1k4Jn5-000A5B-EO for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 Aug 2020 10:01:19 +0200 Original-Received: from localhost ([::1]:39084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k4Jn4-0003ks-23 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 Aug 2020 04:01:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k4Jmq-0003kf-AZ for bug-gnu-emacs@gnu.org; Sat, 08 Aug 2020 04:01:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46453) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k4Jmo-0000u9-Fx for bug-gnu-emacs@gnu.org; Sat, 08 Aug 2020 04:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k4Jmo-00077E-F3 for bug-gnu-emacs@gnu.org; Sat, 08 Aug 2020 04:01:02 -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, 08 Aug 2020 08:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10867 X-GNU-PR-Package: emacs Original-Received: via spool by 10867-submit@debbugs.gnu.org id=B10867.159687363127306 (code B ref 10867); Sat, 08 Aug 2020 08:01:02 +0000 Original-Received: (at 10867) by debbugs.gnu.org; 8 Aug 2020 08:00:31 +0000 Original-Received: from localhost ([127.0.0.1]:57999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k4JmJ-00076M-9D for submit@debbugs.gnu.org; Sat, 08 Aug 2020 04:00:31 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k4JmH-000769-Oy for 10867@debbugs.gnu.org; Sat, 08 Aug 2020 04:00:30 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43471) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k4JmC-0000fy-Cp; Sat, 08 Aug 2020 04:00:24 -0400 Original-Received: from [176.228.60.248] (port=4694 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k4JmA-0001R2-8m; Sat, 08 Aug 2020 04:00:22 -0400 In-Reply-To: (message from Yichao Yu on Sun, 2 Aug 2020 16:07:26 -0400) 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:184301 Archived-At: > From: Yichao Yu > Date: Sun, 2 Aug 2020 16:07:26 -0400 > Cc: Xuetian Weng > > > ## What other programs do > > * xterm seems to use "fixed" to lookup font > > * qt4 https://dreamswork.github.io/qt4/qximinputcontext__x11_8cpp_source.html > > AFAICT uses different fonts? > > * gtk I don't actually see where it set fonts... > > @Xuetian Weng dug deeper into this > > > > ## Fix > > I'm not sure what's the correct one. It seems that setting the fontSet > > is necessary although I'm not sure how/if gtk get away with it. > > According to @Xuetian Weng virtually no one use this setting anymore > > so setting a dummy value to comfort xlib might be good enough? It > > would avoid both issues at the same time. > > And since it's basically a useless setting at this point, this fix seems to work Thanks. Can someone with access to a system with this issue and sufficient knowledge of what's going on please review this patch? TIA