improve detection of bold fonts