vcl/source/gdi/impglyphitem.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit d669df25d2ac950da85e9d60074d059f9ef1459a
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Tue May 30 09:54:17 2023 +0100
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Tue May 30 15:53:09 2023 +0200

    Related: tdf#155542 drop workaround for "XB Roya" issue
    
    Change-Id: I8323ae631c13da80cc3f4b8b8826cb9b23e788f3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152384
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>

diff --git a/vcl/source/gdi/impglyphitem.cxx b/vcl/source/gdi/impglyphitem.cxx
index 315bdf4f58bb..0607c790886a 100644
--- a/vcl/source/gdi/impglyphitem.cxx
+++ b/vcl/source/gdi/impglyphitem.cxx
@@ -329,10 +329,6 @@ SalLayoutGlyphsCache::GetLayoutGlyphs(VclPtr<const 
OutputDevice> outputDevice, c
     if (nLen == 0)
         return nullptr;
     const CachedGlyphsKey key(outputDevice, text, nIndex, nLen, nLogicWidth);
-    // for now disable if the font is the one seen in tdf#119074
-    // https://github.com/harfbuzz/harfbuzz/issues/3824
-    if (key.fontMetric.GetFamilyName() == "XB Roya")
-        return nullptr;
     GlyphsCache::const_iterator it = mCachedGlyphs.find(key);
     if (it != mCachedGlyphs.end())
     {

Reply via email to