Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi all,
Can anyone guide me how to add DevLys 010 font in ckeditor. I have tried it but I am getting problem with the name : DevLys 010. Other font are successfully added.
Comments
Comment #1
teo3322 CreditAttribution: teo3322 commentedtry adding a style in the file /ckeditor/plugins/styles/styles/default.js like the docs recommend here http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Styles. Hope it helps.
Comment #2
subu.purohit CreditAttribution: subu.purohit commentedHi teo,
Thanks for your reply. But I couldn't find any place to put new font face in default.js. I have added new font-face in modules/ckeditor/ckeditor/content.css and then add this font in modules/ckeditor/ckeditor.config.js
config.font_names = 'DevLys 010/DevLys 010;' + config.font_names;
It brakes my font combo. but when I use :
config.font_names = 'DevLys 010/DevLys_010;' + config.font_names;
it works perfect. Any idea ?
Comment #3
virtualanup CreditAttribution: virtualanup commentedYou can download devlys 010 font from http://hindi-fonts.com/fonts/DevLys-010
Comment #4
abhidrupal CreditAttribution: abhidrupal commentedHow to add Hindi Kruti dev font in drupal 7