Added unit test for #538
Added additional unit test for #538
Check font family for validity, fixes #538
Merge branch 'od/issue_538' into develop