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

krux-font-format viewer: to inspect prior to editing font.c #438

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

jdlcdl
Copy link
Collaborator

@jdlcdl jdlcdl commented Aug 8, 2024

Description

Just before editing font.c's unicode variable, devs have likely converted a bdf to kff with a particular height-in-pixels.
kffview.py can show them, in unicode-ish ascii art, what the font will look like from the command line.

For example, if a 14 pixel-high korean font file existed as "/tmp/korean-14.kff":

$ python kffview.py /tmp/korean-14.kff 14 를
/tmp/korean-14.kff contains 300 glyphs:

"를" is unicode: U+B97C, decimal: 47484
░░░░░░██████████████████████░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░██░░░░
░░░░░░████████████████████░░░░░░
░░░░░░██░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░████████████████████░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░██████████████████████████████
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░██████████████████████░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░██░░░░
░░░░░░████████████████████░░░░░░
░░░░░░██░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░████████████████████░░░░

What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

@jdlcdl jdlcdl changed the base branch from main to korean August 8, 2024 11:06
@odudex
Copy link
Member

odudex commented Aug 8, 2024

Thank you!

@odudex odudex merged commit 9af5fc8 into selfcustody:korean Aug 8, 2024
1 of 5 checks passed
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.

2 participants