[Solved] How to embed Khmer Unicode font into Joomla

Locked
chhoeuth
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Mar 15, 2010 2:45 am
Location: Phnom Penh, Cambodia.
Contact:

[Solved] How to embed Khmer Unicode font into Joomla

Post by chhoeuth » Mon Mar 15, 2010 3:05 am

តើត្រូវធ្វើដូម្តេច ដើម្បីឲ្យខ្មែរ​ Unicode​ មានតំណើរការនៅលើ Browser [IE, FF, Opera, Chrome,... ] ដោយមិនបាច់តំឡើងFontក្នុងម៉ាស៊ីន? សូមខ្មែរForum​ ជួយបង្ហាញផង។
Last edited by hengsovann on Fri Jun 18, 2010 11:07 am, edited 2 times in total.
Reason: Changed to the right topic from "បញ្ហាខ្មែរ Unicode សំរាប់ Browser..."

User avatar
hengsovann
Joomla! Explorer
Joomla! Explorer
Posts: 375
Joined: Fri Jul 10, 2009 4:00 am
Location: Cambodia
Contact:

Re: បញ្ហាខ្មែរ Unicode សំរាប់ Browser...

Post by hengsovann » Mon Mar 15, 2010 3:38 am

វិធីសាស្ត្រ​បង្កប់​ខ្មែរ​យូនីកូដ​ក្នុង​ជូម្ល៉ា​ដោយ​សង្ខេប៖
ខាង​ក្រោម​នេះ​ខ្ញុំ​នឹង​បង្កប់​ពុម្ព​អក្សរ​ខ្មែរ​យូនីកូដ​ឈ្មោះ​ Kh Battambang និង Kh Metal Chrieng ចូល​ក្នុង​ជូម្ល៉ា​ ដើម្បី​អោយ​អ្នក​ទស្សនា​ដែល​កុំព្យូទ័រ​របស់​​ពួក​គាត់​ទោះ​ជា​គ្មាន​ពុម្ព​អក្សរ​ខ្មែរ​យូនីកូដ​ក៏​អាច​មើល​អក្សរ​ខ្មែរ​លើ​​តំបន់​បណ្ដាញ​ ឬ​គេហ​ទំព័រ​របស់​យើង​បាន​ដែរ។​
១. បង្កើត​ឯកសារ​ CSS ឈ្មោះ fonts.css មាន​​មាតិកា​ដូច​ខាងក្រោម៖

Code: Select all

/*For Internet Explorer*/
@font-face {
  font-family: Kh Metal Chrieng;
  font-style:  normal;
  font-weight: normal;
  src: url(kh-metal-chrieng.eot);
}
@font-face {
  font-family: Kh Battambang;
  font-style:  normal;
  font-weight: normal;
  src: url(kh-battambang.eot);
}
/*For Firefox*/
@font-face {
  font-family: Kh Metal Chrieng;
  font-style:  normal;
  font-weight: normal;
  src: url(kh-metal-chrieng.ttf);
}
@font-face {
  font-family: Kh Battambang;
  font-style:  normal;
  font-weight: normal;
  src: url(kh-battambang.ttf);
}
រក្សា​ឯកសារ​នេះ​ទុក​ក្នុង៖ ថត​ជូម្ល៉ា​អ្នក\templates\template_name\css
template_name ជា​ឈ្មោះ​ពុម្ព​ជូម្ល៉ា​របស់​អ្នក​។ ឧទាហរណ៍៖ rhuk_milkyway, ja_purity,beez ដែល​ជា​ឈ្មោះ​ពុម្ព​ឥត​គិត​ថ្លៃ​ភ្ជាប់​មក​ជា​មួយ​ជូម្ល៉ា​ស្រាប់​ពេល​អ្នក​បាន​ដំឡើង។
ឧទាហរណ៍ បើ​ "km-kh" ជា​ឈ្មោះ​នៃ​ពុម្ព​របស់​ខ្ញុំ យើង​បាន "ថត​ជូម្ល៉ា​អ្នក\templates\km-kh\css\fonts.css"
២. ផ្ទុក​​ពុម្ព​អក្សរ​ឡើង​ទៅ​ចូល​ក្នុង​ថត "ថត​ជូម្ល៉ា​អ្នក\templates\km-kh\css\"
ក) kh-metal-chrieng.ttf kh-battambang.ttf (សម្រាប់ Firefox )
អាច​រក​បាន​នៅ លើ​បណ្ដាញ​ ប៉ុន្តែ កុំ​ច្រឡំ​ជា​មួយ​ ​ Khmer OS Battambang ឬ Khmer OS Metal Chrieng ឲ្យ​សោះ។
ខ) kh-metal-chrieng.eot kh-battambang.eot (សម្រាប់ Internet Explorer)
.eot បង្កើត​ឡើង​ដោយ​ប្រើWEFT 3.2 វិធី​ប្រើ​សូម​អាន​
៣. បន្ថែម​កូដ​ខាង​ក្រោម​

Code: Select all

<link href="<?php echo $template_path; ?>/css/fonts.css" rel="stylesheet" type="text/css" media="screen" />
ក្នុង​ចន្លោះ <head></head> ទៅ​ក្នុង​ index.php នៃ​ថត​ពុម្ព​របស់​អ្នក។​
នោះ​ខ្ញុំ​ត្រូវ​បញ្ចូល​កូដ​ខាង​លើ​ទៅ​ក្នុង​ "ថត​ជូម្ល៉ា​អ្នក\templates\km-kh\index.php"។
៤. កែ​បណ្ដា​កូដ css ទាំង​ឡាយ​របស់​ពុម្ព​ជូម៉្លា​​អ្នក ​ដែល​ប្រើ​ font-family ឲ្យ​ប្រើ​គ្រួសារ​ពុម្ព​អក្សរ Kh យូនីកូដ​ខាង​លើ
ឧទាហរណ៍ ក្នុង "ថត​ជូម្ល៉ា​អ្នក\templates\km-kh\css\template.css"

Code: Select all

#jsn-master {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 75%;
	line-height: 1.5;
	background: #172534 url(../images/master-bg.jpg) repeat-x top left;
}
​​
កែ​ទៅ​ជា

Code: Select all

@import url("fonts.css");
#jsn-master {
	font-family: "Kh Battambang", Arial, Helvetica, sans-serif, "Khmer OS System";
	font-size: 75%;
	line-height: 1.5;
	background: #172534 url(../images/master-bg.jpg) repeat-x top left;
}
ជូន​ពរ​អ្នក​រីករាយ​ក្នុង​ការ​បង្កប់​ពុម្ព​អក្សរ​យូនីកូដ​ខ្មែរ​ក្នុង​ជូម្ល៉ា!
------------------

This topic sounds like "How to embed Khmer Unicode in Joomla"
Let me give you a brief answer as follow:
Below we are going to embed "Kh Battambang" and "Kh Metal Chrieng" fonts into Joomla site, so that your site visitors are able to see read your Khmer Joomla site without having any Khmer Unicode font on their computer.
1. Create a CSS file name it as fonts.css and input the following code:

Code: Select all

/*For Internet Explorer*/
@font-face {
  font-family: Kh Metal Chrieng;
  font-style:  normal;
  font-weight: normal;
  src: url(kh-metal-chrieng.eot);
}
@font-face {
  font-family: Kh Battambang;
  font-style:  normal;
  font-weight: normal;
  src: url(kh-battambang.eot);
}
/*For Firefox*/
@font-face {
  font-family: Kh Metal Chrieng;
  font-style:  normal;
  font-weight: normal;
  src: url(kh-metal-chrieng.ttf);
}
@font-face {
  font-family: Kh Battambang;
  font-style:  normal;
  font-weight: normal;
  src: url(kh-battambang.ttf);
}
This "fonts.css" stored at "your_joomla_root\templates\template_name\css".
template_name is the name of your Joomla template. eg. rhuk_milkyway, ja_purity,beez are free joom templates when you first install Joomla.
Here, example "km-kh" is the name of our default template then we get "your_joomla_root\templates\km-kh\css".
2. Upload the two fonts into "your_joomla_root\templates\km-kh\css" folder.
a) kh-metal-chrieng.ttf and kh-battambang.ttf (for Firefox, Chrome ... )
Available to download from Website​ But please do not confuse with Khmer OS Battambang or Khmer OS Metal Chrieng at all.
b) kh-metal-chrieng.eot and kh-battambang.eot (Only for Internet Explorer)
.eot files were created by using WEFT 3.2 How to use ​Please Read​
3. Add the following codes:​

Code: Select all

<link href="<?php echo $template_path; ?>/css/fonts.css" rel="stylesheet" type="text/css" media="screen" />
between <head></head> into​ index.php of your Joomla template.​
mean add the above code into​ "your_joomla_root\templates\km-kh\index.php"។
4. Modify all of your CSS files of your template which used ​font-family to use Kh Unicode fonts mentioned above.
eg. in "your_joomla_root\templates\km-kh\css\template.css"

Code: Select all

#jsn-master {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 75%;
	line-height: 1.5;
	background: #172534 url(../images/master-bg.jpg) repeat-x top left;
}
​​
Change to:

Code: Select all

@import url("fonts.css");
#jsn-master {
	font-family: "Kh Battambang", Arial, Helvetica, sans-serif, "Khmer OS System";
	font-size: 75%;
	line-height: 1.5;
	background: #172534 url(../images/master-bg.jpg) repeat-x top left;
}
Wish you all success embedding Khmer Unicode fonts into Joomla!
Sovann Heng ហេង សុវណ្ណ getinside360.com
អរគុណ"​អាច​ជួយ​ជំរុញ​អ្នក​ដទៃ​​មាន​កម្លាំង​ចិត្ត​ក្នុង​ការ​ចែក​រំលែក
Khmer (CAMBODIA) Translation Team Coordinator អ្នក​សម្របសម្រួល​ក្រុម​បកប្រែ​ភាសា​ខ្មែរ​

User avatar
voreakheng
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Thu Nov 12, 2009 2:18 am
Location: Beijing China

បង្កប់​យូនីកូដ​ខ្មែរ​ចូល​ក្នុង​ Joomla

Post by voreakheng » Wed Mar 17, 2010 3:43 am

សង្ខេប​ពិត​ជា​លម្អិត​មែន!
វិធី​សាស្រ្ដ​នេះ​នឹង​ជួយ​អោ​យ​អក្សរ​ខ្មែរ​យើង​កាន់​តែ​បង្ហាញ​ខ្លួន​បាន​កាន់​តែ​ច្រើន​កន្លែង​ ជា​មួយ​នឹង Joomla!
តើ​វិធី​នេះ​អាច​ប្រើបាន​ទាំង​ Window និង MAC ឬ?

សូម​អរគុណ​ដែល​បង​ចំណាយ​ពេល​​ឆ្លើយ​នឹង​សំណួរ​នេះ​ដោយ​ឥត​គិត​ថ្លៃ ;D

មួយ​ទៀត​បើ​ម្ចាស់​សំណួរ​ ឬ​អ្នក​សម្រប​សំរួល​វេទិកា​ បង សុវណ្ណ​អាច​ប្ដូរ​ប្រធាន​បទ​នេះ​ទៅ​ជា
"បង្កប់​យូនីកូដ​ខ្មែរ​ចូល​ក្នុង​ Joomla" ឬ "How to embed Khmer Unicode into Joomla"
ដើម្បី​ជា​ប្រយោជន៍​អ្នក​ទាំង​អស់​ងាយ​ស្រួល​យល់​ថា​ប្រធាន​បទ​នេះ​និយាយ​អំពី​អ្វី​បាន​ទេ?
ហេង វរៈ (Voreak Heng)
និយាយ​ងាយ​ជាង​ធ្វើ។ Easier said than done. 说来容易,做起来难。

User avatar
hengsovann
Joomla! Explorer
Joomla! Explorer
Posts: 375
Joined: Fri Jul 10, 2009 4:00 am
Location: Cambodia
Contact:

Re: បញ្ហាខ្មែរ Unicode សំរាប់ Browser...

Post by hengsovann » Wed Mar 17, 2010 8:20 am

តាម​ខ្ញុំ​ដឹង​លោក​ ដាញ់ ហុង​ កំពុង​អភិវឌ្ឍន៍​ពុម្ព​អក្សរ​ខ្មែរ​យូនីកូដ​ដែល​អាច​ប្រើ​លើ​ Window និង MAC ។
បច្ចុប្បន្ន​ឃើញ​មាន​តែ​ពុម្ព​អក្សរ​យូនីកូដ​គ្រួសារ​ Kh ដែល​អាច​ប្រើ​បង្កប់​បាន​តែ​លើ​ វីនដូ​ ប៉ុណ្ណោះ ។
Sovann Heng ហេង សុវណ្ណ getinside360.com
អរគុណ"​អាច​ជួយ​ជំរុញ​អ្នក​ដទៃ​​មាន​កម្លាំង​ចិត្ត​ក្នុង​ការ​ចែក​រំលែក
Khmer (CAMBODIA) Translation Team Coordinator អ្នក​សម្របសម្រួល​ក្រុម​បកប្រែ​ភាសា​ខ្មែរ​

chhoeuth
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Mar 15, 2010 2:45 am
Location: Phnom Penh, Cambodia.
Contact:

Re: បញ្ហាខ្មែរ Unicode សំរាប់ Browser...

Post by chhoeuth » Thu Mar 18, 2010 4:15 am

សូមអរគុណចំពោះការឆ្លើយតបរបស់លោក!

User avatar
hengsovann
Joomla! Explorer
Joomla! Explorer
Posts: 375
Joined: Fri Jul 10, 2009 4:00 am
Location: Cambodia
Contact:

Re: បញ្ហាខ្មែរ Unicode សំរាប់ Browser...

Post by hengsovann » Thu Mar 18, 2010 11:33 am

រីក​រាយ​បើ​ដឹង​ថា​បញ្ហា​លោក​​ត្រូវ​បាន​ដោះស្រាយ!
តើ​លោក ឆើត​អាច​ជួយ​កែសម្រួល​ប្រធាន​បទ​ដើម​របស់​លោក​​ នឹង​ប្រើ​សញ្ញា​ជម្រើស​ព័ទ្ធ​ដោយ​រង្វង់​មូល​ពណ៌​បៃតង​បាន​ទេ?
ដើម្បី​ជា​សម្គាល់​ថា​ប្រធាន​បទ​នេះ​ត្រូវ​បាន​ដោះ​ស្រាយ​រួច ។
សូម​អរគុណ!
Sovann Heng ហេង សុវណ្ណ getinside360.com
អរគុណ"​អាច​ជួយ​ជំរុញ​អ្នក​ដទៃ​​មាន​កម្លាំង​ចិត្ត​ក្នុង​ការ​ចែក​រំលែក
Khmer (CAMBODIA) Translation Team Coordinator អ្នក​សម្របសម្រួល​ក្រុម​បកប្រែ​ភាសា​ខ្មែរ​

khm3ng-sr3
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Apr 26, 2010 7:54 am

Re: How to embed Khmer Unicode font into Joomla

Post by khm3ng-sr3 » Mon Apr 26, 2010 8:08 am

ពូកែរមែនៗ កំពុងតែរកអុស ក៏មកប្រទះចង្ក្រានហ្គាសនៅទីនេះ! :D

User avatar
hengsovann
Joomla! Explorer
Joomla! Explorer
Posts: 375
Joined: Fri Jul 10, 2009 4:00 am
Location: Cambodia
Contact:

Re: How to embed Khmer Unicode font into Joomla

Post by hengsovann » Thu May 13, 2010 2:36 pm

បើ​បង​ប្អូន​យើង​បាន​សាក​ល្បង​បង្កប់​ពុម្ពអក្សរ​ខ្មែរ​យូនីកូដ​ចូល​ក្នុង​តំបន់​បណ្ដាញ​ខ្លួន​បាន​ជោគជ័យ​ហើយ ​សូម​កុំ​ភ្លេច​ដាក់​ប្រកាស​អាសយដ្ឋាន​តំបន់​បណ្ដាញ​ខ្លួន​នៅ​ទី​នេះ​ដើម្បី​ជា​ព័ត៌មាន​ ក៏​ដូច​ជា​ការ​ចែក​រំលែក!
បើ​ទទួល​បាន​ការ​ឆ្លើយ​តប​ច្រើន​យើង​អាច​បង្កើត​ប្រធាន​បទ​ថ្មី​ដើម្បី​រក្សា​បញ្ជី​នែ​បណ្ដា​តំបន់​បណ្ដាញ​ទាំងនោះ ។
Sovann Heng ហេង សុវណ្ណ getinside360.com
អរគុណ"​អាច​ជួយ​ជំរុញ​អ្នក​ដទៃ​​មាន​កម្លាំង​ចិត្ត​ក្នុង​ការ​ចែក​រំលែក
Khmer (CAMBODIA) Translation Team Coordinator អ្នក​សម្របសម្រួល​ក្រុម​បកប្រែ​ភាសា​ខ្មែរ​

Sophorth
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Fri Oct 23, 2009 9:39 am

Re: How to embed Khmer Unicode font into Joomla

Post by Sophorth » Fri Jun 18, 2010 9:28 am

Hi Bong Sovann,

I have followed all you instruction, but still some computer without Khmer Unicode can not read Khmer font.

Here is what I have done:

1. Create a css file called KhmerUnicode.css with the following codes:

/*For Internet Explorer*/
@font-face {
font-family: Kh System;
font-style: normal;
font-weight: normal;
src: url(Kh-System.eot);
}

/*For Firefox*/
@font-face {
font-family: Kh System;
font-style: normal;
font-weight: normal;
src: url(Kh-System.ttf);
}

2. I copy this KhmerUnicode.css into \templates\ja_trona\css directory. ja_trona is my template.

3. I have uploaded Kh-System.ttf and Kh-System.eot to \templates\ja_trona\css directory.

4. I insert <link href="<?php echo $template_path; ?>/css/KhmerUnicode.css" rel="stylesheet" type="text/css" media="screen" /> in between <head></head> of index.php in \templates\ja_trona\ as the following :

<link rel="stylesheet" href="<?php echo $tmpTools->baseurl(); ?>templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $tmpTools->baseurl(); ?>templates/system/css/general.css" type="text/css" />
<link href="<?php echo $template_path; ?>/css/KhmerUnicode.css" rel="stylesheet" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/template.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/typo.css" type="text/css" />

5. I edit the \templates\ja_trona\css\template.css as the following:

@import url("KhmerUnicode.css");
body {
background: #FFFFFF;
color: #000000;
font-family: "Kh System", Arial, Helvetica, sans-serif;
line-height: 1.8;
}

Insert "Kh Sytstem" in any font-family: in this css file.


I think I have done all the step as in your instruction. Do you have any idea? Or can you test it for me.


Thanks you in advance for your help.

Best Regards,

User avatar
hengsovann
Joomla! Explorer
Joomla! Explorer
Posts: 375
Joined: Fri Jul 10, 2009 4:00 am
Location: Cambodia
Contact:

Re: How to embed Khmer Unicode font into Joomla

Post by hengsovann » Fri Jun 18, 2010 9:37 am

Sophorth wrote:
I have followed all you instruction, but still some computer without Khmer Unicode can not read Khmer font.

Here is what I have done:
.............................

4. I insert <link href="<?php echo $template_path; ?>/css/KhmerUnicode.css" rel="stylesheet" type="text/css" media="screen" /> in between <head></head> of index.php in \templates\ja_trona\ as the following :

<link rel="stylesheet" href="<?php echo $tmpTools->baseurl(); ?>templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $tmpTools->baseurl(); ?>templates/system/css/general.css" type="text/css" />
<link href="<?php echo $template_path; ?>/css/KhmerUnicode.css" rel="stylesheet" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/template.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/typo.css" type="text/css" />

..................

Best Regards,
While viewing your page source at : http://www.khmersarika.com/
We found:
<link rel="stylesheet" href="http://www.khmersarika.com/templates/sy ... eneral.css" type="text/css" />
<link href="/css/KhmerUnicode.css" rel="stylesheet" type="text/css" media="screen" />
<link rel="stylesheet" href="http://www.khmersarika.com/templates/ja ... mplate.css" type="text/css" />

Then please try to use:

Code: Select all

<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/KhmerUnicode.css" type="text/css" />
Sovann Heng ហេង សុវណ្ណ getinside360.com
អរគុណ"​អាច​ជួយ​ជំរុញ​អ្នក​ដទៃ​​មាន​កម្លាំង​ចិត្ត​ក្នុង​ការ​ចែក​រំលែក
Khmer (CAMBODIA) Translation Team Coordinator អ្នក​សម្របសម្រួល​ក្រុម​បកប្រែ​ភាសា​ខ្មែរ​

Sophorth
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Fri Oct 23, 2009 9:39 am

Re: How to embed Khmer Unicode font into Joomla

Post by Sophorth » Fri Jun 18, 2010 10:31 am

It's almost perfect now. It displays the articles correctly. But there are still a small problem for some module and button are not displayed correctly. Is there any other css files that I can modify the font-family to "Kh System"

Note: It does not work well with IE8 (Will need to enable compatibility view to see it correctly) and completely doesn't work with Chrome 5.0.375

Regards,

User avatar
hengsovann
Joomla! Explorer
Joomla! Explorer
Posts: 375
Joined: Fri Jul 10, 2009 4:00 am
Location: Cambodia
Contact:

Re: How to embed Khmer Unicode font into Joomla

Post by hengsovann » Fri Jun 18, 2010 10:55 am

Sophorth wrote:....
But there are still a small problem for some module and button are not displayed correctly. Is there any other css files that I can modify the font-family to "Kh System"
...
You are right, if those modules have their own css files which linked to our index.php template.
We have DIY them to use font-family of Kh...
To make some button or text fields are able to show Khmer Unicode:

Code: Select all

/*additional input font design*/
input,select {
	font-family: "Kh Battambang", Arial, Helvetica, sans-serif, "Khmer OS";
}

by adding the above code into bottom of your template.css of template.
Note: Please make sure that you are using the latest version of Kh(mer) font-family unicode which is suitable for embedding (for Window/Mac/Mobile). How to get those fonts please contact Mr. Danh Hong.

សល់​ប៉ុន្មាន​ទៀត​ទុក​ឲ្យ​អ្នក​អាយ​ធី​ គេ​រកលុយ​ខ្លះ​ផង :)
Sovann Heng ហេង សុវណ្ណ getinside360.com
អរគុណ"​អាច​ជួយ​ជំរុញ​អ្នក​ដទៃ​​មាន​កម្លាំង​ចិត្ត​ក្នុង​ការ​ចែក​រំលែក
Khmer (CAMBODIA) Translation Team Coordinator អ្នក​សម្របសម្រួល​ក្រុម​បកប្រែ​ភាសា​ខ្មែរ​

Sophorth
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Fri Oct 23, 2009 9:39 am

Re: [Solved] How to embed Khmer Unicode font into Joomla

Post by Sophorth » Fri Jul 02, 2010 1:54 am

អរគុណ បង​សុវណ្ណ ដែល​កន្លង​មក​បាន​ខ្នះខ្នែង​ជួយ ក្នុងការ​ដោះ​ស្រាយ​បញ្ហា​ Unicode ខ្មែរ​នេះ។

សូម​សំណាង​ល្អ។

camboreadcenter
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Fri Dec 25, 2009 8:23 am
Location: Phnom Penh
Contact:

Re: [Solved] How to embed Khmer Unicode font into Joomla

Post by camboreadcenter » Wed Jul 14, 2010 4:59 am

ខ្ញុំនៅតែមិនអាចធ្វើវាបាន។ ខ្ញុំព្យាយាមធ្វើតាមដំណាក់កាលខាងលើរួចហើយ។ ហើយខាងក្រោមនេះគឺជា វិធីដែលខ្ញុំធ្វើការ Embed font unicode.

Enter the URL address of your web page: ខ្ញុំដាក់ថាៈ
file://localhost/joomla/templates/mytemplate/css/fonts.css

Select Fonts.css and click Next and next

Font ដែលខ្ញុំចង់Embed គឺ Kh Battambang (ខ្ញុំធ្វើការជ្រើសរើសវា)

Subsetting ខ្ញុំជ្រើសរើស Family Based Sub setting រួចចុចលើ Button Subset និងSelect all character

Next

ក្នុងកន្លែង Font may only used from pages under root

http://localhost/joomla

Next next finish.

តែវានៅតែមិនដំណើរការ។

User avatar
hengsovann
Joomla! Explorer
Joomla! Explorer
Posts: 375
Joined: Fri Jul 10, 2009 4:00 am
Location: Cambodia
Contact:

Re: [Solved] How to embed Khmer Unicode font into Joomla

Post by hengsovann » Wed Jul 14, 2010 8:49 am

ប្រហែល​ជា​អ្នក​កំពុង​មាន​បញ្ហា​ជាមួយ​ការ​បម្លែង​ពុម្ពអក្សរ​ពី​ប្រភេទ ttf -> eot ហើយ​មើល​ទៅ។
តើ​អ្នក​ប្រាកដ​ទេ​ថា​ពុម្ព​អក្សរ​ eot ត្រូវ​បាន​បង្កើត​ត្រឹមត្រូវ ។
សូម​សាកល្បង ប្រើ​វា​នៅ​ក្នុង​ ថាស​ស៊ី​ សិន​ទៅ​មើល​ ថា​តើ​វា​ដំណើរ​ការ​ឬ​ទេ?
Sovann Heng ហេង សុវណ្ណ getinside360.com
អរគុណ"​អាច​ជួយ​ជំរុញ​អ្នក​ដទៃ​​មាន​កម្លាំង​ចិត្ត​ក្នុង​ការ​ចែក​រំលែក
Khmer (CAMBODIA) Translation Team Coordinator អ្នក​សម្របសម្រួល​ក្រុម​បកប្រែ​ភាសា​ខ្មែរ​

camboreadcenter
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Fri Dec 25, 2009 8:23 am
Location: Phnom Penh
Contact:

Re: [Solved] How to embed Khmer Unicode font into Joomla

Post by camboreadcenter » Wed Jul 14, 2010 9:06 am

ឥឡូវ ខ្ញុំអាច Embed ចូលបានត្រឹមតែ Firefox និង IE ។ តើធ្វើដូចម្តេចដើម្បីអាចអោយវាដំណើរការក្នុង chrom?

បង sovann, តើខ្ញុំអាចលេខទូរសព្ទ័ រឺ អ៊ីម៉ែលរបស់បងបាន ទេ។

User avatar
hengsovann
Joomla! Explorer
Joomla! Explorer
Posts: 375
Joined: Fri Jul 10, 2009 4:00 am
Location: Cambodia
Contact:

Re: [Solved] How to embed Khmer Unicode font into Joomla

Post by hengsovann » Fri Jul 16, 2010 2:07 pm

សូម​សាក​ល្បង​ប្រើ​ Phoca Font Component-សមាសភាគ​ ផូកា ពុម្ព​អក្សរ​ ដើម្បី​បង្កប់​ពុម្ព​អក្សរ​ខ្មែរ​យូនី​កូដ​ចូល​ក្នុង​គេហទំព័រ​ជូម្ល៉ា​របស់​លោក​អ្នក!
ជា​សមាសភាគ​មួយ​របស់​ជូម្ល៉ា! ។ សមាសភាគ​នេះ​បន្ថែម​គាំទ្រ​ដល់​ការ​ប្រើប្រាស់​បណ្ដា​ពុម្ព​អក្សរ​អាច​ទាញ​យក​បាន​សម្រាប់​តំបន់​បណ្ដាញ​ជូម្ល៉ា​របស់​អ្នក ។ អ្នក​អាច​ផ្ទុក​ និង​ជ្រើសរើស​នូវ​ពុម្ពអក្សរ​ប្រភេទ .ttf ឬ .otf ផ្ទាល់​ខ្លួន​របស់​អ្នក ។ ពុម្ពអក្សរ​ដែល​បាន​បញ្ចូល​ក្នុង​ឯកសារ​ពុម្ពអក្សរ​នេះ​នឹង​បង្ហាញ​លើ​តំបន់​បណ្ដាញ​របស់​អ្នក (ដោយ​មាន​ការ​ជួយ​ជ្រោមជ្រែង​ពី​ច្បាប់ @font-face )។
មុខងារ​នេះ​ត្រូវ​បាន​គាំទ្រ​ដោយ​បណ្ដា​កម្មវិធី​រុករក​ខាង​ក្រោម៖
  • Firefox 3.5
  • Opera 10
  • Safari 3.1
  • IE6, IE7, IE8 (តែ​ក្នុង​ករណី​ឯកសារ eot ត្រូវ​បាន​ដាក់​បញ្ចូល​ដែរ)
តម្រូវ​ការ៖
  • Joomla!1.5.10 (មាន​លំនឹង​ ឬ​កំណែ​ក្រោយ​ពី​នេះ)
  • PHP 4.4.1 (ឬ​កំណែ​ក្រោយ​ទៀត) ។
អ្នក​អាច​បញ្ចូល​នូវ​គុណ​លក្ខណៈ​ដូច​តទៅ៖
  • regular ធម្មតា
  • bold ដិត
  • italic ទ្រេត
  • bold italic ទ្រេត​ដិត
  • condensed ញឹក
  • condensed bold ដិត​ញឹក
  • condensed italic ទ្រេត​ញឹក
  • condensed bold italic ទ្រេត​ដិត​ញឹក
កញ្ចប់​ភាសា​ខ្មែរ​សម្រាប់​សមាសភាគ​នេះ​ សូមអាន៖
http://forum.joomla.org/viewtopic.php?f=569&t=533529
ព័ត៌មាន​បន្ថែម​សូម​អាន៖ Phoca Font Component
Sovann Heng ហេង សុវណ្ណ getinside360.com
អរគុណ"​អាច​ជួយ​ជំរុញ​អ្នក​ដទៃ​​មាន​កម្លាំង​ចិត្ត​ក្នុង​ការ​ចែក​រំលែក
Khmer (CAMBODIA) Translation Team Coordinator អ្នក​សម្របសម្រួល​ក្រុម​បកប្រែ​ភាសា​ខ្មែរ​

achatethes
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Thu Dec 15, 2011 8:45 am

Re: [Solved] How to embed Khmer Unicode font into Joomla

Post by achatethes » Thu Dec 29, 2011 8:04 am

ពិតជាមានប្រយោជន៏ យ៉ាងក្លាំងក្រៃលេង

សូមអរគុណ» :'( :'( :'( :'(

OEM-Daro
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Fri Jul 06, 2012 2:18 am
Location: ខែត្របន្ទាយមានជ័យ, ប្រទេសកម្ពុជា
Contact:

Re: [Solved] How to embed Khmer Unicode font into Joomla

Post by OEM-Daro » Wed Aug 01, 2012 9:47 am

កម្មវិធីសម្រាប់បម្លែងfont ទៅជា font.eot មិនមានដំណើរការលើwindow ខ្ញុំទែ ។ ខ្ញុំប្រើ Window 8 Release Preview។ ខ្ញុំចង់បាន font Hanuman.eot តើខ្ញុំអាចរក ទាញយក នៅទីណាបាន? សូមលោកពូ សុវណ្ណ ជួយផង។
សូមអរគុណលោកពូទុកជាមុន។


***** Manual signatures are NOT allowed ********** Manual signatures are NOT allowed *****__
អ៊ឹម ដារ៉ូ និស្សិតឆ្នាំទី២ វិទ្យាស្ថានបច្ចេកវិទ្យាកម្ពុជា
បច្ចុប្បន្នស្នាក់នៅសិក្សានារាជធានី ភ្នំពេញ

User avatar
hengsovann
Joomla! Explorer
Joomla! Explorer
Posts: 375
Joined: Fri Jul 10, 2009 4:00 am
Location: Cambodia
Contact:

Re: [Solved] How to embed Khmer Unicode font into Joomla

Post by hengsovann » Thu Aug 02, 2012 4:44 am

ហេតុ​អ្វី​មិន​ប្រើ Hanuman Google Webfont? បច្ចុប្បន្ន​ ដំណើរការ​ សឹង​គ្រប់ កម្មវិធី​រុករក Browser ទាំងអស់​ទៅ​ហើយ ។ សូមអាន៖ http://forum.joomla.org/viewtopic.php?f=569&t=543070
បើ​ចង់​បាន​ពុម្ពអក្សរ eot អាច​ប្រើ​ឧបករណ៍​បម្លែង​លើ​បណ្ដាញ font converter ស្វែង​រក​លើ Google លោក​អ្នក​នឹង​អាច​រក​ឃើញ
Sovann Heng ហេង សុវណ្ណ getinside360.com
អរគុណ"​អាច​ជួយ​ជំរុញ​អ្នក​ដទៃ​​មាន​កម្លាំង​ចិត្ត​ក្នុង​ការ​ចែក​រំលែក
Khmer (CAMBODIA) Translation Team Coordinator អ្នក​សម្របសម្រួល​ក្រុម​បកប្រែ​ភាសា​ខ្មែរ​

User avatar
kathirsrs
Joomla! Intern
Joomla! Intern
Posts: 60
Joined: Tue Mar 13, 2012 4:20 am
Location: Bangalore

Re: [Solved] How to embed Khmer Unicode font into Joomla

Post by kathirsrs » Thu Aug 02, 2012 9:57 am

Hi

Can any one explain this briefly.Sry I dont get those points mentioned above.
Thanks,
Kathir

OEM-Daro
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Fri Jul 06, 2012 2:18 am
Location: ខែត្របន្ទាយមានជ័យ, ប្រទេសកម្ពុជា
Contact:

Re: [Solved] How to embed Khmer Unicode font into Joomla

Post by OEM-Daro » Thu Aug 02, 2012 3:01 pm

hengsovann wrote:ហេតុ​អ្វី​មិន​ប្រើ Hanuman Google Webfont? បច្ចុប្បន្ន​ ដំណើរការ​ សឹង​គ្រប់ កម្មវិធី​រុករក Browser ទាំងអស់​ទៅ​ហើយ ។ សូមអាន៖ http://forum.joomla.org/viewtopic.php?f=569&t=543070
បើ​ចង់​បាន​ពុម្ពអក្សរ eot អាច​ប្រើ​ឧបករណ៍​បម្លែង​លើ​បណ្ដាញ font converter ស្វែង​រក​លើ Google លោក​អ្នក​នឹង​អាច​រក​ឃើញ
ខាងក្រោមជា code index.php នៃ template របស់ខ្ញុំ ។ ខ្ញុំមិនដឹងថា ត្រូវបញ្ចូល code

Code: Select all

<link href='http://fonts.googleapis.com/css?family=Hanuman&subset=all' rel='stylesheet' type='text/css'>
ត្រង់ទីណាទេ។ ហើយក្នុងថតនៃ template របស់ខ្ញុំ (ឈ្នោះ The World News II) មាន folder ឈ្មោះថា font ដូច្នេះទើបខ្ញុំចង់បាន font Hanuman ទៅរក្សាទុកក្នុងនោះ ។

Code: Select all

<?php

/**
 *
 * Main file
 *
 * @version             1.0.0
 * @package             Gavern Framework
 * @copyright			Copyright (C) 2010 - 2011 GavickPro. All rights reserved.
 *               
 */
 
// No direct access.
defined('_JEXEC') or die;
// enable showing errors in PHP
//ini_set('error_reporting', E_ALL);
//ini_set('display_errors','On');

// include framework classes and files
require_once('lib/framework/gk.const.php');
require_once('lib/framework/gk.parser.php');
require_once('lib/gk.framework.php');
// run the framework
$tpl = new GKTemplate($this, $GK_TEMPLATE_MODULE_STYLES);

/* End of the file - index.php */

OEM-Daro
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Fri Jul 06, 2012 2:18 am
Location: ខែត្របន្ទាយមានជ័យ, ប្រទេសកម្ពុជា
Contact:

Re: [Solved] How to embed Khmer Unicode font into Joomla

Post by OEM-Daro » Thu Aug 02, 2012 3:18 pm

នេះជាតំណ font Hanuman.eot ខ្ញុំរកបានហើយ។ សម្រាប់លោកអ្នកចង់បង្កប់ font Hanuman អាចទាញយកបាន
http://www.kirsle.net/wizards/ttf2eot-t ... anuman.eot

*** លោកអ្នកអាចបម្លែង font ផ្សេងពី ttf ទៅជា eot បានតាមរយៈ free online font converter ដែលមានអាសយដ្ឋាន http://www.kirsle.net/wizards/ttf2eot.cgi

*** មួយវិញទៀតបើចង់បម្លែងទៅប្រភេទ font ផ្សេងៗទៀតអាចចូលទៅកាន់ http://www.freefontconverter.com/


***** Manual signatures are NOT allowed ********** Manual signatures are NOT allowed *****__
អ៊ឹម ដារ៉ូ
និស្សិតឆ្នាំទី២ នៃ វិទ្យាស្ថានបច្ចេកវិទ្យាកម្ពុជា

rutin
I've been banned!
Posts: 27
Joined: Sat Apr 13, 2013 5:49 am

Re: [Solved] How to embed Khmer Unicode font into Joomla

Post by rutin » Wed Aug 20, 2014 8:40 pm

Code: Select all

http://km-kh.com/en/tutorial/khmer-unicode/6-font-embedding/92-khmer-unicode-google-webfont-on-android-and-ios-iphone.html
http://km-kh.com/en/tutorial/khmer-unicode/6-font-embedding/6-khmer-unicode-font-with-google-font-api.html

saovry
Joomla! Explorer
Joomla! Explorer
Posts: 403
Joined: Sat Jan 08, 2011 3:52 pm

Re: [Solved] How to embed Khmer Unicode font into Joomla

Post by saovry » Tue Feb 17, 2015 3:06 am

Does the Khmer Unicode support Joomla 3.3.6 yet?


Locked

Return to “Khmer Forum”