freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Devel] Defect: rasterizer precision is set wrongly by Set_High_Precisio


From: Graham Asher
Subject: [Devel] Defect: rasterizer precision is set wrongly by Set_High_Precision
Date: Sun, 27 May 2001 15:38:46 +0100

Rasterizer precision is set by the local function Set_High_Precision in 
ftraster.c, called by Render_glyph and Render_Gray_Glyph. The idea is that 
when creating a cubic or conic Bezier spline by successive interpolation of 
points, interpolation stops if two coordinates are closer than the value of 
'precision_step' in the TRasterInstance object. Thus a high value for 
precision_step causes low precision, and vice versa. However, the function 
Set_High_Precision sets precision_step to 128 for high precsion and 32 for 
low precision, which is clearly the reverse of what is wanted.

Please let me know if I have misunderstood the intention of the code.

Graham Asher
software architect




reply via email to

[Prev in Thread] Current Thread [Next in Thread]