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

Open
opened 2023-09-24 06:00:59 +02:00 by Russtopia · 1 comment
Russtopia commented 2023-09-24 06:00:59 +02:00 (Migrated from github.com)

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

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](https://github.com/Swordfish90/cool-retro-term/assets/2966177/f2ba3560-6a61-4042-a910-d2f4fd67a6e3)
Russtopia commented 2023-09-24 09:15:07 +02:00 (Migrated from github.com)

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'?

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'?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: seeseemelk/cool-retro-term#814
No description provided.