1 /***************************************************************************/
5 /* Additional Mac-specific API. */
7 /* Copyright 1996-2001 by */
8 /* Just van Rossum, David Turner, Robert Wilhelm, and Werner Lemberg. */
10 /* This file is part of the FreeType project, and may only be used, */
11 /* modified, and distributed under the terms of the FreeType project */
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13 /* this file you indicate that you have read the license and */
14 /* understand and accept it fully. */
16 /***************************************************************************/
19 /***************************************************************************/
21 /* NOTE: Include this file after <freetype/freetype.h> and after the */
22 /* Mac-specific <Types.h> header (or any other Mac header that */
23 /* includes <Types.h>); we use Handle type. */
25 /***************************************************************************/
38 /*************************************************************************/
44 /* Mac-Specific Interface */
47 /* Only available on the Macintosh. */
50 /* The following definitions are only available if FreeType is */
51 /* compiled on a Macintosh. */
53 /*************************************************************************/
56 /*************************************************************************/
59 /* FT_New_Face_From_FOND */
62 /* Creates a new face object from an FOND resource. */
65 /* library :: A handle to the library resource. */
68 /* fond :: An FOND resource. */
70 /* face_index :: Only supported for the -1 `sanity check' special */
74 /* aface :: A handle to a new face object. */
77 /* FreeType error code. 0 means success. */
80 /* This function can be used to create FT_Face abjects from fonts */
81 /* that are installed in the system like so: */
84 /* fond = GetResource( 'FOND', fontName ); */
85 /* error = FT_New_Face_From_FOND( library, fond, 0, &face ); */
89 FT_New_Face_From_FOND( FT_Library library,
101 #endif /* __FT_MAC_H__ */