all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jason Rumney <jasonr@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: bug-gnu-emacs@gnu.org
Subject: bug#6026: 23.1.96; Cursor drawing problems with the Khmer script
Date: Wed, 28 Apr 2010 00:14:49 +0800	[thread overview]
Message-ID: <87r5m0q3d2.fsf@home.jasonrumney.net> (raw)
In-Reply-To: <834oixzj4z.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 27 Apr 2010 06:09:16 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Tue, 27 Apr 2010 08:17:52 +0800
>> From: Jason Rumney <jasonr@f2s.com>
>> Cc: 
>> 
>> On 27/04/2010 01:27, Eli Zaretskii wrote:
>> >> From: Kenichi Handa<handa@m17n.org>
>> >> Cc: 6026@debbugs.gnu.org
>> >> Date: Mon, 26 Apr 2010 20:35:54 +0900
>> >>
>> >> I don't see that problem on my GNU/Linux systems.  Perhaps,
>> >> you have a font that contains Khmer characters but doesn't
>> >> have proper OpenType tables.
>> >>      
>> > How to know that?
>> >    
>> 
>> (list-fonts (font-spec :registry "iso10646-1" :otf '(khmr nil (pres))))
>
> This produces a long list, where I see Code2000 several times.  What
> am I looking for?

I'm surprised you get a long list for such a minority language - my
system only has "Khmer OS System", which I installed specifically for
Khmer support.

>> I doubt that has OTF tables for Khmer - try a Khmer specific font (I 
>> have one installed called "Khmer OS System")

Actually, it must have some otf tables for khmer, as it is one of the
fonts recommended for viewing of Khmer here (though prefixed with "quick
and dirty"):

http://www.bauhahnm.clara.net/Khmer/Welcome.html

Now that I've tried your original report on both GNU/Linux and Windows,
I see the bug on Windows. It may be due to the version of usp10.dll - I
remember when I originally worked on the uniscribe code, I had to
upgrade usp10.dll manually to get support for some languages - Tibetan
and Sinhalese I specifically remember, but there may have been others.
But according to info I've found, the last update to usp10.dll was
shipped as part of XP SP2, bringing Khmer support amongst others, so
there may be another bug here, or just a difference in the way uniscribe
maps glyphs compared to libotf which affects Khmer (and I think
Burmese) but not the Indic scripts.


Also, according to this page: 

  http://www.microsoft.com/typography/otfntdev/khmerot/features.aspx

the following otf gsub features are required to properly display Khmer:

  pref blwf abvf pstf pres blws abvs psts clig

So the following might be a better font spec, at least for Windows:

(font-spec :registry "iso10646-1" :otf '(khmr nil
                                        (pref blwf abvf pstf pres blws
                                         abvs psts clig)))







  reply	other threads:[~2010-04-27 16:14 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-24 11:33 bug#6026: 23.1.96; Cursor drawing problems with the Khmer script Eli Zaretskii
2010-04-26 11:35 ` Kenichi Handa
2010-04-26 17:27   ` Eli Zaretskii
2010-04-27  0:17     ` Jason Rumney
2010-04-27  3:09       ` Eli Zaretskii
2010-04-27 16:14         ` Jason Rumney [this message]
2010-04-27 17:48           ` Eli Zaretskii
2010-04-27 22:29           ` Juanma Barranquero
2010-04-29  8:01             ` Jason Rumney
2011-09-18 21:02 ` Lars Magne Ingebrigtsen
2011-09-19  2:50   ` Eli Zaretskii
2020-01-18  1:21     ` Stefan Kangas
2020-01-18  8:26       ` Eli Zaretskii
2020-01-18  8:47         ` Stefan Kangas

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=87r5m0q3d2.fsf@home.jasonrumney.net \
    --to=jasonr@gnu.org \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=eliz@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.