Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Go to the source code of this file.
Functions | |
FT_BEGIN_HEADER | T1_Read_Metrics (FT_Face face, FT_Stream stream) |
T1_Done_Metrics (FT_Memory memory, AFM_FontInfo fi) | |
T1_Get_Kerning (AFM_FontInfo fi, FT_UInt glyph1, FT_UInt glyph2, FT_Vector *kerning) | |
T1_Get_Track_Kerning (FT_Face face, FT_Fixed ptsize, FT_Int degree, FT_Fixed *kerning) | |
T1_Done_Metrics | ( | FT_Memory | memory, |
AFM_FontInfo | fi | ||
) |
T1_Get_Kerning | ( | AFM_FontInfo | fi, |
FT_UInt | glyph1, | ||
FT_UInt | glyph2, | ||
FT_Vector * | kerning | ||
) |
Definition at line 319 of file t1afm.c.
References FT_LOCAL_DEF, idx, AFM_KernPairRec_::index1, AFM_KernPairRec_::index2, KERN_INDEX, AFM_FontInfoRec_::KernPairs, max, vl::min(), AFM_FontInfoRec_::NumKernPair, AFM_KernPairRec_::x, and AFM_KernPairRec_::y.
Definition at line 360 of file t1afm.c.
References AFM_TrackKernRec_::degree, FT_Err_Ok, FT_MulDiv(), FT_THROW(), i, AFM_TrackKernRec_::max_kern, AFM_TrackKernRec_::max_ptsize, AFM_TrackKernRec_::min_kern, AFM_TrackKernRec_::min_ptsize, AFM_FontInfoRec_::NumTrackKern, and AFM_FontInfoRec_::TrackKerns.
FT_BEGIN_HEADER T1_Read_Metrics | ( | FT_Face | face, |
FT_Stream | stream | ||
) |
Definition at line 235 of file t1afm.c.
References PSAux_ServiceRec_::afm_parser_funcs, AFM_FontInfoRec_::Ascender, FT_StreamRec_::cursor, AFM_FontInfoRec_::Descender, error, T1_FontRec_::font_bbox, AFM_FontInfoRec_::FontBBox, AFM_ParserRec_::FontInfo, FT_ERR, FT_FRAME_ENTER, FT_NEW, AFM_ParserRec_::get_index, AFM_Parser_FuncsRec_::init, FT_StreamRec_::limit, FT_StreamRec_::memory, NULL, FT_StreamRec_::size, FT_BBox_::yMax, and FT_BBox_::yMin.
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:55.
© Copyright Michele Bosi. All rights reserved.