Problem Using TrueTypeText module

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
docomo
Forum Members
Forum Members
Posts: 44
Joined: Mon Jan 23, 2006 10:39 am

Problem Using TrueTypeText module

Post 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.
rj
Forum Members
Forum Members
Posts: 70
Joined: Fri Aug 10, 2007 4:58 am

Re: Problem Using TrueTypeText module

Post 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?
xnau
Forum Members
Forum Members
Posts: 33
Joined: Sun Apr 15, 2007 6:53 pm

Re: Problem Using TrueTypeText module

Post 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.
hexdj
Power Poster
Power Poster
Posts: 415
Joined: Sat Mar 24, 2007 8:28 am

Re: Problem Using TrueTypeText module

Post 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).
Post Reply

Return to “Layout and Design (CSS & HTML)”