Details
Description
cmake detect and uses system harfbuzz, but build fails with harfbuzz-3.0.0
qtwebengine/src/3rdparty/chromium/components/paint_preview/common/subset_font.cc: In function 'sk_sp<SkData> paint_preview::SubsetFont(SkTypeface*, const paint_preview::GlyphUsage&)': ../../../../../../../../var/git/qt/qtwebengine/src/3rdparty/chromium/components/paint_preview/common/subset_font.cc:74:3: error: 'hb_subset_input_set_retain_gids' was not declared in this scope; did you mean 'hb_subset_input_set_flags'? 74 | hb_subset_input_set_retain_gids(input.get(), true); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | hb_subset_input_set_flags ../../../../../../../../var/git/qt/qtwebengine/src/3rdparty/chromium/components/paint_preview/common/subset_font.cc:76:35: error: 'hb_subset' was not declared in this scope; did you mean 'hb_set_set'? 76 | HbScoped<hb_face_t> subset_face(hb_subset(face.get(), input.get())); | ^~~~~~~~~ | hb_set_set