mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 00:04:28 +01:00
[GH-ISSUE #464] Feature suggestion: Add gzip decompression for VLW-files #1391
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @olanwe on GitHub (May 13, 2025).
Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/464
Originally assigned to: @nlimper on GitHub.
Is your feature request related to a problem? Please describe.
VLW font files are inefficient in terms of storage: they are uncompressed and waste one full byte per monochrome pixel! VLW-files can be significantly compressed, e.g. from 215 KB down to just 16 KB!
Describe the solution you'd like
Uploaded VLW files that have been gzipped before (.vlw.gz) could be automatically decompressed. This will save us a lot of flash-memory!
Additional context
I have already created two functions for testing purposes (see attachment) that will act as wrappers for the spr.loadFont() and spr.unloadFont() calls. They seem to work fine so far. However, I did not create a PR yet, because:
decompress_gzvlw_fonts.txt
@nlimper commented on GitHub (May 14, 2025):
That could be a useful addition, thanks. I will integrate it at some point.