1 --- ./src/ports/SkFontHost_win.cpp
2 +++ ./src/ports/SkFontHost_win.cpp
3 @@ -357,7 +357,7 @@ static bool FindByLogFont(SkTypeface* face, void* ctx) {
5 sk_sp<SkTypeface> SkCreateTypefaceFromLOGFONT(const LOGFONT& origLF) {
8 +// make_canonical(&lf);
9 sk_sp<SkTypeface> face = SkTypefaceCache::FindByProcAndRef(FindByLogFont, &lf);
11 face = LogFontTypeface::Make(lf);
12 @@ -363,7 +363,7 @@ SkTypeface* SkCreateTypefaceFromLOGFONT(const LOGFONT& origLF) {
14 sk_sp<SkTypeface> SkCreateFontMemResourceTypefaceFromLOGFONT(const LOGFONT& origLF, HANDLE fontMemResource) {
16 - make_canonical(&lf);
17 +// make_canonical(&lf);
18 // We'll never get a cache hit, so no point in putting this in SkTypefaceCache.
19 return FontMemResourceTypeface::Make(lf, fontMemResource);
21 @@ -686,7 +686,7 @@ SkScalerContext_GDI::SkScalerContext_GDI(sk_sp<LogFontTypeface> rawTypeface,
23 LOGFONT lf = typeface->fLogFont;
24 lf.lfHeight = -SkScalarTruncToInt(gdiTextSize);
25 - lf.lfQuality = compute_quality(fRec);
26 +// lf.lfQuality = compute_quality(fRec);
27 fFont = CreateFontIndirect(&lf);