bookmark bookmark
admin On March - 5 - 2010

A few people asked me why some Khmer Unicode websites such as khmeros.info and open.org.kh do not display Khmer Unicode properly on Mac?

The answer is that they may used Non-Mac Khmer Unicode fonts as their display fonts using CSS3 web font technology.

How to solve this problem?

+ in Firefox for Mac

go to Firefox > Preferences…> Content > under Fonts & Colors click Advanced… button, then un-tick []  Allow pages to choose their own fonts, instead of my selections above

+ In Safari, there are 3 temporary options (so far)

1. using Nokorsoft proxy, for example if you want to visit open.org.kh type http://nokorsoft.com/browse.php?url=http://open.org.kh/ (must include http://)

2. Safari > Preferences…> Advanced > tick [] Show Develop menu in menu ba, then from Develop menu, select Disable Styles

3. Why bother fixing it, just use Firefox :)


15 Responses

  1. និមល says:

    Your tips do work! Thank you Nokorsoft. Now I can read Kohsantepheap, khmeros and open.org.kh

  2. សីមា says:

    I found this website very helpful but this tip work only with http://www.dap-news.com. I still cannot get it works with http://kohsantepheapdaily.com.kh/koh/ or http://www.rfa.org/khmer.​​​ Thanks anyway..

  3. សីមា says:

    Thanks for a quick respond. I am using all KhmerOS xx fonts and Limon S1. It works great from your links. It works as well on my mac with KhmerOSbattambang font and only when I unchecked [] Allow pages to choose their own fonts, instead of my selections above. Unfortunately, unchecked this option will effect to dap-news.com website. How can I get it work for any sites? Thanks

  4. admin says:

    Hi,
    Unfortunately, you are in a dilemma.

    dap-news.com using legacy fonts (non-Unicode font), so when you unchecked the option, it becomes unreadable. But if you check the option in Firefox, some Khmer Unicode website will not display Khmer correctly.

    Here is the solution for you.
    + Use Safari to browse http://www.dap-news.com and other websites using legacy fonts
    + Use Firefox to browse all other Khmer Unicode websites

    Optionally, use Nokorsoft proxy to view non-Mac Khmer Unicode website, the format is http://nokorsoft.com/browse.php?url=http://yourkhmerunicodewebsite.com

  5. សីមា says:

    I think end up using Safari and Firefox to view non khmer unicode and Khmer unicode website. Thanks for support.

  6. vandy says:

    I have some problem with safari or google chrome to use @font face with unicode, and It doesn’t work correctly …. គឹដៃ និង​ ជើងមិនចូលគ្នា Example ​ទ ៅ ស ា ល​ ា

    Font unicode it show, but Complex Script doesn’t run correctly with @font face and Unicode in Google Chrome and Safari…..

    Could any one help me? or COuld you sent to my email if you have any solution to help me?

  7. admin says:

    Are you using Windows or Mac?
    If it is a Mac compuer, the CSS3 @font face must be used with a Mac Khmer Unicode font to be able to display Khmer correctly.

    For Windows, please send me the websites that you found the issue with to support@nokorsoft.com

    PS: I heard that there is an issue with Khmer Unicode font and CSS ”text-align:justify” for some browsers, i’m not sure whether this issue has been fixed.

  8. vandy says:

    I’m using window, and I just tested it on localhost without unicode khmer installed on window system font. It run correctly for IE, FireFox, but not Safari and Google Chrome.

    I try to use @font face with khmer unicode for google chrome, but it doesn’t run correctly

    Could you have other solution for me?

  9. admin says:

    * Safari should work with standard CSS web font right away, to test it please using Safari to visit Nokorsoft Dictionary website

    * Chrome supports CSS with SVG font, you need to convert your font into SVG font format
    @font-face {
    font-family: Khmer;
    src: url(Khmer.svg) format(“svg”);
    }

  10. vandy says:

    I have already did it for Chrome using SVG font. it doesn’t work with complex script. have you tested it by deleting from your system font?
    or what?

    have it really worked when you tested?

    or Maybe I converted to SVG font wrongly?

    any solution?

  11. admin says:

    I hardly use Chrome, but I knew that you need SVG font to implement CSS web font @fontface.

    I tested Khmer Unicode SVG font today; unfortunately, it doesn’t work well :(

    If you are familiar with Khmer Unicode open type font, I may already know that there are more than 300 Khmer glyphs that do not have unicode id. TTF to SVG converter software only coverts main Khmer Unicode characters (1780-17FF & 19E0-19FF) but not Cheoung or other glyphs withoud unicode ID.

    I’m looking into this issue; hopefully, I can find a good working solution in the future

    At the moment, i’m looking at CuFon as an option
    http://wiki.github.com/sorccu/cufon/

    CuFon using Javascript, SVG, JavaScript Object Notation (JSON) and VML (victor markup language), it’ll work on every major browser on the market.

    What we need to do are:
    1. convert all glyphs in Khmer Unicode font into VML format
    2. modify javascript to display khmer based on Microsoft Open Type specification.
    http://www.microsoft.com/typography/otfntdev/khmerot/default.htm

    It’s a huge job…, but if it works, we can use this technique in smart phones as well.

    How did you go with Safari?

  12. vandy says:

    Before I asked you, I have already tested with both Safari and Chrome combined with TTF, WOFF and SVG . But it doesn’t work correctly with SVG font.

    My main problem is not Safari, but just a little bit cos It can work correctly with TTF and @font-face, but not SVG font.

    Chrome and Safari are the same–they can’t work correctly with Khmer Unicode , @Font-Face and SVG font.

  13. admin says:

    So, your main concern is Chrome, isn’t it?
    May I ask, are you planing to run a website that will display Khmer Unicode on most browser on the market? or you are a computer geek who want to test new stuff? Just curious :)

  14. vandy says:

    I just want all website be able to view to all of browsers

Leave a Reply