TrueType glyph loader.

Copyright 1996, 1997 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.

Loads a font glyph into a given glyph info.

The instance and glyph objects faces must match. The load_flags indicate what kind of values should be written to the glyph object (metrics, outline in EM coordinates, grid-fitted outline).

By default (i.e. with load_flags = 0), this function only returns the unscaled glyph metrics and points in EM units.

Use the flags to query scaling and hinting ops.

Returns horizontal or vertical metrics in font units for a given glyph. The metrics are the left side bearing [resp. top side bearing] and advance width [resp. advance height].

This function may move later to another component.