Taken from : http://drupal.org/node/557288

When the administration theme is different than normal theme and if the fonts are placed into the theme folder, no font will be showed in the select list of admin form because path_to_theme return the current theme and the current theme in the admin form is the administration theme.

To correct that, replace path_to_theme() by drupal_get_path('theme', variable_get('theme_default', NULL)) in the cufon.module file.

CommentFileSizeAuthor
#2 cufon-868522.patch852 bytespeter törnstrand

Comments

Jeff Burnz’s picture

thanks for this fix, looks like someone needs to take over this module

peter törnstrand’s picture

StatusFileSize
new852 bytes

Here's a patch correcting this based on sinasquax proposal.

jamestombs’s picture

Status: Active » Reviewed & tested by the community

Just been having this problem, looked through the code then came on here to see it was already done.

Ran the patch, all working as expected.

scorchio’s picture

Thanks for the patch, it's working well.

edit: Cufón is working... on the admin area. Is this a related issue? [Forget this module; I've modified my theme to use Cufón directly.]

rjmackay’s picture

The patch looks good to me. But a side effect as mentioned above is that it cufon is also being used on my admin theme.
Perhaps this module should implement cufon configuration per theme (with a default global config too)? That seems more sensible to me.

troky’s picture

Status: Reviewed & tested by the community » Fixed

Try 6.x-1.x-dev.

Re-open issue if problem persists.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.