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

Add true italic font support #4141

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Sodastream11
Copy link

This adds support for a user-supplied italic font in ~/.termux/font-italic.ttf. If there is no such file, the text will be skewed as before.

There was already a pr for this (#2829) which got closed because of merge conflicts.

Closes #711.

@ChiefMikeK
Copy link

I would also like to see a third or 4th font such that nerd-font icons be displayed and/or a fallback font for missing characters, just a suggestion!
some choices for naming

  • TERMUX_NERD_FONT_FILE
  • TERMUX_ICON_FONT_FILE
  • TERMUX_SYMBOL_FONT_FILE
  • TERMUX_FALLBACK_FONT_FILE

NerdFonts Symbols Only

https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/NerdFontsSymbolsOnly

@slashdevslashurandom
Copy link

An option for separate bold and bold+italic fonts would also be nice.

@Sodastream11
Copy link
Author

Good suggestions, thought about seperate files for bold, italic fonts aswell, will probably add soon

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

Successfully merging this pull request may close these issues.

True italic font support
3 participants