﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
10259	Not able to add new font to ckeditor	ranveer		"Hello,

I am trying to add new custom font to ckeditor. But I am not able to add new font to ckeditor. Fonts are not default system font, I have .otf, .ttf, .woff font files. 

Please suggest me how I can add new font to editor. 

I tried below method but didn't get any result.

config.contentsCss = 'fonts.css';
//the next line add the new font to the combobox in CKEditor
config.font_names = 'fontnametodisplay/yourfontname;' + config.font_names;

where fonts.css has the @font-face attribute:

@font-face {  
    font-family: ""yourfontname"";  
    src: url( ../fonts/font.eot ); /* IE */  
    src: local(""realfontname""), url(""../fonts/font.TTF"") format(""truetype""); /*non-IE*/  
}

"	Bug	closed	Normal		General		invalid	custom font, new font to ckeditor	
