~SkiaTextRenderer();
void SetDrawLooper(SkDrawLooper* draw_looper);
- void SetFontSmoothingSettings(bool enable_smoothing, bool enable_lcd_text);
+ void SetFontSmoothingSettings(bool antialiasing,
+ bool subpixel_rendering,
+ bool subpixel_positioning);
void SetFontHinting(SkPaint::Hinting hinting);
void SetTypeface(SkTypeface* typeface);
void SetTextSize(SkScalar size);
const FontList& font_list() const { return font_list_; }
void SetFontList(const FontList& font_list);
- // Set the font size to |size| in pixels.
- void SetFontSize(int size);
-
bool cursor_enabled() const { return cursor_enabled_; }
void SetCursorEnabled(bool cursor_enabled);