Embedded SDK
Embedded SDK
Public Attributes | List of all members
nbgl_font_t Struct Reference

structure defining an ASCII font More...

#include <nbgl_fonts.h>

Collaboration diagram for nbgl_font_t:
Collaboration graph
[legend]

Public Attributes

uint32_t bitmap_len
 Size in bytes of the associated bitmap. More...
 
uint8_t font_id
 ID of the font, from nbgl_font_id_e. More...
 
uint8_t bpp
 number of bits per pixels More...
 
uint8_t height
 height of all characters in pixels More...
 
uint8_t line_height
 height of a line for all characters in pixels More...
 
uint8_t char_kerning
 kerning for the font More...
 
uint8_t crop
 If false, x_min_offset+y_min_offset=bytes to skip. More...
 
uint8_t y_min
 Most top Y coordinate of any char in the font. More...
 
uint8_t first_char
 ASCII code of the first character in bitmap and in characters fields. More...
 
uint8_t last_char
 ASCII code of the last character in bitmap and in characters fields. More...
 
const nbgl_font_character_t *const characters
 array containing definitions of all characters More...
 
uint8_t const * bitmap
 array containing bitmaps of all characters More...
 

Detailed Description

structure defining an ASCII font

Definition at line 80 of file nbgl_fonts.h.

Member Data Documentation

◆ bitmap

uint8_t const* nbgl_font_t::bitmap

array containing bitmaps of all characters

Definition at line 95 of file nbgl_fonts.h.

◆ bitmap_len

uint32_t nbgl_font_t::bitmap_len

Size in bytes of the associated bitmap.

Definition at line 81 of file nbgl_fonts.h.

◆ bpp

uint8_t nbgl_font_t::bpp

number of bits per pixels

Definition at line 83 of file nbgl_fonts.h.

◆ char_kerning

uint8_t nbgl_font_t::char_kerning

kerning for the font

Definition at line 86 of file nbgl_fonts.h.

◆ characters

const nbgl_font_character_t* const nbgl_font_t::characters

array containing definitions of all characters

Definition at line 94 of file nbgl_fonts.h.

◆ crop

uint8_t nbgl_font_t::crop

If false, x_min_offset+y_min_offset=bytes to skip.

Definition at line 87 of file nbgl_fonts.h.

◆ first_char

uint8_t nbgl_font_t::first_char

ASCII code of the first character in bitmap and in characters fields.

Definition at line 90 of file nbgl_fonts.h.

◆ font_id

uint8_t nbgl_font_t::font_id

ID of the font, from nbgl_font_id_e.

Definition at line 82 of file nbgl_fonts.h.

◆ height

uint8_t nbgl_font_t::height

height of all characters in pixels

Definition at line 84 of file nbgl_fonts.h.

◆ last_char

uint8_t nbgl_font_t::last_char

ASCII code of the last character in bitmap and in characters fields.

Definition at line 92 of file nbgl_fonts.h.

◆ line_height

uint8_t nbgl_font_t::line_height

height of a line for all characters in pixels

Definition at line 85 of file nbgl_fonts.h.

◆ y_min

uint8_t nbgl_font_t::y_min

Most top Y coordinate of any char in the font.

Definition at line 88 of file nbgl_fonts.h.


The documentation for this struct was generated from the following file: