diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-03-23 15:57:29 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-03-23 15:57:29 -0700 |
commit | cc824e4f2c9a53a00b36a6f83bf065c363027087 (patch) | |
tree | 92ba2a6a2dba2bb4c53eff98a06681561f5ff255 /src/stubs | |
parent | fc6e22f238d34918156ded34148730075b7b9cc2 (diff) |
Actually use loadable font modules
Loadable font modules were not being initialized, and all font renderers
known at build time were always being initialized, regardless of Xorg
module configuration.
Diffstat (limited to 'src/stubs')
-rw-r--r-- | src/stubs/Makefile.am | 1 | ||||
-rw-r--r-- | src/stubs/fontmod.c | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/stubs/Makefile.am b/src/stubs/Makefile.am index d9f4942..acee880 100644 --- a/src/stubs/Makefile.am +++ b/src/stubs/Makefile.am @@ -10,6 +10,7 @@ libstubs_la_SOURCES = \ errorf.c \ fatalerror.c \ findoldfnt.c \ + fontmod.c \ getcres.c \ getdefptsize.c \ getnewfntcid.c \ diff --git a/src/stubs/fontmod.c b/src/stubs/fontmod.c new file mode 100644 index 0000000..d890b8d --- /dev/null +++ b/src/stubs/fontmod.c @@ -0,0 +1,10 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#ifdef LOADABLEFONTS +#include "stubs.h" +#include <X11/fonts/fontmod.h> + +weak FontModule *FontModuleList; +#endif /* LOADABLEFONTS */ |