Cufon settings page won't let me select a font family
jerseycheese - July 15, 2009 - 21:26
| Project: | Cufon |
| Version: | 6.x-1.0-beta4 |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
After doing the following:
- enabling module
- giving myself (admin) permissions to admin cufon
- putting cufon-yui.js in module's js folder (and it IS being included in my HTML source)
- generating font and placing in theme directory (Univers_LT_Std_400-Univers_LT_Std_700.font.js in this case)
I go to Cufon's settings page and the font family dropdown only shows "--------".
I should be able to select my font by now, right?
Thanks in advance.

#1
You should be able to see the font. There's another ticket (the first bug report!) which I believe is being afflicted by the same malady, which I'm pretty sure is faulty font discovery / family name generation. I'll write some tests tonight.
#2
Fixed in DRUPAL-6--1-0-BETA2.
#3
I'm sorry to open this, but I have the same problem with beta-4.
-Installed the module.
-I'm working as User-1
-added the cufon-yui.js file and it is loading in the html as well.
-added my own made dannyjoris_400.font.js
-even tried to enable it trough my .info file
It does not load my font and it only shows -----
I tried this with a random .ttf font from dafont.com and it didn't work either.
Greetings,
Danny
--EDIT: Right now I'm at this stage: http://drupal.org/node/538140#comment-1922704
The fonts show up, but do not work. Placing the .font.js file in my theme map did not make them show up in the list, like the readme file recommended.
#4
Ok, it's fixed now.
I'm building my website in a submap like www.example.com/drupal. In the future this would be moved to www.example.com. In the file generation process for security I added in the field:
I changed it to only
It works perfect in www.example.com/drupal as well. Pretty annoying cause there was no error-notification or instructions about it.
Great module by the way. Thanks!
Cheers,
Danny
#5
Automatically closed -- issue fixed for 2 weeks with no activity.
#6
I got into this issue...
I see the scripts being correctly loaded in the source code, both the yui.js and the font definitions... But i have no family to choose in the cufon's admin page.
What to do?
Thanks,
Da.
#7
This is un update..i've placed the font.js in my theme directory (it is a sub theme actually) in a "fonts" folder and it didn't work. Then i've tried placing it in the sites/all/libraries/cufon-fonts and now i see the family in the cufon's admin page.
So, could it be a problem due to the sub-theming?
In this case i would suggest to add a warning in the docs about this issue.
Thanks,
Da.
#8
Same here, on a subtheme the fonts don't appear in the admin menu until you add them to the libraries directory.
#9
Planctus and butler360 -- this is useful info. I've had a crazy couple of months -- I will see if there's a way to account for a subtheme and add a note to the documentation about the issue.
#10
I just want to update my own comment #4 here.
First of all, I don't think i was allowed to keep a space between the comma and the second url. Second, a website in a folder like 'example.com/folder' can just be entered as 'example.com'. A subdomain however must be added as a subdomain: 'sub.example.com' instead of 'example.com'.