Description

It is a Movable Type plugin which replace labels with True Type Fonts. Great tool for making nice banners and labels on 'fly' for your site. Also it works very good with SEO.

Changelog

TTFpj 1.2.1:
-Fix static paths - Now plugin work with another StaticPlaces. It puts images int /blog/ttfpj/* directory (Thanks Naoaki)

TTFpj 1.2:
-New Angle option 0-90
-New FX, FY - fixed label position on background image
-Fix size of object when using backgrounds

TTFpj 1.1:
-New text - possible put different text for robots and different for image.
-New Backgorund image as PNG

Problems

| No Comments
If any problems found please contact mtdevelopers<<@>>spagdesign.com

Examples

| No Comments | No TrackBacks
Template Edit Summary:

...
<div class="asset-header">
        <h2 class="asset-name entry-title"><a href="<$MTEntryPermalink$>">
<mt:SetVarBlock name="label"><$MTEntryTitle$></mt:SetVarBlock> 
<MTttfpj backgorundpng="backgound.png" alignright="" fx="20" font="Celti" size="14" label="$label" color="#FF0000" background="#0000FF">
<$MTInclude module="Entry Metadata"$>
</div>>
...

or with background:

Usage

| No Comments | No TrackBacks
&lt;MTttfpj font="Celti" size="14" label="$label" color="#FF0000" background="#0000FF"&gt;
Avalible parameters:
label - its a text you want :P
font - font name as file name without .ttf extension ( that you placed in ttfpj/fonts directory, extension with small leters)
size - font size in pixels
height - if not set using automatic value (but you can make fixed value)
width - if not set using automatic value (but you can make fixed value)
color - RGB font Color . default color="#000000"
background - RGB font Color . default background="#FFFFFF"
linespacing - pixel line spacing. default linespacing=1
transparent - makes transparent color.Default not using it. Example. transparent="#FFFFFF"
text - put different text on page ( for robots )
backgorundpng - put name of background-image you want to use (from plugins/ttfpj/backkgrounds/)
angle - rotate label on image 0-90 angle
alignright - align text to the right on background image
fx - fixed placement label on background image - width ( when using alignright, it place text from right to left )
fy - fixed placemant label on background image - height

Installation

| No Comments | No TrackBacks
  1. Set up perl libraries with cpan:
     
    cpan 
    install Digest::MD5
    install Cwd
    install GD
    install GD::Text
    install GD::Text::Align
    exit
    
  2. Download ttfpj-1.2.1.tar.gz file.
  3. Extract with your favroite unpack software 7zip or just
     
    tar -zxvf ttfpj-1.2.1.tar.gz
    
  4. Place files in plugins directory
  5. Download your TrueType Fonts to directory: /plugins/ttfpj/fonts/ ( browse a google, there are a tooooones of that )
  6. If you want use background image on labels put it as 8-bit png image into ../plugins/ttfpj/backgrounds/
That's All!

Requirements

| No Comments | No TrackBacks
Works with Movable Type 3.5, 4.0, 4.1, 4.2 Perl Libraries:
  • Digest::MD5
  • Cwd
  • GD
  • GD::Text
  • GD::Text::Align

Pages