Bug 19369

Summary: Problem in text rendering
Product: cairo Reporter: naveen <naveen.k>
Component: directfb backendAssignee: Carl Worth <cworth>
Status: RESOLVED MOVED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: major    
Priority: medium    
Version: 1.7.4   
Hardware: ARM   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description naveen 2009-01-02 04:26:07 UTC
Hi,

We cross-compiled the gtk+-2.12.11.tar.bz2 for arm9e platform, with all required dependencies(cairo-1.7.4.tar.bz2), and DirectFB as the backend. There was problem in showing the text with expected color.To solve the text rendering problem following mentioned change was done.

diff -ur cairo-1.7.4-org/src/cairo-directfb-surface.c cairo-1.7.4/src/cairo-directfb-surface.c
--- cairo-1.7.4-org/src/cairo-directfb-surface.c	2008-08-10 23:23:06.000000000 +0530
+++ cairo-1.7.4/src/cairo-directfb-surface.c	2008-12-31 05:10:36.000000000 +0530
@@ -1706,7 +1706,9 @@
     RUN_CLIPPED (dst, NULL,
                  dst->dfbsurface->BatchBlit (dst->dfbsurface,
                                          cache->dfbsurface, rects, points, num));
-        
+    /* fix */ 
+    dst->dfbsurface->SetBlittingFlags (dst->dfbsurface, DSBLIT_NOFX);    
+
     return CAIRO_STATUS_SUCCESS;
 }
 #endif /* DFB_SHOW_GLYPHS */

Regards,
Naveen.
Comment 1 Uli Schlachter 2012-02-10 12:47:00 UTC
This should have been fixed by the following commit, could you check?

commit a349a312dcf3322d835bc3c58cecedff8914a55a
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Feb 9 16:20:26 2012 +0000

    directfb: Discard long broken code and return to basics
    
    Rewrite the directfb backend as nothing more than a simpler image
    compositor onto a shadowfb that is flushed back to the dfb surface as
    required. Future refinements would be to add damage tracking, and to mix
    the useful directfb operations (such as solid fills and alpha blends).
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Comment 2 GitLab Migration User 2018-08-25 13:50:17 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/221.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.