1
RiazShahid
Adding new font to Mastop Publish 1.1

Hello!
Can some body please inform how to add new fonts to Mastop Publish 1.1
Mastop Publish uses visual editor (WYSIWYG) by default.

Thanks

2
ghia
Re: Adding new font to Mastop Publish 1.1
  • 2010/9/20 5:03

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Not very clear what your problem is. Can you elaborate about what you are trying to do and where you are stuck?

3
RiazShahid
Re: Adding new font to Mastop Publish 1.1

Very simple, when we add any content in Mastop Publish, there are few fonts listed to choose from. I want to add few new fonts, so that I can use these fonts to display my content. How can I do so?

4
ghia
Re: Adding new font to Mastop Publish 1.1
  • 2010/9/20 5:52

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


So, you want to extend the choices of the editor (as eg the DHTML editor to edit this post has in the font dropdown (Arial, Courier, .., Haettenschweiler))?
Which editor do you use?

5
RiazShahid
Re: Adding new font to Mastop Publish 1.1

Yes exactly.
WYSIWYG Editor

6
ghia
Re: Adding new font to Mastop Publish 1.1
  • 2010/9/20 23:10

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Which WYSISWYG?
Koivi, Tinymce, FCK, CK, ...

7
RiazShahid
Re: Adding new font to Mastop Publish 1.1

Mastop Publish uses Tinymce

8
ghia
Re: Adding new font to Mastop Publish 1.1
  • 2010/9/21 19:16

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Try by editing XOOPS_EDITOR_TINYMCE_FONTS in /class/xoopseditor/tinymce/language/your_language.php

9
RiazShahid
Re: Adding new font to Mastop Publish 1.1

Hello ghia!
I am revoking this thread, I locate the file required to edit for adding new font in the list. For English its

// FONT LIST, FORMAT: "Name=value1,value2;Name=value"
define("_XOOPS_EDITOR_TINYMCE_FONTS", "Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;WingDings=wingdings");
?>

So will it be enough to write font name here? I don't need to upload the actual font file (.ttf) any where? The font I want to use is not a usual font and is bit rare, so what should I do?

10
ghia
Re: Adding new font to Mastop Publish 1.1
  • 2010/12/15 15:30

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


For editing purposes it is enough. If the font is installed on your PC, you will see the desired result.
For other users the browser (IE, FireFox, ...) will fallback to an existing font.

Login

Who's Online

313 user(s) are online (263 user(s) are browsing Support Forums)


Members: 0


Guests: 313


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits