I have added following code in contents.css
@font-face {
font-family: 'kruti_dev_070regular';
src: url('KrutiDev070/kruti_dev_070-webfont.eot');
src: url('KrutiDev070/kruti_dev_070-webfont.eot?#iefix') format('embedded-opentype'),
url('KrutiDev070/kruti_dev_070-webfont.woff') format('woff'),
url('KrutiDev070/kruti_dev_070-webfont.ttf') format('truetype'),
url('KrutiDev070/kruti_dev_070-webfont.svg#kruti_dev_070regular') format('svg');
font-weight: normal;
font-style: normal;
}
and following code in config.js
config.font_names = 'Hindi/kruti_dev_070regular;' +config.font_names;
it is displaying in drop down list but when selecting and typing it is not working?
The code seems to be ok. If
The code seems to be ok. If the fonts are available then the only other option is clearing cache. When you make changes in css you need to refresh cache or even clear it because refreshing (Ctrl+F5) may not be enough. If it doens't work try maybe creating a ticket with the fonts attached so the dev team can check it.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!