poryscript icon indicating copy to clipboard operation
poryscript copied to clipboard

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

Open Jaizu opened this issue 1 year ago • 1 comments

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.

Jaizu avatar Aug 16 '24 12:08 Jaizu

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.

huderlem avatar Nov 05 '24 01:11 huderlem