Set app's own fonts, afterward, engine will try to find the font for a character from these font files one by one, the font with smaller index in the font_file_paths array will have higher priority. If there is no related font in thest font files for a character, the system font will be used. Please call this API after VM_MSG_PAINT event. Set fonts clears the internal cache of the text rendering engine, therefore performance-wise it is better to prevent Reset/Set fonts frequently.
|
Parameters |
Description |
|
VMWSTR font_file_paths[] |
[IN] array of font paths, fullpath of the font data file, for example, L"E:\MTKYH2312F.ttf" |
|
VMINT number_of_fonts |
[IN] number of fonts |
VM_RESULT refer to VM_GRAPHIC_RESULT
vmgraphic_font.h
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.