vcl/source/outdev/font.cxx |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

New commits:
commit 5788c3e0a56be9e74900fa64d3e17341b6553c6b
Author:     Luboš Luňák <[email protected]>
AuthorDate: Fri May 20 08:35:19 2022 +0200
Commit:     Luboš Luňák <[email protected]>
CommitDate: Fri May 20 14:10:54 2022 +0200

    remove remnants of hack for tdf#89231
    
    The actual part doing the substitution was removed
    in 47ea13ef8dc8ab9aeded6121845e3ebd1d28b292, so this doesn't really
    do anything.
    
    Change-Id: I47e2e67d6d62bc4279f5efea4b60451dba567ede
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134654
    Reviewed-by: Caolán McNamara <[email protected]>
    Reviewed-by: Luboš Luňák <[email protected]>
    Tested-by: Jenkins

diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx
index 611a49bbdacf..106769eaf1d3 100644
--- a/vcl/source/outdev/font.cxx
+++ b/vcl/source/outdev/font.cxx
@@ -1234,13 +1234,8 @@ std::unique_ptr<SalLayout> 
OutputDevice::ImplGlyphFallbackLayout( std::unique_pt
         if( nFallbackLevel < MAX_FALLBACK-1)
         {
             // ignore fallback font if it is the same as the original font
-            // unless we are looking for a substitution for 0x202F, in which
-            // case we'll just use a normal space
-            if( mpFontInstance->GetFontFace() == pFallbackFont->GetFontFace() 
&&
-                aMissingCodes.indexOf(0x202F) == -1 )
-            {
+            if( mpFontInstance->GetFontFace() == pFallbackFont->GetFontFace())
                 continue;
-            }
         }
 
         // create and add glyph fallback layout to multilayout

Reply via email to