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

fonts nicknames to be used for various wallet size targets (non-Nano) More...

#include <nbgl_fonts.h>

Public Attributes

uint32_t bitmap_offset
 offset of this character in chars buffer More...
 
uint32_t encoding: 1
 method used to encode bitmap data More...
 
uint32_t width: 6
 width of character in pixels More...
 
uint32_t x_min_offset: 4
 x_min = x_min_offset More...
 
uint32_t y_min_offset: 6
 y_min = (y_min + y_min_offset) More...
 
uint32_t x_max_offset: 4
 x_max = width - x_max_offset More...
 
uint32_t y_max_offset: 6
 y_max = (height - y_max_offset) More...
 

Detailed Description

fonts nicknames to be used for various wallet size targets (non-Nano)

structure defining an ASCII character (except the bitmap)

Definition at line 66 of file nbgl_fonts.h.

Member Data Documentation

◆ bitmap_offset

uint32_t nbgl_font_character_t::bitmap_offset

offset of this character in chars buffer

Definition at line 67 of file nbgl_fonts.h.

◆ encoding

uint32_t nbgl_font_character_t::encoding

method used to encode bitmap data

Definition at line 68 of file nbgl_fonts.h.

◆ width

uint32_t nbgl_font_character_t::width

width of character in pixels

Definition at line 69 of file nbgl_fonts.h.

◆ x_max_offset

uint32_t nbgl_font_character_t::x_max_offset

x_max = width - x_max_offset

Definition at line 72 of file nbgl_fonts.h.

◆ x_min_offset

uint32_t nbgl_font_character_t::x_min_offset

x_min = x_min_offset

Definition at line 70 of file nbgl_fonts.h.

◆ y_max_offset

uint32_t nbgl_font_character_t::y_max_offset

y_max = (height - y_max_offset)

Definition at line 73 of file nbgl_fonts.h.

◆ y_min_offset

uint32_t nbgl_font_character_t::y_min_offset

y_min = (y_min + y_min_offset)

Definition at line 71 of file nbgl_fonts.h.


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