sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Loading...
Searching...
No Matches
svbdf.h
Go to the documentation of this file.
1/****************************************************************************
2 *
3 * svbdf.h
4 *
5 * The FreeType BDF services (specification).
6 *
7 * Copyright (C) 2003-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 SVBDF_H_
24#define SVBDF_H_
25
26#include <freetype/ftbdf.h>
28
29
30FT_BEGIN_HEADER
31
32
33#define FT_SERVICE_ID_BDF "bdf"
34
35 typedef FT_Error
36 (*FT_BDF_GetCharsetIdFunc)( FT_Face face,
37 const char* *acharset_encoding,
38 const char* *acharset_registry );
39
40 typedef FT_Error
41 (*FT_BDF_GetPropertyFunc)( FT_Face face,
42 const char* prop_name,
43 BDF_PropertyRec *aproperty );
44
45
46 FT_DEFINE_SERVICE( BDF )
47 {
48 FT_BDF_GetCharsetIdFunc get_charset_id;
49 FT_BDF_GetPropertyFunc get_property;
50 };
51
52
53#define FT_DEFINE_SERVICE_BDFRec( class_, \
54 get_charset_id_, \
55 get_property_ ) \
56 static const FT_Service_BDFRec class_ = \
57 { \
58 get_charset_id_, get_property_ \
59 };
60
61 /* */
62
63
64FT_END_HEADER
65
66
67#endif /* SVBDF_H_ */
68
69
70/* END */