Skip to content

new crate: phip1611/noto-sans-mono-bitmap-rs #86

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions content/this-month/2022-01/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

<span class="gray">(Section written by [@phip1611](https://github.com/phip1611))</span>

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).
Expand Down