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

Custom font support would be nice. I can't live without nerd font symbols. #78

Open
Un1q32 opened this issue Feb 2, 2022 · 1 comment

Comments

@Un1q32
Copy link

Un1q32 commented Feb 2, 2022

Or at least stop allow people to go into /Applications/NewTerm.app and replace the ttf files with any they want. I tried replacing the Cascadia Code ttf with the nf Caskaydia Cove patched nerd font and the font was set back to SF Mono and attempting to select the font from the menu gave a prompt to install the font addon (it was already installed)

@kirb
Copy link
Member

kirb commented Feb 3, 2022

Definitely planning this!

In the meantime, I think what you're missing is that you also need to set the PostScript names of the font in Fonts.plist. Likely that just means changing CascadiaCode-Roman and CascadiaCode-Roman_Bold to CaskaydiaCove-Roman and CaskaydiaCove-Roman_Bold (I'm guessing the PostScript name, I could be wrong - if so you can find it using Font Book on a Mac, or probably something similar on Windows/Linux). The app simply loads all .ttf/.otf's found inside NewTerm.app when it launches, it still needs to know which of those it needs to pick when you say you want "Cascadia Code". Since after replacing the ttfs it can no longer find CascadiaCode-Roman, it assumes the font pack isn't installed and displays the install prompt.

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

No branches or pull requests

2 participants