Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
6.0
-
None
Description
The harfbuzz dependecies was raised to 2.6+. This introduces compile time errors as the current setup still accepts a system harfbuzz whose version is too low. It causes the compile error below. Most Linux LTS distros do not support harfbuzz 2.6 yet.
Please adjust the harfbuzz system compile test to only accept harfbuzz versions with a sufficient version. Most
The current workaround is to pass -qt-harfbuzz to configure.
text/qtextengine.cpp:1668:62: error: ‘HB_FEATURE_GLOBAL_START’ was not declared in this scope
{ HB_TAG('k','e','r','n'), !!kerningEnabled, HB_FEATURE_GLOBAL_START, HB_FEATURE_GLOBAL_END },
^~~~~~~~~~~~~~~~~~~~~~~
text/qtextengine.cpp:1668:87: error: ‘HB_FEATURE_GLOBAL_END’ was not declared in this scope
{ HB_TAG('k','e','r','n'), !!kerningEnabled, HB_FEATURE_GLOBAL_START, HB_FEATURE_GLOBAL_END },
^~~~~~~~~~~~~~~~~~~~~
text/qfontengine.cpp: In member function ‘bool QFontEngine::supportsScript(QChar::Script) const’:
text/qfontengine.cpp:236:41: error: ‘HB_OT_MAX_TAGS_PER_SCRIPT’ was not declared in this scope
unsigned int script_count = HB_OT_MAX_TAGS_PER_SCRIPT;
^~~~~~~~~~~~~~~~~~~~~~~~~
text/qfontengine.cpp:236:41: note: suggested alternative: ‘HB_OT_MATH_SCRIPT’
unsigned int script_count = HB_OT_MAX_TAGS_PER_SCRIPT;
^~~~~~~~~~~~~~~~~~~~~~~~~
HB_OT_MATH_SCRIPT
text/qfontengine.cpp:240:64: error: ‘script_tags’ was not declared in this scope
&script_count, script_tags,
^~~~~~~~~~~
text/qfontengine.cpp:240:64: note: suggested alternative: ‘script_count’
&script_count, script_tags,
^~~~~~~~~~~
script_count
text/qfontengine.cpp:239:13: error: ‘hb_ot_tags_from_script_and_language’ was not declared in this scope
hb_ot_tags_from_script_and_language(hb_qt_script_to_script(script), HB_LANGUAGE_INVALID,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
text/qfontengine.cpp:239:13: note: suggested alternative: ‘hb_ot_layout_script_find_language’
hb_ot_tags_from_script_and_language(hb_qt_script_to_script(script), HB_LANGUAGE_INVALID,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hb_ot_layout_script_find_language
text/qfontengine.cpp:243:17: error: ‘hb_ot_layout_table_select_script’ was not declared in this scope
if (hb_ot_layout_table_select_script(face, HB_OT_TAG_GSUB, script_count, script_tags, nullptr, nullptr))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
text/qfontengine.cpp:243:17: note: suggested alternative: ‘hb_ot_layout_table_choose_script’
if (hb_ot_layout_table_select_script(face, HB_OT_TAG_GSUB, script_count, script_tags, nullptr, nullptr))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hb_ot_layout_table_choose_script