Content-type: text/html
Returns the kerning vector between two glyphs of a same face.
Input:
face :: A handle to a source face object.
left_glyph :: The index of the left glyph in the kern pair.
right_glyph :: The index of the right glyph in the kern pair.
kern_mode :: See FT_Kerning_Mode() for more information. Determines the scale/dimension of the returned kerning vector.
Output:
akerning :: The kerning vector. This is in font units for scalable formats, and in pixels for fixed-sizes formats. Returns the kerning vector between two glyphs of a same face.
Input:
face :: A handle to a source face object.
left_glyph :: The index of the left glyph in the kern pair.
right_glyph :: The index of the right glyph in the kern pair.
kern_mode :: See FT_Kerning_Mode() for more information. Determines the scale/dimension of the returned kerning vector.
Output:
akerning :: The kerning vector. This is in font units for scalable formats, and in pixels for fixed-sizes formats.
Notes: Only horizontal layouts (left-to-right & right-to-left) are supported by this method. Other layouts, or more sophisticated kernings, are out of the scope of this API function -- they can be implemented through format-specific interfaces. FT_EXPORT( FT_Error ) FT_Get_Kerning( FT_Face face, FT_UInt left_glyph, FT_UInt right_glyph, FT_UInt kern_mode, FT_Vector *akerning );
FreeType error code. 0 means success.
This documentation was generated for Freetype 2.0.4 by autodocbook (http://www.stillhq.com). Autodocbook is (c) Michael Still 2001.
Copyright 1996-2000 by
David Turner, Robert Wilhelm, and Werner Lemberg.
This file is part of the FreeType project, and may only be used, modified, and distributed under the terms of the FreeType project license, LICENSE.TXT. By continuing to use, modify, or distribute this file you indicate that you have read the license and understand and accept it fully.
Please report errors in this documentation, and Freetype itself to freetype@freetype.org