Cargo Features
[dependencies]
noto-sans-mono-bitmap = { version = "0.3.1", default-features = false, features = ["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", "raster_heights_all", "font_weights_default", "font_weights_all", "unicode_ranges_default", "unicode_ranges_all"] }
THIS FILE IS AUTO GENERATED BY THE PROJECT IN "../codegen" (see repository!)
- default = font_weights_default, raster_heights_default, unicode_ranges_default
-
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. - all = font_weights_all, raster_heights_all, unicode_ranges_all
-
Feature that enables the full variety of raster heights, font weights, and unicode ranges.
- light font_weights_all?
-
all available font weights
- regular font_weights_all? font_weights_default
- bold font_weights_all?
- size_16 raster_heights_all? raster_heights_default
-
all available raster heights (the font size is ~84% of this)
Affects
bold::size_16
,light::size_16
,regular::size_16
… - size_20 raster_heights_all?
-
Affects
bold::size_20
,light::size_20
,regular::size_20
… - size_24 raster_heights_all?
-
Affects
bold::size_24
,light::size_24
,regular::size_24
… - size_32 raster_heights_all?
-
Affects
bold::size_32
,light::size_32
,regular::size_32
… - unicode-basic-latin unicode_ranges_all? unicode_ranges_default
-
all available unicode ranges
- unicode-latin-1-supplement unicode_ranges_all?
- unicode-latin-extended-a unicode_ranges_all?
- unicode-specials unicode_ranges_all?
- raster_heights_default default = size_16
-
default raster heights
- raster_heights_all all? = size_16, size_20, size_24, size_32
-
feature that combines all raster heights
- font_weights_default default = regular
-
feature that combines all font weights
- font_weights_all all? = bold, light, regular
-
feature that combines all font weights
- unicode_ranges_default default = unicode-basic-latin
-
default unicode ranges
- unicode_ranges_all all? = unicode-basic-latin, unicode-latin-1-supplement, unicode-latin-extended-a, unicode-specials
-
feature that combines all unicode ranges