Function noto_sans_mono_bitmap::get_bitmap
source · [−]pub fn get_bitmap(
c: char,
style: FontWeight,
size: BitmapHeight
) -> Option<BitmapChar>
Expand description
Returns a BitmapChar
for the given char, FontWeight
, and BitmapHeight
.
Returns None, if the given char is not known by the bitmap font. In this case,
you could fall back to get_bitmap(' ', ...)
.
To see why the term “bitmap” is used, see section Terminology in the README.