Deprecate clutter_[sg]et_font_flags()

We already have two mechanisms for controlling the font rendering
quality on a per-application basis:

  • ClutterSettings properties
  • clutter_backend_set_font_options()

The font flags were always a stop-gap solution, and one that tried to
simplify a fairly complex issue beyond the point of actually being
useful.

https://bugzilla.gnome.org/show_bug.cgi?id=660786
This commit is contained in:
Emmanuele Bassi
2011-10-03 14:12:48 +01:00
parent 6ef09dd15b
commit 01080dc5f3
3 changed files with 9 additions and 2 deletions

View File

@ -2846,6 +2846,9 @@ clutter_clear_glyph_cache (void)
* introduce some artifacts if the text is animated.
*
* Since: 1.0
*
* Deprecated: 1.10: Use clutter_backend_set_font_options() and the
* #cairo_font_option_t API.
*/
void
clutter_set_font_flags (ClutterFontFlags flags)
@ -2897,6 +2900,9 @@ clutter_set_font_flags (ClutterFontFlags flags)
* Return value: The font flags
*
* Since: 1.0
*
* Deprecated: 1.10: Use clutter_backend_get_font_options() and the
* #cairo_font_options_t API.
*/
ClutterFontFlags
clutter_get_font_flags (void)