spleen icon indicating copy to clipboard operation
spleen copied to clipboard

5x8 Font: Add most Latin-1 characters

Open thp opened this issue 4 years ago • 6 comments

Now most Latin-1 characters have a representation in the 5x8 font: Screenshot 2021-07-17 at 10 21 28

thp avatar Jul 16 '21 15:07 thp

@fcambus Is this something you would consider for merge or rather not?

thp avatar Sep 17 '22 18:09 thp

@fcambus Sorry for bumping this again, but once per quarter is hopefully not too high-frequency, maybe it just got buried in other notifications :) Is this something that can be merged, or does it need more work or would you rather not merge it? Thanks!

thp avatar Dec 19 '22 15:12 thp

Sorry for the delay, I only recently resumed work on Spleen after a long break.

Due to character size constraints, it is not possible to fit the glyphs from the Latin-1 Supplement Unicode block in a way which would be readable and respect the consistency of the other sizes, that's why they have been left out. I have tried in the past :)

fcambus avatar Apr 21 '23 09:04 fcambus

Yes, the upper case characters with diacritics are sized a bit smaller (vertically) than their non-diacritic versions (see the screenshot for all the characters in this PR).

If it's not a good fit for submitting upstream, I can also just maintain this for myself downstream.

thp avatar Apr 22 '23 13:04 thp

Out of curiosity, what is your use case for this?

I'm honestly not sure what the use case would be. The 5x8 variant was created for small OLED displays, typically for appliances control panels, which do not really need anything more than ASCII.

fcambus avatar Aug 04 '23 13:08 fcambus

Out of curiosity, what is your use case for this?

Retro DOS/pixelart games, with German and French localizations. Which I agree is quite niche :)

Example usage:

And with umlauts/latin1 characters:

Another screenshot showing latin-1 characters used in the French localization:

Screenshot 2023-08-04 at 15 14 39

thp avatar Aug 04 '23 13:08 thp