sdk-world
v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Toggle main menu visibility
Loading...
Searching...
No Matches
ftfntfmt.h
Go to the documentation of this file.
1
/****************************************************************************
2
*
3
* ftfntfmt.h
4
*
5
* Support functions for font formats.
6
*
7
* Copyright (C) 2002-2025 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
23
#ifndef FTFNTFMT_H_
24
#define FTFNTFMT_H_
25
26
#include <
freetype/freetype.h
>
27
28
#ifdef FREETYPE_H
29
#error "freetype.h of FreeType 1 has been loaded!"
30
#error "Please fix the directory search order for header files"
31
#error "so that freetype.h of FreeType 2 is found first."
32
#endif
33
34
35
FT_BEGIN_HEADER
36
37
38
/**************************************************************************
39
*
40
* @section:
41
* font_formats
42
*
43
* @title:
44
* Font Formats
45
*
46
* @abstract:
47
* Getting the font format.
48
*
49
* @description:
50
* The single function in this section can be used to get the font format.
51
* Note that this information is not needed normally; however, there are
52
* special cases (like in PDF devices) where it is important to
53
* differentiate, in spite of FreeType's uniform API.
54
*
55
*/
56
57
58
/**************************************************************************
59
*
60
* @function:
61
* FT_Get_Font_Format
62
*
63
* @description:
64
* Return a string describing the format of a given face. Possible values
65
* are 'TrueType', 'Type~1', 'BDF', 'PCF', 'Type~42', 'CID~Type~1', 'CFF',
66
* 'PFR', and 'Windows~FNT'.
67
*
68
* The return value is suitable to be used as an X11 FONT_PROPERTY.
69
*
70
* @input:
71
* face ::
72
* Input face handle.
73
*
74
* @return:
75
* Font format string. `NULL` in case of error.
76
*
77
* @note:
78
* A deprecated name for the same function is `FT_Get_X11_Font_Format`.
79
*/
80
FT_EXPORT(
const
char
* )
81
FT_Get_Font_Format( FT_Face face );
82
83
84
/* deprecated */
85
FT_EXPORT(
const
char
* )
86
FT_Get_X11_Font_Format( FT_Face face );
87
88
89
/* */
90
91
92
FT_END_HEADER
93
94
#endif
/* FTFNTFMT_H_ */
95
96
97
/* END */
freetype.h
freetype
include
freetype
ftfntfmt.h
Generated by
1.18.0