From 2dd53fd37b7826fe1ff63924206bbb09209ed343 Mon Sep 17 00:00:00 2001 From: Ronny Schmatzler Date: Thu, 12 Mar 2015 22:42:30 +0700 Subject: system/ttmkfdir: Added (fonts.dir creator). Signed-off-by: Willy Sudiarto Raharjo --- system/ttmkfdir/patches/ttmkfdir-3.0.9-cpp.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 system/ttmkfdir/patches/ttmkfdir-3.0.9-cpp.patch (limited to 'system/ttmkfdir/patches/ttmkfdir-3.0.9-cpp.patch') diff --git a/system/ttmkfdir/patches/ttmkfdir-3.0.9-cpp.patch b/system/ttmkfdir/patches/ttmkfdir-3.0.9-cpp.patch new file mode 100644 index 0000000000..58839eda96 --- /dev/null +++ b/system/ttmkfdir/patches/ttmkfdir-3.0.9-cpp.patch @@ -0,0 +1,11 @@ +--- ttmkfdir-3.0.9/ttf.cpp.sopwith Thu Aug 7 12:49:08 2003 ++++ ttmkfdir-3.0.9/ttf.cpp Thu Aug 7 12:50:01 2003 +@@ -239,7 +239,7 @@ + for (i = 0; i < n; i++) { + if ((fterror = FT_Get_Sfnt_Name (face, i, &NamePtr)) != FT_Err_Ok) { + std::cout << "Warning: Can't SFNT name : " << FileName << "(" << fterror << ")" << std::endl; +- return; ++ return NULL; + }; + platform = NamePtr.platform_id; + encoding = NamePtr.encoding_id; -- cgit v1.2.3