Hello, as I already told this number is very weakly defined and its effect can vary. I reduced it a bit again, but I cant see your screen. Font size is the height of a letter, but these are variable width fonts. Its impossible to predict the column size from the height, yet this badly designed Java API does not take a pixel size (I did look for such an alternative method now). If the word near the end of line is a bit longer it may insert the line break before it and it looks right. Each letter can be a different size and have differently sized gap inbetween letters and Java loads a different font depending on your system. I checked the history on why we are not using the fonts from the data directory (as that would provide a little more consistency) and instead let Java decide on some system font, but it was changed a few times together with other edits to the FreeCol code. Was that accidental or had there been a deeper reason for that?
Regards, wintertime > Gesendet: Sonntag, 07. Juni 2015 um 09:27 Uhr > Von: "Michael T. Pope" <mp...@computer.org> > An: "FreeCol Developers" <freecol-developers@lists.sourceforge.net> > Betreff: Re: [Freecol-developers] InformationPanel fail > > On Wed, 27 May 2015 23:14:51 +0200 > win...@genial.ms wrote: > > I recently tweaked the values and made it adapt to the scaling factor. > > I thought its better than it was before, but I only used the warning > > panel you see when loading a foreign savegame to check if it looked right. > > It might be somewhat better, I am not sure. However I am still seeing > truncation on the opening tutorial message, and AFAICT any other > InformationPanel with enough text, such as the independence declaration > response (attached). This needs to be fixed. > > Cheers, > Mike Pope ------------------------------------------------------------------------------ _______________________________________________ Freecol-developers mailing list Freecol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freecol-developers