Closed (fixed)
Project:
Cufón
Version:
6.x-1.0-beta4
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Oct 2010 at 08:58 UTC
Updated:
9 Aug 2012 at 11:31 UTC
The Font-family drop down in the admin settings for Cufon does pick up my Bold version of my font. A tempo fix was to to change the following lines in cufon.admin.inc from:
$fonts = array('------');
foreach (_cufon_discover_fonts() as $font) {
$fonts[$font] = $font;
}
to:
$fonts = array('------');
foreach (_cufon_discover_fonts() as $font) {
$fonts[$font] = $font;
$fonts[$font . ' Bd'] = $font . ' Bd';
}
but there should be a better solution as this would assume that every font has a Bold version available.
Comments
Comment #1
troky commentedFixed.