sdk-world
v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Toggle main menu visibility
Loading...
Searching...
No Matches
svpostnm.h
Go to the documentation of this file.
1
/****************************************************************************
2
*
3
* svpostnm.h
4
*
5
* The FreeType PostScript name 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 SVPOSTNM_H_
24
#define SVPOSTNM_H_
25
26
#include <
freetype/internal/ftserv.h
>
27
28
29
FT_BEGIN_HEADER
30
31
/*
32
* A trivial service used to retrieve the PostScript name of a given font
33
* when available. The `get_name' field should never be `NULL`.
34
*
35
* The corresponding function can return `NULL` to indicate that the
36
* PostScript name is not available.
37
*
38
* The name is owned by the face and will be destroyed with it.
39
*/
40
41
#define FT_SERVICE_ID_POSTSCRIPT_FONT_NAME "postscript-font-name"
42
43
44
typedef
const
char
*
45
(*FT_PsName_GetFunc)( FT_Face face );
46
47
48
FT_DEFINE_SERVICE( PsFontName )
49
{
50
FT_PsName_GetFunc get_ps_font_name;
51
};
52
53
54
#define FT_DEFINE_SERVICE_PSFONTNAMEREC( class_, get_ps_font_name_ ) \
55
static const FT_Service_PsFontNameRec class_ = \
56
{ \
57
get_ps_font_name_ \
58
};
59
60
/* */
61
62
63
FT_END_HEADER
64
65
66
#endif
/* SVPOSTNM_H_ */
67
68
69
/* END */
ftserv.h
freetype
include
freetype
internal
services
svpostnm.h
Generated by
1.18.0