Hello,
I recently started using the OMText together with a FontSizer.
When I looked at the implementation of the setFontSizer() method, I noticed
there is a small bug that effectively doesn't change the font when setting a
new FontSizer:
Current code (from version 5.0b):
public void setFontSizer(FontSizer fs) {
Font bf = getFont();
if (fontSizer != null) {
bf = fontSizer.getFont();
}
fontSizer = fs;
setFont(bf);
}
in my opinion this should be changed to:
public void setFontSizer(FontSizer fs) {
Font bf = getFont();
if (fs != null) {
bf = fs.getFont();
}
fontSizer = fs;
setFont(bf);
}
P.S.: When is (the next) version 5.0 made available?
Kind regards,
Humphrey.
--
In the mountains of truth, you never climb in vain - Nietzsche
#-------------------------------------------------------------
\_O
,__/>
<"
'
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Tue Dec 02 2008 - 08:02:08 EST