Active
Project:
Typeface - Custom Fonts
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Oct 2009 at 17:33 UTC
Updated:
9 Mar 2010 at 04:26 UTC
Hi, I installed bell_gothic_std_black.typeface.js in sites/all/modules/typeface/fonts/.
The list in admin/settings/typeface shows the font file and its family, which is "Bell gothic std".
Attempting to use the line:
print typeface_print($title, 'bell_gothic_std_black');
print typeface_print($title, 'Bell gothic std');
print typeface_print($title, 'bell_gothic_std_black.typeface');
print typeface_print($title, 'bell_gothic_std_black.typeface.js');
produces the error:
The font: bell_gothic_std_black is not installed in Typeface module
The font: bell_gothic_std_black.typeface is not installed in Typeface module
The font: bell_gothic_std_black.typeface.js is not installed in Typeface module
Any help is greatly appreciated, and thanks for the module!
Albert.
Comments
Comment #1
Archnemysis commentedIn case someone comes across this looking for an answer, I believe the three errors you are getting are due to using the font file name instead of just the font family name. So your code should look like this:
The first, third and fourth lines were incorrect, thus producing the 3 errors.
Comment #2
Archnemysis commented