ReactOS
0.4.16-dev-91-g764881a
ftfntfmt.c
Go to the documentation of this file.
1
/***************************************************************************/
2
/* */
3
/* ftfntfmt.c */
4
/* */
5
/* FreeType utility file for font formats (body). */
6
/* */
7
/* Copyright 2002-2018 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_FONT_FORMATS_H
21
#include FT_INTERNAL_OBJECTS_H
22
#include FT_SERVICE_FONT_FORMAT_H
23
24
25
/* documentation is in ftfntfmt.h */
26
27
FT_EXPORT_DEF
(
const
char
* )
28
FT_Get_Font_Format
(
FT_Face
face
)
29
{
30
const
char
*
result
=
NULL
;
31
32
33
if
(
face
)
34
FT_FACE_FIND_SERVICE
(
face
,
result
, FONT_FORMAT );
35
36
return
result
;
37
}
38
39
40
/* deprecated function name; retained for ABI compatibility */
41
42
FT_EXPORT_DEF
(
const
char
* )
43
FT_Get_X11_Font_Format
(
FT_Face
face
)
44
{
45
const
char
*
result
=
NULL
;
46
47
48
if
(
face
)
49
FT_FACE_FIND_SERVICE
(
face
,
result
, FONT_FORMAT );
50
51
return
result
;
52
}
53
54
55
/* END */
NULL
#define NULL
Definition:
types.h:112
FT_EXPORT_DEF
#define FT_EXPORT_DEF(x)
Definition:
ftconfig.h:483
FT_Get_Font_Format
FT_Get_Font_Format(FT_Face face)
Definition:
ftfntfmt.c:28
FT_Get_X11_Font_Format
FT_Get_X11_Font_Format(FT_Face face)
Definition:
ftfntfmt.c:43
FT_FACE_FIND_SERVICE
#define FT_FACE_FIND_SERVICE(face, ptr, id)
Definition:
ftserv.h:75
face
GLenum GLuint GLint GLenum face
Definition:
glext.h:7025
result
GLuint64EXT * result
Definition:
glext.h:11304
FT_FaceRec_
Definition:
freetype.h:1069
sdk
lib
3rdparty
freetype
src
base
ftfntfmt.c
Generated on Fri Oct 4 2024 06:12:31 for ReactOS by
1.9.6