From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.help Subject: Re: Display of decomposed characters Date: Fri, 25 Dec 2020 18:14:31 +0100 Message-ID: References: <83v9csplwq.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40658"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 25 18:16:00 2020 Return-path: Envelope-to: geh-help-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 1ksqh5-000ASc-RT for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 25 Dec 2020 18:15:59 +0100 Original-Received: from localhost ([::1]:34700 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ksqh4-0002wG-RT for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 25 Dec 2020 12:15:58 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45134) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ksqga-0002t4-0P for help-gnu-emacs@gnu.org; Fri, 25 Dec 2020 12:15:29 -0500 Original-Received: from mail-ot1-x32d.google.com ([2607:f8b0:4864:20::32d]:43586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ksqft-0002Dq-15; Fri, 25 Dec 2020 12:15:27 -0500 Original-Received: by mail-ot1-x32d.google.com with SMTP id q25so4133522otn.10; Fri, 25 Dec 2020 09:14:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bUh0tvGc4/tPjlgeVi/1Hli7GKF2yMnb7sjkjnop/A4=; b=obh/nctAhzrhFZUhtGcJ2sXv9uzWhkRj5lRRwNAhpjh9bs3R3rHie6NRLVDJVV/wLr 0IppEYHrvxxYoyMP4hYGLw5LCI9kR+1/ahYAD+4hRjaKNRr+dl/AdcME4DpnEEMmyHN/ qIyKRxsez28K0vdQ0nwen+44Egd6XEh9U0VqexZzkS5TVOL1FrKPqHFF6fYvaHOjAToh mFSGM3d6PeADoPHPhKQEAt8e5p/dgwdrL3+WJC65yjlVFP2hwSsVQYabuAyWuvnoTcCI p7X8lG7AtEz5rhaC2lnAKZ9+zFbGvkGyaI4nxwj0tkCsTfnfztHAtEOFnqg7kvWwH2WL igKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bUh0tvGc4/tPjlgeVi/1Hli7GKF2yMnb7sjkjnop/A4=; b=QmkstzbyDhhy+kqBynMaHJgtMAnyPOLp2BdAjPBLKWUXLFK97wdxaIOxE9MkmnJzmQ TIH7esyFg3kmWwlpaacKyp1/B0mxg1KXSW7tVY9FiL4Y3h8ZJF8FbjGMUChmFVjfESYq WP00+LOuWa40ia2p3/mY9Qz6lUmsr/o6da8bBQJvWZvzAREVPYG5TCbZ2dVIyMkCjChQ MS9EnGEIwdbKI+EFOZc4cTkttH9fpJSuiTz5KchoYan1tcBrlRlEmvk+2XydrVSPSwkT 1fMRRA0pkD41g5lzg3BVuSNJFCJ1FD7KajeLfBzjx8n/C+Q5s5VpQk6xaECR13D7siZ3 Ax+Q== X-Gm-Message-State: AOAM532LBY8/I3ulMEgtASl6mDObhPhzGuMlOr0tmFOrIIohDt1NaK4X qmV2i4lj6MetUPAC4baMA1w+qsr9HhmbCuNCjcfono06ems= X-Google-Smtp-Source: ABdhPJxv5pqdb1S4Rxjq4GXPIEdZUkdypCaNH3kYqqPuK0onHOXNqb6uV0lKjbeDVmH647VZuYD7pnsFJV0p0c6AD5Y= X-Received: by 2002:a9d:269:: with SMTP id 96mr25806741otb.174.1608916482972; Fri, 25 Dec 2020 09:14:42 -0800 (PST) In-Reply-To: <83v9csplwq.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::32d; envelope-from=p.stephani2@gmail.com; helo=mail-ot1-x32d.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:126761 Archived-At: Am Mi., 23. Dez. 2020 um 16:44 Uhr schrieb Eli Zaretskii : > > > From: Philipp Stephani > > Date: Wed, 23 Dec 2020 11:05:13 +0100 > > > > Before filing a bug, I wanted to ask whether the following Emacs > > behavior is intentional: Even with Cairo and Harfbuzz, Emacs displays > > decomposed Unicode characters (e.g. "a" followed by U+0308 COMBINING > > DIAERESIS) as separate glyphs. While that's not technically wrong, I > > think it would be better to display them as a single glyph, in other > > words, not distinguish between canonically equivalent Unicode strings. > > They are (or should be) displayed as a composed glyph if you are using > a font that supports both a and COMBINING DIAERESIS. Emacs cannot > compose characters that aren't supported by the same font (because > composition processing stops at face boundaries, and each font defines > internally a separate face). Interesting. Indeed the two glyphs come from different fonts. Is there a way to force a single font for both of them? Or should the algorithm be changed to perform composition before font selection?