Increase precision for B/W rasterizer.

* src/raster/ftraster.c (Set_High_Precision): Add two more bits to
the precision.  This corrects rendering of some small glyphs, for
example, glyph `xi' in verdana.ttf at 13 ppem.  Testing with ftbench
on my GNU/Linux box I don't see a performance degradation.
This commit is contained in:
Werner Lemberg 2009-06-11 17:32:31 +02:00
Родитель f33b237c96
Коммит 0409ef3268
2 изменённых файлов: 12 добавлений и 3 удалений

Просмотреть файл

@ -1,3 +1,12 @@
2009-06-11 Werner Lemberg <wl@gnu.org>
Increase precision for B/W rasterizer.
* src/raster/ftraster.c (Set_High_Precision): Add two more bits to
the precision. This corrects rendering of some small glyphs, for
example, glyph `xi' in verdana.ttf at 13 ppem. Testing with ftbench
on my GNU/Linux box I don't see a performance degradation.
2009-06-08 Michael Zucchi <notzed@gmail.com>
Handle FT_STROKER_LINECAP_BUTT.

Просмотреть файл

@ -588,9 +588,9 @@
{
if ( High )
{
ras.precision_bits = 10;
ras.precision_step = 128;
ras.precision_jitter = 24;
ras.precision_bits = 12;
ras.precision_step = 256;
ras.precision_jitter = 50;
}
else
{