Index: src/ports/SkFontHost_win.cpp |
diff --git a/src/ports/SkFontHost_win.cpp b/src/ports/SkFontHost_win.cpp |
index 76b876411adbfcc0254b92aebfa04d029c7b3517..2e03a44578a8cdf3e1c7c135fd0be52951a14fd5 100644 |
--- a/src/ports/SkFontHost_win.cpp |
+++ b/src/ports/SkFontHost_win.cpp |
@@ -2412,8 +2412,7 @@ public: |
} |
SkTypeface* matchStyle(const SkFontStyle& pattern) override { |
- // todo: |
- return SkCreateTypefaceFromLOGFONT(fArray[0].elfLogFont); |
+ return this->matchStyleCSS3(pattern); |
} |
private: |