ជំនួយ

ដោះស្រាយបញ្ហា ការ​បង្ហាញ​ពុម្ពអក្សរ​យូនីកូដ​ខ្មែរ នៅក្នុង OpenOffice

តើ តួ​ពុម្ពអក្សរ​យូនីកូដខ្មែរ ត្រូវ​បាន​បង្ហាញ​មិន​បាន​ត្រឹម​ត្រូវ​មែន​ទេ​នៅ​ក្នុង OpenOffice របស់​លោកអ្នក? នៅ​ពេល​ដែល​លោកអ្នក​ប្រើ ឧបករណ៍​ពិនិត្យ​អក្ខរាវិរុទ្ធ​ខ្មែរ ដើម្បី​ពិនិត្យ​អត្ថបទ តើ លោកអ្នក ឃើញ​មាន ប្រអប់​ការេ បង្ហាញ​លាយ​ជា​មួយ​អក្សរ​ខ្មែរ ទេ?
បញ្ហា​នេះ​បន្ទាល​មក​ពី​លក្ខណ​ទូ​ទៅ​របស់​ប្រភេទ​ពុម្ពអក្សរ GUI (default GUI font)ដែល​មិន​មាន​នូវ​តួអក្សរ​ខ្មែរ​គ្រប់​ទាំង​អស់។


១) ដើម្បី​ដោះស្រាយ​បញ្ហា​ការ​បង្ហាញ​អក្សរខ្មែរ​មិន​បាន​ត្រឹម​ត្រូវ​សូម ទៅ​កាន់ Tools>Options…>OpenOffice.org>View រួច​សូម​ដក​សញ្ញា​ធីក​ដើម្បី​មិន​ជ្រើសរើស នូវ “Use system font for interface”។


២) បន្ទាប់​មក​សូម​ទៅ​កាន់ Tools>Options…>OpenOffice.org>Fonts រួច​គូស​ធីក​សំរាប់ “Apply replacement table”។ ​វាយ​ “Andale Sans UI” ទៅ​ក្នុង​ប្រអប់​ខាង​ក្រោម “Font” (វា​មិន​ស្ថិត​ក្នុង​តា​រាង​នោះ​ទេ) ហើយ​បន្ទាប់មក​ជ្រើសរើស ប្រភេទ​អក្សរ​មួយ​ដែល​មាន​តួអក្សរ​ខ្មែរ​មួយ​ពេញ​លេញ​ដែល​ត្រូវ​បាន​ដាក់​ខាង​ក្រោម “Replacement with”។


៣) សូម​ចុច​លើ សញ្ញា​ធីក​ពណ៌​បៃតង។


៤) បន្ទាប់​មក​សូម​ទៅ​កាន់ Tools>Options…>OpenOffice.org>View ហើយ​សូម​បញ្ជាក់​ថា “Use system font for user interface” មិន​ត្រូវ​បាន​គូស​ធីក​ជ្រើស​រើស រួច​ហើយ​សូម​ចុច “OK”។ រួច​សូម re-boot OpenOffice (ប្រសិនជា​ចាំ​បាច់) ហើយ​អត្ថបទ​ភាសាខ្មែរ​របស់​លោកអ្នក​នឹង​មើល​ទៅ​ប្រសើរ​ជាង​មុន។


ផង​ដែរ​នោះ បើសិន​លោកអ្នក​ឃើញ​ចន្លោះ​ពណ៌​ប្រផេះ​រវាង​តួអក្សរ​សូម ចុច លើ “View” menu ហើយ​ជ្រើស​រើស “Field Shadings” ដើម្បី​បំបាត់​នូវ​ចន្លោះ​ទាំង​នោះ(ឬ​ក៏​លោក​អ្នក​អាច ចុច Ctrl និង F8)។

របៀប​ដំឡើង ពុម្ពអក្សរ​យូនីកូដខ្មែរ លើ Windows 7:

តាម​ពិត​ទៅ យើង​មិន​ចាំ​បាច់​ដំឡើង ពុម្ពអក្សរ​ខ្មែរ Khmer Unicode នៅ​លើ Windows 7 ឡើយ។យើង​អាច​មើល​អត្ថបទ ជា​ភាសា​ខ្មែរ​ទាំង ឡាយ​បាន​លើ Windows 7 ក៏​ប៉ុន្តែ​ភាគ​ច្រើន​អត្ថបទ​ទាំង​នោះ​មិន​អាច​អាន​ដាច់​បាន ដោយ​ទំហំ​អក្សរ​របស់​ពួក​វា​តូចៗ​ពេក។

រូប​ខាង​ក្រោម​នេះ​បង្ហាញ​ពី ពុម្ពអក្សរ​យូនីកូដខ្មែរ លើ Windows 7 លើ​ទំព័រ​អ៊ីនធឺណិត នៅ​មុន​ពេល​វា​ត្រូវ​បាន​កែប្រែ៖

khmer-unicode-windows-7-unaltered

ផង​ដែរ​នោះ​របារ​តូចៗ​ក៏​ពិបាក​នឹង​អាន៖
khmer-unicode-windows-7-unaltered

ដូច​ច្នេះ​តើ​យើង​ត្រូវ​ធ្វើ​យ៉ាង​ដូច​ម្ដេច​ទៅ​ដើម្បីអោយ Windows 7 បង្ហាញ ពុម្ពអក្សរ​យូនីកូដខ្មែរ យ៉ាង​ត្រឹម​ត្រូវ ហើយ​យើង​ក៏​អាច​វាយ​អក្សរ​ខ្មែរ​បាន​នោះ ?

ដំបូង​សូម​ទាញ​យក ប្រភេទ​អក្សរ​ខ្មែរ ជាច្រើន (ពួក​យើង​បាន​ធ្វើការ​ប្រមូល​ផ្តុំ ប្រភេទ​អក្សរ​ខ្មែរ​ចំបងៗ ដែល​អាច​រក​បាន ដាក់​ក្នុង ឯកសារ ប្រភេទ .zip file មួយ​ដើម្បី​អោយ​ងាយស្រួល​ក្នុង​ការ​ទាញ​យក)។បន្ទាប់​ពី​លោក​អ្នក​ទាញ​យក​ពួក​វា​ហើយ​សូម​ទាញ​យក​ឯក​សារ​ទាំង​នេះ​ទៅ​ជា​សំណុំ​ឯកសារ​មួយ(folder) រួច select ឯកសារ​ប្រភេទ​អក្សរ​ទាំង​អស់ ហើយ យក​មៅ​ស្តាំ​ដើម្បី​ចុច (right-click)រួច​ជ្រើស​រើស “Install” ដើម្បី​ដំឡើង(សូម​មើល​រូប​ខាង​ក្រោម)៖
install-khmer-unicode-fonts

នៅ​ពេល​ដែល​ប្រភេទ​ពុម្ពអក្សរ​ទាំង​អស់​ត្រូវ​បាន​ដំឡើង​រួច​រាល់ សូម​ទាញ​យក Khmer Unicode Keyboard  របស់ ស.ស.ឈ.ន.ក ដើម្បី​នឹង​អាច​វាយ​ជា​ភាសា​ខ្មែរ​បាន។ តារាង​អក្សរ​របស់​ពួក​យើង​យោង​ទៅ​តាម​តារាង​អក្សរ Khmer OS ដោយ​មាន​ការ​កែប្រែ​បន្តិចបន្តួច។ វា​នឹង​មាន​ដំណើរ​ការ​ល្អ​ជា​មួយ​ទាំង​ប្រព័ន្ធ 32-bit និង 64-bit។ សូមទាញយក Khmer Unicode Keyboard  របស់ ស.ស.ឈ.ន.ក ត្រង់នេះ

បន្ទាប់​ពី​ការ​ទាញ​យក​រួច សូម​ដក​យក ពី​ឯកសារ .zip file និង ចុច​ត្រួត លើ ឯកសារ​ឈ្មោះ setup ៖

install-khmer-unicode-keyboard-windows-7

លោក​អ្នក​និង​រក​ឃើញ​ផង​ដែរ​នូវ Khmer Keyboard Layout របស់ ស.ស.ឈ.ន.ក ក្នុង ឯកសារ​ឈ្មោះ KhmerKeyboard_SBBIC_1.0.pdf ដែល​អ្នក​អាច​ប្រើ​ជា​ឯកសារ​យោង​នៅ​ពេល​អ្នក​វាយ​ពុម្ពអក្សរ​ខ្មែរ Khmer Unicode។
ដោយ​អ្នក​បាន​ដំឡើង ប្រភេទ​អក្សរ ភាគ​ច្រើន​ក្នុង​ចំណោម​ប្រភេទ​អក្សរ​ដែល​គេ​ប្រើ​ច្រើន​បំផុត និង ខ្ទង់​សំរាប់​ចុច​មួយ (keyboard) លោក​អ្នក​នឹង​ឃើញ​ថា គេហទំព័រ​ជា​ច្រើន​ដែល​មាន​អក្សរខ្មែរ បង្ហាញ​នូវ​អក្សរ​ខ្មែរ​យ៉ាង​ត្រឹមត្រូវ។ ប៉ុន្តែ​បារ​ចំណង​ជើង​នៅ​តូច​ពេក​ក្នុង​ការ​អាន។ ដើម្បី​ប្ដូរ​នូវ​ពុម្ពអក្សរ​ខ្មែរ​ដែល​ត្រូវ​បាន​ប្រើ​ក្នុង​របារ​ចំណងជើង​លោក​អ្នក​មាន​ការ​ចាំ​បាច់​ក្នុង​ការ​កែប្រែ​ខ្លះ​នូវ Windows registry។ សូម​ធ្វើ​ការ​ចំលង​ទុក​នូវ registry របស់​លោក​អ្នក​មុន​ពេល​ធ្វើការ​កែប្រែ​ណា​មួយ (ដើម្បី​ចំលង​ទុក registry របស់​លោក​អ្នក​សូម​ចុច start menu រួច​វាយ “regedit” Windows registry editor នឹង​បើក​ឡើង។ បន្ទាប់​មក​សូម​ចុច​លើ file menu រួច​ចុច​លើ “Export” រួច​នាំ​ទាញ​ចេញ registry របស់​លោក​អ្នក​ទៅ​កាន់​កន្លែង​ដែល​មាន​សុវត្ថិភាព)។

លោក​អ្នក​អាច​ ទាញ​យក​ឯកសារ​ប្រភេទ zip file នេះ (ពី nokorsoft.com) ដែល​រួម​បញ្ចូល​ឯកសារ “fixWindows7.reg” ដែល​នឹង​ធ្វើការ​កែប្រែ អោយ​អ្នក រឺ​លោក​អ្នក​អាច​ធ្វើការ​កែប្រែ​ផ្ទាល់​ដៃ​ដោយ​ខ្លួន​ឯង។ បើ​សិន​ជា​លោក​អ្នក​ទាញ​យក​ឯកសារ​នេះ​សូម ដក​យក​ឯកសារ​ខាង​ក្នុង​វា (extract) រួច​ចុច​ត្រួច​លើ​ឯកសារ ឈ្មោះ “fixWindows7″ និង​បន្ទាប់​មក​សូម​ទទួល​យល់​ព្រម​ចំពោះ​ការ​កែប្រែ​នូវ registry របស់​អ្នក។ រឺ​លោក​អ្នក​អាច​ធ្វើការ​កែប្រែ​ផ្នែក​មួយ​ចំនួន​ខាង​ក្រោម​នេះ​ដោយ​ខ្លួន​ឯង៖

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
“Daunpenh (TrueType)”=-
“Khmer UI (TrueType)”=-
“Khmer UI Bold (TrueType)”=-
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
“DaunPenh”=”Khmer OS System”
“Khmer UI”=”Khmer OS System”
“Khmer UI Bold”=”Khmer OS System”

ឥឡូវនេះ​សូម restart កុំព្យូទ័រ​របស់​អ្នក ហើយ​អ្វីៗ​គួរ​តែ​មាន​ទំនើរ​ការ​ល្អ! ក្នុង​ពេល​នេះ គេហទំព័រ​ជា​ភាសា​ខ្មែរ​គួរ​តែ​បង្ហាញ​នូវ​អក្សរ​ខ្មែរ​យ៉ាង​ត្រឹម​ត្រូវ​ដូច​ក្នុង​រូប​ខាង​ក្រោម​នេះ៖

sbbic-fixed-windows-7-khmer

Using Khmer Unicode Fonts With The Mac

After much efforts, I can use Khmer unicode fonts on my Mac.
1. Download the khmer Unicode fonts (http://www.khmeros.info/drupal/?q=en/download/fonts)
2. Add the Khmer Unicode keyboard (system preferences-international-input menu)
3. Install X11 (a graphical unix interface) – this comes with OSX Tiger on the set-up disk. If they have an earlier OSX system, they can download it off the Apple website (but it’s 41MB) You run X11 by going to applications-utilities-X11 and need to have it running it before you install openoffice
4. Install OpenOffice (downloadable from their website – 130MB!!!)
5. Install “fondue” if you want other non-ttf fonts besides the system fonts that come with open office (http://fondu.sourceforge.net/)
6. Otherwise you can skip 4 and just copy the KhmerOS fonts to the openoffice font folder (ctrl-click on open office – show package contents – contents – openoffice.org2.0 – share – fonts)
7. Now it should work!

Special thanks to David Narita for these instructions!

How to Install Khmer Unicode on your Windows XP Computer

This tutorial will walk you through the process of enabling Khmer Unicode on your Windows XP computer (if you need help installing Khmer Unicode on Windows 7 click here).

First download this file and then run the file – when you do you should see something like the following:

Now click the “Next >” button as shown in the picture.


Click the “Next >” again (if a box telling you that the directory does not exist pops up, just tell it to create the directory).


Now click “Exit” (it is possible the “Windows File Protection” box might pop-up before you can click “Exit”, if this occurs, go to the next step to deal with the “Windows Protection” box and then once you are done, click the “Exit” button on the Installer window.


When this box pops-up click “Cancel”


When this box pops-up click “Yes”

Now go here and download the latest Khmer Unicode Install Program (currently it is version 1.2.5) and once it is finished downloading, run the program. When you run it you should see something like the following:

Click “Next”


When this box pops-up click the “Complex & kbd” button (this can take a few moments to install, so please be patient). It is possible that you will need your Windows XP cd at this time – so if you are asked for it, please insert it into your cd-rom.


When the text “Complex script enabled/Keyboard layout added.” appears click the “Close” button.


To finish off the installation, click the “Exit” button.


Now you should see a new button in the lower right corner of your screen saying either, “EN” or “CA”. When you want to type in English, make sure “EN” is showing, and when you want to type in Khmer Unicode, make sure the “CA” is showing. To switch between the two languages, you can click on the button and select (like the picture above shows), or you can press the “Alt” key and the “shift” key which is on the right hand side of your keyboard (if you press the “shift” key that is on the left hand side of your keyboard it will not switch).

Enjoy!