Maximum Font Size?

Asked by Dominik Schlag

What is the largest font in Xibo? I can only texts in a size of "72" here. Is there a way to set a larger font?

 Sincerely,
 Dominik

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Joerg Schuster
Solved:
Last query:
Last reply:
Revision history for this message
Joerg Schuster (joerg-schuster) said :
#1

Hi,

you can edit the FCKConfig so it's possible to get bigger fontsizes.

http://cksource.com/forums/viewtopic.php?f=6&t=6811

HTH!

Revision history for this message
Dominik Schlag (dominik-schlag) said :
#2

Where can I find the FCKConfig?

Revision history for this message
Best Joerg Schuster (joerg-schuster) said :
#3

Hi,

YOUR_XIBO_INSTALL/3rdparty/ckeditor

--> config.js

Save this as a new config.js (backup the original and reboot your webserver) :

/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

CKEDITOR.editorConfig = function( config )
{
 // Define changes to default configuration here. For example:
 // config.language = 'fr';
 // config.uiColor = '#AADC6E';
        CKEDITOR.config.toolbar_Full =
        [
                ['Source','-','Cut','Copy','Paste','PasteText','PasteFromWord'],
                ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
                '/',
                ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
                ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'],
                ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
                ['Link','Unlink','Anchor'],
                '/',
                ['Styles','Format','Font','FontSize'],
                ['TextColor','BGColor'],
                ['Maximize', 'ShowBlocks','-','About']
        ];

        config.removePlugins = 'scayt';
        config.fontSize_sizes = '8/8px;9/9px;10/10px;11/11px;12/12px;14/14px;16/16px;18/18px;20/20px;22/22px;24/24px;26/26px;28/28px;36/36px;48/48px;50/50px;55/55px;60/60px;65/65px;72/72px;80/80px;85/85px;90/90px;95/95px;100/100px';
};

HTH!

Revision history for this message
Dominik Schlag (dominik-schlag) said :
#4

Hello I have the config.js adapted so as they have posted it to me. I've restarted the Apache and SQL Server more than once and the machine upon which the Xibo Windows 7 Server also runs several times. What did I do wrong? in Xibo I still have the view if I want to enter text, the font size is 72, the largest ....

Revision history for this message
Alex Harrington (alexharrington) said :
#5

Make sure you don't have any line breaks in the config.fontSize_sizes line.

Revision history for this message
Alex Harrington (alexharrington) said :
#6

Also make sure you clear your browser cache. There should be no need
to restart your webserver or your PC.

Revision history for this message
Dominik Schlag (dominik-schlag) said :
#7

This is my old config.js:

 / *
 Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see license.html or http://ckeditor.com/license
 * /

 CKEDITOR.editorConfig = function (config)
 {
 / / Define changes to default configuration here. For example:
 / / Config.language = 'fr';
 / / Config.uiColor = '# AADC6E';
         CKEDITOR.config.toolbar_Full =
         [
                 ['Source','-',' Cut', 'Copy', 'Paste', 'paste text', 'PasteFromWord'],
                 ['Undo', 'redo','-',' Find', 'Replace','-',' SelectAll', 'RemoveFormat'],
                 '/',
                 ['Bold', 'Italic', 'Underline', 'Strike','-',' Subscript', 'Superscript'],
                 ['NumberedList', 'BulletedList','-',' Outdent', 'Indent', 'Blockquote', 'CreateDiv'],
                 ['Justifyleft', 'justifycenter', 'justifyright', 'JustifyBlock'],
                 ['Link', 'Unlink', 'Anchor'],
                 '/',
                 ['Style', 'format', 'font', 'FontSize'],
                 ['TextColor', 'bgcolor'],
                 ['Maximize', 'show blocks','-',' About']
         ];

         config.removePlugins = 'scayt';
 };

 I've added only the line and there is no line break in there.

config.fontSize_sizes = '8/8px;9/9px;10/10px;11/11px;12/12px;14/14px;16/16px;18/18px;20/20px;22/22px;24/24px;26/26px;28/28px;36/36px;48/48px;50/50px;55/55px;60/60px;65/65px;72/72px;80/80px;85/85px;90/90px;95/95px;100/100px';

Revision history for this message
Dominik Schlag (dominik-schlag) said :
#8

under the config.removePlugins

Revision history for this message
Dominik Schlag (dominik-schlag) said :
#9

Thanks for the quick help, just had to delete my browser cache ....~.~

Revision history for this message
Dominik Schlag (dominik-schlag) said :
#10

Thanks Joerg Schuster, that solved my question.

Revision history for this message
pj (puye) said :
#11

Helpful