Fix font readability by expanding blacks and trimming whites (#55)
## Summary * Previously, only pure black pixels in the font were marked as black, this expands the black range, and makes the lightest pixels white ## Additional Context * Noticed personally it was kind of "thin" and washed out a bit, this massively helps, should also address concerns raised here: https://github.com/daveallie/crosspoint-reader/discussions/39
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
* "./lib/EpdFont/builtinFonts/bookerly_italic_2b.h",
|
||||
* ].map{|f| Digest::SHA256.hexdigest(File.read(f)).to_i(16) }.sum % (2 ** 32) - (2 ** 31)'
|
||||
*/
|
||||
#define READER_FONT_ID 828106571
|
||||
#define READER_FONT_ID 1818981670
|
||||
|
||||
/**
|
||||
* Generated with:
|
||||
@@ -18,7 +18,7 @@
|
||||
* "./lib/EpdFont/builtinFonts/ubuntu_bold_10.h",
|
||||
* ].map{|f| Digest::SHA256.hexdigest(File.read(f)).to_i(16) }.sum % (2 ** 32) - (2 ** 31)'
|
||||
*/
|
||||
#define UI_FONT_ID -56235187
|
||||
#define UI_FONT_ID (-1619831379)
|
||||
|
||||
/**
|
||||
* Generated with:
|
||||
@@ -26,4 +26,4 @@
|
||||
* "./lib/EpdFont/builtinFonts/pixelarial14.h",
|
||||
* ].map{|f| Digest::SHA256.hexdigest(File.read(f)).to_i(16) }.sum % (2 ** 32) - (2 ** 31)'
|
||||
*/
|
||||
#define SMALL_FONT_ID -1952330053
|
||||
#define SMALL_FONT_ID (-139796914)
|
||||
|
||||
Reference in New Issue
Block a user