Font Source Selection Macros

Microchip Graphics Library

Microchip Graphics Library
Font Source Selection Macros
Macros
Name 
Description 
Font data can be placed in two locations. One is in FLASH memory and the other is from external memory. Definining one or both enables the support for fonts located in internal flash and external memory. Define this in GraphicsConfig.h
  • USE_FONT_FLASH - Font in internal flash memory support.
  • USE_FONT_EXTERNAL - Font in external memory support (including external memory mapped to EDS).
 
Font data can be placed in two locations. One is in FLASH memory and the other is from external memory. Definining one or both enables the support for fonts located in internal flash and external memory. Define this in GraphicsConfig.h
  • USE_FONT_FLASH - Font in internal flash memory support.
  • USE_FONT_EXTERNAL - Font in external memory support (including external memory mapped to EDS).
 
For XC16 or C30 builds only: When placing fonts in internal data memory, there is a 32K limit for data space. The total data should not exceed 32K. When this is unavoidable, the macro USE_GFX_FONT_IN_PROGRAM_SECTION will relocate the font in program space. This will remove the 32K restriction but at the expense of slower access. Define this in GraphicsConfig.h to enable the font to be placed in program space. 
Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved