nanogui: Re: I think it is a little bug in font_freetype2.c


Previous by date: 23 Nov 2007 16:17:32 +0000 Re: I think it is a little bug in font_freetype2.c, Greg Haerr
Next by date: 23 Nov 2007 16:17:32 +0000 Re: I think it is a little bug in font_freetype2.c, Greg Haerr
Previous in thread: 23 Nov 2007 16:17:32 +0000 Re: I think it is a little bug in font_freetype2.c, Greg Haerr
Next in thread: 23 Nov 2007 16:17:32 +0000 Re: I think it is a little bug in font_freetype2.c, Greg Haerr

Subject: Re: I think it is a little bug in font_freetype2.c
From: "Greg Haerr" ####@####.####
Date: 23 Nov 2007 16:17:32 +0000
Message-Id: <118b01c82dec$55a222c0$6401a8c0@winXP>

if ((blit_instructions.dstw > 0)
       && (blit_instructions.dsth > 0)) {
    GdDrawAreaInternal(psd, &blit_instructions, blit_op);
   }
//The code I added begin.....
if(blit_instructions.dstx + blit_instructions.dstw >= psd->xvirtres)
 break;
//The code I added end.....
 


I think I spoke too soon in the last reply: In looking at
engine/devdraw.c::GdDrawAreaInternal(), the x and width
clipping is being passed to GdClipArea, and should already
be clipping the output to the width remaining on the screen.

This could mean a bug in the low level psd->drawarea
routine when drawing partial width blits.

We would likely need your demo program and the
framebuffer specs in order to debug this more fully.

Regards,

Greg


Previous by date: 23 Nov 2007 16:17:32 +0000 Re: I think it is a little bug in font_freetype2.c, Greg Haerr
Next by date: 23 Nov 2007 16:17:32 +0000 Re: I think it is a little bug in font_freetype2.c, Greg Haerr
Previous in thread: 23 Nov 2007 16:17:32 +0000 Re: I think it is a little bug in font_freetype2.c, Greg Haerr
Next in thread: 23 Nov 2007 16:17:32 +0000 Re: I think it is a little bug in font_freetype2.c, Greg Haerr


Powered by ezmlm-browse 0.20.