From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: Ligatures (was: Unify the Platforms: Cairo+FreeType+Harfbuzz Everywhere (except TTY)) Date: Fri, 22 May 2020 15:33:59 -0400 Message-ID: References: <20200517165953.000044d2@web.de> <99d4beed-88ae-b5cd-3ecb-a44325c8a1dc@gmail.com> <20200518215908.GA57594@breton.holly.idiocy.org> <83mu6481v3.fsf@gnu.org> <75a90563-51b4-d3b8-4832-fc0e2542af0d@gmail.com> <83blmi7hys.fsf@gnu.org> <837dx55qff.fsf@gnu.org> <834ks95cmz.fsf@gnu.org> <4faa291f-f2df-36d1-73d5-332b93a9b6d8@gmail.com> <83wo544hx5.fsf@gnu.org> <831rnc43ih.fsf@gnu.org> <83ftbs2jr5.fsf@gnu.org> <838shk2ga3.fsf@gnu.org> <835zcn3iao.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="29234"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 Cc: alan@idiocy.org, pipcet@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 22 21:34:39 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 1jcDRG-0007Um-TM for ged-emacs-devel@m.gmane-mx.org; Fri, 22 May 2020 21:34:38 +0200 Original-Received: from localhost ([::1]:34710 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jcDRF-0002Io-Tz for ged-emacs-devel@m.gmane-mx.org; Fri, 22 May 2020 15:34:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcDQi-0001sC-02 for emacs-devel@gnu.org; Fri, 22 May 2020 15:34:04 -0400 Original-Received: from mail-qk1-x729.google.com ([2607:f8b0:4864:20::729]:42023) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jcDQh-0001uZ-8m; Fri, 22 May 2020 15:34:03 -0400 Original-Received: by mail-qk1-x729.google.com with SMTP id s1so11842245qkf.9; Fri, 22 May 2020 12:34:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=jqp4+tt5eRG9pu6xs5dgOsbBkiMWRMu08bWO6MSFC7Y=; b=X2cc5M2uTijeo7aytGeCxyab2a2Yahdz/Nlp66/mg/4nv7w02y3rGQX4nvqw0slJnr E/Zdn7nYDCmjjE0ihLdLZItScX0QVs31qLh2ibkYQopHkfCL8Setjg8I0qNssOaL3StA Ey3BWX4hRvpLH3IJM7gDjl9kAIGw3JiwuzjOoOSr5fsd1iAY+841GAp0aq/Cib51bR7M ojyOiO0Sr7LZriXWASfnJ1SGshtDCD+YZcOO+Z6kIrecPNXFlj6pq7cpZFCSVVgnQ5wm 1NRCsnkcst+Upc4jYflGMw5toohO4O/IzQgFM4Kib3+3jyDijXxQxDTl9Dt0Hti9MpAN 5JcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=jqp4+tt5eRG9pu6xs5dgOsbBkiMWRMu08bWO6MSFC7Y=; b=Gc4TVnrGZBCrg33PnpkIVXZmX68kMXy7Qs4Q2Nd6sCSn+b97zmZtf/17I/W7sTp4b5 KSPKSCvsOHBfEGRptNgPenvPOPvtuTn0aF72EGsNfiPl3SLaeWWbI0fhDT5+SecVeQXM dfkUumW4oZNEN+ZrY111N1PLoXQdBb/ilwzgaFeSY3EVXpHgQkY//D4Xr6IPQ5OD8jOQ 3E0fgtE3TClTbIOfC0EVXrsrYcphNsa9qT2FtrBg27NKZV7UtsmTzTJmfCphZPtVdLHI WwATZrKWuoscQtamWZMK2csjon1X0H7NyhWGG693GCjM5vPeQ2lJNfntLk/JmTKcYQjW 4bTg== X-Gm-Message-State: AOAM532o65AeiClheIDsau7p1YhXSqcRkQ+OXXZGUj8Sb8oCZyyEjh0J r6jf0P8Y/OAev/ATqYuf/Wx18tNk X-Google-Smtp-Source: ABdhPJx4KxeXeb+8kGKezf/Fch1XtKIAUggHGdP01Ow2ifEBr5W/tqeIAvkKhZFlXpW9u74HcBXdyA== X-Received: by 2002:a37:7884:: with SMTP id t126mr8405553qkc.450.1590176041776; Fri, 22 May 2020 12:34:01 -0700 (PDT) Original-Received: from ?IPv6:2601:184:4180:66e7:bda5:ac5c:1de0:b677? ([2601:184:4180:66e7:bda5:ac5c:1de0:b677]) by smtp.googlemail.com with ESMTPSA id f7sm8198347qtg.96.2020.05.22.12.33.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 22 May 2020 12:34:01 -0700 (PDT) In-Reply-To: <835zcn3iao.fsf@gnu.org> Content-Language: en-GB Received-SPF: pass client-ip=2607:f8b0:4864:20::729; envelope-from=cpitclaudel@gmail.com; helo=mail-qk1-x729.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: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_REPLY=1, 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:251244 Archived-At: On 22/05/2020 15.01, Eli Zaretskii wrote: >> Cc: pipcet@gmail.com, alan@idiocy.org, emacs-devel@gnu.org >> From: Clément Pit-Claudel >> Date: Fri, 22 May 2020 10:34:06 -0400 >> >>> I was talking about ligatures made from letters, not symbols. >> >> But then how do you handle symbol ligatures? > > By using suitable regular expressions. E.g., you could take the list > of ligatures in that FiraCode site and convert them into a regexp or a > set of regexps. Thanks. I don't understand why we need to do this, but if we have technical limitations that force us to add those regular expressions then maybe it's not the end of the world (I understand that there is value in being able to selectively disable ligatures, using regexps or something else, but it seems surprising that we'll need extra Emacs-specific work for each and every font that includes ligatures).