try/except setting text.hinting_factor in image comparison setup