shithub: freetype+ttf2subf

Download patch

ref: 1b12f5d126c7da38458f5a3b1846c93193a5e8c7
parent: 2676e07aa45761d00ff0cb0101bf0aeb0d95ad05
author: suzuki toshiya <[email protected]>
date: Thu Nov 27 20:22:26 EST 2014

* src/cff/cf2font.c: Include `ftcalc.h' to use FT_MSB(),
cf2font.c could not find it under `make multi' build.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2014-11-27  suzuki toshiya  <[email protected]>
 
+	* src/cff/cf2font.c: Include `ftcalc.h' to use FT_MSB(),
+	cf2font.c could not find it under `make multi' build.
+
+2014-11-27  suzuki toshiya  <[email protected]>
+
 	* src/smooth/ftsmooth.c (ft_smooth_render_generic): Remove
 	unrequired negative value check for `width' and `height'.
 
--- a/src/cff/cf2font.c
+++ b/src/cff/cf2font.c
@@ -36,6 +36,9 @@
 /***************************************************************************/
 
 
+#include <ft2build.h>
+#include FT_INTERNAL_CALC_H
+
 #include "cf2ft.h"
 
 #include "cf2glue.h"