davewx7 / citadel

A turn based strategy game based on the Anura engine
Other
99 stars 25 forks source link

Readability problems on 13" laptops: land flags. #193

Open ghost opened 6 years ago

ghost commented 6 years ago

Parent issue: https://github.com/davewx7/citadel/issues/186.

Laptop: MacBook Pro 13". OS: macOS High Sierra. Mode: Windowed, defaults.

I patched the program for outputting arbitrary text at the land flag.

I took several samples of a text with only digits, judged if I find them readable, then I added the effective font size to the dumps. It seemed my eye is comfortable with font sizes 10 or larger, meh with font sizes between 9 and 10, and table flipping with font sizes lower than 9.

length readable effective font size footage
6 good 10
7 good 10
8 good 10
9 good 10
10 good 10
11 yes ~9.87
12 yes ~9.32
13 bad ~8.55
14 barely ~7.91
15 barely ~7.35
16 no ~6.87
17 no ~6.45
18 no ~6.12

No matter how much retina support we get, there always has to be some lower limit for the font size. Using these graphics configuration, I think it is 9. With more retina support I suppose that maybe could be lowered to 8 or 7. I suspect anything lower than 7 will be insane for this device in any case.

To handle this issue, I'd probably be submitting a pull request for cropping land flag texts whenever too large while having a game window width as low as @lutinotmalin's windowed mode window width or smaller.

I'm hoping this change will affect no desktop PC at all.

ghost commented 6 years ago

For three lanes maps the figures (simplified) are like:

length effective font size
... ...
15 ~9.30
16 ~8.69
... ...

Similarly for one lane maps:

length effective font size
... ...
16 ~9.63
17 ~9.03
18 ~8.56
... ...