这是indexloc提供的服务,不要输入任何密码
Skip to content

Add seperate italic, bold and italic + bold font files #4141

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

11soda11
Copy link

@11soda11 11soda11 commented Sep 5, 2024

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.

@11soda11 11soda11 force-pushed the italic-fonts branch 2 times, most recently from f2d590f to 2183f41 Compare September 30, 2024 07:25
@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.

@11soda11
Copy link
Author

11soda11 commented Nov 2, 2024

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

@11soda11 11soda11 changed the title Add true italic font support Add seperate italic, bold and italic + bold font files Jan 28, 2025
@11soda11
Copy link
Author

Support for bold and italic + bold fonts has now been added

@rendiix
Copy link

rendiix commented Jun 11, 2025

why not merged yet?

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
4 participants