[−][src]Trait embedded_graphics::fonts::Font
Monospaced bitmap font.
Associated Constants
const FONT_IMAGE: &'static [u8]
Raw image data containing the font.
const FONT_IMAGE_WIDTH: u32
The width of the raw image data.
The width must be divisible by 8
and CHARACTER_SIZE.width
.
const CHARACTER_SIZE: Size
Size of a single character in pixel.
const CHARACTER_SPACING: u32
Spacing between characters.
The spacing defines how many empty pixels are added horizontally between adjacent characters on a single line of text.
Required methods
fn char_offset(_: char) -> u32
Returns the position a character in the font.
Implementors
impl Font for Font12x16
[src]
Config for 12x16 font