Hi Santoshi,
Out of the box there is no method to import fonts in the KB HTML Editor.
However you can add fonts by altering htmlarea.js using WSP and publish afterwards.
This javascript file contains the available fonts for the editor as shown below.
this.fontname = {
"Arial": 'arial,helvetica,sans-serif',
"Courier New": 'courier new,courier,monospace',
"Georgia": 'georgia,times new roman,times,serif',
"Tahoma": 'tahoma,arial,helvetica,sans-serif',
"Times New Roman": 'times new roman,times,serif',
"Verdana": 'verdana,arial,helvetica,sans-serif',
"impact": 'impact',
"WingDings": 'wingdings'
};
So in order to add a new font, add displayname, fontname pair:
this.fontname = {
"Arial": 'arial,helvetica,sans-serif',
"Courier New": 'courier new,courier,monospace',
"Georgia": 'georgia,times new roman,times,serif',
"Tahoma": 'tahoma,arial,helvetica,sans-serif',
"Times New Roman": 'times new roman,times,serif',
"Verdana": 'verdana,arial,helvetica,sans-serif',
"impact": 'impact',
"WingDings": 'wingdings',
"Calibri": 'calibri'
};
Save, test and publish the file. And verify in the browser.
Best regards,
Peter