Some applications place a dash between the family name
and the weight in the full font name. The patches
below add an option to compare the full name to the
font name. If they match except for extra spaces in
the full name, they set the font name to the full name
with the spaces replaced by dashes.
The patches
updated patch, I forgot to include global.h