summaryrefslogtreecommitdiffstats
path: root/fonts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Optimize and reduce size of PNG filesJames Christopher Adduono2016-08-042-0/+0
| | | | | | | | | | | | Done using: find -type f -name *.png -exec optipng -o7 -nc -fix {} + (-nc is required as TWRP png lib can't handle color type changes) find -type f -name *.png -exec advdef -4 -z {} + (use Zopfli compressor on insane prefix to reduce size even more) Total amount of bytes saved: 317,491 Change-Id: I545c678f71942e6ceb95acb631841ea7ef82a049
* more font improvements and cleanupDoug Zongker2013-03-074-0/+99
Get rid of the notion of a font's "ascent"; the reference point for drawing is the top-left corner of the character box rather than the baseline. Add some more space between the menu entries and make the highlight bar around the text. Replace the default font.png with two images; the build system will include one or the other based on the resolutions of the device. Restore the original compiled-in bitmap font, to fall back on when font.png can't be found (eg, in the charger binary). Add support for bold text (when a font.png image is used). Change-Id: I6d211a486a3636f20208502b1cd2aeae8b9f5b02