Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
#include <ft2build.h>
Go to the source code of this file.
Functions | |
void | dump_fontinfo (AFM_FontInfo fi) |
int | dummy_get_index (const char *name, FT_Offset len, void *user_data) |
FT_Error | parse_afm (FT_Library library, FT_Stream stream, AFM_FontInfo fi) |
int | main (int argc, char **argv) |
Definition at line 65 of file test_afm.c.
Referenced by parse_afm().
void dump_fontinfo | ( | AFM_FontInfo | fi | ) |
Definition at line 10 of file test_afm.c.
References AFM_FontInfoRec_::Ascender, AFM_TrackKernRec_::degree, AFM_FontInfoRec_::Descender, AFM_FontInfoRec_::FontBBox, i, AFM_KernPairRec_::index1, AFM_KernPairRec_::index2, AFM_FontInfoRec_::IsCIDFont, AFM_FontInfoRec_::KernPairs, AFM_TrackKernRec_::max_kern, AFM_TrackKernRec_::max_ptsize, AFM_TrackKernRec_::min_kern, AFM_TrackKernRec_::min_ptsize, AFM_FontInfoRec_::NumKernPair, AFM_FontInfoRec_::NumTrackKern, AFM_FontInfoRec_::TrackKerns, AFM_KernPairRec_::x, FT_BBox_::xMax, FT_BBox_::xMin, AFM_KernPairRec_::y, FT_BBox_::yMax, and FT_BBox_::yMin.
Referenced by main().
Definition at line 111 of file test_afm.c.
References dump_fontinfo(), error, FT_Done_FreeType(), FT_ERR, FT_Err_Ok, FT_FREE, FT_Init_FreeType(), FT_Stream_Close(), FT_Stream_Open(), FT_ZERO, AFM_FontInfoRec_::KernPairs, library, FT_StreamRec_::memory, FT_LibraryRec_::memory, parse_afm(), and AFM_FontInfoRec_::TrackKerns.
FT_Error parse_afm | ( | FT_Library | library, |
FT_Stream | stream, | ||
AFM_FontInfo | fi | ||
) |
Definition at line 76 of file test_afm.c.
References PSAux_ServiceRec_::afm_parser_funcs, FT_StreamRec_::cursor, AFM_Parser_FuncsRec_::done, dummy_get_index(), error, AFM_ParserRec_::FontInfo, FT_Err_Ok, FT_Get_Module_Interface(), FT_Stream_EnterFrame(), AFM_ParserRec_::get_index, AFM_Parser_FuncsRec_::init, FT_StreamRec_::limit, FT_LibraryRec_::memory, AFM_Parser_FuncsRec_::parse, and FT_StreamRec_::size.
Referenced by main().
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:55.
© Copyright Michele Bosi. All rights reserved.