unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Kenichi Handa <handa@gnu.org>, emacs-devel@gnu.org
Subject: Re: Display of Lao script
Date: Fri, 20 Oct 2017 13:48:36 +0200	[thread overview]
Message-ID: <87po9irqej.fsf@gmx.net> (raw)
In-Reply-To: <83zi8penic.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 17 Oct 2017 19:40:27 +0300")

On Tue, 17 Oct 2017 19:40:27 +0300 Eli Zaretskii <eliz@gnu.org> wrote:

> [Adding Handa-san, in the hope that he could comment on this.]
>
>> From: Stephen Berman <stephen.berman@gmx.net>
>> Date: Tue, 17 Oct 2017 01:14:03 +0200
>> 
>> Is this difference expected?  I'm not familiar with the Lao script, so I
>> don't know if one of the displays is wrong, though this quote from
>> https://en.wikipedia.org/wiki/Lao_alphabet seems to suggest that either
>> way is possible: "Vowels can be written above, below, in front of, or
>> behind consonants, with some vowel combinations written before, over and
>> after."  This is m17n-lib-1.7.0 and libotf-0.9.13 from
>> http://www.nongnu.org/m17n/, which are AFAIK the latest released
>> versions (there's a patch for Bengali in etc/PROBLEMS, but I don't know
>> of any problem report about Lao).  (Regardless if what's correct, my
>> aesthetic impression is that the first display, without m17n and libotf,
>> looks better; however, I do know that the Arabic example in HELLO is
>> correctly displayed only with these libraries).
>
> I see a better display here, on MS-Windows.  Can you try a different
> font, perhaps one that is advertised to have good support for the Lao
> script?  AFAIK, libotf/libm17n (as any other shaping engine) depend on
> font capabilities to some extent.

I haven't yet tried a font specialized for Lao, but I did try Symbola,
and with that the Lao HELLO example appears as it does in Emacs without
m17n-lib and libotf (with one exeption, see below) -- though the font
used to display the Lao is not Symbola but DejaVu Sans.  Then I realized
what the difference is: Symbola is a variable pitch font, while my
default font is DejaVu Sans Mono (also the default with -Q).  And
indeed, using DejaVu Sans (not Mono) as the default font displays the
Lao as in Emacs without m17n-lib and libotf (but in the latter Emacs
it's the same display also with DejaVu Sans Mono) -- with the exception
of the character LAO LETTER HO SUNG, which is composed with LAO TONE MAI
THO, but in the display, the latter appears over the following
character, while in the Emacs without m17n-lib and libotf it appears
over the character it is composed with (which I assume is correct).  The
other three character compositions in the Lao example appear the same in
Emacs both without and with m17n-lib and libotf -- but again, in the
latter only with variable pitch DejaVu Sans.  So this does seem to be a
problem in the m17n-lib and/or libotf code.

Steve Berman



  reply	other threads:[~2017-10-20 11:48 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-16 23:14 Display of Lao script Stephen Berman
2017-10-17 16:40 ` Eli Zaretskii
2017-10-20 11:48   ` Stephen Berman [this message]
2017-10-22  3:37     ` handa
2017-10-22 11:13       ` Stephen Berman
2017-10-24  9:14         ` handa
2017-10-24 10:01           ` Stephen Berman
2017-10-24 12:04             ` handa
2017-10-24 12:29               ` Stephen Berman
2017-10-24 22:48                 ` handa
2017-11-05  5:26                   ` handa
2017-11-05 12:28                     ` Stephen Berman
2017-11-06 15:26                       ` handa
2017-11-06 16:11                         ` Eli Zaretskii
2017-11-07 11:56                           ` handa
2017-10-20 13:11 ` Kaushal Modi

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87po9irqej.fsf@gmx.net \
    --to=stephen.berman@gmx.net \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=handa@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).