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
14
extern
"C"
{
15
#endif
16
24
typedef
enum
{
25
kPDFontStyleRegular
= 0,
26
kPDFontStyleItalic
= 1,
27
kPDFontStyleBold
= 2,
28
kPDFontStyleBoldItalic
= 3
29
}
PDFontStyle
;
30
31
typedef
struct
32
{
33
PDAtom family;
34
PDFontStyle
style;
35
PDAtom format;
36
}
PDFontInfo
;
37
38
typedef
PDErrCode
(PDFSDK_CALLCONV* PDFontEnumProc)(
const
PDFontInfo
* font,
void
* clientData);
39
40
PDF_CORE_API
PDErrCode
PDFSDK_CALLCONV PDEnumStandardFonts(PDFontEnumProc proc,
void
* clientData);
41
PDF_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_
PDErrCode
int32_t PDErrCode
Definition
errors.h:44
PDFontStyle
PDFontStyle
Specifies the styling to apply to a font.
Definition
fonts.h:24
kPDFontStyleItalic
@ kPDFontStyleItalic
Definition
fonts.h:26
kPDFontStyleBold
@ kPDFontStyleBold
Definition
fonts.h:27
kPDFontStyleBoldItalic
@ kPDFontStyleBoldItalic
Definition
fonts.h:28
kPDFontStyleRegular
@ kPDFontStyleRegular
Definition
fonts.h:25
math_types.h
Math types.
PDFontInfo
Definition
fonts.h:32
PDProgressMonitor
Definition
progress_monitor.h:15