=== AnyFont === Contributors: choon Donate link: http://2amlife.com Tags: images, styles, fonts, admin, theme, enhancement, truetype, opentype, typography, ttf, font, plugin Requires at least: 2.5 Tested up to: 2.9.2 Stable tag: 1.0.1 AnyFont allows you to use any TrueType or OpenType font to replace plain text anywhere you want in your theme design. NEW IN 1.0: Replace menu text! == Description == AnyFont allows you to automatically set any TrueType or OpenType font for your post titles, menu items, widget titles or anywhere else you want to use a custom font on your WordPress site. Supports both PHP4 & GD or PHP5 & Imagick or GD. **New Features in version 1.0** * Option to automatically change menu text for any menu generated using the wp_list_pages or wp_page_menu WordPress functions. Included in this feature is the ability to assign styles for hover(mouseover) and the active page. * Automatic plugin “health” checks with alerts and tips on how to solve the problem that was detected. * Extended Cache Management settings to limit the amount of disk space used. * Advanced controls for power users that want to set custom locations for saving fonts or cache files. * New Style setting which allows you to add extra space around an image should you find your text is getting cut off. * Preview any changes you make to a style before saving. * Copy an existing style to a new style. * A help icon has been added to every single option in AnyFont to help guide you when setting things up. **Features:** * Font Manager to easily upload new fonts to WordPress * Character Map to quickly check which characters are available for each font. * Style Management which allows an unlimited number of different styles to be created. * Apply font shadows easily using the Style Manager. * TinyMCE Button for quick and easy insertion of AnyFont styled text into your posts or pages. * Image Cache for generated images plus browser caching is enabled for images to reduce page load times. * Cache overview and management tool. * Easy text replacement options for menus, post titles, page titles, widget titles, blog name and blog description. * Image replacements are SEO compatible. * WordPressMU compatible with full support for multiple blogs. **Translations:** * Belarusian - [FatCow](http://www.fatcow.com) == Changelog == = 1.0.1 = * Bugfix: Added styles check on activation to remove depreciated admin style. * Bugfix: Plugin was reported to be affecting WordPress core as per [this bug](http://core.trac.wordpress.org/ticket/11974). Unable to reproduce error but changes have been made with AnyFont which should solve the problem. (Thanks Jim!) = 1.0 = * Feature: Option to automatically change menu text for any menu generated using the wp_list_pages or wp_page_menu wordpress functions. Included in this feature is the ability to assign styles for hover(mouseover) and the active page. * Feature: Automatic plugin “health” checks with alerts and tips on how to solve the problem that was detected. * Feature: Advanced controls for power users that want to set custom locations for saving fonts or cache files. * Feature: New Style setting which allows you to add extra space around an image should you find your text is getting cut off. * Feature: Preview any changes you make to a style before saving. * Feature: Copy an existing style to a new style. * Feature: A help icon has been added to every single option in AnyFont to help guide you when setting things up. * Enhancement: Extended Cache Management settings to limit the amount of disk space used. * Bugfix: Images slow to load or occasionally timed out. * Bugfix: Issue with certain characters being double encoded when inserting AnyFont styled text into a post/page. = 0.9.1 = * Enhancement: Included Belarusian translation. * Bugfix: blank space below generated images. * Bugfix: IE javascript error which prevented the Style Manager page from loading correctly. = 0.9.0 = * Feature: Added TinyMCE button to easily insert AnyFont styled text into posts/pages. * Feature: Added an option to view a character map for any font in the Font Manager. * Enhancement: Added support for WPMU enviroments. * Enhancement: Uploaded font files are now stored correctly in the Wordpress uploads folder. * Enhancement: Added confirmation step when deleting fonts. * Bugfix: Various issues with image cache. = 0.8.7 = * Bugfix: Corrected a caching bug which sometimes caused images to be generated with every request. = 0.8.6 = * Bugfix: Font select dropdown not selecting font when creating a new style. = 0.8.5 = * Bugfix: Fixed reference to "self" in php4 class. (Thanks Jose). = 0.8.4 = * Bugfix: Image shadow sometimes got cut off when shadow spread was set higher than 2. (Imagick Only). * Bugfix: Unable to read multiple styles(Bold, Oblique, etc) when a font family had multiple styles uploaded. (reported by [@icithis](http://is.gd/5aVOC). :) * Enhancement: Improved Font Manager page, now shows font styles available and the fonts copyright notice, if any. = 0.8.3 = * Bugfix: Found a solution to the issue where text was getting cut off and so far its been confirmed as working on 2 servers which previously gave different results. * Bugfix: Fixed an error in the php4 admin class where php5 specific naming conventions were being used. = 0.8.2 = * Bugfix: Font list is correctly sorted into alphabetical order. * Bugfix: Displays the correct font name instead of simply the filename. * Bugfix: Minor CSS and other visual improvements. * Enhancement: The AnyFont rewrite rules in .htaccess are now only required if your blog does NOT have permalinks enabled. * Feature: New automatic process to determine the rewrite requirements. = 0.8.1 = * Bugfix: Imagick issue where images would not display after 0.8.0 upgrade. * Feature: Option to set the shadow distance. * Feature: Option to soften the shadow. (GD module only) = 0.8.0 = * Bugfix: Text getting cut off in generated images. * Bugfix: Browser not caching images on some WordPress installations. * Feature: Shadows are now available for the GD image module in the style manager. * Enhancement: Font previews are displayed in the select box dropdown when selecting a font in the style manager. * Enhancement: Font sizes are no longer limited to the selection in the dropdown, the size can be now overridden by just typing a custom size. * Enhancement: Shadows have been enhanced when using Imagick with a new option called shadow spread which softens the shadow. = 0.7.4 = * Bugfix: Internet Explorer font uploads. * Bugfix: Missing colour selector on some shadow-colour input boxes. * Bugfix: Improved compatibility with custom WordPress installations. * Enhancement: AnyFont will now automatically detect and repair broken configurations and if the problem cant be fixed automatically, a message will be displayed giving a possible solution. = 0.7.3 = * Bugfix: Widget Title replacements will retain the original $before_title and $after_title variables, which really improves compatibility with highly customised themes. (thanks Gavin!) * Bugfix: Text should now be left aligned if the style has a character limit = 0.7.2 = * Bugfix: Correctly escaped some unescaped characters in a regular expression in the template class (Thanks Joe!) * Bugfix: Checkboxes for newly created styles should function correctly without needing to refresh the page * Bugfix: Fonts are listed correctly in the dropdown after saving a new style = 0.7.1 = * Feature: New options to replace plain text version for tag titles and category titles. * Enhancements: Style interface has been cleaned up by hiding any unused options. * Bugfix: width limit option displaying as off even when enabled. * Bugfix: correct font was not selected for created styles in style manager (php4 & gd version) * Bugfix: width limit options are now available for styles created before version 0.7.0 Full changelog is available [here](http://2amlife.com/projects/anyfont/changelog) == Upgrade Notice == = 1.0.1 = Minor update with fix for those affected by the admin style bug. = 1.0 = Fixed bug which was causing slow image loading and occasional timeouts plus loads of other new features and improvements. See changelog for details. = 0.9.1 = IE javascript bug fix and extra space below generated images has been removed. = 0.9.0 = This release has some major improvements to the serverside image generation and cache which should speed up page load times. See changelog for list of new features. == Screenshots == 1. Style Manager. 2. Font Manager. 3. General Settings. 4. Notepad Theme showing the top menu and sidebar menu after enabling menu replacements in AnyFont. 5. TinyMCE Integration. == 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*(); ?>" = My Hosting Provider says ImageMagick is already installed, but AnyFont doesn't see it? = If you want to use ImageMagick over GD you need to ensure that the Imagick PHP extension to ImageMagick is also installed. [Click here for more info on Imagick](http://www.php.net/manual/en/book.imagick.php) = 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 as soon as I can. == 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!