noto-sans-mono-bitmap 0.3.0

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.
Documentation
# THIS FILE IS AUTO GENERATED BY THE PROJECT IN "../codegen" (see repository!)

[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"]

# THIS FILE IS AUTO GENERATED BY THE PROJECT IN "../codegen" (see repository!)

[features]
# My testing showed that rustc reliably discards unused raster heights or font weights.
# However, to speed-up compilation, it's recommended to only use the default features
# and not include all of them all the time. Note that rustc can not easily discard unused
# unicode ranges if the input source theoretically allows the full u32-range.
default = ["raster_heights_default", "font_weights_default", "unicode_ranges_default"]

# Feature that enables the full variety of raster heights, font weights, and unicode ranges.
all = ["raster_heights_all", "font_weights_all", "unicode_ranges_all"]

# all available font weights
light = []
regular = []
bold = []


# all available raster heights (the font size is ~84% of this)
size_16 = []
size_20 = []
size_24 = []
size_32 = []


# all available unicode ranges
unicode-basic-latin = []
unicode-latin-1-supplement = []
unicode-latin-extended-a = []
unicode-specials = []


# default raster heights
raster_heights_default = [
    "size_16",
]


# feature that combines all raster heights
raster_heights_all = [
    "size_16",
    "size_20",
    "size_24",
    "size_32",
]


# feature that combines all font weights
font_weights_default = [
    "regular",
]


# feature that combines all font weights
font_weights_all = [
    "light",
    "regular",
    "bold",
]


# default unicode ranges
unicode_ranges_default = [
    "unicode-basic-latin",
]


# feature that combines all unicode ranges
unicode_ranges_all = [
    "unicode-basic-latin",
    "unicode-latin-1-supplement",
    "unicode-latin-extended-a",
    "unicode-specials",
]



[dependencies]


[dev-dependencies]
minifb = "~0.25.0"