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
10
11#include <pdfsdk/math_types.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
30
35typedef struct
36{
37 PDAtom family;
41 PDAtom format;
44
45typedef PDErrCode(PDFSDK_CALLCONV* PDFontEnumProc)(const PDFontInfo* font, void* clientData);
46
47PDF_CORE_API PDErrCode PDFSDK_CALLCONV PDEnumStandardFonts(PDFontEnumProc proc, void* clientData);
48
49#ifdef __cplusplus
50}
51#endif
52
53#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.
Specifies the font information.
Definition fonts.h:36
PDAtom format
Definition fonts.h:41
PDFontStyle style
Definition fonts.h:40
PDAtom family
Definition fonts.h:37