VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/1.5/X11/fonts/fontproto.h@ 9233

Last change on this file since 9233 was 9233, checked in by vboxsync, 17 years ago

Additions/x11: added header files for X.org server 1.5

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Revision
File size: 3.2 KB
Line 
1/* $XFree86: xc/include/fonts/fontproto.h,v 1.2 1999/09/04 09:14:08 dawes Exp $ */
2
3/***********************************************************
4
5Copyright (c) 1999 The XFree86 Project Inc.
6
7All Rights Reserved.
8
9The above copyright notice and this permission notice shall be included in
10all copies or substantial portions of the Software.
11
12THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
16AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
17CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
18
19Except as contained in this notice, the name of The XFree86 Project
20Inc. shall not be used in advertising or otherwise to promote the
21sale, use or other dealings in this Software without prior written
22authorization from The XFree86 Project Inc..
23
24*/
25#ifndef _FONTPROTO_H
26#define _FONTPROTO_H
27
28/* Externally provided functions required by libXfont */
29
30extern int RegisterFPEFunctions ( NameCheckFunc name_func,
31 InitFpeFunc init_func,
32 FreeFpeFunc free_func,
33 ResetFpeFunc reset_func,
34 OpenFontFunc open_func,
35 CloseFontFunc close_func,
36 ListFontsFunc list_func,
37 StartLfwiFunc start_lfwi_func,
38 NextLfwiFunc next_lfwi_func,
39 WakeupFpeFunc wakeup_func,
40 ClientDiedFunc client_died,
41 LoadGlyphsFunc load_glyphs,
42 StartLaFunc start_list_alias_func,
43 NextLaFunc next_list_alias_func,
44 SetPathFunc set_path_func);
45
46extern int GetDefaultPointSize ( void );
47
48extern int init_fs_handlers ( FontPathElementPtr fpe,
49 BlockHandlerProcPtr block_handler);
50extern void remove_fs_handlers ( FontPathElementPtr fpe,
51 BlockHandlerProcPtr block_handler,
52 Bool all );
53
54extern int client_auth_generation ( ClientPtr client );
55
56#ifndef ___CLIENTSIGNAL_DEFINED___
57#define ___CLIENTSIGNAL_DEFINED___
58extern Bool ClientSignal ( ClientPtr client );
59#endif /* ___CLIENTSIGNAL_DEFINED___ */
60
61extern void DeleteFontClientID ( Font id );
62extern Font GetNewFontClientID ( void );
63extern int StoreFontClientFont ( FontPtr pfont, Font id );
64extern void FontFileRegisterFpeFunctions ( void );
65extern void FontFileCheckRegisterFpeFunctions ( void );
66
67extern Bool XpClientIsBitmapClient ( ClientPtr client );
68extern Bool XpClientIsPrintClient( ClientPtr client, FontPathElementPtr fpe );
69extern void PrinterFontRegisterFpeFunctions ( void );
70
71extern void fs_register_fpe_functions ( void );
72extern void check_fs_register_fpe_functions ( void );
73
74/* util/private.c */
75extern FontPtr CreateFontRec (void);
76extern void DestroyFontRec (FontPtr font);
77extern Bool _FontSetNewPrivate (FontPtr /* pFont */,
78 int /* n */,
79 pointer /* ptr */);
80extern int AllocateFontPrivateIndex (void);
81extern void ResetFontPrivateIndex (void);
82
83/* Type1/t1funcs.c */
84extern void Type1RegisterFontFileFunctions(void);
85extern void CIDRegisterFontFileFunctions(void);
86
87/* Speedo/spfuncs.c */
88extern void SpeedoRegisterFontFileFunctions(void);
89
90/* FreeType/ftfuncs.c */
91extern void FreeTypeRegisterFontFileFunctions(void);
92
93#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette