mirror of https://github.com/freetype/freetype
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:
parent
f33b237c96
commit
0409ef3268
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue