Posted by jerseycheese on July 15, 2009 at 9:26pm
Jump to:
| Project: | Cufón |
| Version: | 6.x-1.0-beta4 |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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.
Comments
#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'.
#11
I am in the same situation than most of the above. I did copy the folders and files as required. Yet, I am unable to get my title set on cufon jscript. So far, the font family is not accessible. Any views?
T
#12
To second Danny_Joris's point, I was able to select the font family but the font was not rendering. Removing the spaces after the commas in my domain string appeared to solve the problem. (I notice that the instructions say you may use either spaces or commas in between domains; it doesn't say you can use both!
So "example.com,*.example.com" works, but "example.com, *.example.com" does not.
#13
Yeah, they should make that clear. You can lose a significant amount of time trying to figure out what on earth is wrong with your settings...
#14
For others running into this symptom, it can also be caused by having an administrative theme set. The module only looks at the active theme for fonts, so if there's an admin theme set that *doesn't* have the font, you don't have any fonts to select.
#15
(From http://drupal.org/node/644142#comment-2322900)
The module includes the following folders in it's search for font definitions "sites/all/libraries/cufon-fonts" and "sites/example.com/libraries/cufon-fonts". So you could simply create one of those two folders and insert the font js files into those and they will show up on sites with admin themes.
#16
Problem solved. I copied the folders into the appropriate directory and it worked. Wonderful stuff. thanks for the tip.
#17
#15 worked for me, caused by an administration theme
#18