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

Archnemysis’s picture

In 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:

<?php
print typeface_print($title, 'Bell gothic std');
?>

The first, third and fourth lines were incorrect, thus producing the 3 errors.

Archnemysis’s picture

Category: bug » support