Vanilla.PDF  1.4.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 {
48 
54 
60  } FontType;
61 
70  VANILLAPDF_API error_type CALLING_CONVENTION Font_Type(FontHandle* handle, FontType* result);
71 
75  VANILLAPDF_API error_type CALLING_CONVENTION Font_ToComposite(FontHandle* handle, CompositeFontHandle** result);
76 
81  VANILLAPDF_API error_type CALLING_CONVENTION Font_Release(FontHandle* handle);
82 
95  VANILLAPDF_API error_type CALLING_CONVENTION CompositeFont_GetUnicodeMap(CompositeFontHandle* handle, UnicodeCharacterMapHandle** result);
96 
100  VANILLAPDF_API error_type CALLING_CONVENTION CompositeFont_Release(CompositeFontHandle* handle);
101 
104 #ifdef __cplusplus
105 };
106 #endif
107 
108 #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:59
A font that defines glyph shapes using Type 1 font technology.
Definition: c_font.h:53
This file contains all type forward declarations returned by the library API.
Definition: c_font.h:47
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...
error_type Font_Type(FontHandle *handle, FontType *result)
Get derived type of current object.
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.
A font composed of glyphs from a descendant CIDFont.
error_type Font_Release(FontHandle *handle)
Decrement the internal reference counter.