fix inconsistency in fontname lookup