[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Freetype] [PATCH] Thin polygons saga
From: |
Giuliano Pochini |
Subject: |
RE: [Freetype] [PATCH] Thin polygons saga |
Date: |
Thu, 17 Jan 2002 18:03:06 +0100 (CET) |
> Ok, I finally found something. The following patch fixes
> the problem I have drawing very thin gliphs. [...]
> BUT, the patch seems to affect font rendering :(
Ahemm... I'm just stupid. 8*/
Font rendering is OK with my patch. The mess was caused by
wrong debug code.
So the patch works. Please apply:
--- old.c Thu Jan 17 18:00:1
+++ freetype-2.0.6/src/smooth/ftgrays.c Thu Jan 17 17:48:30 2002
@@ -553,7 +553,7 @@
if ( ex1 != ex2 )
{
- p = ONE_PIXEL * ( y2 - y1 );
+ p = ONE_PIXEL * ( y2 - y1 + delta );
lift = p / dx;
rem = p % dx;
if ( rem < 0 )
Bye.