Vanilla.PDF  1.5.1
Cross-platform toolkit for creating and modifying PDF documents
c_font.h
Go to the documentation of this file.
1 #ifndef _C_FONT_H
2 #define _C_FONT_H
3 
4 #include "vanillapdf/c_export.h"
5 #include "vanillapdf/c_handles.h"
6 #include "vanillapdf/c_values.h"
7 
8 #ifdef __cplusplus
9 extern "C"
10 {
11 #endif
12 
42  typedef enum {
43  FontType_Undefined = 0,
44 
50 
56 
62  } FontType;
63 
72  VANILLAPDF_API error_type CALLING_CONVENTION Font_GetFontType(FontHandle* handle, FontType* result);
73 
77  VANILLAPDF_API error_type CALLING_CONVENTION Font_ToComposite(FontHandle* handle, CompositeFontHandle** result);
78 
83  VANILLAPDF_API error_type CALLING_CONVENTION Font_Release(FontHandle* handle);
84 
97  VANILLAPDF_API error_type CALLING_CONVENTION CompositeFont_GetUnicodeMap(CompositeFontHandle* handle, UnicodeCharacterMapHandle** result);
98 
102  VANILLAPDF_API error_type CALLING_CONVENTION CompositeFont_Release(CompositeFontHandle* handle);
103 
106 #ifdef __cplusplus
107 };
108 #endif
109 
110 #endif /* _C_FONT_H */
error_type CompositeFont_Release(CompositeFontHandle *handle)
Decrement the internal reference counter.
FontType
Types of fonts.
Definition: c_font.h:42
Base class for all fonts in to representable inside a PDF document.
error_type CompositeFont_GetUnicodeMap(CompositeFontHandle *handle, UnicodeCharacterMapHandle **result)
A stream containing a CMap file that maps character codes to Unicode values (see 9.10, "Extraction of Text Content").
A font that defines glyphs with streams of PDF graphics operators.
Definition: c_font.h:61
A font that defines glyph shapes using Type 1 font technology.
Definition: c_font.h:55
This file contains all type forward declarations returned by the library API.
Definition: c_font.h:49
error_type Font_ToComposite(FontHandle *handle, CompositeFontHandle **result)
Reinterpret current object as CompositeFontHandle.
uint32_t error_type
This is return value type of all API functions.
Definition: c_types.h:25
This file contains macro declarations for importing and exporting symbols from library boundaries...
The Unicode standard defines a system for numbering all of the common characters used in a large numb...
This file contains types and constants used as parameters or return values.
error_type Font_GetFontType(FontHandle *handle, FontType *result)
Get derived type of current object.
A font composed of glyphs from a descendant CIDFont.
error_type Font_Release(FontHandle *handle)
Decrement the internal reference counter.