PDF SDK Documentation

Comprehensive Guide for Developers: Features, Integration, and API Reference

Loading...
Searching...
No Matches
fonts.h
Go to the documentation of this file.
1// Copyright (c) 2009-2025 Avanquest Software. All rights reserved.
2
3#ifndef PDFSDK_CORE_FONTS_H_INCLUDED_
4#define PDFSDK_CORE_FONTS_H_INCLUDED_
5
11#include <pdfsdk/math_types.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
30
31typedef struct
32{
33 PDAtom family;
34 PDFontStyle style;
35 PDAtom format;
37
38typedef PDErrCode(PDFSDK_CALLCONV* PDFontEnumProc)(const PDFontInfo* font, void* clientData);
39
40PDF_CORE_API PDErrCode PDFSDK_CALLCONV PDEnumStandardFonts(PDFontEnumProc proc, void* clientData);
41PDF_CORE_API PDErrCode PDFSDK_CALLCONV PDDocEnumFonts(PDDoc doc, PDFontEnumProc proc, void* clientData, PDProgressMonitor* mon, void* monData);
42
43#ifdef __cplusplus
44}
45#endif
46
47#endif // PDFSDK_CORE_FONTS_H_INCLUDED_
int32_t PDErrCode
Definition errors.h:44
PDFontStyle
Specifies the styling to apply to a font.
Definition fonts.h:24
@ kPDFontStyleItalic
Definition fonts.h:26
@ kPDFontStyleBold
Definition fonts.h:27
@ kPDFontStyleBoldItalic
Definition fonts.h:28
@ kPDFontStyleRegular
Definition fonts.h:25
Math types.
Definition fonts.h:32
Definition progress_monitor.h:15