all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Oleksandr Gavenko <gavenkoa@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Do Emacs support font ligatures?
Date: Mon, 26 Sep 2016 23:32:38 +0300	[thread overview]
Message-ID: <87zimuh061.fsf@gavenkoa.example.com> (raw)
In-Reply-To: 83y42f9ytm.fsf@gnu.org

On 2016-09-26, Eli Zaretskii wrote:

>> From: Oleksandr Gavenko <gavenkoa@gmail.com>
>> Date: Sun, 25 Sep 2016 22:11:28 +0300
>> 
>> I interested if ligatures supported by font rendering engines behind
>> Emacs.
>
> Unless I misunderstand what you mean, Emacs should already treat
> ligatures correctly.  If you see something else, please tell the
> details, it could be a bug or a missing feature.

I got font Monoid from:

  http://larsenwork.com/monoid/

Put .ttf files to $HOME/.local/share/fonts:

  -rw-r--r--  1 user user  73052 2016-07-17 04:11:53 Monoid-Bold.ttf
  -rw-r--r--  1 user user  95128 2016-07-17 04:12:14 Monoid-Italic.ttf
  -rw-r--r--  1 user user  79248 2016-07-17 04:13:04 Monoid-Regular.ttf
  -rw-r--r--  1 user user  81928 2016-07-17 04:12:39 Monoid-Retina.ttf

Opened "geany" GTK based editor and select Monoid-9 font.

Put text:

  ==   =>   ->   -->

It was shown as 4 ligatures.

With "emacs -Q" and:

  (set-frame-font "Monoid-9")

I see separate glyphs for "=", ">", "-" instead of 4 ligatures.

  GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.21.5) of 2016-09-05 on trouble, modified by Debian

================

Under page:

  http://larsenwork.com/monoid/

there is "Ligatures" section and site CSS uses embedded fonts.

If you open in modern Web browser (I've succeeded with Firefox 49) you see
different arrows ligature instead of groups of 2/3 separated glyphs for
=/</>/- characters.

================

Is that usual for Emacs bug-report to include PNG screenshot?

-- 
http://defun.work/




  reply	other threads:[~2016-09-26 20:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-25 19:11 Do Emacs support font ligatures? Oleksandr Gavenko
2016-09-26  2:31 ` Eli Zaretskii
2016-09-26 20:32   ` Oleksandr Gavenko [this message]
2016-09-27 14:26     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zimuh061.fsf@gavenkoa.example.com \
    --to=gavenkoa@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.