[Typo3] TrueType Fonts in Menus

Wallace, David D.P.Wallace at massey.ac.nz
Wed May 11 00:52:57 CEST 2005


Moving my fonts into a fileadmin/fonts/ folder did the trick!!

All menus now use the specified font 100%

Thanks guys!

David 

-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of Jason
A. Lefkowitz
Sent: Tuesday, 10 May 2005 11:24 p.m.
To: typo3-english at lists.netfielders.de
Subject: Re: [Typo3] TrueType Fonts in Menus


Hey --

Wallace, David wrote:
> I have been trying for several days to get TrueType fonts to work in 
> my menus. I currently have dynamically created navigation created by 
> Typo3 as rollover images.
> 
> The issue is that I cannot seem to change the TrueType font that Typo3

> is using in my menus. It seems to keep using a generic TrueType font 
> regardless of what I supply in my template setup.
> 

[snip]

I was having the exact same difficulty, but eventually got it to work.
One thing I tried was this -- instead of putting my custom font files in
the t3lib/fonts directory, I created a new "fonts" directory under
fileadmin, and put them there instead (on the theory that fileadmin was
user-space, and therefore maybe more amenable to uploading my own stuff
than t3lib was).  Then I referenced that directory when I made the
fontFile call.

So instead of

10.fontFile = typo3/t3lib/fonts/<your font file>

It would be

10.fontFile = fileadmin/fonts/<your font file>

Seemed to work for me.  Your mileage may vary, of course (I'm still
learning Typo3 myself).

Another thing that jumps out at me is that you shouldn't need to specify
"typo3" in the fontFile call, if you're pointing to t3lib... so you
might try this and see if it works:

10.fontFile = t3lib/fonts/<your font file>

Hope this helps!

-- Jason Lefkowitz _______________________________________________
Typo3-english mailing list
Typo3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list