Swordfish90 / cool-retro-term

A good looking terminal emulator which mimics the old cathode display...
21.76k stars 836 forks source link

Some unicode chars do not advance cursor by their proper width in terminal #814

Open Russtopia opened 9 months ago

Russtopia commented 9 months ago

Firstly: Cool terminal, thanks for this!

This may be related to other already-filed issues relating to Unicode fonts. I use APL, which uses Unicode characters such as

⍵ ∊ ⍺ ⍳ ⍴ ...

Typing these on the terminal shows cumulative 'creep' where the cursor does not advance quite over enough to handle some of these characters. The most obvious is '⍵' -- type ⍵⍵⍵⍵⍵⍵⍵⍵⍵⍵⍵⍵⍵⍵⍵ and it becomes evident as the characters start overflowing to the right of the cursor.

Is this a bug in the cool-retro-term's cursor handling, or something with the fonts available? If so, can I set the font to one I know has the APL unicode glyphs encoded properly, eg. 'Monospace Regular' or 'APL386.ttf' ? There only seems to be a very small set of hardcoded font choices in 'Settings'.

Thanks.

image

Russtopia commented 9 months ago

EDIT: I discovered this is only an issue with the fonts available when Rasterization is set to 'Scanlines'. Switching to Rasterization 'Default' makes more fonts available, most of which display APL characters properly, and the cursor behaves correctly. However one must forego the nice Scanline look for these fonts :/.

Is there any way to use non-retro fonts with Rasterization still set to 'Scanlines'?