~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to src/3rdparty/freetype/src/base/ftxf86.c

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-24 04:09:09 UTC
  • Revision ID: james.westby@ubuntu.com-20050824040909-xmxe9jfr4a0w5671
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************/
 
2
/*                                                                         */
 
3
/*  ftxf86.c                                                               */
 
4
/*                                                                         */
 
5
/*    FreeType utility file for X11 support (body).                        */
 
6
/*                                                                         */
 
7
/*  Copyright 2002, 2003 by                                                */
 
8
/*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
 
9
/*                                                                         */
 
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.                                        */
 
15
/*                                                                         */
 
16
/***************************************************************************/
 
17
 
 
18
 
 
19
#include <ft2build.h>
 
20
#include FT_XFREE86_H
 
21
#include FT_INTERNAL_OBJECTS_H
 
22
#include FT_SERVICE_XFREE86_NAME_H
 
23
 
 
24
  FT_EXPORT_DEF( const char* )
 
25
  FT_Get_X11_Font_Format( FT_Face  face )
 
26
  {
 
27
    const char*  result = NULL;
 
28
 
 
29
 
 
30
    if ( face )
 
31
      FT_FACE_FIND_SERVICE( face, result, XF86_NAME );
 
32
 
 
33
    return result;
 
34
  }
 
35
 
 
36
 
 
37
/* END */