unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: handa <handa@gnu.org>
Cc: eliz@gnu.org, emacs-devel@gnu.org
Subject: Re: Display of Lao script
Date: Tue, 24 Oct 2017 12:01:50 +0200	[thread overview]
Message-ID: <87k1zk6f01.fsf@gmx.net> (raw)
In-Reply-To: <874lqodi1y.fsf@gnu.org> (handa's message of "Tue, 24 Oct 2017 18:14:01 +0900")

On Tue, 24 Oct 2017 18:14:01 +0900 handa <handa@gnu.org> wrote:

> In article <877evnqvu4.fsf@gmx.net>, Stephen Berman <stephen.berman@gmx.net> writes:
>
>> In your screen shot the displays of the Kannada, Khmer and Malayalam
>> examples are partly different from the displays in my Emacs:
>
> That is because I didn't install proper fonts for those scripts.
>
> Anyway, the log has these suspicious lines:
>  [DB] <font,layouter,laoo-generic,nil> from /usr/share/m17n/LAOO-GENERIC.flt
>  [FLT] (laoo-generic (dejavu sans mono)
>  [FLT]   (SOURCE 0E94 0EB5)
>  [FLT]   (RESULT 04BA 04D4))
>
> In my case, the first line is:
>  [DB] <font,layouter,laoo-otf,nil> from /usr/share/m17n/LAOO-OTF.flt
>
> I have not yet figured out why LAOO-OTF.flt is not selected for you, but
> could you please try this:
>
> 1. Move LAOO-*.flt (except for LAOO-OTF.flt) from /usr/share/m17n to,
>    for instance /tmp.
> 2. Prepare a file that contains the Lao line only.
> 3. Run emacs as this:
>    % MDEBUG_DATABASE=1 MDEBUG_FLT=3 emacs
> 4. Visit the Lao only file.

I did this and the display of the Lao script is the same as before
(i.e., with the composed characters not properly aligned).  Here is the
entire debugging output:

 [DB]  <font,layouter,hebr,nil>.
 [DB]  <font,layouter,mlym-rachana,nil>.
 [DB]  <font,layouter,thai-norasi,nil>.
 [DB]  <font,layouter,bng2-otf,nil>.
 [DB]  <font,layouter,hebr-otf,nil>.
 [DB]  <font,layouter,tml2-otf,nil>.
 [DB]  <font,layouter,orya-otf,nil>.
 [DB]  <font,layouter,ory2-otf,nil>.
 [DB]  <font,layouter,mymr-myazedi,nil>.
 [DB]  <font,layouter,mlym-otf,nil>.
 [DB]  <font,layouter,knd2-otf,nil>.
 [DB]  <font,layouter,tel2-otf,nil>.
 [DB]  <font,layouter,syrc-otf,nil>.
 [DB]  <font,layouter,arab-otf,nil>.
 [DB]  <font,layouter,mlym-cdac,nil>.
 [DB]  <font,layouter,taml-otf,nil>.
 [DB]  <font,layouter,knda-otf,nil>.
 [DB]  <font,layouter,gujr-otf,nil>.
 [DB]  <font,layouter,deve-cdac,nil>.
 [DB]  <font,layouter,guru-otf,nil>.
 [DB]  <font,layouter,arab,nil>.
 [DB]  <font,layouter,thai-tis620,nil>.
 [DB]  <font,layouter,thai-otf,nil>.
 [DB]  <font,layouter,gjr2-otf,nil>.
 [DB]  <font,layouter,tibt-mule,nil>.
 [DB]  <font,layouter,no-ctl,nil>.
 [DB]  <font,layouter,khmr-anlong,nil>.
 [DB]  <font,layouter,deva-otf,nil>.
 [DB]  <font,layouter,telu-otf,nil>.
 [DB]  <font,layouter,mymr-sil,nil>.
 [DB]  <font,layouter,mlm2-otf,nil>.
 [DB]  <font,layouter,thai-generic,nil>.
 [DB]  <font,layouter,dev2-otf,nil>.
 [DB]  <font,layouter,sinh-otf,nil>.
 [DB]  <font,layouter,taml-cdac,nil>.
 [DB]  <font,layouter,gur2-otf,nil>.
 [DB]  <font,layouter,tibt-otf,nil>.
 [DB]  <font,layouter,khmr-otf,nil>.
 [DB]  <font,layouter,tibt-mtib,nil>.
 [DB]  <font,layouter,beng-otf,nil>.
 [DB]  <font,layouter,combining,nil>.
 [DB]  <font,layouter,laoo-otf,nil>.
 [DB]  <font,layouter,arab-otf-no-gpos,nil>.
 [DB]  <font,layouter,hebr-ff,nil>.
 [DB]  <font,layouter,thaa-otf,nil>.
 [DB]  <font,layouter,cham-generic,nil>.

FWIW, when I change the font to DejaVu Sans (not Mono) and visit that
file, the display of all but one of the composed characters is correct
(as I previously mentioned), and the debugging output is exactly the
same as the above; and with the other LAOO-*.flt files under
/usr/share/m17n, on visiting that file when using variable pitch DejaVu
Sans (but not when using DejaVu Sans Mono), the debugging output
additionally contains these lines after the above output:

 [DB] <font,layouter,laoo-generic,nil> from /usr/share/m17n/LAOO-GENERIC.flt
 [FLT] (laoo-generic (dejavu sans)
 [FLT]   (SOURCE 0E94 0EB5)
 [FLT]   (STAGE 0 "CV" (0E94 0EB5)
 [FLT]     (SUBPART 0
 [FLT]      (COND
 [FLT]       (REGEX "^(Cs?[vV]?)(T)?" "CV" 2
 [FLT]        <0
 [FLT]        (SUBPART 1
 [FLT]         (COPY 0xE94)
 [FLT]         (COPY 0xEB5)) 2>))
 [FLT]      (COND)))
 [FLT]   (RESULT 00-01 (062A 640 0 0) (0644 0 0 0)))
 [FLT] (laoo-generic (dejavu sans)
 [FLT]   (SOURCE 0E82 0ECD)
 [FLT]   (STAGE 0 "CV" (0E82 0ECD)
 [FLT]     (SUBPART 0
 [FLT]      (COND
 [FLT]       (REGEX "^(Cs?[vV]?)(T)?" "CV" 2
 [FLT]        <0
 [FLT]        (SUBPART 1
 [FLT]         (COPY 0xE82)
 [FLT]         (COPY 0xECD)) 2>))
 [FLT]      (COND)))
 [FLT]   (RESULT 00-01 (0624 640 0 0) (0657 0 0 0)))
 [FLT] (laoo-generic (dejavu sans)
 [FLT]   (SOURCE 0EAB 0EC9)
 [FLT]   (STAGE 0 "CT" (0EAB 0EC9)
 [FLT]     (SUBPART 0
 [FLT]      (COND
 [FLT]       (REGEX "^(Cs?[vV]?)(T)?" "CT" 2
 [FLT]        <0
 [FLT]        (SUBPART 1
 [FLT]         (COPY 0xEAB))
 [FLT]        (SUBPART 2
 [FLT]         (CMB tr+5bl)
 [FLT]         (COPY 0xEC9)) 2>))
 [FLT]      (COND)))
 [FLT]   (RESULT 00-01 (063B 768 0 0) (0653 0 576 -48)))

Steve Berman



  reply	other threads:[~2017-10-24 10:01 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
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 [this message]
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=87k1zk6f01.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).