Skip to content

Commit b496b87

Browse files
authored
new crate: phip1611/noto-sans-mono-bitmap-rs (#86)
1 parent 3962cfb commit b496b87

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
Loading

content/this-month/2022-01/index.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,28 @@ Colin Finck will [talk about NTFS](https://fosdem.org/2022/schedule/event/misc_n
8282
The talk is on Saturday, 5 February at 17:00 (CET, UTC+1).
8383
The conference is virtual and admission is free.
8484

85+
86+
### [`phip1611/noto-sans-mono-bitmap-rs`](https://github.com/phip1611/noto-sans-mono-bitmap-rs)
87+
88+
<span class="gray">(Section written by [@phip1611](https://github.com/phip1611))</span>
89+
90+
Philipp Schuster released an initial version of his [noto-sans-mono-bitmap](https://github.com/phip1611/noto-sans-mono-bitmap-rs)
91+
crate this month. It provides a pre-rasterized bitmap font from *Noto Sans Mono*, an open font from Google.
92+
The crate is a replacement for legacy bitmap fonts, such as the [font8x8 crate](https://crates.io/crates/font8x8).
93+
It is suitable for printing high quality/nice looking text to a framebuffer in bootloaders, kernels and similar
94+
environments where you don't want or can't use the FPU.
95+
96+
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)
97+
in different sizes and font weights (light, regular, bold) as Rust constants paired with a convenient getter function.
98+
99+
![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.")
100+
101+
The screenshot above shows text that is rendered into an UEFI framebuffer using the bitmap font
102+
from `noto-sans-mono-bitmap`.
103+
104+
An example of usage can be found in [PR#213](https://github.com/rust-osdev/bootloader/pull/213) of the
105+
`rust-osdev/bootloader` crate, where this crate was merged and replaced `font8x8`.
106+
85107
## Join Us?
86108

87109
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).

0 commit comments

Comments
 (0)