mercoledì 19 gennaio 2011

One step closer to 1.3.0...

Yesterday work was good. PNG support is implemented and operative... Also, i fixed one more bug in the extra_zoom of libjpeg, which is not bad.

The new chunk management code is simpler and faster, and this is good too... But not as good as i hoped. This make me more strong in advocating the map management changes i want for 1.4.0, so stay tuned about that!

Anyway, today i am struggling with a workaround for the annoyng "dots drawn as lines and lines drawn as squares" bug that keep hitting, and that Nokia is still investigating. Since this bug is inside Qt code, i cannot do much besides a couple of workarounds.

1) Find the "precision" that causes the problem and "force" lines to be longer than that. This might not be very nice, but if it works its the fastest workaround.

2) Rewrite the drawing code: do not apply trasnformation to the painter but to the drawing points instead. This can be arranged, but its more work and i am bit reluctant to go this way

Lets see... Stay tuned!

Update: i have solved the main problem using a QPainterPath instead of a QVector of QLinesF... Dont ask why, but this way it works and the Qt bug is not triggered...

Update: FreeTrack 1.3.0 BETA 6 is out! Go get it with all these great improvements!

Nessun commento:

Posta un commento