Skip to content

Add 8-bit font generation support - #503

Open
NellowTCS wants to merge 3 commits into
adafruit:masterfrom
NellowTCS:master
Open

Add 8-bit font generation support#503
NellowTCS wants to merge 3 commits into
adafruit:masterfrom
NellowTCS:master

Conversation

@NellowTCS

Copy link
Copy Markdown

Hi!
I added optional 8 bit font support to fontconvert because I needed the full 0 to 255 glyph range for a project, and the tool already had everything needed for it. It just wasn't exposed yet.

What this change does

  • Adds support for generating full 8-bit fonts when the user passes first=0 last=255
  • Keeps the default 7-bit ASCII behavior the same
  • Updates the filename suffix logic so the output is labeled correctly as 7b or 8b
  • Updates the docs with the new usage

What I changed

  • Only the character range handling and the documentation.

Limitations

If the source TTF does not include certain codepoints, FreeType still outputs empty glyphs. This is the same behavior as before.

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.

1 participant