Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
This support is enabled by default. To disable this feature, add this macro in the configuration.
Remarks
None.
1.5.1.25 GFX_EXTERNAL_FONT_RASTER_BUFFER_SIZE Macro
Macro sets the size of the external font raster buffer.
File
gfx_config_template.h
Syntax
#define GFX_EXTERNAL_FONT_RASTER_BUFFER_SIZE
Description
Macro: GFX_EXTERNAL_FONT_RASTER_BUFFER_SIZE
This macro sets the size of the external font raster buffer. This buffer is used to store the character glyph when the glyph is
being read from external source. The value that is needed will be calculated by the Graphics Resource Converter (GRC).
The value will be shown in the external resource reference c file that the GRC generates.
// example to set the buffer size.
// value is taken from the output of the GRC
#define GFX_EXTERNAL_FONT_RASTER_BUFFER_SIZE 100
A warning will be issued when building the application when:
• when the configuration do not define this macro
• when the defined value is less than the required size
This macro will have no effect when fonts that are sourced externally is not used.
Remarks
None.
1.5.1.26 GFX_free Macro
Macro that defines the free function for versatility when using Operating Systems.
File
gfx_config_template.h
Syntax
#define GFX_free(pObj) free(pObj)
Description
Macro: GFX_free()
This macro definition allows the application to replace the free function to an equivalent function implemented in the
operating system used.
When using the library with object layer and without any replacement functions for the malloc function, this macro must be
defined as:
#define GFX_free(pObj) free(pObj)
Remarks
None.
1.5 Configuring the Library MLA - Graphics Library Help Configuration Options
72
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf