summaryrefslogtreecommitdiff
path: root/fc-glyphname
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2006-09-01 01:15:14 -0700
committerKeith Packard <keithp@neko.keithp.com>2006-09-01 01:15:14 -0700
commitbc5e487f2a1ad9946aa5c6e19cd75794fc38d530 (patch)
treeaecca6b73781e0dd0476da86f82ffbca5165d364 /fc-glyphname
parentaec8c90b450c115718fd87bc270e35ee6b605967 (diff)
Pass directory information around in FcCache structure. Freeze charsets.
Instead of passing directory information around in separate variables, collect it all in an FcCache structure. Numerous internal and tool interfaces changed as a result of this. Charsets are now pre-frozen before being serialized. This causes them to share across multiple fonts in the same cache.
Diffstat (limited to 'fc-glyphname')
-rw-r--r--fc-glyphname/fc-glyphname.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/fc-glyphname/fc-glyphname.c b/fc-glyphname/fc-glyphname.c
index 8b265e4e..faaa63b4 100644
--- a/fc-glyphname/fc-glyphname.c
+++ b/fc-glyphname/fc-glyphname.c
@@ -24,19 +24,6 @@
#include "fcint.h"
-/* stub definitions for declarations from fcint.h.. */
-int * _fcBankId = 0, * _fcBankIdx = 0;
-FcValueList ** _fcValueLists = 0;
-FcPatternElt ** _fcPatternElts = 0;
-int FcDebugVal = 0;
-
-int
-FcCacheBankToIndexMTF (int bank)
-{
- return 0;
-}
-/* end stub definitions */
-
static int
rawindex (const FcGlyphName *gn);