Fixed font matching

It now tries to match exact font (with same bold and italic parameters)
and fallbacks to regular if it wasn't found.