Force a font visually in editor

General questions relating to Joomla! 2.5. Note: All 1.6 and 1.7 releases have reached end of life and should be updated to 2.5. There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Locked
Greight
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sat Dec 25, 2010 8:38 pm

Force a font visually in editor

Post by Greight » Sat Jan 31, 2015 9:21 pm

Hi,
Simply put, when I type a text in the editor, it's in Tahoma and when it's published it's the font I have implemented using @font-face. Obviously I need what the user sees in the editor and what comes as the outcome be the same. Any advice is appreciated.
Thanks in advance.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30929
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Force a font visually in editor

Post by Per Yngve Berg » Sat Jan 31, 2015 10:59 pm

Front-end or back-end editing?

Greight
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sat Dec 25, 2010 8:38 pm

Re: Force a font visually in editor

Post by Greight » Sun Feb 01, 2015 2:25 am

Per Yngve Berg wrote:Front-end or back-end editing?
Just front-end.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30929
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Force a font visually in editor

Post by Per Yngve Berg » Sun Feb 01, 2015 11:17 am

It appears that the Editor will only render Fonts that are installed in the client machine's OS.

Greight
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sat Dec 25, 2010 8:38 pm

Re: Force a font visually in editor

Post by Greight » Sun Feb 01, 2015 2:19 pm

Per Yngve Berg wrote:It appears that the Editor will only render Fonts that are installed in the client machine's OS.
Too bad. Isn't there any editor out there which can support fontface command?

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30929
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Force a font visually in editor

Post by Per Yngve Berg » Sun Feb 01, 2015 3:00 pm

Here is the procedure for installing Google Fonts.
https://code.google.com/p/googlefontdirectory/

Greight
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sat Dec 25, 2010 8:38 pm

Re: Force a font visually in editor

Post by Greight » Sun Feb 01, 2015 4:19 pm

Per Yngve Berg wrote:Here is the procedure for installing Google Fonts.
https://code.google.com/p/googlefontdirectory/
Unfortuanately Google fonts does not support the language of my website.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30929
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Force a font visually in editor

Post by Per Yngve Berg » Sun Feb 01, 2015 4:29 pm

What Language is that?

Greight
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sat Dec 25, 2010 8:38 pm

Re: Force a font visually in editor

Post by Greight » Sun Feb 01, 2015 5:28 pm

Per Yngve Berg wrote:What Language is that?
It's in Persian and the font is webYekan.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30929
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Force a font visually in editor

Post by Per Yngve Berg » Sun Feb 01, 2015 7:04 pm

You can download ttf here and install into the machine that is used for editing.
https://github.com/mohammadbagher/cms/b ... bYekan.ttf

Greight
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sat Dec 25, 2010 8:38 pm

Re: Force a font visually in editor

Post by Greight » Sun Feb 01, 2015 7:19 pm

Per Yngve Berg wrote:You can download ttf here and install into the machine that is used for editing.
https://github.com/mohammadbagher/cms/b ... bYekan.ttf
Thank you but I do have the font package and it is on the site with @font-face. I need it to be in the editor while typing.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30929
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Force a font visually in editor

Post by Per Yngve Berg » Sun Feb 01, 2015 7:24 pm

Install it in the OS of your PC.

Greight
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sat Dec 25, 2010 8:38 pm

Re: Force a font visually in editor

Post by Greight » Sun Feb 01, 2015 7:53 pm

Per Yngve Berg wrote:Install it in the OS of your PC.
I have it already installed and I know I can edit the content.css file for it to show the font. But I've made this for others and they don't have it and this is the problem. :(

Greight
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sat Dec 25, 2010 8:38 pm

Re: Force a font visually in editor

Post by Greight » Mon Feb 02, 2015 9:14 pm

So nothing can be done?


Locked

Return to “General Questions/New to Joomla! 2.5”