summaryrefslogtreecommitdiff
path: root/vcl/source/outdev/font.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2022-05-20 08:35:19 +0200
committerLuboš Luňák <l.lunak@collabora.com>2022-05-20 14:10:54 +0200
commit5788c3e0a56be9e74900fa64d3e17341b6553c6b (patch)
treebb6ff9a17708c5cb3577fd0f5a1d1c583d94bc9f /vcl/source/outdev/font.cxx
parent6a599ff57fb878c07353d93b476706acda6058f3 (diff)
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 <caolanm@redhat.com> Reviewed-by: Luboš Luňák <l.lunak@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'vcl/source/outdev/font.cxx')
-rw-r--r--vcl/source/outdev/font.cxx7
1 files changed, 1 insertions, 6 deletions
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