head 1.2; access; symbols netbsd-7-2-RELEASE:1.1.1.3 netbsd-7-1-2-RELEASE:1.1.1.3 netbsd-7-1-1-RELEASE:1.1.1.3 netbsd-7-1:1.1.1.3.0.14 netbsd-7-1-RELEASE:1.1.1.3 netbsd-7-1-RC2:1.1.1.3 netbsd-7-1-RC1:1.1.1.3 netbsd-7-0-2-RELEASE:1.1.1.3 netbsd-7-0-1-RELEASE:1.1.1.3 netbsd-7-0:1.1.1.3.0.12 netbsd-7-0-RELEASE:1.1.1.3 netbsd-7-0-RC3:1.1.1.3 netbsd-7-0-RC2:1.1.1.3 netbsd-7-0-RC1:1.1.1.3 netbsd-5-2-3-RELEASE:1.1.1.1 netbsd-5-1-5-RELEASE:1.1.1.1 netbsd-6-0-6-RELEASE:1.1.1.3 netbsd-6-1-5-RELEASE:1.1.1.3 netbsd-7:1.1.1.3.0.10 netbsd-7-base:1.1.1.3 netbsd-6-1-4-RELEASE:1.1.1.3 netbsd-6-0-5-RELEASE:1.1.1.3 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1.1.3 riastradh-drm2:1.1.1.3.0.8 riastradh-drm2-base:1.1.1.3 netbsd-6-1-3-RELEASE:1.1.1.3 netbsd-6-0-4-RELEASE:1.1.1.3 netbsd-5-2-2-RELEASE:1.1.1.1 netbsd-5-1-4-RELEASE:1.1.1.1 netbsd-6-1-2-RELEASE:1.1.1.3 netbsd-6-0-3-RELEASE:1.1.1.3 netbsd-5-2-1-RELEASE:1.1.1.1 netbsd-5-1-3-RELEASE:1.1.1.1 netbsd-6-1-1-RELEASE:1.1.1.3 xorg-server-1-10-6:1.1.1.3 netbsd-6-1:1.1.1.3.0.6 netbsd-6-0-2-RELEASE:1.1.1.3 netbsd-6-1-RELEASE:1.1.1.3 netbsd-6-1-RC4:1.1.1.3 netbsd-6-1-RC3:1.1.1.3 netbsd-6-1-RC2:1.1.1.3 netbsd-6-1-RC1:1.1.1.3 netbsd-5-2:1.1.1.1.0.8 netbsd-6-0-1-RELEASE:1.1.1.3 netbsd-5-2-RELEASE:1.1.1.1 netbsd-5-2-RC1:1.1.1.1 netbsd-6-0:1.1.1.3.0.4 netbsd-6-0-RELEASE:1.1.1.3 netbsd-6-0-RC2:1.1.1.3 netbsd-6-0-RC1:1.1.1.3 netbsd-6:1.1.1.3.0.2 netbsd-6-base:1.1.1.3 netbsd-5-1-2-RELEASE:1.1.1.1 netbsd-5-1-1-RELEASE:1.1.1.1 xorg-server-1-10-3:1.1.1.3 mrg-xorg-server-1-9-5-pre-1-10-3:1.1.1.2 xorg-server-1-9-5:1.1.1.2 xorg-server-1-9-2:1.1.1.2 netbsd-5-1:1.1.1.1.0.6 netbsd-5-1-RELEASE:1.1.1.1 netbsd-5-1-RC4:1.1.1.1 netbsd-5-1-RC3:1.1.1.1 netbsd-5-1-RC2:1.1.1.1 netbsd-5-1-RC1:1.1.1.1 netbsd-5-0-2-RELEASE:1.1.1.1 xorg-server-1-6-5:1.1.1.1 xorg-server-1-6-3:1.1.1.1 netbsd-5-0-1-RELEASE:1.1.1.1 xorg-server-1-6-2:1.1.1.1 xorg-server-1-6-1-901:1.1.1.1 netbsd-5-0:1.1.1.1.0.4 netbsd-5-0-RELEASE:1.1.1.1 netbsd-5-0-RC4:1.1.1.1 netbsd-5-0-RC3:1.1.1.1 netbsd-5-0-RC2:1.1.1.1 netbsd-5-0-RC1:1.1.1.1 netbsd-5:1.1.1.1.0.2 netbsd-5-base:1.1.1.1 xorg-server-1-4-2:1.1.1.1 xorg:1.1.1; locks; strict; comment @# @; 1.2 date 2016.08.11.00.04.28; author mrg; state dead; branches; next 1.1; commitid FQxwnZNPy5ZgOOhz; 1.1 date 2008.07.31.19.50.30; author mrg; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2008.07.31.19.50.30; author mrg; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 2010.11.23.05.21.17; author mrg; state Exp; branches; next 1.1.1.3; 1.1.1.3 date 2011.08.02.06.56.50; author mrg; state Exp; branches; next ; desc @@ 1.2 log @first merge of netbsd changes. not tested yet. @ text @
#include "fontstruct.h"Go to the source code of this file.
Data Structures | |
| struct | _dmxFontPriv |
Typedefs | |
| typedef _dmxFontPriv | dmxFontPrivRec |
| typedef _dmxFontPriv * | dmxFontPrivPtr |
Functions | |
| void | dmxInitFonts (void) |
| void | dmxResetFonts (void) |
| Bool | dmxRealizeFont (ScreenPtr pScreen, FontPtr pFont) |
| Bool | dmxUnrealizeFont (ScreenPtr pScreen, FontPtr pFont) |
| Bool | dmxBELoadFont (ScreenPtr pScreen, FontPtr pFont) |
| Bool | dmxBEFreeFont (ScreenPtr pScreen, FontPtr pFont) |
Variables | |
| int | dmxFontPrivateIndex |
|
|
Font private area. |
|
|
Font private area. |
|
||||||||||||
|
Free pFont on the back-end associated with pScreen. |
|
||||||||||||
|
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. |
|
|
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. |
|
||||||||||||
|
Realize the font, pFont, on the back-end server associated with pScreen. |
|
|
Reset font support by restoring the original ProcVector function pointers. |
|
||||||||||||
|
Unrealize the font, pFont, on the back-end server associated with pScreen. |
|
|
Private index for Fonts |
#include <X11/fonts/fontstruct.h>Go to the source code of this file.
Data Structures | |
| struct | _dmxFontPriv |
Typedefs | |
| typedef struct _dmxFontPriv | dmxFontPrivRec |
| typedef struct _dmxFontPriv * | dmxFontPrivPtr |
Functions | |
| void | dmxInitFonts (void) |
| void | dmxResetFonts (void) |
| Bool | dmxRealizeFont (ScreenPtr pScreen, FontPtr pFont) |
| Bool | dmxUnrealizeFont (ScreenPtr pScreen, FontPtr pFont) |
| Bool | dmxBELoadFont (ScreenPtr pScreen, FontPtr pFont) |
| Bool | dmxBEFreeFont (ScreenPtr pScreen, FontPtr pFont) |
Variables | |
| int | dmxFontPrivateIndex |
Interface for font-related functions.
| typedef struct _dmxFontPriv * dmxFontPrivPtr | d52 19 a70 9
| typedef struct _dmxFontPriv dmxFontPrivRec | d74 25 a98 16
| Bool dmxBEFreeFont | ( | ScreenPtr | pScreen, | a100 1d102 3 a104 2 | FontPtr | pFont | d108 2 a109 2 | ) | d111 1 d113 24 a136 19 |
| Bool dmxBELoadFont | ( | ScreenPtr | pScreen, | a138 1d140 3 a142 2 | FontPtr | pFont | d146 2 a147 2 | ) | d149 1 d151 26 a176 21 |
| void dmxInitFonts | ( | void | ) | d178 1 d180 24 a203 19 |
| Bool dmxRealizeFont | ( | ScreenPtr | pScreen, | a205 1d207 3 a209 2 | FontPtr | pFont | d213 2 a214 2 | ) | d216 1 d218 26 a243 21 |
| void dmxResetFonts | ( | void | ) | d245 1 d247 24 a270 19 |
| Bool dmxUnrealizeFont | ( | ScreenPtr | pScreen, | a272 1d274 3 a276 2 | FontPtr | pFont | d280 2 a281 2 | ) | d283 1 d285 20 a304 15 |
| int dmxFontPrivateIndex | d308 14 a321 7