2 *************************************************************************
3 * Copyright (C) 2016 and later: Unicode, Inc. and others.
4 * License & terms of use: http://www.unicode.org/copyright.html#License
5 *************************************************************************
6 **********************************************************************
7 * Copyright (C) 2003-2008, International Business Machines
8 * Corporation and others. All Rights Reserved.
9 **********************************************************************
12 #ifndef __FONTTABLECACHE_H
14 #define __FONTTABLECACHE_H
16 #include "layout/LETypes.h"
18 struct FontTableCacheEntry;
25 virtual ~FontTableCache();
27 const void *find(LETag tableTag) const;
30 virtual const void *readFontTable(LETag tableTag) const = 0;
31 virtual void freeFontTable(const void *table) const;
35 void add(LETag tableTag, const void *table);
37 FontTableCacheEntry *fTableCache;
38 le_int32 fTableCacheCurr;
39 le_int32 fTableCacheSize;