Installing fonts is an import to make a website look better and more attractive. We can find many fonts on the internet to decorate your website, but there are not too many Khmer fonts available today. Many web designers choose Khmer fonts from Google fonts to make the text on their website meet the purpose. We still can not find the Khmer font we want, so we need to install the Khmer font directly to the website manually. In this article we will show you step by step to stop Khmer fonts that you can use such as Kh Freehand, Khm Chhem Cher, Bokor, Khmer Os Battambang, Hanuman today.
Step 1: We e online font. Both formats. Etc. Web. Etc. To create a website that can display font events, the user tool does not have fonts, so we need to install fonts in the font format. So please download these fonts from the link below

α្αោα:
Step 2: put all the web font above into a folder, for example, the folder named ‘fonts” and then zip that folder and upload to your website directory
Step 3: add font face CSS into your stylesheet. Copy and paste the CSS code below and put them into your website style sheet file.
Step 4: implementation font family in your paragraph:@font-face { font-family: "Kh Metal Chrieng"; font-style: normal; font-weight: normal; src: local("Kh Metal Chrieng"), url("/fonts/Kh-Metal-Chrieng.woff") format("woff"), url("/fonts/Kh-Metal-Chrieng.ttf") format("truetype"), url("/fonts/Kh-Metal-Chrieng.svg") format("svg"); } @font-face { font-family: "Kh Freehand"; font-style: normal; font-weight: normal; src: local("Kh Freehand"), url("/fonts/Kh-Freehand.woff")format("woff"), url("/fonts/Kh-Freehand.ttf") format("truetype"), url("/fonts/Kh-Freehand.svg") format("svg"); } @font-face { font-family: "Kh Bokor"; font-style: normal; font-weight: normal; src: local("Kh Bokor"), url("/fonts/Kh-Bokor.woff") format("woff"), url("/fonts/Kh-Bokor.ttf") format("truetype"), url("/fonts/Kh-Bokor.svg") format("svg"); } @font-face { font-family: "Khmer Os Battambang"; font-style: normal; font-weight: normal; src: local("Khmer Os Battambang"), url("/fonts/KhmerOSbattambang.woff") format ("woff"), url("/fonts/KhmerOSbattambang.ttf") format("truetype"); } @font-face { font-family: "Hanuman"; font-style: normal; font-weight: 400; src: local("Hanuman"), url("/font/Hanuman/Hanuman.woff")format("woff"), url("/font/Hanuman/Hanuman.ttf") format("truetype"), url("/font/Hanuman/Hanuman.svg") format("svg"); }
Example:
<span style="font-family: Kh Freehand;">αុα្αα’α្ααα្αែα</span> <span style="font-family: Kh Metal Chrieng;">αុα្αα’α្ααα្αែα</span> <span style="font-family: Kh Bokor;">αុα្αα’α្ααα្αែα</span> <span style="font-family: Khmer Os Battambang;">αុα្αα’α្ααα្αែα</span> <span style="font-family: Hanuman;">αុα្αα’α្ααα្αែα</span>
1- font Kh Freehand
αុα្αα’α្αα α្αែα
2- font Kh Metal Chrieng
αុα្αα’α្αα α្αែα
αុα្αα’α្αα α្αែα
3- font Kh Bokor
αុα្αα’α្αα α្αែ
αុα្αα’α្αα α្αែ
4- font Khmer OS Battambang
αុα្αα’α្αα α្αែα
αុα្αα’α្αα α្αែα
5- font Hanuman
αុα្αα’α្αα α្αែα
So now you can choose the best font for your website. If you have any problem with this set up, please feel free to leave the comment below.
αុα្αα’α្αα α្αែα
0 Comments:
Post a Comment