gfx: Perform fuzzy matching on font weights if an exact match wasn't …
found. Partially addresses #190. Partially addresses #9487.