Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #22325

    What is the best way to go about this? Droid Sans is close, but we are looking for something a little thinner. And more “sans” :)

    #115422

    Sure open up wp-contentthemesflashlightincludesadminregister-admin-options.php and search for:

    "subtype" => array(	'no custom font'=>'',
    'Arvo'=>'arvo__1.3',
    'Bevan'=>'bevan__1.3',
    'Cantarell'=>'cantarell__1.3',
    'Cardo'=>'cardo__1.3',
    'Droid Sans'=>'droidsans__1.3',
    'Inconsolata'=>'inconsolata__1.3',
    'Josefin All Characters'=>'josefine__1.3',
    'Josefin Common Characters'=>'josefine_small__1.3',
    'Kreon'=>'kreon__1.3',
    'Lobster'=>'lobster__1.3',
    'Molengo'=>'molengo__1.3',
    'Oswald'=>'oswald__1.3',
    'Reenie Beanie'=>'reeniebeanie__1.6', //number attached is a font size modifier for very small fonts ( * 1.4)
    'Tangerine'=>'tangerine__2.2',
    'Vollkorn'=>'vollkorn__1.3',
    'Yanone Kaffeesatz'=>'yanonekaffeesatz__1.3'
    ));

    Add your font file to the array – the first value (i.e. ‘Tangerine’) is the name of the font in the option panel dropdown, the second value is the font file name (i.e. if the font file is wp-contentthemesflashlightframeworkjsfontstangerine.font.js the font name is ‘tangerine’) and the ‘__1.3′ prefix is the size modifier. At least upload your font file into the wp-contentthemesflashlightframeworkjsfonts folder. Make sure that the font name is correct.

    Attention – when you generate the font file: http://cufon.shoqolate.com/generate/ you MUST choose “cufon” as font family. So search for the “Use the following value as the font-family of the generated font (optional)” option field and type in “cufon” (without the quotes “”).

    #115423

    Thanks Dude – I’ll try this as soon as I can and let you know how it goes.

    #115424

    Hey,

    Did it work? :)

    Regards,

    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Can we add a new font to Flashlight?’ is closed to new replies.