I have been trying to get Wine to work correctly with Khmer unicode. I am using theWord (http://theword.gr), which renders Khmer just fine in Windows. However, when I run the program in Wine, everything functions perfectly, except the Khmer font rendering. I have the fonts installed in Wine and the script does display in the font. However, the script is displayed incorrectly, as if the open layout tables in the fonts are not there or supported. So, the text is useless. Does Wine support Khmer unicode or not? Can anyone provide some information on how to fix this, or at least confirm that is it a known problem. Thanks in advance.
On 9/26/10 6:24 AM, preahkumpii wrote:> I have been trying to get Wine to work correctly with Khmer unicode. I am using theWord (http://theword.gr), which renders Khmer just fine in Windows. However, when I run the program in Wine, everything functions perfectly, except the Khmer font rendering.Are you setting the wine session to use the Khmer language when starting it, even if your computer's language is already set so?> I have the fonts installed in Wine and the script does display in the font. However, the script is displayed incorrectly, as if the open layout tables in the fonts are not there or supported. So, the text is useless. Does Wine support Khmer unicode or not?If it is Unicode, Wine should support it.> Can anyone provide some information on how to fix this, or at least confirm that is it a known problem. Thanks in advance. > >The start line should be something like: LC_LANG = <Unicode UTF line for Khmer> wine theword.exe <or the executable for The Word> James McKenzie
At the recommendation of another post, I ran the program with the following commands, all to no avail: Code: LC_LANG=km_KH wine theword.exe LC_LANG=KH wine theword.exe LC_LANG=kh wine theword.exe LC_LANG=km wine theword.exe LC_LANG=km_KH at utf-8 wine theword.exe None of them worked. If Wine supports Unicode, why would this not work? Just a note, the interface of this program is not Khmer, but a module within it is. Any other advice?
One more thing. I get this code in the terminal window when I run theWord: Code: fixme:font:GetCharacterPlacementW flags 0x00000132 ignored fixme:font:GetCharacterPlacementW classes not implemented There is something there about a font. I get this message many, many times in the terminal window, but all with a different 0x000... code. Does this reveal anything? Thanks for any help.
Sorry to keep posting. Just one correction. Concerning the codes I am getting in the terminal window, I get 0x0...112 and 0x0...132 that are alternating. They are not all different codes, but just those two.
Have a look at http://www.khmer.ws/unicode/windows.asp http://www.wazu.jp/gallery/Fonts_Khmer.html the important part is usp10.dll Buganini On Wed, Sep 29, 2010 at 8:49 PM, preahkumpii <wineforum-user at winehq.org> wrote:> Khmer is not rtl, but I would be happy to compile the code to see if that helps. > > Adam > > > > > >