From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#36914: Font Ligatures Date: Sun, 04 Aug 2019 05:45:10 +0300 Message-ID: <835zndejih.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="188992"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 36914@debbugs.gnu.org To: Charles Jackson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 04 04:46:12 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hu6XC-000mzR-0A for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Aug 2019 04:46:10 +0200 Original-Received: from localhost ([::1]:42674 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hu6XA-0000Mh-FC for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Aug 2019 22:46:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39532) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hu6X5-0000Lg-HR for bug-gnu-emacs@gnu.org; Sat, 03 Aug 2019 22:46:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hu6X4-00021W-FM for bug-gnu-emacs@gnu.org; Sat, 03 Aug 2019 22:46:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51484) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hu6X4-00021P-Bs for bug-gnu-emacs@gnu.org; Sat, 03 Aug 2019 22:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hu6X4-0003Hs-9B for bug-gnu-emacs@gnu.org; Sat, 03 Aug 2019 22:46: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: Sun, 04 Aug 2019 02:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36914 X-GNU-PR-Package: emacs Original-Received: via spool by 36914-submit@debbugs.gnu.org id=B36914.156488673612582 (code B ref 36914); Sun, 04 Aug 2019 02:46:02 +0000 Original-Received: (at 36914) by debbugs.gnu.org; 4 Aug 2019 02:45:36 +0000 Original-Received: from localhost ([127.0.0.1]:60301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hu6We-0003Gs-7A for submit@debbugs.gnu.org; Sat, 03 Aug 2019 22:45:36 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55369) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hu6Wb-0003Ge-VW for 36914@debbugs.gnu.org; Sat, 03 Aug 2019 22:45:35 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37291) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hu6WW-0001s2-Ap; Sat, 03 Aug 2019 22:45:28 -0400 Original-Received: from [176.228.60.248] (port=1687 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hu6WV-0007Yq-Je; Sat, 03 Aug 2019 22:45:28 -0400 In-reply-to: (message from Charles Jackson on Sat, 03 Aug 2019 20:34:14 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:164524 Archived-At: > Date: Sat, 03 Aug 2019 20:34:14 +0000 > From: Charles Jackson > > I am requesting that GNU Emacs supports ligatures out of the box. I know > about pretty-symbols-mode, and it is great, but it is not font > ligatures. > > Take my case for example: I just found the a new (new to me) font called > Monoid (https://larsenwork.com/monoid/). It provides ligatures for > various programming symbols That I would like to use. The ligatures are > provided as actual True Type Font ligatures rather than Unicode symbols > used by pretty-symbols-mode. Thus I couldn't use them at all. I even > tried to look at the source code for the font to find the character > code, but the codes for the ligature glyphs were not correct or did not > exist. > > I am asking you to provide font ligatures out of the box (emacs -Q) by > using whatever fancy system that True Type Fonts use. This has become a > feature that most text editors and word processors have by > default. Emacs has no excuse. Please be more specific about the feature you'd like to see: how would Emacs support the ligatures? should it, for example, automatically produce ff when you type "ff" and ffi when you type "ffi"? Or do you want the ligation to happen only on-demand? IOW, we need a user-level specification to make this happen. Because the infrastructure for supporting ligatures already exist, since we started supporting the HarfBuzz shaping engine in Emacs. Thanks.