VincentWei / MiniGUI

A modern and mature cross-platform window system for embedded systems and smart IoT devices.
http://www.minigui.com
GNU General Public License v3.0
694 stars 157 forks source link

minigui not fount hb-ft.h and --with_ft2_includes is invalid #52

Closed huohongpeng closed 4 years ago

huohongpeng commented 4 years ago

Hello, Mr Wei : miniGUI 5.0.3 I have two issues.

  1. hb-ft.h miss after make install harfbuzz, it's not be fount in include/harfbuzz. out info : ....... shape-glyphs-complex.c:76:19: fatal error: hb-ft.h: No such file or directory

    include

    2.--with_ft2_includes is not effect. I guess is a bug : file 2240 with_ft2_includes="" Thanks

VincentWei commented 4 years ago

1) Which version of harfbuzz are you using?

2) I will check this.

Thanks for your report.

steprun commented 4 years ago
configure.ac
@@ -2236,7 +2253,7 @@ if test "x$build_ttf_support" = "xyes"; then
--
AC_DEFINE(_MGFONT_FT2, 1,
        [Define if support TrueType/OpenType fonts based on FreeType2])
 - with_ft2_includes=""
+ #with_ft2_includes=""
huohongpeng commented 4 years ago
  1. Which version of harfbuzz are you using?
  2. I will check this.

Thanks for your report. Mr Wei: Thanks for your reply, Version is . Thanks

VincentWei commented 4 years ago

Thanks for your fix. I have merge it to rel-5-0 branch.

For the hb-ft.h header file, I checked the source code of HarfBuzz 2.5.3, and found that there was the file in the source tree. I think that you did not installed hb correctly. Please check it.

huohongpeng commented 4 years ago

Thanks Wei