[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-XBoard] [bug #33241] xboard quits with 'Unable to create font s

From: h . g . muller
Subject: Re: [Bug-XBoard] [bug #33241] xboard quits with 'Unable to create font set.'
Date: Tue, 31 May 2011 19:49:22 +0200
User-agent: SquirrelMail

> 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]