From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.devel Subject: Re: Ligatures Date: Mon, 18 May 2020 19:41:19 +0000 Message-ID: References: <20200517165953.000044d2@web.de> <83lflqblp0.fsf@gnu.org> <83ftbybio3.fsf@gnu.org> <83zha69xs2.fsf@gnu.org> <83367x9qeq.fsf@gnu.org> <83y2pp88lw.fsf@gnu.org> <20200518192528.GC9798@tuxteam.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="115928"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: tomas@tuxteam.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 18 21:43:11 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jalfK-000U2j-1O for ged-emacs-devel@m.gmane-mx.org; Mon, 18 May 2020 21:43:10 +0200 Original-Received: from localhost ([::1]:34028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jalfJ-0003Vq-1C for ged-emacs-devel@m.gmane-mx.org; Mon, 18 May 2020 15:43:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56014) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaleB-0002DV-9s for emacs-devel@gnu.org; Mon, 18 May 2020 15:41:59 -0400 Original-Received: from mail-oo1-xc2b.google.com ([2607:f8b0:4864:20::c2b]:36385) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jale9-0004Oo-S4 for emacs-devel@gnu.org; Mon, 18 May 2020 15:41:59 -0400 Original-Received: by mail-oo1-xc2b.google.com with SMTP id z6so2317582ooz.3 for ; Mon, 18 May 2020 12:41:56 -0700 (PDT) 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:content-transfer-encoding; bh=IS1aeSArM8GOBb3yc5+ebgbBQLCNoQOR8fKOdJ9LDoM=; b=NacRHKM2xDbXS59CY/AU6vrTcO/kWfBZCRCHfzRRQyQJ2PiIe4tQKhAkjMSSDIFFiW aMGfsnjMx9Gqcr3qs9lO/6HS9GlptuL6QNPqIZExYGu3aPUu5lC2Uw42v9hUu0G6C0Ts z2rORE4Xda1dJyWVxDnkO4VOrPFvRTIHcXCfqg7w2d7tpLrvXEpkPmuos2S60F4qMIQR G6ISqttU5kxjteXM8c4P1sHJqkMxFzagVahNqsBxPsA1K0fDAHk+2LX6RJ8AVMAO+rH1 2AurO+CCC27L/0jjXM7AQOaTYitMGmM7E4zYUhLlJddMMD60Nyr50yh7nt3ICFObJo8z GGwg== 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:content-transfer-encoding; bh=IS1aeSArM8GOBb3yc5+ebgbBQLCNoQOR8fKOdJ9LDoM=; b=QOEHlpILZD6WvLBd2nHVpIxj5qHKwyoFhO/ov61jl6pPt6R8XP6TIuBDLisBK/hN55 SIO3p1nYAx13j/XUMDobLR/StVJLc9btfP7g4KhPbc+Py+/X7X43wbCkl8ad0AH37HxQ vMbn3PXL675oqTZSuO/NAcKeLOP4mVynFO7gOhSs9F+Tshi+TnZHxkvrzD49IzGeImWg 39aOt0dkOqpSLW1T9SZa/RZYWsobbGokA9Em6NuZCymmJ+KBXlSYMNkfCorGrtf4DxFF cgyDv89ay0VqJdLe7q/I88KJ0kYDodD+0X6ZvNdI1SGrpGI44wI4392klPGO3Q8yBIPl JgnA== X-Gm-Message-State: AOAM531oCkMjA4uzFzhtpWNdDR7ndH5pvHw9bQSb0nPxX9ocjObY8rBj BJE8zwFGQC5PjVh8vEyv5lgm0Ve3Ef89mUzC0rGGS3pQ X-Google-Smtp-Source: ABdhPJwtSBBTTeyGaHqpwKKBnHy3uRSRrGKI/01Otc/IcCiM6Koqa+I9pnPfZ4XsQ54aqQRvczRo6tgwZRvr+beW8QY= X-Received: by 2002:a4a:e702:: with SMTP id y2mr6873769oou.44.1589830915954; Mon, 18 May 2020 12:41:55 -0700 (PDT) In-Reply-To: <20200518192528.GC9798@tuxteam.de> Received-SPF: pass client-ip=2607:f8b0:4864:20::c2b; envelope-from=pipcet@gmail.com; helo=mail-oo1-xc2b.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:250817 Archived-At: On Mon, May 18, 2020 at 7:27 PM wrote: > > And this is where it gets back to "let's not hardcode the dependency > > on Harfbuzz and FreeType, because other backends might actually give > > us the information we need". > > But how should a backend guess where the subparts of a cluster are > without the font providing it? Well, of course it shouldn't. It should return the information that is available, and then we can decide, based on a user setting, what we want to do about it: the options are, at least, to treat the ligature as atomic (the right thing to do for ligatures like %, &, and =C3=9F), guess (possibly the right thing to do for ffi?), or refuse to use the ligature in question and fall back to individual characters (which isn't always possible, but it is what we do right now for ASCII ligatures). > And in the latter case, HarfBuzz > does give us the info. How so? I honestly don't think it does, because it would treat the ligature as one glyph.