ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

ftwinfnt.c
Go to the documentation of this file.
00001 /***************************************************************************/
00002 /*                                                                         */
00003 /*  ftwinfnt.c                                                             */
00004 /*                                                                         */
00005 /*    FreeType API for accessing Windows FNT specific info (body).         */
00006 /*                                                                         */
00007 /*  Copyright 2003, 2004 by                                                */
00008 /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
00009 /*                                                                         */
00010 /*  This file is part of the FreeType project, and may only be used,       */
00011 /*  modified, and distributed under the terms of the FreeType project      */
00012 /*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
00013 /*  this file you indicate that you have read the license and              */
00014 /*  understand and accept it fully.                                        */
00015 /*                                                                         */
00016 /***************************************************************************/
00017 
00018 
00019 #include <ft2build.h>
00020 #include FT_WINFONTS_H
00021 #include FT_INTERNAL_OBJECTS_H
00022 #include FT_SERVICE_WINFNT_H
00023 
00024 
00025   /* documentation is in ftwinfnt.h */
00026 
00027   FT_EXPORT_DEF( FT_Error )
00028   FT_Get_WinFNT_Header( FT_Face               face,
00029                         FT_WinFNT_HeaderRec  *header )
00030   {
00031     FT_Service_WinFnt  service;
00032     FT_Error           error;
00033 
00034 
00035     error = FT_Err_Invalid_Argument;
00036 
00037     if ( face != NULL )
00038     {
00039       FT_FACE_LOOKUP_SERVICE( face, service, WINFNT );
00040 
00041       if ( service != NULL )
00042       {
00043         error = service->get_header( face, header );
00044       }
00045     }
00046 
00047     return error;
00048   }
00049 
00050 
00051 /* END */

Generated on Sat May 26 2012 04:32:39 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.