Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
  • #4949

    Hey guys,

    is there an easy way to import new fonts? I created a cufon font from the google web font Raleway, used cufon as font family and uploaded the file into the/themes/brightbox/framework/js/fonts/ folder. However, it does not appear in the drop-down menu in the Theme Options. What else do I have to do to include a new font?



    you need to add the font to the option panel. Open up brightboxincludesadminregister-admin-options.php

    and search for following code:

    "subtype" => array(	'Arvo'=>'arvo',
    'Droid Sans'=>'droidsans',
    'Josefin All Characters'=>'josefine',
    'Josefin Common Characters'=>'josefine_small',
    'Reenie Beanie'=>'reeniebeanie__1.4', //number attached is a font size modifier for very small fonts ( * 1.4)
    'Yanone Kaffeesatz'=>'yanonekaffeesatz'

    Add your font to it. First text is the name of the font (how it will display in the user interface) and second text the name of the file without .font.js extension.


    Hi Dude,

    I did the same (as described above) within Broadscope theme (font=Univers):

    Created it with cufon, copied the font (Univers_Com_45_Light_300.font.js) into wp-content/themes/broadscope/framework/js/fonts

    edited options.php within wp-content/themes/broadscope/includes/admin_option_pages.

    The entry is …




    … but Univers doesn’t aopear in the dropdown menue …

    What else has to be done?

    Anything to “refresh”…?

    Thx & take care




    have a look at this thread:

    If you’d like to import the new font you need to delete the Broadscope options table (wp_options > avia_options_broadscope_config ) in the sql databse.


    Hi Dude,

    thx 4 ur response. “Renaming” didn’t work.

    The deletion of options table DID work,- and the (new) font name is visible.

    BUT it seems that (after choosing the new font) Broadscope takes the Font-setting “Select…” (which is the preset)

    and the desired font is not used within the theme.

    Even repeating all this with another font (and deleting SQL entry again) was not successful …

    The fonts were licensed @Adobe and cufon “conversion” went ok, too.

    May you’ve any other/additional ideas?

    Thx in advance & take care



    Can you post a link to your website – I’d like to check if the cufon file itself is corrupt or if the settings aren’t saved correct.


    Yes-sure (website under construction):

    If you need any further information, screenshots or access pls. let me know ( (Email address hidden if logged out) ).

    Another page where the fonts “work” (with cufon) is (another skin though…).

    Thx- Christian


    Ok – I see the problem. Your font file uses: “Univers Com 45 Light” as font family. Please use “cufon” instead. You can change the font family by using the cufon generator here: – upload your file and in the option field/text field “Use the following value as the font-family of the generated font (optional)” type in “cufon” (without “”). Afterwards place the file in the fonts folder :)


    Hi Dude,

    that worked perfect – thanks a lot :)


    Glad that I could help you :)


    not working for me:

    I created the cufon.font.js and changed it to Komikax.font.js

    I have deleted all other font.js files except for Arvo.Font.js

    So in “register-admin-options.php” it looks like this now:

    fonts for your headings”,

    “id” => “font_heading”,

    “type” => “select”,

    “std” => “oswald”,

    “subtype” => array( ‘Komikax’=>’komikax’,



    I do see it as an option in Layout & Styling to select.


    I found a thread that said just create the font.js file and change it to a font that is already made and it will work….



    Instead of Komikax try using Komika Axis.




    why do you suggest that version?



    My guess is Komikax is not the name of the font but only the abbreviation of Komika Axis, the full name. So just as in :

    'Josefin All Characters'=>'josefine',

    you need to put first the full proper name, and then the file abbreviation.

    "subtype" => array(	'Komika Axis=>'komikax',



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

The topic ‘Importing new Cufon fonts’ is closed to new replies.