Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#14666 closed New Feature (invalid)

Font name list does not include Calibri

Reported by: Steve Peacock Owned by:
Priority: Normal Milestone:
Component: General Version: 4.5.11
Keywords: Cc:

Description

Our corporate font has recently changed from Verdana to Calibri.

Unfortunately Calibri is not in the standard font drop-down list. Is this a gap or is there a way to configure the font list and add Calibri?

Many thanks, Steve

Change History (2)

comment:1 Changed 4 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

Please see: http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-font_names and http://docs.ckeditor.com/source/plugin99.html#CKEDITOR-config-cfg-font_names

I have made simple test with my editor and it has worked without problems.

var editor = CKEDITOR.replace( 'editor1', {
	font_names: 'Arial/Arial, Helvetica, sans-serif;' +
		'Comic Sans MS/Comic Sans MS, cursive;' +
		'Courier New/Courier New, Courier, monospace;' +
		'Georgia/Georgia, serif;' +
		'Times New Roman/Times New Roman, Times, serif;' +
		'Calibri/Calibri, sans-serif'
});

Please remember that this is Windows font so it will not be available on MAC by default. You can try using @font-face in that case: http://stackoverflow.com/questions/11737168/how-to-embed-fonts-in-css
http://www.w3schools.com/css/css3_fonts.asp

comment:2 Changed 4 years ago by Steve Peacock

Perfect. Thank you very much! Steve

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy