forked from ports/contrib
27 lines
865 B
Diff
27 lines
865 B
Diff
From 5ce034ff98754d1b0e8e9eda2afcab595b9f4f82 Mon Sep 17 00:00:00 2001
|
|
From: CrystalP <crystalp@kodi.tv>
|
|
Date: Mon, 30 Jan 2023 22:53:18 -0500
|
|
Subject: [PATCH] render the .notdef characters to fix drawing of text with
|
|
unicode chars missing in font
|
|
|
|
---
|
|
xbmc/guilib/GUIFontTTF.cpp | 5 -----
|
|
1 file changed, 5 deletions(-)
|
|
|
|
diff --git a/xbmc/guilib/GUIFontTTF.cpp b/xbmc/guilib/GUIFontTTF.cpp
|
|
index 33e32e8954a80..6b38fb0cbbc0c 100644
|
|
--- a/xbmc/guilib/GUIFontTTF.cpp
|
|
+++ b/xbmc/guilib/GUIFontTTF.cpp
|
|
@@ -492,11 +492,6 @@ void CGUIFontTTF::DrawTextInternal(CGraphicContext& context,
|
|
|
|
// grab the next character
|
|
Character* ch = &characters.front();
|
|
- if (ch->m_glyphAndStyle == 0)
|
|
- {
|
|
- characters.pop();
|
|
- continue;
|
|
- }
|
|
|
|
if ((text[glyph.m_glyphInfo.cluster] & 0xffff) == static_cast<character_t>('\t'))
|
|
{
|