Hi, > Gesendet: Sonntag, 09. August 2015 um 12:54 Uhr > Von: "Michael T. Pope" <mp...@computer.org> > An: "FreeCol Developers" <freecol-developers@lists.sourceforge.net> > Betreff: Re: [Freecol-developers] Updating audio and video players > > On Sun, 9 Aug 2015 10:25:34 +0200 > win...@genial.ms wrote: > >>[Cortado has problems] > > Also weird is that for a split second there is a black panel shown in > > top left corner for a split second and then moved to the center before > > the video starts (but that may possibly be improved in FreeCol code). > > I see it in the bottom right corner, and it is there for quite a while. > Because I have the video disabled, I think that is the splash screen.
No, the splash window is already destroyed and the main window displaying the canvas background before that happens for me, so I would exclude this possibility. I think, I'll look at how the video panel is created and if its moved when already visible. > I was just going to grab the jars on my machine, and perhaps compare them > with what debian distributes for consistency. They have a single jar containing both parts of the library, like the one I found. > >>[fonts] > I certainly think we should keep ShadowedBlack. It evokes the game period. > If people want to name their colonies with non-Western scripts, and then > find they do not display nicely with ShadowedBlack, I think we can just > say "dont do that". However that is a special font used for visual > effect. We might want to check for a more complete version of that font. I would also like to get this automatized some more. It looks bad if there are those rectangle glyphs. As the header font is only sparsely used, we could check each string using: if(font.canDisplayUpTo(string) != -1) font=normalfont; That could even allow us to get rid of the font override .properties files, but would slightly complicate display code. Alternatively we could change the command line option to switch normal and header font or even all 3 or add more than one option, but thats tedious for the users. Or we could add a simple mod, which just sets the header font to the same font as the normal font, by overriding the resource key. > Liberation is just a (nice I admit) general text font, which > does not provide any special visual impact, at the cost of us (in theory) > having to keep it updated. To me it just looked like it had weird hooks attached to the glyphs. :p > So how does Java choose its fonts? My understanding is it first checks the fonts provided by the OS for some font similar to what was requested (serif/sansserif/whatever) and then falls back to private fonts placed in $JAVA_HOME/lib/fonts . I see there are 8 Lucida*.ttf files, in an incomplete set of Bright/Sans/Typewriter and regular/(demi)italic/(demi)bold combinations. > IMHO if you are worried about user's not seeing > certain glyphs, the best thing we can do is get out of the way and let the > user choose a font that has good glyph coverage *in the area they care > about*, and try to be conservative about what we emit[Postel]. If I am > right about what Java is doing, then we are doing the Right Thing in > 0.11.5. Well, I think checking if the font provides all glyphs in each string to be displayed next, is the way to go then. > I certainly do not want to stop people with > bad eyesight increasing the font size for the general text for example... All fonts can be resized and we enforce size, so that is a different problem, which was recently fixed through the --gui-scale option. :) > I mentioned "user complaint" though as a driver here. With 0.11.5 out for > not-even-a-week we can defer making decisions here and wait for comment. > My guess is we will get nothing unfavourable unless we ask:-). Oh well, if we wait for people to be bothered enough to complain about any minor glitch, we could wait for a long time. Just compare the downloads to the number of people writing BRs. ;) Greetings, wintertime ------------------------------------------------------------------------------ _______________________________________________ Freecol-developers mailing list Freecol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freecol-developers