Opened 11 years ago

Closed 11 years ago

#12045 closed Task (invalid)

Unable Have Helvetica styles in CKEditor 4.4.0

Reported by: Tanmoy Bandyopadhyay Owned by:
Priority: Normal Milestone:
Component: Core : Styles Version:
Keywords: Cc:

Description

I have tried to add Helvetica style-type font in CKEditor, but unable to distinguish any changes between arial and helvetica.I have made changes in the line no. 57 of ckeditor.js

CKEDITOR.config.font_names="Arial/Arial, Helvetica, sans-serif;Helvetica;Comic Sans MS/Comic Sans MS, cursive;Courier New/Courier New, Courier, monospace;Georgia/Georgia, serif;Lucida Sans Unicode/Lucida Sans Unicode, Lucida Grande, sans-serif;Tahoma/Tahoma, Geneva, sans-serif;Times New Roman/Times New Roman, Times, serif;Trebuchet MS/Trebuchet MS, Helvetica, sans-serif;Verdana/Verdana, Geneva, sans-serif";

@font-face in contents.css is also made.still no help. Please look into it.

Change History (1)

comment:1 Changed 11 years ago by Jakub Ś

Resolution: invalid
Status: newclosed
Version: 4.4.0
  1. First of all, you don't need to modify ckeditor.js but config option http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-font_names
  2. Second please always put Helvetica before Arial
  3. You could check if this works for you: http://css-tricks.com/snippets/css/better-helvetica/
  4. If it doesn't (you are most likely on windows) please read this link (with all comments)http://stackoverflow.com/questions/14657463/forcing-windows-to-display-helvetica-instead-of-arial
  5. And finally don't worry because they look almost the same: http://ilovetypography.com/2007/10/06/arial-versus-helvetica/
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy