=== AnyFont === Contributors: choon Donate link: http://2amlife.com Tags: images, styles, fonts, admin, theme, enhancement, truetype, opentype, ttf, font, plugin Requires at least: 2.5 Tested up to: 2.8 Stable tag: 0.7.0 AnyFont allows you to use any truetype or opentype font to replace plain text anywhere you want in your theme design. NEW IN 0.7: OpenType Support! == Description == AnyFont allows you to use any truetype or opentype font for post titles, menu items or anywhere else you want to use a custom font in your theme design. Supports both PHP4 & GD or PHP5 & Imagick or GD. Version 0.7 introduces an additional two new features, Firstly you can now use any OpenType or TrueType font with AnyFont, and the second great feature which was contributed by [Rik Ward](http://shinypixel.co.uk/), is the ability to have a width limit for your text. ie: Multi-line text. Note: this feature is only available on NEWLY created styles. You cannot edit your current styles and add multiline support at this time. **Features:** * Font Manager to easily upload new fonts to wordpress * Style Management which allows an unlimited number of different styles to be created. * Font shadow options within the style manager(Requires PHP5 & ImageMagick). * Image Cache for generated images plus browser caching is enabled for images to reduce page load times. * Cache Management. * Easy text replacement options for post titles, page titles, widget titles, blog name and blog description. * Image replacements are SEO compatible. **Changelog:** v0.7.0 * Feature: OpenType Support. * Feature: Set image max width in style settings. * Bugfixes: various bugs were fixed along with many other general code improvements. v0.6.8: * Feature: New options to replace plain text version of blog name and blog description in header. * Bugfix: fixed incorrect link to style manager on settings page. v0.6.7: * Feature: Added option to prevent other sites from "hotlinking" your generated images.(option enabled by default) * Feature: Added Etag support for improved browser caching. * Bugfix: Fixed function name mismatch within the json class. v0.6.6: * Bugfix: Fixed bug introduced in 0.6 which prevented the browser from caching any generated images. v0.6.5: * Bugfix: The 'replace titles' option was creating problems with post titles in rss feeds. v0.6.4: * Feature: included a new setting to override the default image module. * Feature: added i18n support for language translations. * Bugfix: interface issues on Wordpress version 2.5. * Bugfix: removed border from post titles(theme/css dependant) v0.6.3: * Removed the function which attempts to load required php modules. v0.6.1: * Bugfix: IE problem with page appearing to "hang" when saving style. * Bugfix: IE6 script error on page load. v0.6.0: * Feature: PHP4 & GD Support added(BETA) * Feature: New settings to automatically replace certain titles within your blog with truetype fonts. v0.5.3: * Bugfix: "Server 500 Error" when disabling plugin. v0.5.0: * First public release. == Screenshots == 1. Style Manager 2. Font Manager 3. General Settings == Frequently Asked Questions == = After enabling the post title replace option on the settings page, all my post titles start with a "> why?? = This is quite a common error in themes, but quick and easy to fix, open up your theme's index.php file, look for a line that looks similar to the following: ><h2 class="posttitle"><a href="<?php the\_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the\_title(); ?>"><?php the\_title(); ?></a></h2> The problem lies in the title attribute, it should read: >"Permanent Link to <?php the\_title\_*attribute*(); ?>" = Its just not working for me! HELP! = Dont worry!! I am here to help where possible! Just leave a message explaining the problem you having on my [blog](http://2amlife.com) or send me a [tweet](http://twitter.com/ch00n) and I will get back to you asap. == Usage == After you have uploaded some truetype fonts and created a new font style, you can include dynamic images in your theme with the following code snippet: >"<img src='/images/your-style-name/the text to be generated.png' alt='the text to be generated' />" **Example:** Replacing the text in the menu with an image: >"<a href="<?php bloginfo('home') ?>" rel="home">Home</a>" becomes >"<a href="<?php bloginfo('home') ?>" rel="home"><img src="/images/menu/Home.png" alt="Home" /></a>" == Installation == *Server Requirements:* PHP4 or PHP5 and either the ImageMagick(imagick module 2.1.1-rc1 and up) or GD image module installed. Upload the AnyFont plugin to your blog and activate it!