Hi,
I have 2 fonts on my server which I want to use in the editor. (font1.ttf and font1.eot)
I have found the following on the internet:
http://stackoverflow.com/questions/7417 ... n-ckeditor
1) They are talking about a "fonts.css" I can't seem to find that file, or do I need to create it?
2) Where do i add the @fontface-etc-part?
I have added the following to my config.js, which I bet is wrong:
// adding new fonts to the editor config.contentsCss = 'fonts.css'; // the next line add the new font to the combobox in CKEditor config.font_names = fontname/font1.ttf;'+ ' fontname/font1.eot;' + config.font_names;
Thanks for the help in advance.
Re: loading fonts (eot and ttf) from server
@import url('/ckeditor/css/arial.css');
and within your <fontname>.css
you will have the @font-face loading the eot or ttf file from the server.