Content-type: text/html
This function is similar to FT_Attach_File() with the exception that it reads the attachment from an arbitrary stream.
Input / Output:
face :: The target face object.
Input:
parameters :: A pointer to an FT_Open_Args structure used to describe the input stream to FreeType. This function is similar to FT_Attach_File() with the exception that it reads the attachment from an arbitrary stream.
Input / Output:
face :: The target face object.
Input:
parameters :: A pointer to an FT_Open_Args structure used to describe the input stream to FreeType.
Notes: The meaning of the `attach' (i.e. what really happens when the new file is read) is not fixed by FreeType itself. It really depends on the font format (and thus the font driver). Client applications are expected to know what they are doing when invoking this function. Most drivers simply do not implement file attachments. FT_EXPORT( FT_Error ) FT_Attach_Stream( FT_Face face, FT_Open_Args* parameters );
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