Page 1 of 1

Problem Using TrueTypeText module

Posted: Sat Feb 02, 2008 12:48 pm
by docomo
Hi,

I have installed the TrueTypeText module. I have had some problems trying to get it too work.

What I am trying to do I think should be quite simple, I have some static text that i would like to display in font 'Lucida Sans" color 'blue'. I have uploaded the font into the 'font' director under the '\modules\truetypetext\fonts' directory.

The tag should look somthing like this:
{cms_module module="TruetypeText" style="???" text="Welcome to My Site"}

I have experimented with different combinations for the "Style" parameter. I was hoping someone could give me some guidance on what format this should be.

Cheers

M.

Re: Problem Using TrueTypeText module

Posted: Sun Feb 10, 2008 7:20 am
by rj
Question is why you´re using the TTT module for this? Lucida Sans is a common font on Mac´s and PC´s. Why don´t you just use CSS to style your text?

Re: Problem Using TrueTypeText module

Posted: Tue Feb 26, 2008 7:18 pm
by xnau
To use this module, you must create a style under the styles tab. This is where you define the color, font, etc. Then you use the name of the style in the style parameter of the tag. The styles tab provides you with an example of the tag for each defined style.

It's slightly confusing because in CSS a "style" is the specific settings, and a "class" is the name for a group of settings.

The previous post brings up a good point, though: easier and the quality will be better if you just use CSS to display the Lucida Sans font.

Re: Problem Using TrueTypeText module

Posted: Tue Feb 26, 2008 7:36 pm
by hexdj
I agree that the font is a common one but I disagree with the quality being better if done thru regular css. Fonts usually look ultra smooth on Macs but they don't in windows (even with ClearType on).