Archived

This topic is now archived and is closed to further replies.

Add new font


2 posts in this topic

Posted · Report post

Hi,

how i can add new font in pagelines?

this is correct:


add_filter ( 'pagelines_foundry', 'my_google_font' );

function my_google_font( $thefoundry ) {

$myfont = array( 'Ubuntu' => array(

   'name' => 'Ubuntu',

   'family' => '"Ubuntu", arial, serif',

   'web_safe' => true,

   'google' => true,

   'monospace' => false

   ),

   'Maven' => array(

   'name' => 'Maven Pro',

   'family' => '"Maven Pro", sans-serif',

   'web_safe' => true,

   'google' => true,

   'monospace' => false

   )

  );

return array_merge( $thefoundry, $myfont );

}

Share this post


Link to post
Share on other sites

Posted · Report post

I'm not sure if that works as I've never tried it. However, we do have built in support for Typekit and Cufon. Have you looked into this?

Share this post


Link to post
Share on other sites