Installation instructions

  • Download Typeface module and copy it to your modules directory.
  • Download the latest typeface library (typeface-version.js), and copy it to your module directory. Download Here
  • Go to Administer -> Site Building -> Modules and enable typeface module.
  • Copy your typeface fonts into modules/typeface/fonts directory. Font files should look like this font-name.typeface.js
  • You can download and create new fonts using this link Click Here
  • Go to Administer -> Site configuration -> Typeface. You'll probably need to reload the page to see the latest installed fonts. This is not a bug, it's a javascript issue and it will be fixed later.
  • Finally, in your page.tpl.php remove the following line from the head section:
    <?php print $scripts ?>
    and add the following line before the $closure variable.
    <?php print drupal_get_js() ?>
    By the way this is the best known practice according to Yahoo Developers Network. Read more
  • Now, you can print text easily like this:
    <?php typeface_print('Your text goes here...', 'font-name') ?>

Comments

sohail.alee’s picture

Hi,

I am unable to use Lucida Grande or Lucida Sans Unicod fonts by this module.. these fonts doesn't show in fonts list while other fonts like myriad and futura are showing in the list and working fine. but don't know whats the problem with lucida fonts by using this module. can anybody help me???