From 1f876171067c04fc21fccd5a3051f982fd85c0f0 Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 21 Oct 2009 19:07:36 +0000 Subject: Updated to xorg-server-1.7.99.1 --- xorg-server/hw/dmx/doc/html/dmxfont_8c.html | 578 +++++++++++++++++++--------- 1 file changed, 394 insertions(+), 184 deletions(-) (limited to 'xorg-server/hw/dmx/doc/html/dmxfont_8c.html') diff --git a/xorg-server/hw/dmx/doc/html/dmxfont_8c.html b/xorg-server/hw/dmx/doc/html/dmxfont_8c.html index b1c6c9f87..b1768ae01 100644 --- a/xorg-server/hw/dmx/doc/html/dmxfont_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxfont_8c.html @@ -6,243 +6,453 @@ - -
Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals
-

dmxfont.c File Reference

#include "dmx.h"
-#include "dmxsync.h"
-#include "dmxfont.h"
-#include "dmxlog.h"
-#include "fontstruct.h"
-#include "dixfont.h"
-#include "dixstruct.h"
- - - - + + +
+

dmxfont.c File Reference

#include "dmx.h"
+#include "dmxsync.h"
+#include "dmxfont.h"
+#include "dmxlog.h"
+#include <X11/fonts/fontstruct.h>
+#include "dixfont.h"
+#include "dixstruct.h"
+

Functions

void dmxInitFonts (void)
+ + + + + + + + + + + + + + + + + + + +

Defines

#define DMX_FONTPATH_DEBUG   0

Functions

static int dmxFontErrorHandler (Display *dpy, XErrorEvent *ev)
static char ** dmxGetFontPath (int *npaths)
static void dmxFreeFontPath (char **fp)
static Bool dmxCheckFontPathElement (DMXScreenInfo *dmxScreen, char *fp)
static int dmxSetFontPath (DMXScreenInfo *dmxScreen)
static int dmxCheckFontPath (DMXScreenInfo *dmxScreen, int *error)
static int dmxProcSetFontPath (ClientPtr client)
void dmxInitFonts (void)
void dmxResetFonts (void)
Bool dmxBELoadFont (ScreenPtr pScreen, FontPtr pFont)
Bool dmxRealizeFont (ScreenPtr pScreen, FontPtr pFont)
Bool dmxBEFreeFont (ScreenPtr pScreen, FontPtr pFont)
Bool dmxUnrealizeFont (ScreenPtr pScreen, FontPtr pFont)

Variables

static int(* dmxSaveProcVector [256])(ClientPtr)
static int dmxFontLastError
+

Detailed Description

+

This file provides support for fonts.

+

Define Documentation

+ +
+
+ + + + +
#define DMX_FONTPATH_DEBUG   0
+
+
+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
Bool dmxBEFreeFont (ScreenPtr  pScreen,
FontPtr  pFont 
)
+
+
+

Free pFont on the back-end associated with pScreen.

-void dmxResetFonts (void) +

References _DMXScreenInfo::beDisplay, dmxFontPrivateIndex, dmxScreens, and _dmxFontPriv::font.

-Bool dmxBELoadFont (ScreenPtr pScreen, FontPtr pFont) +

Referenced by dmxBEDestroyResources(), and dmxUnrealizeFont().

-Bool dmxRealizeFont (ScreenPtr pScreen, FontPtr pFont) +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
Bool dmxBELoadFont (ScreenPtr  pScreen,
FontPtr  pFont 
)
+
+
+

Load the font, pFont, on the back-end server associated with pScreen. When a font is loaded, the font path on back-end server is first initialized to that specified on the command line with the -fontpath options, and then the font is loaded.

-Bool dmxBEFreeFont (ScreenPtr pScreen, FontPtr pFont) +

References _DMXScreenInfo::beDisplay, dmxCheckFontPathElement(), dmxError, dmxFontPath, dmxFontPrivateIndex, dmxFreeFontPath(), dmxGetFontPath(), dmxIgnoreBadFontPaths, dmxLog(), dmxScreens, dmxSetFontPath(), dmxSync(), dmxWarning, and _dmxFontPriv::font.

-Bool dmxUnrealizeFont (ScreenPtr pScreen, FontPtr pFont) +

Referenced by dmxAttachScreen(), dmxBECreateResources(), and dmxRealizeFont().

- -

Detailed Description

-This file provides support for fonts.

Function Documentation

-

- - - - -
- + + + +
+
+
- - - - + + + + + - - - + + - - + + -
Bool dmxBEFreeFont ScreenPtr  pScreen, static int dmxCheckFontPath (DMXScreenInfo dmxScreen,
FontPtr  pFontint *  error 
) [static]
-
- - - - - -
-   - - -

-Free pFont on the back-end associated with pScreen.

-

- - - - -
- + +
+ +

References _DMXScreenInfo::beDisplay, dmxSetFontPath(), and dmxSync().

+ +

Referenced by dmxProcSetFontPath().

+ +
+ + +
+
+
- - - - + + + + + + + + + - - + + + +
Bool dmxBELoadFont ScreenPtr  pScreen, static Bool dmxCheckFontPathElement (DMXScreenInfo dmxScreen,
char *  fp 
FontPtr  pFont) [static]
+ + + + +
+
+ + + + + + + - - + + + + + + + +
static int dmxFontErrorHandler (Display *  dpy,
XErrorEvent *  ev 
) [static]
+
+
+ +

References dmxFontLastError.

+ +

Referenced by dmxCheckFontPathElement(), and dmxSetFontPath().

+
+
+ +
+
+ + + + + + + + +
static void dmxFreeFontPath (char **  fp )  [static]
-
- - - - - -
-   - - -

-Load the font, pFont, on the back-end server associated with pScreen. When a font is loaded, the font path on back-end server is first initialized to that specified on the command line with the -fontpath options, and then the font is loaded.

-

- - - - -
- + +
+ +

Referenced by dmxBELoadFont(), and dmxSetFontPath().

+ +
+ + +
+
+
- - - - - - + + + + + + +
void dmxInitFonts void   ) static char** dmxGetFontPath (int *  npaths )  [static]
+ +
+ +

References dmxDebug, and dmxLog().

+

Referenced by dmxBELoadFont(), and dmxSetFontPath().

+ +
+ + +
+
+ + + + + + + + +
void dmxInitFonts (void  ) 
-
- - - - - -
-   - - -

-Initialize font support. In addition to the screen function call pointers, DMX also hooks in at the ProcVector[] level. Here the old ProcVector function pointers are saved and the new ProcVector function pointers are initialized.

-

- - - - -
- + +
+

Initialize font support. In addition to the screen function call pointers, DMX also hooks in at the ProcVector[] level. Here the old ProcVector function pointers are saved and the new ProcVector function pointers are initialized.

+ +

References dmxProcSetFontPath(), and dmxSaveProcVector.

+ +

Referenced by InitOutput().

+ +
+ + +
+
+
- - - - + + + + + + +
Bool dmxRealizeFont ScreenPtr  pScreen, static int dmxProcSetFontPath (ClientPtr  client )  [static]
+ +
+ +

References dmxCheckFontPath(), dmxNumScreens, and dmxScreens.

+ +

Referenced by dmxInitFonts().

+ +
+ + +
+
+ + + + + + + + - - - + + - - + + -
Bool dmxRealizeFont (ScreenPtr  pScreen,
FontPtr  pFontFontPtr  pFont 
)
-
- - - - - -
-   - - -

-Realize the font, pFont, on the back-end server associated with pScreen.

-

- - - - -
- + +
+

Realize the font, pFont, on the back-end server associated with pScreen.

+ +

References _DMXScreenInfo::beDisplay, dmxBELoadFont(), dmxFontPrivateIndex, dmxScreens, _dmxFontPriv::font, and _dmxFontPriv::refcnt.

+ +

Referenced by dmxScreenInit().

+ +
+ + +
+
+
- - - - - - + + + + + + +
void dmxResetFonts void   ) void dmxResetFonts (void  ) 
+ +
+

Reset font support by restoring the original ProcVector function pointers.

+ +

References dmxSaveProcVector.

+

Referenced by dmxCloseScreen().

+ +
+ + +
+
+ + + + + + + + +
static int dmxSetFontPath (DMXScreenInfo dmxScreen )  [static]
-
- - - - - -
-   - - -

-Reset font support by restoring the original ProcVector function pointers.

-

- - - - -
- + + + + +
+
+
- - - - + + + + + - - - + + - - + + +
Bool dmxUnrealizeFont ScreenPtr  pScreen, Bool dmxUnrealizeFont (ScreenPtr  pScreen,
FontPtr  pFontFontPtr  pFont 
)
+ +
+

Unrealize the font, pFont, on the back-end server associated with pScreen.

+ +

References _DMXScreenInfo::beDisplay, dmxBEFreeFont(), dmxFontPrivateIndex, dmxScreens, _dmxFontPriv::font, and _dmxFontPriv::refcnt.

+

Referenced by dmxScreenInit().

+ +
+ +

Variable Documentation

+ +
+
+ + + +
int dmxFontLastError [static]
-
- - - - - -
-   - - -

-Unrealize the font, pFont, on the back-end server associated with pScreen.

+

+ +
+ +
+
+ + + + +
int(* dmxSaveProcVector[256])(ClientPtr) [static]
+
+
+ +

Referenced by dmxInitFonts(), and dmxResetFonts().

+ +
+
+
-- cgit v1.2.3