Title: Anyfont Plugin Help
Last modified: August 19, 2016

---

# Anyfont Plugin Help

 *  [montanamax](https://wordpress.org/support/users/montanamax/)
 * (@montanamax)
 * [17 years ago](https://wordpress.org/support/topic/anyfont-plugin-help-1/)
 * I’m having some problems with the Anyfont plugin. It’s generating an image, but
   it’s not using the specified font and style when it does so. The images created
   are all just black sans-serif text instead of the awesomeness of the TrueType
   font.
 * I already worked through several issues getting this running. My directory permissions
   were too restrictive for the initial directory and .htaccess file creation, so
   I had to read the code and then create the fonts and font-cache directories so
   I could upload the font file.
 * One other thing that is weird is that when saving a style the admin page hangs
   with the “Saving style…” message. The settings are entered into the styles.ini
   file, but no preview image of the style is created.
 * I’ve enabled full PHP error logging and there are no errors or notices coming
   up in the logs. I’m running PHP Version 5.2.6-2ubuntu4.1, Image Magick version
   7:6.3.7.9.dfsg1-2ubuntu3, and php5-imageck 2.1.1.RC1-1
 * Thanks,

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Ryan](https://wordpress.org/support/users/choon/)
 * (@choon)
 * [17 years ago](https://wordpress.org/support/topic/anyfont-plugin-help-1/#post-1053986)
 * First thing that comes to mind is; when you created the fonts directory and styles.
   ini manually, did you copy the admin style out of styles.default? The admin style
   is required to render some of the fonts within the admin section. Also if you
   look in the font-cache dir, are there any images saved in there? I have fixed
   the issue with the page appearing to hang when saving styles, so the best advice
   I can give right now is for you to try updating the plugin to the latest version(
   0.6.2), then if you still got problems generating images, paste all the relevant
   info here and I’ll try to help best I can.
 *  Thread Starter [montanamax](https://wordpress.org/support/users/montanamax/)
 * (@montanamax)
 * [17 years ago](https://wordpress.org/support/topic/anyfont-plugin-help-1/#post-1054011)
 * I deleted everything related to the plugin and installed the new version (6.3)
   from scratch – by hand, as my development server isn’t open to the internet for
   the plugin manager to do the install.
 * When 6.3 activated, it created the fonts and font-cache directories, but did 
   not create a styles.ini file – but it did delete the styles.default file from
   the anyfont plugin directory. Maybe something to do with permissions caused that
   to fail, but the fonts and font-cache directories are owned by the www-data account
   and group, and have 777 permissions (everybody read and write). Anyway, I extracted
   that file from the installation file and manually inserted it into the fonts 
   directory and changed the permissions to 777.
 * I then uploaded a font, created a style, and told it to take over post titles.
   The code did rewrite the html to make the post title an image pointing to the
   images/style directory, but no image file was created in the fonts-cache directory
   and the browser defaulted to displaying the text in the alt tag instead of the
   font and color image I was hoping for.
 * Then I decided to go out on a limb and install the plugin on my public facing
   server so I could let the plugin manager to the install process. And it all worked
   beautifully!!!
 * So I’d still like to figure out what’s going weird in the manual install process–
   I’m suspecting it has to do with permissions – but since the plugin works smoothly
   on my public facing server I’m a very happy camper right now!!
 * Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Anyfont Plugin Help’ is closed to new replies.

 * 2 replies
 * 2 participants
 * Last reply from: [montanamax](https://wordpress.org/support/users/montanamax/)
 * Last activity: [17 years ago](https://wordpress.org/support/topic/anyfont-plugin-help-1/#post-1054011)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
