~ubuntu-branches/ubuntu/vivid/virtualbox-ose/vivid

« back to all changes in this revision

Viewing changes to src/VBox/Additions/x11/x11include/xorg-server-1.5.3/dixfont.h

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2009-09-14 18:25:07 UTC
  • mfrom: (0.4.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090914182507-c98g07mq16hjmn6d
Tags: 3.0.6-dfsg-1ubuntu1
* Merge from debian unstable (LP: #429697), remaining changes:
  - Enable DKMS support on virtualbox host and guest modules (LP: #267097)
    - Drop virtualbox-ose{-guest,}-modules-* package templates
    - Recommend *-source instead of *-modules packages
    - Replace error messages related to missing/mismatched
      kernel module accordingly
  - Autoload kernel module
    - LOAD_VBOXDRV_MODULE=1 in virtualbox-ose.default
  - Disable update action
    - patches/u01-disable-update-action.dpatch
  - Virtualbox should go in Accessories, not in System tools (LP: #288590)
    - virtualbox-ose-qt.files/virtualbox-ose.desktop
  - Add apport hook
    - virtualbox-ose.files/source_virtualbox-ose.py
    - virtualbox-ose.install
  - Add launchpad integration
    - control
    - lpi-bug.xpm
    - patches/u02-lp-integration.dpatch
  - virtualbox, virtualbox-* (names of the upstream proprietary packages)
    conflict with virtualbox-ose (LP: #379878)
* Make debug package depend on normal or guest utils package
* Drop patches/22-pulseaudio-stubs.dpatch (applied upstream)
* Rename Ubuntu specific patches to uXX-*.dpatch
* Fix lintian warnings in maintainer scripts

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***********************************************************
2
 
Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
3
 
 
4
 
                        All Rights Reserved
5
 
 
6
 
Permission to use, copy, modify, and distribute this software and its
7
 
documentation for any purpose and without fee is hereby granted,
8
 
provided that the above copyright notice appear in all copies and that
9
 
both that copyright notice and this permission notice appear in
10
 
supporting documentation, and that the name of Digital not be
11
 
used in advertising or publicity pertaining to distribution of the
12
 
software without specific, written prior permission.
13
 
 
14
 
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
15
 
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
16
 
DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
17
 
ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
18
 
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
19
 
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
20
 
SOFTWARE.
21
 
 
22
 
******************************************************************/
23
 
 
24
 
#ifndef DIXFONT_H
25
 
#define DIXFONT_H 1
26
 
 
27
 
#include "dix.h"
28
 
#include <X11/fonts/font.h>
29
 
#include "closure.h"
30
 
#include <X11/fonts/fontstruct.h>
31
 
 
32
 
#define NullDIXFontProp ((DIXFontPropPtr)0)
33
 
 
34
 
typedef struct _DIXFontProp *DIXFontPropPtr;
35
 
 
36
 
extern FPEFunctions *fpe_functions;
37
 
 
38
 
extern int FontToXError(int /*err*/);
39
 
 
40
 
extern Bool SetDefaultFont(char * /*defaultfontname*/);
41
 
 
42
 
extern void QueueFontWakeup(FontPathElementPtr /*fpe*/);
43
 
 
44
 
extern void RemoveFontWakeup(FontPathElementPtr /*fpe*/);
45
 
 
46
 
extern void FontWakeup(pointer /*data*/,
47
 
                       int /*count*/,
48
 
                       pointer /*LastSelectMask*/);
49
 
 
50
 
extern int OpenFont(ClientPtr /*client*/,
51
 
                    XID /*fid*/,
52
 
                    Mask /*flags*/,
53
 
                    unsigned /*lenfname*/,
54
 
                    char * /*pfontname*/);
55
 
 
56
 
extern int CloseFont(pointer /*pfont*/,
57
 
                     XID /*fid*/);
58
 
 
59
 
typedef struct _xQueryFontReply *xQueryFontReplyPtr;
60
 
 
61
 
extern void QueryFont(FontPtr /*pFont*/,
62
 
                      xQueryFontReplyPtr /*pReply*/,
63
 
                      int /*nProtoCCIStructs*/);
64
 
 
65
 
extern int ListFonts(ClientPtr /*client*/,
66
 
                     unsigned char * /*pattern*/,
67
 
                     unsigned int /*length*/,
68
 
                     unsigned int /*max_names*/);
69
 
 
70
 
int
71
 
doListFontsWithInfo(ClientPtr /*client*/,
72
 
                    LFWIclosurePtr /*c*/);
73
 
 
74
 
extern int doPolyText(ClientPtr /*client*/,
75
 
                      PTclosurePtr /*c*/
76
 
);
77
 
 
78
 
extern int PolyText(ClientPtr /*client*/,
79
 
                    DrawablePtr /*pDraw*/,
80
 
                    GCPtr /*pGC*/,
81
 
                    unsigned char * /*pElt*/,
82
 
                    unsigned char * /*endReq*/,
83
 
                    int /*xorg*/,
84
 
                    int /*yorg*/,
85
 
                    int /*reqType*/,
86
 
                    XID /*did*/);
87
 
 
88
 
extern int doImageText(ClientPtr /*client*/,
89
 
                       ITclosurePtr /*c*/);
90
 
 
91
 
extern int ImageText(ClientPtr /*client*/,
92
 
                     DrawablePtr /*pDraw*/,
93
 
                     GCPtr /*pGC*/,
94
 
                     int /*nChars*/,
95
 
                     unsigned char * /*data*/,
96
 
                     int /*xorg*/,
97
 
                     int /*yorg*/,
98
 
                     int /*reqType*/,
99
 
                     XID /*did*/);
100
 
 
101
 
extern int SetFontPath(ClientPtr /*client*/,
102
 
                       int /*npaths*/,
103
 
                       unsigned char * /*paths*/,
104
 
                       int * /*error*/);
105
 
 
106
 
extern int SetDefaultFontPath(char * /*path*/);
107
 
 
108
 
extern int GetFontPath(ClientPtr client,
109
 
                       int *count,
110
 
                       int *length,
111
 
                       unsigned char **result);
112
 
 
113
 
extern int LoadGlyphs(ClientPtr /*client*/,
114
 
                      FontPtr /*pfont*/,
115
 
                      unsigned /*nchars*/,
116
 
                      int /*item_size*/,
117
 
                      unsigned char * /*data*/);
118
 
 
119
 
extern void DeleteClientFontStuff(ClientPtr /*client*/);
120
 
 
121
 
/* Quartz support on Mac OS X pulls in the QuickDraw
122
 
   framework whose InitFonts function conflicts here. */
123
 
#ifdef __APPLE__
124
 
#define InitFonts Darwin_X_InitFonts
125
 
#endif
126
 
extern void InitFonts(void);
127
 
 
128
 
extern void FreeFonts(void);
129
 
 
130
 
extern FontPtr find_old_font(XID /*id*/);
131
 
 
132
 
extern void GetGlyphs(FontPtr     /*font*/,
133
 
                      unsigned long /*count*/,
134
 
                      unsigned char * /*chars*/,
135
 
                      FontEncoding /*fontEncoding*/,
136
 
                      unsigned long * /*glyphcount*/,
137
 
                      CharInfoPtr * /*glyphs*/);
138
 
 
139
 
extern void QueryGlyphExtents(FontPtr     /*pFont*/,
140
 
                              CharInfoPtr * /*charinfo*/,
141
 
                              unsigned long /*count*/,
142
 
                              ExtentInfoPtr /*info*/);
143
 
 
144
 
extern Bool QueryTextExtents(FontPtr     /*pFont*/,
145
 
                             unsigned long /*count*/,
146
 
                             unsigned char * /*chars*/,
147
 
                             ExtentInfoPtr /*info*/);
148
 
 
149
 
extern Bool ParseGlyphCachingMode(char * /*str*/);
150
 
 
151
 
extern void InitGlyphCaching(void);
152
 
 
153
 
extern void SetGlyphCachingMode(int /*newmode*/);
154
 
 
155
 
#endif                          /* DIXFONT_H */