Font Module

Functions

A3DStatus

A3DPDFFontCheck

Detailed Description

group a3d_pdf_font_module

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

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

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

Version

12.2

Parameters
  • pcFontName[in] The name of the font

  • pbFontSupported[out] true if the font can be used, false if not.

  • ppcFontPSName[out] The internal font name as used in PDF. This name should be used in Javascript code to set a font with function textFont.

Return values

A3D_SUCCESS

Returns

A3D_SUCCESS in case of success or an error code