diff --git a/content/this-month/2022-01/framebuffer-font-noto-sans-mono.png b/content/this-month/2022-01/framebuffer-font-noto-sans-mono.png new file mode 100644 index 00000000..4497eddd Binary files /dev/null and b/content/this-month/2022-01/framebuffer-font-noto-sans-mono.png differ diff --git a/content/this-month/2022-01/index.md b/content/this-month/2022-01/index.md index f073fc80..d8d34fc1 100644 --- a/content/this-month/2022-01/index.md +++ b/content/this-month/2022-01/index.md @@ -82,6 +82,28 @@ Colin Finck will [talk about NTFS](https://fosdem.org/2022/schedule/event/misc_n The talk is on Saturday, 5 February at 17:00 (CET, UTC+1). The conference is virtual and admission is free. + +### [`phip1611/noto-sans-mono-bitmap-rs`](https://github.com/phip1611/noto-sans-mono-bitmap-rs) + +(Section written by [@phip1611](https://github.com/phip1611)) + +Philipp Schuster released an initial version of his [noto-sans-mono-bitmap](https://github.com/phip1611/noto-sans-mono-bitmap-rs) +crate this month. It provides a pre-rasterized bitmap font from *Noto Sans Mono*, an open font from Google. +The crate is a replacement for legacy bitmap fonts, such as the [font8x8 crate](https://crates.io/crates/font8x8). +It is suitable for printing high quality/nice looking text to a framebuffer in bootloaders, kernels and similar +environments where you don't want or can't use the FPU. + +To avoid CPU intensive soft float workloads, the crate contains pre-rendered symbols from the [Noto Sans Mono font](https://fonts.google.com/noto/specimen/Noto+Sans+Mono) +in different sizes and font weights (light, regular, bold) as Rust constants paired with a convenient getter function. + +![Symbols from the crate 'noto-sans-mono-bitmap' in an UEFI framebuffer.](framebuffer-font-noto-sans-mono.png "Symbols from the crate 'noto-sans-mono-bitmap' in an UEFI framebuffer.") + +The screenshot above shows text that is rendered into an UEFI framebuffer using the bitmap font +from `noto-sans-mono-bitmap`. + +An example of usage can be found in [PR#213](https://github.com/rust-osdev/bootloader/pull/213) of the +`rust-osdev/bootloader` crate, where this crate was merged and replaced `font8x8`. + ## Join Us? Are you interested in Rust-based operating system development? Our `rust-osdev` organization is always open to new members and new projects. Just let us know if you want to join! A good way for getting in touch is our [gitter channel](https://gitter.im/rust-osdev/Lobby).