[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master 01f23c39e 2/2: * src/raster/ftraster.c (Draw_Sweep):
From: |
Werner Lemberg |
Subject: |
[freetype2] master 01f23c39e 2/2: * src/raster/ftraster.c (Draw_Sweep): Swap stub conditions. |
Date: |
Fri, 1 Dec 2023 23:15:03 -0500 (EST) |
branch: master
commit 01f23c39e01d2c739fd8abc69aff9dbf13b46202
Author: Alexei Podtelezhnikov <apodtele@gmail.com>
Commit: Alexei Podtelezhnikov <apodtele@gmail.com>
* src/raster/ftraster.c (Draw_Sweep): Swap stub conditions.
---
src/raster/ftraster.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/raster/ftraster.c b/src/raster/ftraster.c
index 043d2faf0..9410c40ac 100644
--- a/src/raster/ftraster.c
+++ b/src/raster/ftraster.c
@@ -2365,16 +2365,16 @@
if ( dropOutControl & 1 )
{
- /* rightmost stub test */
- if ( P_Left->next == P_Right &&
- P_Left->height == 1 &&
+ /* upper stub test */
+ if ( P_Left->height == 1 &&
+ P_Left->next == P_Right &&
!( P_Left->flags & Overshoot_Top &&
x2 - x1 >= ras.precision_half ) )
goto Next_Pair;
- /* leftmost stub test */
- if ( P_Right->next == P_Left &&
- P_Left->offset == 0 &&
+ /* lower stub test */
+ if ( P_Left->offset == 0 &&
+ P_Right->next == P_Left &&
!( P_Left->flags & Overshoot_Bottom &&
x2 - x1 >= ras.precision_half ) )
goto Next_Pair;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master 01f23c39e 2/2: * src/raster/ftraster.c (Draw_Sweep): Swap stub conditions.,
Werner Lemberg <=