Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
#include <ft2build.h>
#include "pcf.h"
#include "pcfdrivr.h"
#include "pcfread.h"
#include "pcferror.h"
#include "pcfutil.h"
Go to the source code of this file.
Macros | |
#define | FT_COMPONENT trace_pcfread |
#define | FT_COMPONENT trace_pcfdriver |
Typedefs | |
typedef struct PCF_CMapRec_ | PCF_CMapRec |
typedef struct PCF_CMapRec_ * | PCF_CMap |
Functions | |
pcf_cmap_init (FT_CMap pcfcmap, FT_Pointer init_data) | |
pcf_cmap_done (FT_CMap pcfcmap) | |
pcf_cmap_char_index (FT_CMap pcfcmap, FT_UInt32 charcode) | |
pcf_cmap_char_next (FT_CMap pcfcmap, FT_UInt32 *acharcode) | |
PCF_Face_Done (FT_Face pcfface) | |
PCF_Face_Init (FT_Stream stream, FT_Face pcfface, FT_Int face_index, FT_Int num_params, FT_Parameter *params) | |
PCF_Size_Select (FT_Size size, FT_ULong strike_index) | |
PCF_Size_Request (FT_Size size, FT_Size_Request req) | |
PCF_Glyph_Load (FT_GlyphSlot slot, FT_Size size, FT_UInt glyph_index, FT_Int32 load_flags) | |
pcf_driver_requester (FT_Module module, const char *name) | |
Variables | |
FT_CALLBACK_TABLE_DEF const FT_CMap_ClassRec | pcf_cmap_class |
FT_CALLBACK_TABLE_DEF const FT_Driver_ClassRec | pcf_driver_class |
#define FT_COMPONENT trace_pcfread |
Definition at line 61 of file pcfdrivr.c.
#define FT_COMPONENT trace_pcfdriver |
Definition at line 61 of file pcfdrivr.c.
typedef struct PCF_CMapRec_ * PCF_CMap |
typedef struct PCF_CMapRec_ PCF_CMapRec |
Definition at line 102 of file pcfdrivr.c.
References code, PCF_EncodingRec_::enc, FT_CALLBACK_DEF, PCF_EncodingRec_::glyph, max, and vl::min().
Definition at line 139 of file pcfdrivr.c.
References code, PCF_EncodingRec_::enc, FT_CALLBACK_TABLE_DEF, FT_TRACE1, PCF_EncodingRec_::glyph, max, and vl::min().
pcf_cmap_done | ( | FT_CMap | pcfcmap | ) |
Definition at line 91 of file pcfdrivr.c.
References FT_CALLBACK_DEF, and NULL.
pcf_cmap_init | ( | FT_CMap | pcfcmap, |
FT_Pointer | init_data | ||
) |
Definition at line 74 of file pcfdrivr.c.
References PCF_FaceRec_::encodings, FT_CMAP_FACE, FT_Err_Ok, FT_UNUSED, and PCF_FaceRec_::nencodings.
Definition at line 663 of file pcfdrivr.c.
References FT_CALLBACK_TABLE_DEF, ft_service_list_lookup(), and FT_UNUSED.
PCF_Face_Done | ( | FT_Face | pcfface | ) |
Definition at line 206 of file pcfdrivr.c.
References PCF_PropertyRec_::atom, PCF_FaceRec_::charset_encoding, PCF_FaceRec_::charset_registry, PCF_FaceRec_::comp_source, PCF_FaceRec_::comp_stream, PCF_FaceRec_::encodings, FT_CALLBACK_DEF, FT_FACE_MEMORY, FT_FREE, FT_Stream_Close(), i, PCF_PropertyRec_::isString, PCF_FaceRec_::metrics, PCF_PropertyRec_::name, PCF_FaceRec_::nprops, PCF_FaceRec_::properties, PCF_TocRec_::tables, PCF_FaceRec_::toc, and PCF_PropertyRec_::value.
Referenced by PCF_Face_Init().
PCF_Face_Init | ( | FT_Stream | stream, |
FT_Face | pcfface, | ||
FT_Int | face_index, | ||
FT_Int | num_params, | ||
FT_Parameter * | params | ||
) |
Definition at line 260 of file pcfdrivr.c.
References PCF_FaceRec_::charset_encoding, PCF_FaceRec_::charset_registry, PCF_FaceRec_::comp_source, PCF_FaceRec_::comp_stream, FT_CharMapRec_::encoding, FT_CharMapRec_::encoding_id, error, FT_CharMapRec_::face, FT_Bool, FT_CALLBACK_DEF, FT_CMap_New(), FT_ERR_EQ, FT_Err_Ok, FT_FACE, ft_strcmp, FT_Stream_OpenBzip2(), FT_Stream_OpenGzip(), FT_Stream_OpenLZW(), FT_THROW(), FT_TRACE2, FT_UNUSED, NULL, PCF_Face_Done(), pcf_load_font(), FT_CharMapRec_::platform_id, TT_APPLE_ID_DEFAULT, TT_MS_ID_UNICODE_CS, TT_PLATFORM_APPLE_UNICODE, and TT_PLATFORM_MICROSOFT.
PCF_Glyph_Load | ( | FT_GlyphSlot | slot, |
FT_Size | size, | ||
FT_UInt | glyph_index, | ||
FT_Int32 | load_flags | ||
) |
Definition at line 470 of file pcfdrivr.c.
References PCF_FaceRec_::accel, PCF_MetricRec_::ascent, PCF_FaceRec_::bitmapsFormat, BitOrderInvert(), PCF_MetricRec_::bits, FT_Bitmap_::buffer, PCF_MetricRec_::characterWidth, PCF_MetricRec_::descent, error, PCF_AccelRec_::fontAscent, PCF_AccelRec_::fontDescent, FourByteSwap(), FT_Err_Ok, ft_glyphslot_alloc_bitmap(), FT_PIXEL_MODE_MONO, FT_SIZE_FACE, FT_STREAM_READ, FT_STREAM_SEEK, ft_synthesize_vertical_metrics(), FT_THROW(), FT_TRACE4, FT_TRACE6, FT_UNUSED, PCF_MetricRec_::leftSideBearing, PCF_FaceRec_::metrics, MSBFirst, FT_FaceRec_::num_glyphs, FT_Bitmap_::num_grays, PCF_BIT_ORDER, PCF_BYTE_ORDER, PCF_GLYPH_PAD, PCF_SCAN_UNIT, FT_Bitmap_::pitch, FT_Bitmap_::pixel_mode, PCF_MetricRec_::rightSideBearing, PCF_FaceRec_::root, FT_Bitmap_::rows, FT_FaceRec_::stream, TwoByteSwap(), and FT_Bitmap_::width.
PCF_Size_Request | ( | FT_Size | size, |
FT_Size_Request | req | ||
) |
Definition at line 432 of file pcfdrivr.c.
References PCF_FaceRec_::accel, error, PCF_AccelRec_::fontAscent, PCF_AccelRec_::fontDescent, FT_CALLBACK_DEF, FT_ERR, FT_Err_Ok, FT_REQUEST_HEIGHT, FT_SIZE_REQUEST_TYPE_NOMINAL, FT_SIZE_REQUEST_TYPE_REAL_DIM, FT_THROW(), and PCF_Size_Select().
Definition at line 415 of file pcfdrivr.c.
References PCF_MetricRec_::characterWidth, PCF_AccelRec_::fontAscent, PCF_AccelRec_::fontDescent, FT_CALLBACK_DEF, FT_Err_Ok, FT_Select_Metrics(), and PCF_AccelRec_::maxbounds.
Referenced by PCF_Size_Request().
FT_CALLBACK_TABLE_DEF const FT_CMap_ClassRec pcf_cmap_class |
Definition at line 193 of file pcfdrivr.c.
FT_CALLBACK_TABLE_DEF const FT_Driver_ClassRec pcf_driver_class |
Definition at line 673 of file pcfdrivr.c.
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:55.
© Copyright Michele Bosi. All rights reserved.