Font loading functions required by MHEG5 engine (Hong Kong profile)  
More...
#include "techtype.h"
#include "mherrors.h"
 
Go to the source code of this file.
 | 
| enum   | E_FontDataType { MHEG5_RAW_FONT_DATA_TTF, 
MHEG5_FONT_FILE_PATH_TTF
 } | 
|   | 
Font loading functions required by MHEG5 engine (Hong Kong profile) 
- Date
 - 25/03/2010 
 
- Author
 - Adam Sturtridge 
 
 
      
        
          | E_MhegErr DVB_MhegGetEmbeddedFont  | 
          ( | 
          const U8BIT *  | 
          fontName,  | 
        
        
           | 
           | 
          S_FontData **  | 
          fontData  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Retrieves the specified embedded font. Depending on the requirements of the platform, it may either pass back: 
- The whole font file in memory, which allows faster rendering but requires a large amount of free memory.
 
- Or the filename of the font file for the engine to open, which requires less memory but will slow down the rendering process. 
- Parameters
 - 
  
    | fontName | Name of the font required, as specified in the application  | 
    | fontData | Pointer to the data for the required font.  | 
  
   
- Returns
 - MHERR_OK - Success MHERR_BAD_PARAMETER - Requested font not available MHERR_INTERNAL - Any other error