>
> That's a feature that HG ported from winboard. The "sizeNNN:" in front
> says "use this font only for square size NNN".  If you don't have the
> "sizeNNN:"
> there, xboard will use the font for whatever the current square size is.
> But
> when it saves settings, it saves the fonts only for the current square
> size. This feature is more important in WinBoard where there is a font
> selection dialog and you can change the fonts (and the square size too)
> without exiting and restarting the program.
>

Short comment from the Ionian isle of Kefalonia:

This turned out to be pretty essential when we started saving settings. At
first I naively saved the font variables from appData. But it was the
matched font that would be saved, not the template with all the
wild-cards, meaning that it would have a specific point size. If you would
then later start XBoard with another -size, you would get totally
non-fitting characters with it, because the full specification would
basically disable the entire font-selection process.

So at first I just refrained from saving the -font options altogether.

Then I tried this WinBoard-inspired solution of saving the matched fonts
per size, so that they would not affect any other board size than the one
in force during the original selection process.


_______________________________________________
Bug-XBoard mailing list
Bug-XBoard@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-xboard

Reply via email to