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

[Feature request]: disable r and s on script variant #285

Open
MuhametSmaili opened this issue Oct 3, 2024 · 0 comments
Open

[Feature request]: disable r and s on script variant #285

MuhametSmaili opened this issue Oct 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@MuhametSmaili
Copy link

What feature are you proposing?

I like the script feature but would love it if there is a way to disable the r and s. For me it is more difficult to read those two characters

image

We have an option where we choose our r:
image

I was expecting that this should override the ss02 if let's say I select SS16
I use wezterm. Here is my config for the font that I tried:

	font = wezterm.font({
		family = "MonoLisa Variable",
		weight = "Regular",
		-- harfbuzz_features = { "calt", "liga", "dlig", "ss01", "ss03", "ss04", "ss05", "ss06", "ss07", "ss08" },
		harfbuzz_features = {
			"calt",
			"liga",
			"zero",
			"dlig",
			"ss01",
			"ss02",
			"ss05",
			"ss06",
			"ss07",
			"ss10",
			"ss11",
			"ss13",
			"ss15",
		         "ss16",
			"ss17",
			"ss18",
		},
	}),
	font_rules = {
		{
			-- Apply this rule when the text is italic
			italic = true,
			font = wezterm.font({
				family = "MonoLisa Variable",
				weight = "Regular",
				italic = true,
				harfbuzz_features = {
					"calt",
					"liga",
					"zero",
					"dlig",
					"ss01",
					"ss02",
					"ss05",
					"ss06",
					"ss07",
					"ss10",
					"ss11",
					"ss13",
					"ss15",
					"ss16",
					"ss17",
					"ss18",
				},
			}),
		},
	},

@MuhametSmaili MuhametSmaili added the enhancement New feature or request label Oct 3, 2024
@MuhametSmaili MuhametSmaili changed the title [Feature request]: disable r and s on script variant [Feature request]: disable r and s on script variant Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant