Open shaeinst opened 2 years ago
I hope this helps you. https://github.com/tonsky/FiraCode/discussions/1295 https://twardoch.github.io/fonttools-opentype-feature-freezer I have used these helps to change some character variants in firacode to work in both vscode editor and specially terminal. I recommend to use second url. I only know these solutions.
First solution is for good apps that use fonts-config. But some apps (notably VSCode, Firefox and Chrome) don't use fonts-config and in this case the only solution is to freeze features.
I guess, tilix is based on libvte so both solutions would work.
But some apps (notably VSCode[…]) don't use fonts-config
This is probably technically true, but pretty oddly phrased, since VS Code can simply configure all character variants/stylistic sets directly within its own settings, using editor.fontLigatures
. For example, I have mine set to "'ss01', 'ss02', 'ss03', 'ss05', 'ss06', 'cv30', 'ss09'"
. So there would be no need to worry about freezing font features for VS Code.
Yea, I meant that you can't control these apps with fonts-config. So either they have their own way to choose font features (VSCode) or you have to freeze features.
For example, I use Inter as system default serif font. And I've configured it to have slashed zero. It works almost everywhere (calendar, file manager, menu), but Firefox uses Inter font, but zero is not slashed. For now I just ignore it, but if I really want slashed zero everywhere, I'd have to freeze it into new font.
is there any way to change character variants in tilix terminal?