I still use the term bitmap font, because that term is used and known when talkingĪbout pre-rasterized fonts/font rendering in low-level contexts, such as the boot process. Hence, this is less size efficient than legacy bitmap fonts,īut looks much better. Intensity of each pixel as a byte from 0 to 255. ( 0b00110000) means "pixel on" and the zeroes' means "pixel off". Legacy (8x8) bitmap fonts usually refer to a font where each symbol is encoded in 8 bits. Terminology: Is Bitmap Font The Right Term? If they are printed next to each other, the result looks nice. ✅ All characters are aligned in their box/raster.✅ relevant font sizes: 14, 16, 24, 32, and 64px (as optional build time features).✅ every pixel is encoded in a byte (0-255) and not a bit, which results in a much nicer result on the screen.✅ nice anti-aliasing/smoothing and better looking than legacy bitmap fonts.✅ different sizes and font weights (light, normal, bold).✅ most important symbols, numbers, and letters as pre-rasterized constant.✅ no_std, zero allocations, no floating point operations. ![]() Speaking, this crate is more than a basic bitmap font, because it encodes each pixel as a byteĪnd not as a bit, which results in a much nicer result on the screen. Useful in kernels and bootloaders when only "soft-float" is available. This crate is no_std and needs no allocations or floating Provides pre-rasterized characters from the "Noto Sans Mono" font in different sizes and font SLoC noto-sans-mono-bitmap (Rust library)
0 Comments
Leave a Reply. |