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

Terminus missing PSF patch #350

Closed
tecosaur opened this issue May 21, 2019 · 4 comments
Closed

Terminus missing PSF patch #350

tecosaur opened this issue May 21, 2019 · 4 comments
Labels
❲Aa❳ new font ☕ discussion ➤ future keep_unlocked Allow discuissions for extended time even after closing

Comments

@tecosaur
Copy link

I think this can be kept short and sweet.

The Terminus PSF patch font files seem to be missing (Useful for tty).
https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/Terminus/PSF

Thanks,

tecosaur.

@ryanoasis
Copy link
Owner

I think ttf is only there because the current patcher doesn't know how to patch the other types (bitmap fonts)

@Luxcium
Copy link

Luxcium commented Dec 7, 2020

is this relevant to that discussion or I might be lost ...
r/Any way to convert ttf files to psf files

otf2bdf -p 20 -r 96 -o font.bdf font.ttf
Play with -p parameter to change glyph size. Then convert bdf to psf:

bdf2psf --fb font.bdf /usr/share/bdf2psf/standard.equivalents /usr/share/bdf2psf/fontsets/Uni2.512 512 font.psf
You can use another fontset or even copy and modify an existing one to add glyphs for characters you want to see in TTY. For example, I like radioactive sign, so I've appended U+2666 to the font set file.

If bdf2psf complains for 'width is not integer number', either change glyph size or just replace AVERAGE_WIDTH in the bdf file (it's a plain text) to something round. e.g. if it is 139, change it to 140 and so on.

@Finii
Copy link
Collaborator

Finii commented Jan 30, 2023

Closing because transferred to #1095

@Finii Finii closed this as completed Jan 30, 2023
@github-actions
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a new issue, complete the issue template with all the details necessary to reproduce, and mention this issue as reference.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 14, 2023
@Finii Finii added the keep_unlocked Allow discuissions for extended time even after closing label Apr 18, 2024
Repository owner unlocked this conversation Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❲Aa❳ new font ☕ discussion ➤ future keep_unlocked Allow discuissions for extended time even after closing
Projects
None yet
Development

No branches or pull requests

4 participants