Jump to content


Photo
- - - - -

Add new font

new font

  • Please log in to reply
1 reply to this topic

#1 camaran

camaran

    Advanced Member

  • Members

  • 60 posts
  • Country: Country Flag

Posted 17 October 2012 - 07:29 PM

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 );
}


#2 Rob

Rob

    One Smart Egg

  • Moderators
  • 9,357 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 20 October 2012 - 01:25 AM

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?




Click to return to top of page in style!