Fix that harfbuzz skips the usage of some freetype functions unexpectedly

This commit is contained in:
kumattau authored and Wez Furlong committed 2022-06-11 07:37:58 -07:00
1 parent 5017d57d0a
commit dc947ed0f8
1 file changed
+3 -3
+3 -3
View File
@@ -92,9 +92,9 @@ fn harfbuzz() {
// We know that these are present in our vendored freetype
cfg.define("HAVE_FREETYPE", Some("1"));
cfg.define("HAVE_FT_Get_Var_Blend_Coordinates", Some("1"));
cfg.define("HAVE_FT_Set_Var_Blend_Coordinates", Some("1"));
cfg.define("HAVE_FT_Done_MM_Var", Some("1"));
cfg.define("HAVE_FT_GET_VAR_BLEND_COORDINATES", Some("1"));
cfg.define("HAVE_FT_SET_VAR_BLEND_COORDINATES", Some("1"));
cfg.define("HAVE_FT_DONE_MM_VAR", Some("1"));
// Import the include dirs exported from deps/freetype/build.rs
for inc in std::env::var("DEP_FREETYPE_INCLUDE").unwrap().split(';') {