ref: 74fd251b4a7894e3841c560646b5783dd76c74f7
parent: 3e1f7bc506652bbeb89632733430a72a92dde2cd
author: Alexei Podtelezhnikov <[email protected]>
date: Sat Jun 18 18:31:26 EDT 2016
[smooth] Remove `band_shoot' that never worked. * src/smooth/ftgrays.c (gray_TWorker): Remove `band_shoot'. (gray_convert_glyph): Updated.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2016-06-18 Alexei Podtelezhnikov <[email protected]>
+
+ [smooth] Remove `band_shoot' that never worked.
+
+ * src/smooth/ftgrays.c (gray_TWorker): Remove `band_shoot'.
+ (gray_convert_glyph): Updated.
+
2016-06-17 Alexei Podtelezhnikov <[email protected]>
[raster, smooth] Handle FT_RENDER_POOL_SIZE better.
--- a/src/smooth/ftgrays.c
+++ b/src/smooth/ftgrays.c
@@ -452,7 +452,6 @@
int span_y;
int band_size;
- int band_shoot;
void* buffer;
long buffer_size;
@@ -1920,8 +1919,6 @@
if ( num_bands >= 39 )
num_bands = 39;
- ras.band_shoot = 0;
-
min = ras.min_ey;
max_y = ras.max_ey;
@@ -2003,9 +2000,6 @@
return 1;
}
- if ( bottom-top >= ras.band_size )
- ras.band_shoot++;
-
band[1].min = bottom;
band[1].max = middle;
band[0].min = middle;
@@ -2013,9 +2007,6 @@
band++;
} while ( band >= bands );
}
-
- if ( ras.band_shoot > 8 && ras.band_size > 16 )
- ras.band_size = ras.band_size / 2;
return 0;
}