Page 1 of 1
adding fonts to FCKeditorX - garamond
Posted: Mon Jun 26, 2006 9:55 pm
by sleepyg1973
hi,
i'm a newbie to this cms made simple stuff. must admit i'm really impressed so far. i'd like to use different fonts other than the standard onese supplied when you install cmsmadesimple through fckeditorx. can anyone tell me if this is possible and if so point me towards documentation and the configuration files i might need to modify? i'd like to use the garamond font ....
cheers,
g

Re: adding fonts to FCKeditorX - garamond
Posted: Tue Jun 27, 2006 4:22 pm
by Sub_Kovert
I think that the fonts shown are used in most browsers and systems. If you use a different font the viewer of the site will need that font on their system or else it will default to something else.
At least I think this is true.........someone else may be able to confirm this........

Re: adding fonts to FCKeditorX - garamond
Posted: Tue Jun 27, 2006 5:31 pm
by cyberman
Hi sleepyg1973,
welcome on CMS made simple

...
sleepyg1973 wrote:
i'd like to use different fonts other than the standard onese supplied when you install cmsmadesimple through fckeditorx. can anyone tell me if this is possible
The answer is not so easy cause existing operating systems have not the same default system fonts. But you can only show a font on your homepage which is installed on homepage visitors computer.
The first option to use other fonts for headlines and menu entries is using the truetype module
http://dev.cmsmadesimple.org/projects/truetypetext/
All chars will be transformed to a picture - but I think that's not an option for longer text.
The second option is the including of some generic fonts in css stylesheet, e.g.
font-family: Helvetica, Geneva, Arial, SunSans-Regular, sans-serif;
not only
font-family: Helvetica;
so layout of your page will be not destroyed if a visitor haven't install your page default font on his computer.
The last (exotic) option only for with CSS2 compatible browsers is to import a font file like
@font-face { font-family:Kino; src:local(Kino MT), url(kino.ttf) format(TrueType); }
It's not for real use now cause there are not very much CSS2 compatible browsers

.
Re: adding fonts to FCKeditorX - garamond
Posted: Wed Aug 08, 2007 10:51 am
by musicscore
This isn't as difficult as it seems.
Just open the file
fckconfig.js which is located in ".......\modules\fckeditorx\fckeditor".
At about line 113 you find the line :
FCKConfig.FontNames= 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana;'
Add the fonts you want to this line for example :
FCKConfig.FontNames= 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana; Impact; Calibri;'
Now save this file and open the FCKEditorx in CMSMS
And Hoera, the extra fonts can be selected.
Think about what Cyberman told you. If you select a font that is only on your system and NOT on the visitors system, the visitor wann't see that font.
Musicscore
Re: adding fonts to FCKeditorX - garamond
Posted: Wed Aug 08, 2007 1:24 pm
by Dr.CSS
If using a standard install of XP go to C:\WINDOWS\Fonts to see default fonts, if you haven't added extra fonts...