[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xorg
Subject: libX11 doesn't display Khmer Ligatures
From: Gopal Singh <gsinghsg.dev () gmail ! com>
Date: 2017-02-28 17:20:27
Message-ID: CAJHz_rQR1YKgW3RaxoU_RqTfFW8qbKosR2-uOX_HfBpJrAWGoQ () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi,
I am using libX11-1.5.0-4.el6.i686 to write a client application for
xserver.
This client has to display Khmer text.
I am able to display text with Khmer characters (using Mondulkiri fonts for
Khmer), but it display Khmer ligatures incorrectly.
Below is one such ligature which is not being displayed correctly:
ប + ា = បា
uni1794 + uni17b6= uni1794.a
I am using XmbDrawString() function to display khmer text. Please note my
Khmer text is entered using xim. It's being passed from some other source
in UTF-8 encoding.
Please help me on how to display Khmer ligatures(or ligature in general)
using libX11.
Regards, Gopal
[Attachment #5 (text/html)]
<div dir="ltr"><div><div><div><div>Hi,<br><br></div>I am using \
libX11-1.5.0-4.el6.i686 to write a client application for xserver.<br></div>This \
client has to display Khmer text.<br><br></div>I am able to display text with Khmer \
characters (using Mondulkiri fonts for Khmer), but it display Khmer ligatures \
incorrectly.<br></div>Below is one such ligature which is not being displayed \
correctly:<br><br>
<p class="MsoNormal"><span style="font-family:"khmer os \
system";color:rgb(31,73,125);background:yellow none repeat scroll 0% 0%" \
lang="KHM">ប </span><span style="font-family:"times new \
roman",serif;color:rgb(31,73,125);background:yellow none repeat scroll 0% 0%" \
lang="EN-US">+ </span><span style="font-family:"khmer os \
system";color:rgb(31,73,125);background:yellow none repeat scroll 0% 0%" \
lang="KHM">ា </span><span style="font-family:"times new \
roman",serif;color:rgb(31,73,125);background:yellow none repeat scroll 0% 0%" \
lang="EN-US">= </span><span style="font-family:"khmer os \
system";color:rgb(31,73,125);background:yellow none repeat scroll 0% 0%" \
lang="KHM">ប</span><span style="font-family:"khmer os \
system";color:rgb(31,73,125)" lang="KHM">ា</span><span \
style="font-family:"times new roman",serif;color:rgb(31,73,125)" \
lang="EN-US"></span></p>
<p class="MsoNormal"><span style="font-family:"times new \
roman",serif;color:rgb(31,73,125);background:yellow none repeat scroll 0% 0%" \
lang="EN-US">uni</span><span style="font-family:"khmer os \
system";color:rgb(31,73,125);background:yellow none repeat scroll 0% 0%" \
lang="KHM">1794 </span><span style="font-family:"times new \
roman",serif;color:rgb(31,73,125);background:yellow none repeat scroll 0% 0%" \
lang="EN-US">+ uni</span><span style="font-family:"khmer os \
system";color:rgb(31,73,125);background:yellow none repeat scroll 0% 0%" \
lang="KHM">17</span><span style="font-family:"times new \
roman",serif;color:rgb(31,73,125);background:yellow none repeat scroll 0% 0%" \
lang="EN-US">b</span><span style="font-family:"khmer os \
system";color:rgb(31,73,125);background:yellow none repeat scroll 0% 0%" \
lang="KHM">6</span><span style="font-family:"times new \
roman",serif;color:rgb(31,73,125);background:yellow none repeat scroll 0% 0%" \
lang="EN-US">=</span><span style="font-family:"times new \
roman",serif;background:yellow none repeat scroll 0% 0%" lang="EN-US"> <span \
style="color:rgb(31,73,125)">uni1794.a</span></span><span \
style="font-family:"times new \
roman",serif;color:rgb(31,73,125)"></span></p>
<div><div><br><br></div><div>I am using XmbDrawString() function to display khmer \
text. Please note my Khmer text is entered using xim. It's being passed from some \
other source in UTF-8 encoding.<br><br></div><div>Please help me on how to \
display Khmer ligatures(or ligature in general) using \
libX11.<br><br></div><div>Regards, Gopal <br></div></div></div>
[Attachment #6 (text/plain)]
_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic