From 378dd9025e39f7a4e575ba09b7bde8e038fc0b26 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Thu, 3 Oct 2024 19:29:32 +0200 Subject: [PATCH] Revert "tdf#163213: do not show OpenType features if the font has "morx" table" Reason: regression See https://bugs.documentfoundation.org/show_bug.cgi?id=163213#c14 This reverts commit 0679a5cee16ae96c0d11e7d4fc1e59fb0f9cc591. Change-Id: Ib1392e2ad44577f69e6197bad8ae79791f072086 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174435 Reviewed-by: Julien Nabet Tested-by: Julien Nabet --- vcl/source/font/FeatureCollector.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/vcl/source/font/FeatureCollector.cxx b/vcl/source/font/FeatureCollector.cxx index 767d8c39aa73..3e8e2e76e8a5 100644 --- a/vcl/source/font/FeatureCollector.cxx +++ b/vcl/source/font/FeatureCollector.cxx @@ -14,7 +14,6 @@ #include #include -#include #include #include @@ -196,9 +195,7 @@ bool FeatureCollector::collect() } else { - // tdf#163213: Font Features dialog should not show OpenType features if the font has "morx" table - if (!hb_aat_layout_has_substitution(m_pHbFace)) - collectForTable(HB_OT_TAG_GSUB); // substitution + collectForTable(HB_OT_TAG_GSUB); // substitution collectForTable(HB_OT_TAG_GPOS); // positioning return true; }