Syntax
VM_RESULT vm_graphic_get_font_pool_size(
    VMUINT32 max_external_font_size, 
    VMUINT32 max_external_font_number, 
    VMUINT32 max_cache_size, 
    VMUINT32* pool_size
);
ContentsIndex
PreviousUpNext
vm_graphic_get_font_pool_size
Syntax
VM_RESULT vm_graphic_get_font_pool_size(
    VMUINT32 max_external_font_size, 
    VMUINT32 max_external_font_number, 
    VMUINT32 max_cache_size, 
    VMUINT32* pool_size
);
Description

Get the memory size needed for the font pool. The user can allocate memory with desired size, and set it as font pool size by calling vm_graphic_init_font_pool();

Parameters
Parameters 
Description 
VMUINT32 max_external_font_size 
[IN] Bytes, the actual font size when font is loaded in RAM, it can be get by tool. 
VMUINT32 max_external_font_number 
[IN] Max numbers of fonts you want to install. 
VMUINT32 max_cache_size 
[IN] Bytes, normally 64KB ~ 128KB, need more cache if have simplified / Traditional Chinese(128KB ~ 256KB). 
VMUINT32* pool_size 
[OUT] Bytes, total pool size 
Returns
File

vmgraphic_font.h

Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.