Protecting Print Licensed Fonts with TruetypeText Module

Do something cool with CMS? Show us ...
This board is for 'Answers', and the discussion of answers... Not for questions.
Post Reply
kendo451

Protecting Print Licensed Fonts with TruetypeText Module

Post by kendo451 »

One of the problems for web designers is that most high quality fonts are not licensed for use on the Internet in such a way that exposes the font to being downloaded and used by people who did not pay for it.  That means you can't legally use them with @font-face without potentially getting yourself or your client in legal trouble.

Tykekit.com and other guys have tried to come up with ways around this using @font-face and special web licensed fonts.

However, using the TruetypeText module on CMS Made Simple you can legally display Open Type and Truetype Fonts on your website, provided you have a valid license to use it yourself.  But you need to add one little file to make sure than nobody can download the .ttf file.

1. Install the TruetypeText Module

2. Create a file named .htaccess in /modules/TruetypeText/fonts/

3. add one line to the .htaccess file:

Code: Select all

deny from all
4. Create the styles in the TruetypeText module and use them for image replacement on your headings and anywhere else you need them.

(It is possible to do body text replacement with TruetypeText module, but not very practical.)

Now you can safely use print-licensed fonts on your website without breaking any copyright laws.
Post Reply

Return to “Tips and Tricks”