blob: 4c385d411a86cc625283d0540bdc9cb0fea2dc30 [file] [log] [blame]
David Turnerd2b1f351999-12-16 23:11:37 +00001/***************************************************************************/
2/* */
3/* ttpost.h */
4/* */
5/* Postcript name table processing for TrueType and OpenType fonts */
6/* (specification). */
7/* */
Werner Lemberg920d41e2000-06-05 14:32:32 +00008/* Copyright 1996-2000 by */
David Turnerd2b1f351999-12-16 23:11:37 +00009/* David Turner, Robert Wilhelm, and Werner Lemberg. */
10/* */
Werner Lemberg920d41e2000-06-05 14:32:32 +000011/* This file is part of the FreeType project, and may only be used, */
12/* modified, and distributed under the terms of the FreeType project */
David Turnerd2b1f351999-12-16 23:11:37 +000013/* license, LICENSE.TXT. By continuing to use, modify, or distribute */
14/* this file you indicate that you have read the license and */
15/* understand and accept it fully. */
16/* */
17/***************************************************************************/
18
19
David Turnerd2b1f351999-12-16 23:11:37 +000020#ifndef TTPOST_H
21#define TTPOST_H
22
David Turnerefce08d2000-05-11 18:23:52 +000023#include <freetype/config/ftconfig.h>
24#include <freetype/internal/tttypes.h>
David Turnerd2b1f351999-12-16 23:11:37 +000025
26#ifdef __cplusplus
27extern "C" {
28#endif
29
30
31#define TT_Err_Invalid_Post_Table_Format 0x0B00
32#define TT_Err_Invalid_Post_Table 0x0B01
33
34#if 0
35 /* the 258 standard Mac glyph names, used for format 1.0 and 2.5 */
36 LOCAL_DEF
37 const TT_String* TT_Mac_Postscript_Names[];
38#endif
39
40
David Turnerbfe2f982000-05-12 12:17:15 +000041 LOCAL_DEF
David Turnerd2b1f351999-12-16 23:11:37 +000042 TT_Error TT_Get_PS_Name( TT_Face face,
43 TT_UInt index,
44 TT_String** PSname );
45
46
47 LOCAL_DEF
48 void TT_Free_Post_Names( TT_Face face );
49
50
51#ifdef __cplusplus
52}
53#endif
54
55
56#endif /* TTPOST_H */
57
58
59/* END */