Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering errors in emacs #26

Open
kpmgeek opened this issue Jul 24, 2023 · 3 comments
Open

Rendering errors in emacs #26

kpmgeek opened this issue Jul 24, 2023 · 3 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@kpmgeek
Copy link

kpmgeek commented Jul 24, 2023

Having unexpected malignment of characters in emacs.

Using xterm-color on a MacOs Ventura host, client is iMac G3 running 9.2.2.
I know a bunch of the misrendered symbols are unicode characters (would love a fix, i wonder if on OS9 it'd be as simple as building with a more complete unicode font), but we're also seeing characters it can render be severely misaligned.

The divider bar in treemacs is totally misaligned on several lines, and the menu-bar on line 1 only intermittently appears.
Including a comparison with xterm running on linux with xterm-color 16-color mode to the same server (although proper unicode support minus the nerd-fonts characters).

Picture 2
screenshot

@cy384
Copy link
Owner

cy384 commented Jul 24, 2023

Thank you for the report.

Right now, ssheven only supports ASCII (actually, MacRoman). Last time I looked, even on OS 9 unicode support in the system libraries is very weak. Also I'm not sure how well the terminal escape code library I'm using does with unicode. I spent an afternoon trying to just make ssheven strip out non-ascii characters but it ended up being a big hassle.

Anyway, I do want to get unicode support. Unfortunately, unicode text rendering is pretty complicated, so I will need to spend some time finding suitable libraries and fonts, along with reworking how ssheven renders text in general.

In short: I do want to address this, but it will take quite a while.

@cy384 cy384 added bug Something isn't working enhancement New feature or request labels Jul 24, 2023
@kpmgeek
Copy link
Author

kpmgeek commented Jul 24, 2023

Upon further texting the character alignment issues are entirely related to non-visible unicode codes. So yeah, entirely related to unicode.

I'll do some digging into the old unicode support documentation.

@kpmgeek
Copy link
Author

kpmgeek commented Apr 3, 2024

http://oldvcr.blogspot.com/2023/08/maclynx-beta-5-utf-8-pull-down-menus.html MacLynx has implemented a fairly detailed but fast UTF-8 to macroman conversion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants