Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:57:25

0001 /*
0002  * fontconfig/fontconfig/fcfreetype.h
0003  *
0004  * Copyright © 2001 Keith Packard
0005  *
0006  * Permission to use, copy, modify, distribute, and sell this software and its
0007  * documentation for any purpose is hereby granted without fee, provided that
0008  * the above copyright notice appear in all copies and that both that
0009  * copyright notice and this permission notice appear in supporting
0010  * documentation, and that the name of the author(s) not be used in
0011  * advertising or publicity pertaining to distribution of the software without
0012  * specific, written prior permission.  The authors make no
0013  * representations about the suitability of this software for any purpose.  It
0014  * is provided "as is" without express or implied warranty.
0015  *
0016  * THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
0017  * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
0018  * EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
0019  * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
0020  * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
0021  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
0022  * PERFORMANCE OF THIS SOFTWARE.
0023  */
0024 
0025 #ifndef _FCFREETYPE_H_
0026 #define _FCFREETYPE_H_
0027 #include <ft2build.h>
0028 #include FT_FREETYPE_H
0029 
0030 #ifndef FcPublic
0031 #define FcPublic
0032 #endif
0033 
0034 _FCFUNCPROTOBEGIN
0035 
0036 FcPublic FT_UInt
0037 FcFreeTypeCharIndex (FT_Face face, FcChar32 ucs4);
0038 
0039 FcPublic FcCharSet *
0040 FcFreeTypeCharSetAndSpacing (FT_Face face, FcBlanks *blanks, int *spacing);
0041     
0042 FcPublic FcCharSet *
0043 FcFreeTypeCharSet (FT_Face face, FcBlanks *blanks);
0044 
0045 FcPublic FcResult
0046 FcPatternGetFTFace (const FcPattern *p, const char *object, int n, FT_Face *f);
0047 
0048 FcPublic FcBool
0049 FcPatternAddFTFace (FcPattern *p, const char *object, const FT_Face f);
0050 
0051 FcPublic FcPattern *
0052 FcFreeTypeQueryFace (const FT_Face  face,
0053              const FcChar8  *file,
0054              unsigned int   id,
0055              FcBlanks       *blanks);
0056 
0057 _FCFUNCPROTOEND
0058 
0059 #endif