To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=74255
                 Issue #|74255
                 Summary|cairo: 32bit pixmap treated as 24bit on text rendering
               Component|gsl
                 Version|OOo 2.2
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|pl
             Reported by|cmc





------- Additional comments from [EMAIL PROTECTED] Wed Feb  7 10:27:36 +0000 
2007 -------
So take attached .ppt and display with cairo canvas slideshow. What I see is an
XError mismatch on rendering the fading in text of slide 2, leading to a
premature exit/crash most of the time.

What I think happens is that a 32bit pixmap is created for the fade in text and
some text rendered into it, but the current visual is 24bit. Attached is a patch
to workaround and help debugging. i.e. 

1) patch OOo
2) export SAL_SYNCHRONIZE=true
3) soffice ANNs.ppt
4) breakpoint on 
DBG_ASSERT( static_cast<unsigned>(nVisualDepth) == nDrawDepth, "depth messed up
for XRender" );
5) run cairo slideshow

I see a drawable depth of 32 and a visualdepth of 24. My bandaid patch just
detects this and runs off to find a 32bit XRenderPictFormat to replace the 24bit
one. I'm not sure what the right fix should be.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to