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
-
Style Manager.
-
Font Manager.
-
General Settings.
-
Notepad Theme showing the top menu and sidebar menu after enabling menu replacements in AnyFont.
-
TinyMCE Integration.
Current version: 1.0.1
Last updated: 8th March, 2010
26509 downloads





View Changelog | WordPress plugin page | Download
Last updated: 8th March, 2010
26509 downloads





View Changelog | WordPress plugin page | Download
Comments and suggestions are most welcome!
















Posts RSS
I’ve looked at implementing your plugin but for some reason the images do not cache. I’ve tried disabling all other plugins, reverted to the default theme and changed the image module option but nothing has worked. I’ve confirmed this issue with several fonts. My hosting services has GD Module and (possibly, cannot remember) ImageMajick.
The plugin looks the goods and I’m desperate to get it working. Any help would be greatly appreciated.
Have you checked if the font folder and fonts-cache folder have been created in wp-content and are writable? If so, pop me an email with as much debug info as possible and I will try look further for you.
Hey Ryan,
same over here at http://b.lx-m.de
using the GD module, since the server does not have imagick
the folders exist and have chmod 777, fonts being uploaded are presented at the anyfont page in the admin menu, but no generated graphics at all. the fonts-cache folder is empty.
for testing purposes i deactivated all other plugins and gave the plugin directory a chmod 777, nothing changed.
if you have any hints, or questions for debugging purposes, you may mail me back to [address removed]
alex
Hi I’ve been using the marvellous AnyFont happily for a little while. It really makes my site, thanks for all your hard work. But since the newest release it’s not functioned at all, and then twice crashed my whole site when I tried to uninstall it. I’ve tried a fresh install of the plugin, a fresh Wordpress install, upgrading to 2.8, changing .htaccess permissions to 777, but no joy. I’d welcome your ideas. Possibly .htaccess is the clue here: nothing about Anyfont is in there. I seem to remember there were once some lines in there beginning: # BEGIN AnyFont. Perhaps you could advise me on how to re-edit the file? I don’t have any trouble doing this manually, if I know what to put in there, and where. I’m currently using Wordpress 2.8 and my blog frontpage is set in my root folder, different from from the wordpress folder, if that helps. My website is ficklefingeroffate.co.uk.
I have to say your plugin is great. It works perfectly with my k2 + latest wordpress. However I have one issue. I have a site in German and even though the font that I have installed has umlauts (eg ü, ä, ö), it does not display on the page. I guess these are not recognized in your plugin? Or am I doing something wrong? would appreciate any feedback. Thanks.
Not sure why it would be doing that, any character that exists in the font should be able to be rendered. Send me an email using my contact page and include a link to your site or a page where I can see the problem for myself and I’ll see if I can figure it out for you. I am extremely busy with work right now though, so if you don’t hear from me immediately, don’t worry, I will come back to you just as soon as I have a moment to spare.
Thanks Ryan for your prompt reply. I’ve sent you the details….no worries. Whenever you find the time…
AnyFont is working great for me, but I’m kind of disappointed… it seems that browsers don’t cache images generated by anyfont. When I navigate through my site, there’s a sensible delay between the time the page starts loading, and when the anyfont image is shown. During that period I can see the textual replacement, which later changes to the anyfont image. Any hint/suggestion? Thanks!
I have had this problem myself in the past and I am happy to report that the caching issue has been resolved in the latest release (version 0.8.0)
Hi
your plugin seem wonderfull ! BUT, i can’t make a style : i make it, i record it, it appears. When i go out of the window and comme back the style is desappeared
My wordpress is a 2.8 version
Do you have an idea ??
I’m having the same issue. I’ve been using it for a little while now and it worked great until I updated to 0.8.0 today. Now everything seems fine, except the fonts don’t actually show up. Everything just looks like the default arial or whatever. The fonts and font-cache folders are writable and cached files are showing up in them when I add fonts.
AnyFont was working perfectly for a while, and now it just doesn’t quite work. I say quite because I can upload fonts, make styles and it automatically produces cached files. I’ve downloaded the cached files to my pc and they look right, but the previews just show sanserif text and nothing actually changes on my blog.
http://www.blog.sarahritchie.com
Hi, I’ve been following your updates for awhile now. However with this last update (0.8.1) the images now appear lower and are getting cut-off along the bottom. Using EI 8 and Firefox 3.
I have the same problem, except that with me, images are shifted to the top, not to the bottom.
hi – i really want to use anyfont but i keep running into the same problem… here’s a screenshot of the page (i disabled anyfont for now until i can figure out what’s wrong)
http://muckalucka.com/Images/Clipboard01.jpg
as you can see, each post title is only showing “> and then a number and a colon. the number and colon are part of the post title, so it’s making that, just not the rest of the title. here’s the html from the first one in the yellow area dated july 30:
perhaps the problem is that i can’t seem to find this /images/Post+Titles/ folder on my host. and i don’t know where that “> is coming from either. what you can’t see in that screenshot too is that next to the 5: (for example) where there would be the rest of the title, it does reserve that space for the image and i can hover around it and click to open the link.
is this something you think you can help me with?
thanks
Have you ever received a solution to this issue? I have a similar issue. When I use AnyFont for “post titles” I get the title with the font I specified, however it is then followed by the “> characters on the next line. For “page titles” it works fine. Any ideas?
You did some great work w/ this plugin! The interface is very user-friendly, and I had a style applied in no time. I seem to have run into a minor problem though. With my particular font the tails of all y’s, g’s, j’s, etc… get cut off. Otherwise ACE!
I seem to have the same problem: No matter what font I use, my characters are all cut off at the bottom. How can I fix that?
Please try version 0.8.3 as this problem should have been solved, but if not please let me know here or by email and please also include which version of PHP and GD you are using as well.
Thanks
Ryan, please help!!!
First off, I love the plugin – been using it for months on many projects – it really adds a beautiful finishing touch to a site.
I’m working on a project being hosted on BlueHost.com and the images are being created with an unexpected (and unwelcome) barcode effect. It’s running PHP 5 and GD.
Has anyone seen this behavior before? I’ve tried to install Imagick on the host and it’s throwing errors – hopefully they will get that fixed for me tomorrow and I’ll be able to try the other image libraries to see if that solved the issue for me.
Thanks for your help,
- Jon
After digging into the problem again with more sleep, I found that once again, AnyFont is working just fine. Turns out the custom WP theme I installed had some really weird CSS tags that were causing a small background image to be added to all tags. I have no idea why the theme author put that in there, but once I cleaned that up the AnyFont magic looked beautiful again!
Thanks for a great plugin,
- Jon
Hi,
I had a problem when using the max-width property. I wanted to use AnyFont to apply a style to my blog post titles, so needed the text to wrap.
Unfortunately, when I set the max-width property, the image that was generated looked about the right height, but the first line of text started at the bottom of the image so not all of the text was displayed.
Heres an example of how the image was generating:
http://www.ribitsolutions.co.uk/files/RECENTLY%20RELEGATED%20GAGA%20BACK%20TO%20A%20LIST%20%20FABULOUSNESS.png
I’m not sure if there was something about my setup that was causing this, but I fixed it by going into:
/wp-content/plugins/anyfont/lib/php4/class.image.php
and changing the line:
imagettftext($this->img, $this->size, 0, $this->left, $this->top, $this->font_color, $this->font, $this->text);
at about line 138 to:
imagettftext($this->img, $this->size, 0, $this->left, $this->size * 1.50 , $this->font_color, $this->font, $this->text);
so this sets the starting point for the baseline to the font size + 50%. This seems to work for me and my post titles now wrap and are displayed correclty.
Like I said, not sure if this was something about my install that was causing this, as I’ve not seen any other reports of this problem, but thought it was worth sharing the fix.
PS. Love the plugin!
Hi, first of all I’d like to thank you for this great plugin.
I can’t figure out this big issue:
after all the image titles are created and stored in cache when I browse through the pages of the site sometimes I won’t see the content of the page but instead of it it appears one of the images created by anyfont.
I don’t know if I have been able to explain my problem, so here is a screedshot
http://www.vocinelweb.it/hdonline/uploads/anyfontproblem.jpg
It happens both with firefox and explorer.
I had to disable the plugin until I can’t find how to fix the problem.
My settings
# Operating System : Linux
# Server : Apache/2.2
# Memory usage : 16.09 MByte
# PHP Version : 5.2.11
# GD Version : bundled (2.0.34 compatible)
I forgot to tell you that to see the content again I have to refresh the page more than once.
Hello!
Just installed plugin.
Tried to get started – but no luck.
It’s uploading fonts (www.dafont.com/xfiles1.font), but i guess with some error cause i don’t see a preview.
secondly, I can’t create any style – there’s no field except Name, and no blue button to save.
Please, help!!
If you need a access to my blog-admin – no problem, I’ll send you any info!
Very need your help!
icq 9_4_1_2_6_6_6_6
e-mail^ forum (@) ka81 (dot) com
Warning: opendir(/data/www/apache22/data/ka81/x-files/wp-content/font-cache) [function.opendir]: failed to open dir: No such file or directory in /data/www/apache22/data/ka81/x-files/wp-content/plugins/anyfont/anyfont.php on line 313
Warning: readdir(): supplied argument is not a valid Directory resource in /data/www/apache22/data/ka81/x-files/wp-content/plugins/anyfont/anyfont.php on line 314
Warning: rmdir(/data/www/apache22/data/ka81/x-files/wp-content/font-cache) [function.rmdir]: No such file or directory in /data/www/apache22/data/ka81/x-files/wp-content/plugins/anyfont/anyfont.php on line 319
Cache Cleared
————
such a problem.
almost the same text when trying to add a font …
author, please help!!!
It’s uploading fonts (www.dafont.com/xfiles1.font), but with error cause i don’t see a preview.
so, after creating a style when in settings i manage any title – it’s changing on my blog but without any text-image. just simple error-blank-image.
so the problem is at the beggining – when I upload font.
Please, need help.
I’d be appreciate for any comments here or (forum@ka81,com) or (icq 94126666)
new error text when trying to clear the cache in anyfont-settings:
Warning: rmdir(/data/www/apache22/data/ka81/x-files/wp-content/font-cache) [function.rmdir]: Permission denied in /data/www/apache22/data/ka81/x-files/wp-content/plugins/anyfont/anyfont.php on line 319
Cache Cleared
just don’t get it
Sorry for the delay in my response here, haven’t had much free time lately to properly catch up on things here.
It looks like you got a permissions problem, AnyFont needs to be able to write to the following folders; wp-content/font-cache & wp-content/fonts. Additionally to clear the cache, AnyFont needs to be able to write to the wp-content folder directly. To fix the problem you need to make sure the folders and files inside are owned by the same user that apache uses, and then make sure the permissions are set to 755. Alternatively if that doesnt work out, as a last resort you can try setting the permissions on the folders and files to 777.
Hope you manage to sort it out. And if you got any more questions, please don’t hesitate to ask, I will try and get to them as soon as I can.
i set 777 to wp-content & wp-content/font-cache & wp-content/fonts
but still no result.
about the owner of folders on server – how to check it? unfortunately I don\t know how to do it
Ryan, as far as i found out – my hoster made all the needed changes you wrote (the owner of – wp-content & wp-content/font-cache & wp-content/fonts) is Apache.
but still a problem with viewing font-previewes.
I can provide you with all needed information (login, pass,…) – maybe you could find out what is wrong there?
Please email me the relevant login details using the form on the contact page and I will have a look as soon as I can.
i wrote you all the info to your contact through – http://2amlife.com/contact
very hoping for your help, cause your plugin is just what i need!!!
my hoster wrote me little bit more info about owners:
drwxrwxrwx 10 www www 512 Nov 3 15:08 wp-content
drwxrwxrwx 3 www www 512 Aug 3 12:54 uploads
drwxr-xr-x 59 www www 1536 Oct 31 10:14 themes
drwxrwxrwx 65 www www 2048 Nov 3 15:10 plugins
drwxr-xr-x 2 www www 512 Nov 1 13:34 languages
-rw-r–r– 1 www www 30 Oct 31 10:07 index.php
drwxrwxrwx 2 www www 512 Nov 1 04:02 images
drwxrwxrwx 67 www www 1024 Oct 11 22:37 gallery
drwxrwxrwx 2 www www 512 Nov 315:14 fonts
drwxrwxrwx 2 www www 512 Nov 3 15:08 font-cache
www – is the Apache
It looks like your host does not have the mod_rewrite module enabled for apache. This is unfortunately a requirement for AnyFont to work correctly. I have checked everything else though and its all perfect, so all you need to do now to get AnyFont working is to convince your host to enable mod_rewrite for apache.
mod_rewrite module is enabled.
still no result
Ask your host to check the AllowOverride option in the apache config for your site. At a minimum it must be set to “FileInfo Other” for mod_rewrite to work correctly.
Ryan
hoster added AllowOverride FileInfo and now it’s working!!!!
in Manage fonts – it’s previewing!!
But in Manage styles – it’s not previewing!!
BUT! it’s anyway working.
i changed blogname and posttitles and it;s good.
look – http://x-files.net.ua/?p=1
the only problem is now with post titles:
1) there are some characters before title – “>
2) title is starting little bit rightside then it should be..
is this a problem of css??
help please!!!
as i see, with beeing a little bit on right side it’s a problem of PNG
for example – http://x-files.net.ua/images/x-files/Pilot.png – it’s generated for post-title.
if we look into that png in photoshop or any other image editor-viewer we can see that borders of picture are not close to symbols!!
question – how to make PNG-borders beeing fully close to symboles on it?
and about TAGs and CATEGORIES – they are not changing
Ryan, please, help with PNG …
Hi !!!, im trying to set up anyfont on my own server based on Debian 5 & Apache, but anyfont dont recognize any php image module ( and dont be able to select it from the list). i have already installed php5-imagick 2.1.1RC1-1 & php5-gd on my system:
ii libapache2-mod-php5 5.2.6.dfsg.1-1+lenny3 server-side, HTML-embedded scripting language (Apache 2 module
ii php5-cli 5.2.6.dfsg.1-1+lenny3 command-line interpreter for the php5 scripting language
ii php5-common 5.2.6.dfsg.1-1+lenny3 Common files for packages built from the php5 source
ii php5-dev 5.2.6.dfsg.1-1+lenny3 Files for PHP5 module development
ii php5-gd 5.2.6.dfsg.1-1+lenny3 GD module for php5
ii php5-imagick 2.1.1RC1-1 ImageMagick module for php5
ii php5-mcrypt 5.2.6.dfsg.1-1+lenny3 MCrypt module for php5
ii php5-mysql 5.2.6.dfsg.1-1+lenny3 MySQL module for php5
However, i can upload fonts correctly, permissions OK, any idea?? Thanks !!!!
check that the gd/imagick php modules have been enabled in the php.ini, simple way to do this is to load up a phpinfo() page and check if they listed there, if not, add the modules to php.ini, and dont forget to restart apache when done.
Hi !! thanks in advance, my phpinfo shows mod_rewrite enabled ( a2enmod rewrite), and gd support & imagick enabled too,in my php.ini dinamyc extensions i wrote extension=gd.so, restarted apache and still dont appears nothing in php module image list. ( but i can create styles without preview )
PHP MoDuLe LiST Vs Me ( like a guitar hero war against xbox hehe ).
I think its will be solved compiling apache with gd support, any suggestion ? thanks !!!
oh yeah !!!! that was the clue, AllowOverride FileInfo, restarted apache and voilá !!!! now im gonna test anyfont, heheheh – SOLVED- =)
Hey! I’m really stoked about your plugin. The caching feature is great. I’ve been using sIFR and the header load rather slowly.
I don’t suppose you would be able to point to towards why my headers end up 1px tall? I have a screenshot here: http://web1.twitpic.com/img/43931787-2cff82e28910b6f34e34a72fc47a2b02.4b05cebf-scaled.jpg
It’s weird, especially because it shows up that way in the preview in the settings area of the dashboard.
The font is an OTF font, and the server has PHP5 and GD installed.
Um, try this link for the screenshot
http://twitpic.com/q5lzf
D’oh!
Hi,
I’m using a ProPhoto theme and having a few issues with your plug-in.
I really like it, but it seems to be making certain things into images that I’d prefer it didn’t!
If you look at the home-page, it looks great, exactly how I want it:
http://www.mattsanderson.co.uk/
Just the post titles are images – great.
But, if you look at a specific post, then the footer becomes images too – not so great:
http://www.mattsanderson.co.uk/wedding-photography/giles-jess-wedding-ringwood-hall-chesterfield/
Any ideas?
- Matt
AnyFont 0.9.0 – Manage Styles error
http://x-files.net.ua/img/anyfont090error.jpg
no buttons or any other fields to edit and create styles.
in any browser.
AnyFont 0.9.0 – Manage Styles
error
http://x-files.net.ua/img/anyfont090error.jpg
no buttons or any other fields to edit and create styles.
in any browser.
The location of the fonts folder and the cache changed with version 0.9.0, Please make sure your wp-content & uploads folder can be written to by the server, and then deactivate and activate AnyFont. At the very least, you need to make sure that the following folders exist and can be written to by the server:
wp-content/uploads/fonts/
wp-content/cache/anyfont
Please, can someone help me with this issue?
It happens in each site where I installed anyfont!
I can’t figure out this big issue:
after all the image titles are created and stored in cache when I browse through the pages of the site sometimes I won’t see the content of the page but instead of it it appears one of the images created by anyfont.
I don’t know if I have been able to explain my problem, so here is a screedshot
http://www.vocinelweb.it/hdonline/uploads/anyfontproblem.jpg
It happens both with firefox and explorer and I have to refresh the page more than once to make the content appear again!!!
I had to disable the plugin until I can’t find how to fix the problem.
My settings
# Operating System : Linux
# Server : Apache/2.2
# Memory usage : 16.09 MByte
# PHP Version : 5.2.12
# GD Version : bundled (2.0.34 compatible)
Are you using Permalinks and/or any plugins which use custom rewrites in your .htaccess file?
Hey Ryan
Thanks for a great plugin. I’m testing it on some new designs now, could be perfect.
I just can’t figure out how to apply AnyFont to menu buttons in the header?
I want to convert the output from wp_page_menu or wp_list_pages.
Hey Paul
I have written a quick tutorial on how to use AnyFont styles in your menu, check it out here: http://2amlife.com/using-anyfont-for-your-menu-text
Thanks Ryan. I knew there would be instructions somewhere, just couldn’t find them. Thanks for a great plugin!
Hi,
I have updated to Version 0.9.1 and all of a sudden anyfont doesnt show any fonts – funny wordgame
the fonts are uploaded in the uploads/fonts directory – i can see the old cached images, but there are no new images. in the posts (when i use the included mce) – i can see links pointing to: /images/stylename/test%20test.png – but neither I nor apache can find them.
My wild guess is: write problems and/or htaccess problems.
If you need more information – lemme know, coz my wife is close on my back to get this back working… if you can imagine… happy new year!
cheers
d.
Hey, love the plugin but I’m it looks like the font getting cut off at the bottom is still a problem. I’m using version 0.9.1. Really digging this plugin so I hope there’s a solution. Thanks!
Hey,
I just wanted to say I love using your plug-in on my Wordpress. I had a questions though. I just downloaded the new version of the plug-in and since then I have not been able to re-activate the plug-in. It says it is causing a fatal error so it will not load. Is this something I can fix or get the older version back? Thanks for any advice to this that you may have.
I have the same problem with Umlauts. Have you find out anything?