[package]
name = "noto-sans-mono-bitmap"
description = """
Provides pre-rasterized characters from the "Noto Sans Mono" font in different sizes and font
weights for multiple unicode ranges. This crate is `no_std` and needs no allocations or floating
point operations. Useful in kernels and bootloaders when only "soft-float" is available. Strictly
speaking, this crate is more than a basic bitmap font, because it encodes each pixel as a byte
and not as a bit, which results in a much nicer result on the screen.
"""
version = "0.3.0"
edition = "2021"
keywords = ["bitmap", "font", "noto-sans-mono"]
categories = ["text-processing", "no-std"]
readme = "README.md"
license = "MIT"
homepage = "https://github.com/phip1611/noto-sans-mono-bitmap-rs"
repository = "https://github.com/phip1611/noto-sans-mono-bitmap-rs"
documentation = "https://docs.rs/noto-sans-mono-bitmap"
exclude = [
".direnv",
".github",
".editorconfig",
".envrc",
"/external",
"shell.nix",
]
[[example]]
name = "show_chars_in_window"
required-features = ["all"]
[features]
default = ["raster_heights_default", "font_weights_default", "unicode_ranges_default"]
all = ["raster_heights_all", "font_weights_all", "unicode_ranges_all"]
light = []
regular = []
bold = []
size_16 = []
size_20 = []
size_24 = []
size_32 = []
unicode-basic-latin = []
unicode-latin-1-supplement = []
unicode-latin-extended-a = []
unicode-specials = []
raster_heights_default = [
"size_16",
]
raster_heights_all = [
"size_16",
"size_20",
"size_24",
"size_32",
]
font_weights_default = [
"regular",
]
font_weights_all = [
"light",
"regular",
"bold",
]
unicode_ranges_default = [
"unicode-basic-latin",
]
unicode_ranges_all = [
"unicode-basic-latin",
"unicode-latin-1-supplement",
"unicode-latin-extended-a",
"unicode-specials",
]
[dependencies]
[dev-dependencies]
minifb = "~0.25.0"