Content-type: text/html Manpage of FT_Attach_File

FT_Attach_File

Section: Misc. Reference Manual Pages (3)
Index Return to Main Contents
 

NAME

FT_Attach_File  

DESCRIPTION

`Attaches' a given font file to an existing face. This is usually to read additional information for a single face object. For example, it is used to read the AFM files that come with Type 1 fonts in order to add kerning data and other metrics.

Input / Output:

face :: The target face object.

Input:

filepathname :: An 8-bit pathname naming the `metrics' file. `Attaches' a given font file to an existing face. This is usually to read additional information for a single face object. For example, it is used to read the AFM files that come with Type 1 fonts in order to add kerning data and other metrics.

Input / Output:

face :: The target face object.

Input:

filepathname :: An 8-bit pathname naming the `metrics' file.

Notes: If your font file is in memory, or if you want to provide your own input stream object, use FT_Attach_Stream(). The meaning of the `attach' action (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_File( FT_Face face, const char* filepathname );  

RETURNS

FreeType error code. 0 means success.  

VERSION

This documentation was generated for Freetype 2.0.4 by autodocbook (http://www.stillhq.com). Autodocbook is (c) Michael Still 2001.
      

AUTHOR

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.  

BUGS

Please report errors in this documentation, and Freetype itself to freetype@freetype.org


 

Index

NAME
DESCRIPTION
RETURNS
VERSION
AUTHOR
BUGS

This document was created by man2html, using the manual pages.
Time: 04:44:35 GMT, July 26, 2001