diff options
author | Carl Worth <cworth@cworth.org> | 2008-09-25 13:31:20 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2008-09-25 13:31:20 -0700 |
commit | 5d887ad5dca5af0f8216830d1b04d08a5aba9bee (patch) | |
tree | aca17f676d58979b683f99885f7bd1b75c9e2dd7 /src/cairo-types-private.h | |
parent | 3d32e7110ba1fedb0bec96238d14245579f5bce1 (diff) |
Remove all lcd_filter code.
We reverted the public API for setting lcd_filter font options
back in 1b42bc8033bc , but we had left the implementation which
would examine fontconfig and Xft properties for the option, and
which would call into freetype for subpixel glyph rasterization.
However, I recently realized, (and the test suite had been trying
to tell me for a while), that this approach would cause a
regression for users who were previously using sub-pixel text,
but without sub-pixel rendering built directly into freetype.
That's not acceptable, so all the code is coming out for now.
Diffstat (limited to 'src/cairo-types-private.h')
-rw-r--r-- | src/cairo-types-private.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/cairo-types-private.h b/src/cairo-types-private.h index 6859736b..12e1a20e 100644 --- a/src/cairo-types-private.h +++ b/src/cairo-types-private.h @@ -113,35 +113,9 @@ struct _cairo_array { cairo_bool_t is_snapshot; }; - -/** - * cairo_lcd_filter_t: - * @CAIRO_LCD_FILTER_DEFAULT: Use the default LCD filter for - * font backend and target device - * @CAIRO_LCD_FILTER_NONE: Do not perform LCD filtering - * @CAIRO_LCD_FILTER_INTRA_PIXEL: Intra-pixel filter - * @CAIRO_LCD_FILTER_FIR3: FIR filter with a 3x3 kernel - * @CAIRO_LCD_FILTER_FIR5: FIR filter with a 5x5 kernel - * - * The LCD filter specifies the low-pass filter applied to LCD-optimized - * bitmaps generated with an antialiasing mode of %CAIRO_ANTIALIAS_SUBPIXEL. - * - * Note: This API was temporarily made available in the public - * interface during the 1.7.x development series, but was made private - * before 1.8. - **/ -typedef enum _cairo_lcd_filter { - CAIRO_LCD_FILTER_DEFAULT, - CAIRO_LCD_FILTER_NONE, - CAIRO_LCD_FILTER_INTRA_PIXEL, - CAIRO_LCD_FILTER_FIR3, - CAIRO_LCD_FILTER_FIR5 -} cairo_lcd_filter_t; - struct _cairo_font_options { cairo_antialias_t antialias; cairo_subpixel_order_t subpixel_order; - cairo_lcd_filter_t lcd_filter; cairo_hint_style_t hint_style; cairo_hint_metrics_t hint_metrics; }; |