2 **********************************************************************
3 * Copyright (C) 2003-2008, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 **********************************************************************
8 #ifndef __FONTTABLECACHE_H
10 #define __FONTTABLECACHE_H
15 #include "layout/LETypes.h"
22 struct FontTableCacheEntry;
29 virtual ~FontTableCache();
31 const void *find(LETag tableTag) const;
34 virtual hb_blob_t *readFontTable(LETag tableTag) const = 0;
35 virtual void freeFontTable(hb_blob_t *blob) const;
39 void add(LETag tableTag, hb_blob_t *blob);
41 FontTableCacheEntry *fTableCache;
42 le_int32 fTableCacheCurr;
43 le_int32 fTableCacheSize;