Pervasive Displays Library Suite - Basic edition  5.2.6
Library for Pervasive Displays e-paper screens and EXT3 extension board
font_s Struct Reference

Structure for font. More...

#include <hV_Font.h>

Public Attributes

uint8_t kind
 font description
 
uint8_t height
 general height in pixels
 
uint8_t maxWidth
 maximum width in pixels from *width array
 
uint8_t first
 number of first character, usually 32
 
uint8_t number
 number of characters, usually 96 or 224
 

Detailed Description

Structure for font.

Note
  • Kind of font: see details below
  • Height: set during font generation
  • Width: *width array: characters index and length
  • maxWidth: to be calculated
  • Bytes per character: see *width array
  • Character definition: see *table array


Font kind

  • 0x4-..0x1- 0b7654
  • b7 = 0x8- = high definition, 2 bits per pixel
  • b6 = 0x4- = Monospace
  • b5 = 0x2- = Sans Serif
  • b4 = 0x1- = Serif
  • 0x-1..0x-f 0b3210
  • b3 = 0x-8 = d8 = italic
  • b2 = 0x-4 = d4 = bold
  • b10 = 0x-0..0x-3 = d0..d3 = variant number

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