DynaPDF Manual - Page 131

Previous Page 130   Index   Next Page 132

Function Reference
Page 131 of 821
supported on Mac OS X. Note that the font file is not loaded into memory; it is just added to the list
of font files.
The list of search directories can be cleared at runtime with the function ClearHostFonts().
If system fonts are enabled (default) DynaPDF adds the default font directories of the operating
system automatically to the list of font search paths (Windows and Mac OSX only, see
SetUseSystemFonts() for further information). On Windows this is the %WINDIR%/Fonts directory
as well as fonts listed in the Registry and linked fonts.
On Mac OSX the following directories are added to the list of font search paths (in this order):
Return values:
If the function succeeds the function returns the number of found font files (this is maybe not the
number of available fonts, because the list is cleared each time all fonts in the list are processed
during font selection). If the function fails a negative error code is returned.

Previous topic: AddFileComment, AddFontSearchPath

Next topic: AddHeaderFooter

Start Chat