summaryrefslogtreecommitdiff
path: root/src/fontcache.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-06-27 21:21:47 +0000
committerrubidium <rubidium@openttd.org>2013-06-27 21:21:47 +0000
commit0c14a586bd13f19ffbf6cd94da4b766254c74821 (patch)
tree48ee495d81e1a596cf617465cef73a0815400c7c /src/fontcache.h
parent6f359bc1f023c6d99b0ba5c50873a456c0e79186 (diff)
downloadopenttd-0c14a586bd13f19ffbf6cd94da4b766254c74821.tar.xz
(svn r25493) -Codechange: support for the safer variant of ICU's getFontTable
Diffstat (limited to 'src/fontcache.h')
-rw-r--r--src/fontcache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fontcache.h b/src/fontcache.h
index 6e4d18b3b..1f52ddcdc 100644
--- a/src/fontcache.h
+++ b/src/fontcache.h
@@ -114,9 +114,10 @@ public:
/**
* Read a font table from the font.
* @param tag The of the table to load.
+ * @param length The length of the read data.
* @return The loaded table data.
*/
- virtual const void *GetFontTable(uint32 tag) = 0;
+ virtual const void *GetFontTable(uint32 tag, size_t &length) = 0;
/**
* Get the font cache of a given font size.