Module for fonts on a PDF document. More...

Functions

A3DStatus A3DPDFFontCheck (const A3DUTF8Char *pcFontName, A3DBool *pbFontSupported, A3DUTF8Char **ppcFontPSName)
 Function to check the existence of a PDF font on the local system. More...
 

Detailed Description

Module for fonts on a PDF document.

This module describes the functions and structures that allow you to specify fonts in a document.

Function Documentation

◆ A3DPDFFontCheck()

A3DStatus A3DPDFFontCheck ( const A3DUTF8Char pcFontName,
A3DBool pbFontSupported,
A3DUTF8Char **  ppcFontPSName 
)

Function to check the existence of a PDF font on the local system.

Parameters
[in]pcFontNameThe name of the font
[out]pbFontSupportedtrue if the font can be used, false if not.
[out]ppcFontPSNameThe internal font name as used in PDF. This name should be used in Javascript code to set a font with function textFont.
Returns
A3D_SUCCESS in case of success or an error code
Return values
A3D_SUCCESS
Version
12.2