Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lxtharia/doomgrub-project-files
A mess.
https://github.com/lxtharia/doomgrub-project-files
Last synced: about 2 months ago
JSON representation
A mess.
- Host: GitHub
- URL: https://github.com/lxtharia/doomgrub-project-files
- Owner: Lxtharia
- Created: 2023-08-24T09:26:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-28T21:23:16.000Z (7 months ago)
- Last Synced: 2024-05-29T12:25:49.328Z (7 months ago)
- Language: Python
- Size: 3.46 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# a mess.
- I made the doom theme for grub but apparently never uploaded the code i wrote to generate the fonts etc..
- This is what this is.
- makefont.py creates multiple .pf2 font files, each consisting only of the pixels of a specific brightness
- so for example we have a bitmap font which only consists of the pixels that are really dark (0-8 brightness, out of 255)
- File structure of the font format used by grub: https://www.gnu.org/software/grub/manual/grub-dev/html_node/File-Structure.html
- it was easier and more fun to create the files directly instead of making it a otf and using grub-mkfont on it.
- maketheme.py generates the theme.txt because if we created 8 fonts for 8 different shades of brightness, we need to draw them all on top of another.
- thats what's making the theme lag so much :D
- Have fun, ask me questions, i forgot what my code does