July 9, 2011 at 4:39 am #4949
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?July 9, 2011 at 8:07 am #48260
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',
'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)
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.August 13, 2011 at 12:14 pm #48261
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
CArendAugust 13, 2011 at 3:55 pm #48262
have a look at this thread: https://kriesi.at/support/topic/cufon-font
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.August 14, 2011 at 11:18 am #48263
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
ChristianAugust 14, 2011 at 12:04 pm #48264
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.August 18, 2011 at 9:41 am #48265
Yes-sure (website under construction): http://www.richmediafactory.com/nucycles/ …
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 http://www.richmediafactory.com/000rmfrelaunch2012/ (another skin though…).
Thx- ChristianAugust 18, 2011 at 10:55 am #48266
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: http://cufon.shoqolate.com/generate/ – 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 :)August 18, 2011 at 1:14 pm #48267August 18, 2011 at 1:57 pm #48268September 5, 2012 at 7:32 pm #48269
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.September 5, 2012 at 8:12 pm #48270
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….September 6, 2012 at 2:33 am #48271September 6, 2012 at 12:21 pm #48272September 11, 2012 at 10:23 pm #48273
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',
The topic ‘Importing new Cufon fonts’ is closed to new replies.