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

Support OTF ligatures in text editor #1758

Open
WoolieWool opened this issue Dec 23, 2024 · 4 comments
Open

Support OTF ligatures in text editor #1758

WoolieWool opened this issue Dec 23, 2024 · 4 comments

Comments

@WoolieWool
Copy link

WoolieWool commented Dec 23, 2024

Editor

Resource editor

Description of your feature request

Many modern terminal fonts support ligatures for commonly used multi-character symbols such as !=, ==, <=, >=, ->, ++, /=, >>=, and <|. Would you consider adding support to these in SLADE's text editor?

Mock-up

ligatures shown in a ZScript function in the vim text editor:
https://i.imgur.com/zySZJqI.png

@Blue-Shadow
Copy link
Contributor

Blue-Shadow commented Dec 23, 2024

This is already in: set txed_use_directwrite cvar to true. Restart SLADE.

@sirjuddington
Copy link
Owner

I think enabling that causes non-TTF fonts not to work unfortunately. Not much I can do as the issue is on Scintilla's end

@WoolieWool
Copy link
Author

Confirmed this console command breaks OTF fonts.

@sirjuddington
Copy link
Owner

Hmm, interestingly enough it seems to work fine with OTF fonts for me (in 3.2.6, Windows 11), what font exactly are you trying to use?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants