help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Do Emacs support font ligatures?


From: Oleksandr Gavenko
Subject: Re: Do Emacs support font ligatures?
Date: Mon, 26 Sep 2016 23:32:38 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

On 2016-09-26, Eli Zaretskii wrote:

>> From: Oleksandr Gavenko <address@hidden>
>> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]