Khmer Unicode problem on Wine 1.2 and 1.3
-
- Level 2
- Posts: 10
- Joined: Sun Sep 26, 2010 8:19 am
Khmer Unicode problem on Wine 1.2 and 1.3
I have been trying to get Wine to work correctly with Khmer unicode. I am using theWord, 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.
-
- Level 2
- Posts: 10
- Joined: Sun Sep 26, 2010 8:19 am
At the recommendation of another post, I ran the program with the following commands, all to no avail:
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?
Code: Select all
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@utf-8 wine theword.exe
-
- Level 2
- Posts: 10
- Joined: Sun Sep 26, 2010 8:19 am
Thanks for the reply. I entered this in the command line:
It did not work. I have attached a photo of what I see. All the dotted circles demonstrated incorrect rendering, among other issues.

Code: Select all
LANG=km_KH wine theword.exe

-
- Level 2
- Posts: 10
- Joined: Sun Sep 26, 2010 8:19 am
One more thing. I get this code in the terminal window when I run theWord:
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.
Code: Select all
fixme:font:GetCharacterPlacementW flags 0x00000132 ignored
fixme:font:GetCharacterPlacementW classes not implemented
-
- Level 2
- Posts: 10
- Joined: Sun Sep 26, 2010 8:19 am
I'm no expert in this regard, but it looks like Wine isn't quite implementing *everything* yet that you need to view the font properly. After all, it's ignoring the placement of something in your font.preahkumpii wrote:One more thing. I get this code in the terminal window when I run theWord: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.Code: Select all
fixme:font:GetCharacterPlacementW flags 0x00000132 ignored fixme:font:GetCharacterPlacementW classes not implemented
-
- Level 2
- Posts: 10
- Joined: Sun Sep 26, 2010 8:19 am
-
- Level 2
- Posts: 10
- Joined: Sun Sep 26, 2010 8:19 am
-
- Level 2
- Posts: 10
- Joined: Sun Sep 26, 2010 8:19 am
Thanks. This dll problem is applicable in certain cases in Windows XP. In Vista, it works out of the box. So, the question is does Wine include this/these dll's needed? I will check on these...I think Winetricks has this file included.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
-
- Level 2
- Posts: 10
- Joined: Sun Sep 26, 2010 8:19 am
I installed winetricks (as per this page, which lists usp10.dll) and installed the usp10.dll. It changed nothing. Is there any way to check if there are other dependencies that are needed to render this text?
-
- Level 2
- Posts: 10
- Joined: Sun Sep 26, 2010 8:19 am