* New patch, 009_revert-gdkdrawable-directfb, to revert a fix for Italic
letters which caused ugly unneeded horizontal/vertical lines; thanks Davide Viti. (Closes: #386860)
This commit is contained in:
parent
d274dc1016
commit
b584c62918
8
debian/changelog
vendored
8
debian/changelog
vendored
@ -1,3 +1,11 @@
|
||||
gtk+2.0 (2.8.20-2) UNRELEASED; urgency=low
|
||||
|
||||
* New patch, 009_revert-gdkdrawable-directfb, to revert a fix for Italic
|
||||
letters which caused ugly unneeded horizontal/vertical lines; thanks
|
||||
Davide Viti. (Closes: #386860)
|
||||
|
||||
-- Loic Minier <lool@dooz.org> Sun, 10 Sep 2006 21:52:17 +0200
|
||||
|
||||
gtk+2.0 (2.8.20-1) unstable; urgency=low
|
||||
|
||||
* New upstream releases; no API changes.
|
||||
|
74
debian/patches/009_revert-gdkdrawable-directfb.patch
vendored
Normal file
74
debian/patches/009_revert-gdkdrawable-directfb.patch
vendored
Normal file
@ -0,0 +1,74 @@
|
||||
--- gtk+-2.8.20-dfb/gdk/directfb/gdkdrawable-directfb.c.orig 2006-09-10 17:07:48.000000000 +0200
|
||||
+++ gtk+-2.8.20-dfb/gdk/directfb/gdkdrawable-directfb.c 2006-09-10 17:16:32.000000000 +0200
|
||||
@@ -428,7 +428,7 @@
|
||||
for (i = 0; i < clip->numRects; i++)
|
||||
{
|
||||
DFBRegion reg = { clip->rects[i].x1, clip->rects[i].y1,
|
||||
- clip->rects[i].x2, clip->rects[i].y2 };
|
||||
+ clip->rects[i].x2 - 1, clip->rects[i].y2 - 1 };
|
||||
|
||||
impl->surface->SetClip (impl->surface, ®);
|
||||
impl->surface->TileBlit (impl->surface, surface, NULL, x, y);
|
||||
@@ -457,7 +457,7 @@
|
||||
else
|
||||
{
|
||||
|
||||
- DFBRegion region = { x, y, x + width+1, y + height+1 };
|
||||
+ DFBRegion region = { x, y, x + width, y + height };
|
||||
impl->surface->SetClip (impl->surface, ®ion);
|
||||
|
||||
/* DirectFB does not draw rectangles the X way. Using DirectFB,
|
||||
@@ -518,7 +518,7 @@
|
||||
for (i = 0; i < clip->numRects; i++)
|
||||
{
|
||||
DFBRegion reg = { clip->rects[i].x1, clip->rects[i].y1,
|
||||
- clip->rects[i].x2 , clip->rects[i].y2 };
|
||||
+ clip->rects[i].x2 - 1, clip->rects[i].y2 - 1 };
|
||||
|
||||
impl->surface->SetClip (impl->surface, ®);
|
||||
impl->surface->FillTriangle (impl->surface,
|
||||
@@ -624,7 +624,7 @@
|
||||
for (i = 0; i < clip->numRects; i++)
|
||||
{
|
||||
DFBRegion reg = { clip->rects[i].x1, clip->rects[i].y1,
|
||||
- clip->rects[i].x2 , clip->rects[i].y2 };
|
||||
+ clip->rects[i].x2 - 1, clip->rects[i].y2 - 1 };
|
||||
|
||||
impl->surface->SetClip (impl->surface, ®);
|
||||
impl->surface->Blit (impl->surface, src_impl->surface, &rect,
|
||||
@@ -708,7 +708,7 @@
|
||||
for (i = 0; i < clip->numRects; i++)
|
||||
{
|
||||
DFBRegion reg = { clip->rects[i].x1, clip->rects[i].y1,
|
||||
- clip->rects[i].x2, clip->rects[i].y2 };
|
||||
+ clip->rects[i].x2 - 1, clip->rects[i].y2 - 1 };
|
||||
|
||||
impl->surface->SetClip (impl->surface, ®);
|
||||
|
||||
@@ -819,7 +819,7 @@
|
||||
for (i = 0; i < clip->numRects; i++)
|
||||
{
|
||||
DFBRegion reg = { clip->rects[i].x1, clip->rects[i].y1,
|
||||
- clip->rects[i].x2, clip->rects[i].y2 };
|
||||
+ clip->rects[i].x2 - 1, clip->rects[i].y2 - 1 };
|
||||
|
||||
impl->surface->SetClip (impl->surface, ®);
|
||||
impl->surface->DrawLines (impl->surface, lines, npoints - 1);
|
||||
@@ -871,7 +871,7 @@
|
||||
for (i = 0; i < clip->numRects; i++)
|
||||
{
|
||||
DFBRegion reg = { clip->rects[i].x1, clip->rects[i].y1,
|
||||
- clip->rects[i].x2 , clip->rects[i].y2 };
|
||||
+ clip->rects[i].x2 - 1 , clip->rects[i].y2 - 1 };
|
||||
|
||||
impl->surface->SetClip (impl->surface, ®);
|
||||
impl->surface->Blit (impl->surface,
|
||||
@@ -1037,7 +1037,7 @@
|
||||
GdkRegion *region)
|
||||
{
|
||||
DFBRegion reg = { region->extents.x1, region->extents.y1,
|
||||
- region->extents.x2 , region->extents.y2 };
|
||||
+ region->extents.x2 - 1 , region->extents.y2 - 1 };
|
||||
|
||||
_gdk_directfb_update (impl, ®);
|
||||
}
|
Loading…
Reference in New Issue
Block a user