Khmer Open Source Blog

August 13, 2009

Embedded Khmer Unicode Font

Filed under: Unicode

With Mekhala or Firefox 3.5 you now can embed KhmerOS.ttf font in your website. This happens since the webkit team release new version of CSS3.

 

here is the way of doing it, let’s enjoy.

 

@font-face {  
  font-family: yourFontName ;  
  src: url( /location/of/font/FontFileName.ttf ) format("truetype");  
}  
 
/* Then use it like you would any other font */  
.yourFontName { font-family: yourFontName , verdana, helvetica, sans-serif;  
}  

An example of some final, CSS3-valid code might look like this, for a cross-browser compliant embedded font:

Code:

 
/* IE6/7/8 - Must be first */  
@font-face {  
  font-family: yourFontName ;  
  src: url( /location/of/font/FontFileName.eot );  
}  
 
/* FFx3.5/Safari/Op10 - Next */  
@font-face {  
  font-family: yourFontName ;  
  src: url( /location/of/font/FontFileName.ttf ) format("truetype");  
}  
 
/* THEN use like you would any other font */  
.yourFontName { font-family: yourFontName , verdana, helvetica, sans-serif;  
}  

credit to http://randsco.com/index.php/2009/07/04/p680

August 11, 2009

Unicode on Mac

Filed under: Unicode

Many People are waiting KhmerOS to publish its free fonts on MAC OS. But so far there is no sign about it at all. There is only one solution for those who want to use Khmer Unicode on Mac. You need to pay 49$ for it. ;)

But hey if you promise that you’re really poor and don’t have money to afford that fonts or you’re familiar with free stuff, so let’s try the illegal sharing of Khmer Unicode on Mac here.

Good luck my friends!

 P.S. Grab it fast before the author find this.

February 16, 2007

How to update Uniscribe?

Filed under: Unicode

Although Uniscribe has been available since Windows 2000, new versions of Uniscribe provided more functions to the system, namely, support to other writing systems. An earlier update of it supports the display of Arabic and Hebrew, then Thai and Vietnamese. Since Windows XP, more South Asian and Assyrian alphabets are supported. If a user needs to use the newer usp10.dll for only certain applications, they can copy the newer version into the executable directories of those applications.

Get free blog up and running in minutes with Blogsome
Theme designed by Jay of onefinejay.com