diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:48:50 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:48:50 +0000 |
commit | 4349bf0fa125e2a1c32b0b49c974ff5fa588cdbe (patch) | |
tree | 2e4b857f2103cfbcdfcfd53b47334166e139a273 /src/fontfile/register.c | |
parent | 3795e9702b3b3a6fe0594d09cdd110adeb5e42f9 (diff) |
XFree86 4.3.0.1xf86-4_3_0_1PRE_xf86-4_3_0_1
Diffstat (limited to 'src/fontfile/register.c')
-rw-r--r-- | src/fontfile/register.c | 39 |
1 files changed, 38 insertions, 1 deletions
diff --git a/src/fontfile/register.c b/src/fontfile/register.c index 8379f85..385d165 100644 --- a/src/fontfile/register.c +++ b/src/fontfile/register.c @@ -25,6 +25,7 @@ used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. */ +/* $XFree86: xc/lib/font/fontfile/register.c,v 1.15 2001/12/14 19:56:52 dawes Exp $ */ /* * This is in a separate source file so that small programs @@ -32,19 +33,55 @@ in this Software without prior written authorization from The Open Group. * end up dragging in code from all the renderers, which is not small. */ +#include "fontmisc.h" +#include "fntfilst.h" +#include "bitmap.h" + +#ifdef LOADABLEFONTS +#include "fontmod.h" +#endif + void -FontFileRegisterFpeFunctions() +FontFileRegisterFpeFunctions(void) { +#ifndef LOADABLEFONTS BitmapRegisterFontFileFunctions (); #ifndef LOWMEMFTPT #ifndef CRAY +#ifdef BUILD_SPEEDO SpeedoRegisterFontFileFunctions (); +#endif +#ifdef BUILD_TYPE1 Type1RegisterFontFileFunctions(); #endif +#endif +#ifdef BUILD_CID + CIDRegisterFontFileFunctions(); +#endif +#ifdef BUILD_FREETYPE + FreeTypeRegisterFontFileFunctions(); +#endif +#ifdef BUILD_XTRUETYPE + XTrueTypeRegisterFontFileFunctions(); +#endif #endif /* ifndef LOWMEMFTPT */ +#else + { + int i; + + if (FontModuleList) { + for (i = 0; FontModuleList[i].name; i++) { + if (FontModuleList[i].initFunc) + FontModuleList[i].initFunc(); + } + } + } +#endif + FontFileRegisterLocalFpeFunctions (); } + |