Comment #20 on issue 43 by allain.lalonde: Prepare the 1.3 release
http://code.google.com/p/piccolo2d/issues/detail?id=43

Thank you very much for responding!

I hope that we can work together to resolve your problems. To shed some  
light on the
changes that were made.

#1 and #2 stem from the work and subsequent workarounds to Issue 83. It  
seems that by
painting to an image, rather than to the graphics context directly, the  
effects of
antialiasing on the length of the rendered text were ignored by certain  
JComponents.
If anti-aliasing is taken into account, it seems that the text is slightly  
larger but
the bounds are not, causing swing to draw the same text, in the same shape  
with ellipsis.

Rather than continue double buffering a push was made to disable them and  
try to get
to fix the ellipse problems. Until now, we thought those fixes had worked.  
Apparently
not. The modifications in reshape are an attempt to rule out some obvious  
ellipsis
causing things, like the rendering a JLabel narrower than it's reported  
minimum width
including its insets. In a further attempt to rule out some strange  
Graphics2D
miscalculations of text widths, I'd added a enforceNoEllipsis method that  
measures
the minimum allowable size for JLabel and JButtons given the font metrics  
of the
current Graphics2D object. What happens if you run your tests with the  
render quality
set to LOW?

As for #3 and #4, wth? I'll try to write some stress tests for PSwing since  
it
appears that our current examples aren't cutting it.

I'm hesitant to roll back all of the changes, but I'll more than gladly do  
so if
nothing turns up.

Once again, thanks for getting back to us. I apologize for any  
inconvenience this is
causing your team.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to