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 0679a5cee1.
Change-Id: Ib1392e2ad44577f69e6197bad8ae79791f072086
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174435
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
#include <font/OpenTypeFeatureStrings.hrc>
|
||||
#include <svdata.hxx>
|
||||
|
||||
#include <hb-aat.h>
|
||||
#include <hb-ot.h>
|
||||
#include <hb-graphite2.h>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user