On 10.05.2011 17:45, Ian MacArthur wrote:

>> So, anyway, that appears to be the key; if you draw first, then measure, you 
>> get consistent good results, if you measure first, then draw... well, not so 
>> good. I guess (have not looked yet) that calling fl_draw() must be "locking 
>> in" the font in some way, and that prior to calling draw the call to 
>> fl_measure does not get the correct face, or something...
>
> OK - think I have this fixed now. Try the svn r8644 and see how that goes.

Yep, this fixes it. I'm glad that you could find it. This was such a
subtle bug that happened only under certain circumstances...

Great work, thanks!

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

Reply via email to