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

Take font widths from the project instead of a json file. #69

Open
Jaizu opened this issue Aug 16, 2024 · 1 comment
Open

Take font widths from the project instead of a json file. #69

Jaizu opened this issue Aug 16, 2024 · 1 comment

Comments

@Jaizu
Copy link

Jaizu commented Aug 16, 2024

Keeping that file updated when you have custom characters or changed font-size is usually a pain in the ass, specially when that file doesnt only contain character widths but also other values like numLines.

@huderlem
Copy link
Owner

huderlem commented Nov 5, 2024

For clarity, this is referring to the font widths defined in the decomps. (e.g. from fonts.c). This would currently require parsing both charmap.txt and fonts.c, which seems rather brittle. If the decomps had a normalized data structure (e.g. a JSON file), this would be more realistic to support.

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

No branches or pull requests

2 participants