Thursday, February 25, 2010

Khmer Unicde in Windows Mobile 6.5



Copy Khmer Unicode font to paste at windows\fonts, and copy uspce.dll to paste at windows.

For Windows Mobile 6.5, you need to add Uniscribe Registry Settings first, to make sure that we can make it is enabled or disabled.
Go to HKEY_LOCAL_MACHINE\SYSTEM\GDI\Uniscribe

Click on value name: DisableUniscribe, put Value data: 1 (for disable)

Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\SystemLink
Click Edit -> New String Value, then add value name and value data.
Value name: Khmer OS System
Value data: \windows\fonts\KhmerOSsys.ttf,Khmer OS System

Go back to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft
Add new key: FontPath
Click on HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontPath add value name and value data.
Value name: FontPath
Value data: windows\fonts

Restart.

When we make uniscribe disabled, Khmer script doesn't rendering well in some parts of Windows Mobile, but it still rendering well on Internet Explorer.

Wednesday, February 24, 2010

Khmer Unicode in Windows Mobile 6.0

To make Khmer Unicode work on Windows Mobile 6.0, after install font into windows folder of phone. You need to download uniscribe file (uspce.dll) for paste in the same folder windows.

What font can be used in Windows Mobile 6.0? I recommend my font for Windows XP SP2, name: KhmerOSsys.ttf, can be found at www.khmerworld.info or www.veticar.com.

Where is uspce.dll? Microsoft have compiled this file for complex script rendering some years ago, but most of mobile phone companies don't shipped at their products yet. If you have problem about finding, please send email to me: dnhhng@yahoo.com

Mr. Chum Praseth, from nokorsoft.com is creating installing package, I am asking him to include uspce.dll for download too.

The last step: add registry for Khmer Unicode font in Windows Mobile.
- Run regedit,
- Go to HKEY_LOCAL_MACHINE/System/GDI/SYSFNT
- Click Nm value to modify value data from Tahoma to Khmer Unicode font, example: Khmer OS System
- Re-start machine.

For Windows Mobile 6.1 and 6.5 have some points are different, I will write later.

Thursday, February 11, 2010

Khmer Unicde in Windows Mobile 6.1



Finally, I can make Khmer Unicode work with Windows Mobile 6.1. But the Internet Explorer don't support zero width space yet.