Chromium Code Reviews| Index: include/core/SkTypeface.h |
| diff --git a/include/core/SkTypeface.h b/include/core/SkTypeface.h |
| index e3a311da4337eae9429185104225db62bed07ccb..981339e3665f57c57a9105492afdf7b550563651 100644 |
| --- a/include/core/SkTypeface.h |
| +++ b/include/core/SkTypeface.h |
| @@ -346,6 +346,7 @@ protected: |
| /** Sets the fixedPitch bit. If used, must be called in the constructor. */ |
| void setIsFixedPitch(bool isFixedPitch) { fIsFixedPitch = isFixedPitch; } |
| + void setFontStyle(SkFontStyle style) { fStyle = style; } |
|
reed1
2016/07/25 16:48:50
repeat comment/constraint about being only called
bungeman-skia
2016/07/25 21:03:58
I made a mental note to do that and forgot.
Done.
|
| friend class SkScalerContext; |
| static SkTypeface* GetDefaultTypeface(Style style = SkTypeface::kNormal); |