Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #189 - CryZe:fix-freetype-panic, r=jdm
Fix panic when parsing invalid `usWidthClass` The code here just trusted the value to always to be valid, but since this may be an arbitrary font, the value may not always be valid. In my case the `usWidthClass` I'm seeing has the value 500, probably the `usWeightClass` accidentally being assigned to the `usWidthClass`.
- Loading branch information