HinTak / Font-Validator

Font Validator is a tool for testing fonts prior to release. This testing ensures that fonts meet Microsoft's high quality standards and perform exceptionally well on Microsoft's platform.
Other
146 stars 12 forks source link

Rendering default for metrics check #26

Open HinTak opened 7 years ago

HinTak commented 7 years ago

I just used the default (gray), but perhaps mono (b/w) better matches microsoft's behavior. Investigate.

HinTak commented 6 years ago

To do so, in https://github.com/HinTak/Font-Validator/blob/master/Compat/Compat.cs , in public DevMetricsData CalcDevMetrics() (line 253), change _face.LoadGlyph to use something similar to the B/W part of the hinting test (line 111,112)

lf = LoadFlags.Default|LoadFlags.NoAutohint|LoadFlags.Monochrome|LoadFlags.ComputeMetrics;
lt = LoadTarget.Mono;

The benefit of hind-sight - the latter code was written about a year later.