Posted by code-brighton on October 13, 2010 at 8:58am
1 follower
| Project: | Cufón |
| Version: | 6.x-1.0-beta4 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
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.