Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 578122 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/cairo-ft-font.c (-2 / +2 lines)
Lines 1336-1342 _render_glyph_outline (FT_Face face, Link Here
1336
		       cairo_image_surface_t	**surface)
1336
		       cairo_image_surface_t	**surface)
1337
{
1337
{
1338
    int rgba = FC_RGBA_UNKNOWN;
1338
    int rgba = FC_RGBA_UNKNOWN;
1339
    int lcd_filter = FT_LCD_FILTER_LEGACY;
1339
    int lcd_filter = FT_LCD_FILTER_DEFAULT;
1340
    FT_GlyphSlot glyphslot = face->glyph;
1340
    FT_GlyphSlot glyphslot = face->glyph;
1341
    FT_Outline *outline = &glyphslot->outline;
1341
    FT_Outline *outline = &glyphslot->outline;
1342
    FT_Bitmap bitmap;
1342
    FT_Bitmap bitmap;
Lines 1371-1383 _render_glyph_outline (FT_Face face, Link Here
1371
	case CAIRO_LCD_FILTER_NONE:
1371
	case CAIRO_LCD_FILTER_NONE:
1372
	    lcd_filter = FT_LCD_FILTER_NONE;
1372
	    lcd_filter = FT_LCD_FILTER_NONE;
1373
	    break;
1373
	    break;
1374
	case CAIRO_LCD_FILTER_DEFAULT:
1375
	case CAIRO_LCD_FILTER_INTRA_PIXEL:
1374
	case CAIRO_LCD_FILTER_INTRA_PIXEL:
1376
	    lcd_filter = FT_LCD_FILTER_LEGACY;
1375
	    lcd_filter = FT_LCD_FILTER_LEGACY;
1377
	    break;
1376
	    break;
1378
	case CAIRO_LCD_FILTER_FIR3:
1377
	case CAIRO_LCD_FILTER_FIR3:
1379
	    lcd_filter = FT_LCD_FILTER_LIGHT;
1378
	    lcd_filter = FT_LCD_FILTER_LIGHT;
1380
	    break;
1379
	    break;
1380
	case CAIRO_LCD_FILTER_DEFAULT:
1381
	case CAIRO_LCD_FILTER_FIR5:
1381
	case CAIRO_LCD_FILTER_FIR5:
1382
	    lcd_filter = FT_LCD_FILTER_DEFAULT;
1382
	    lcd_filter = FT_LCD_FILTER_DEFAULT;
1383
	    break;
1383
	    break;

Return to bug 578122