Extract a private method
Fix a priority for finding font
Add perfect matching ckecks for finding font