On 16.07.2012, at 15:43, Jayaram wrote:

> I was using FLTK 1.1.7 with Nano-X 0.91 and nxlib 0.45. I upgraded these to 
> FLTK 1.3.0, Nano-X  and Nxlib to the latest development head to add utf-8 
> support.
> I see that there is a degradation of performance in displaying screens on the 
> same target that I was running the earlier versions on.              I am 
> using pcf font files.
> Is the newer fltk slower with the utf-8 support added ?

FLTK 1.3 uses larger data types for some basic variables. Graphics coordinates 
are now 32 instead of 16 bits. UTF8 rendering should not have any impact for 
ASCII text. Only when massive amounts of glyphs are required for large fonts, 
initialisation may be slower than usual. There is one additional indirection 
for all graphics calls, but that is in todays CPU terms close to nothing. In 
return we get multiple rendering contexts, including printing.

Other than that , the code is very similar.

Can you specify what exactly seems slower now than it has been?

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to