nanogui: Re: I think it is a little bug in font_freetype2.c
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