[TYPO3-english] Font Family & Google Fonts in HTMLArea RTE

Scotty C superscotty19 at yahoo.com
Thu Jun 18 08:27:23 CEST 2015


Hi again,

Just for completeness, I have researched those fonts that are universal to any operating system, as well as modified my HTMLArea Page TSConfig. My results follow - hopefully they'll be of use to someone:

Arial 
Arial Black 
Comic Sans MS 
Courier New 
Georgia 
Impact 
Tahoma (not Linux compatible!) 
Times New Roman 
Trebuchet MS 
Verdana



#### HTMLAREA Additional Page TS Config #############################

RTE.fonts { 
face1 { 
name = Comic Sans 
value = 'Comic Sans MS' 
} 
face2 { 
name = Courier New 
value = 'Courier New' 
} 
face3 { 
name = Georgia 
value = 'Georgia' 
} 
face4 { 
name = Impact 
value = 'Impact' 
} 
face5 { 
name = Tahoma 
value = 'Tahoma' 
} 
face6 { 
name = Palatino Linotype 
value = 'Palatino Linotype' 
} 
face7 { 
name = Trebuchet MS 
value = 'Trebuchet MS' 
} 
#  noFace { 
#    name = No font 
#    value = 
#  } 
} 
# Specific setting for the fontstyle selector: 
RTE.default.buttons.fontstyle.addItems = face1, face2, face3, face4, face5, face6, face7 
# Remove Garamond, Lucida Handwriting, Courier, Webdings, Wingdings
RTE.default.buttons.fontstyle.removeItems = 5,6,7,8,9



-Scott.




----- Original Message -----
> From: Scotty C <superscotty19 at yahoo.com>
> To: Scotty C <superscotty19 at yahoo.com>
> Cc: 
> Sent: Wednesday, June 17, 2015 10:48 PM
> Subject: Re: [TYPO3-english] Font Family & Google Fonts in HTMLArea RTE
> 
> Update:
> 
> I have learned that HTMLarea will only show those fonts that are installed on 
> your computer (makes obvious sense). to import more fonts, one just needs to 
> follow Jigal's link.
> 
> That said, I would still very much like to find a way to increase HTMLarea's 
> power by making it universal, irregardless of locally installed fonts. If 
> anybody knows how, I'd love to hear it!
> 
> -Scott.
> 
> 
> 
> 
> ----- Original Message -----
>>  From: Scotty C <superscotty19 at yahoo.com>
>>  To: TYPO3 English <typo3-english at lists.typo3.org>
>>  Cc: 
>>  Sent: Tuesday, June 16, 2015 10:42 PM
>>  Subject: Re: [TYPO3-english] Font Family & Google Fonts in HTMLArea RTE
>> 
>>  Jigal,
>> 
>>  You've done it again! Thank you for such a prompt and helpful reply - I 
> 
>>  totally forgot that HTMLarea is just an extension and as such has 
> corresponding 
>>  documentation. Now I have more questions that don't seem to be in the 
>>  documentation:
>> 
>>  1.) This shows me exactly how to add new fonts, but without having the code 
> in 
>>  that link you provided, there is no way I'd know what fonts I have to 
> choose 
>>  from. So, how do I know what fonts I can add?
>>  2.) Following (1), how can I add Google fonts?
>> 
>>  Thanks again,
>>  -Scott.
>> 
>> 
>> 
>> 
>> 
>>  ----- Original Message -----
>>>   From: Jigal van Hemert <jigal.van.hemert at typo3.org>
>>>   To: typo3-english at lists.typo3.org
>>>   Cc: 
>>>   Sent: Tuesday, June 16, 2015 9:34 PM
>>>   Subject: Re: [TYPO3-english] Font Family & Google Fonts in 
> HTMLArea RTE
>>> 
>>>   Hi,
>>> 
>>>   On 17/06/2015 01:26, Scotty C wrote:
>>>>    I can't believe I'm having to bother you all with this, 
> but I
>>>>    honestly can't find any documentation on how to change the
>>>>    font-family dropdown in HTMLArea???
>>> 
>>>   The options are described at:
>>> 
>> 
> http://docs.typo3.org/typo3cms/extensions/rtehtmlarea/Configuration/PageTsconfig/fonts/Index.html
>>> 
>>>   It's probably not used very often. Editors are usually only 
> allowed to 
>>>   select from a limited set of classes for specific containers (DIV, P, 
> Hx).
>>> 
>>>   -- 
>>>   Jigal van Hemert
>>>   TYPO3 CMS Active Contributor
>>> 
>>>   TYPO3 .... inspiring people to share!
>>>   Get involved: typo3.org
>>>   _______________________________________________
>>>   TYPO3-english mailing list
>>>   TYPO3-english at lists.typo3.org
>>>   http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>>> 
>> 
> 


More information about the TYPO3-english mailing list