mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 15:28:58 +01:00
ea56f5e0be
Recently we introduced Spleen as a larger font for KDL for high resolution displays. However, it looks quite different from our original font. I designed an enlarged version of our original font (designed by Brian J. Swetland and also found in NewOS, LK and Fuchsia) to use instead. Change-Id: I10872e407d45b906f8b6c7ba44b2f993dcd19bff Reviewed-on: https://review.haiku-os.org/c/haiku/+/5382 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
17 lines
714 B
Bash
17 lines
714 B
Bash
# PNG files for kernel debugger fonts.
|
|
# This makes the fonts easier to modify if you decide to do so.
|
|
#
|
|
# Convert the font to hex bytes that can be added to the corresponding .cpp files
|
|
# in src/system/kernel/debug/font{,_big}.cpp
|
|
#
|
|
# This uses the convert command from imagemagic to:
|
|
# - Store black as 1 and white as 0
|
|
# - Flip the image left-to-right (that's how our console code expects it)
|
|
# - Convert it to an uncompressed bitmap without header
|
|
# Then it uses xxd to convert it to an hexdump in the correct endianness.
|
|
convert kdlbig.png -depth 1 -negate -flop GRAY:kdlbig
|
|
xxd -g 2 -c 16 kdlbig > kdlbig.hex
|
|
|
|
convert kdlsmall.png -depth 1 -negate -flop GRAY:kdlsmall
|
|
xxd -g 1 -c 12 kdlsmall > kdlsmall.hex
|