1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 10:45:15 +03:00
aports/community/kodi/fix-unicode.patch
psykose 607354731b community/kodi: upgrade to 20.0
this moves around the executables a bit- they don't have to be in usr/
lib/kodi, and dropping the provides=$pkgver lets them be installed in
parallel. we keep -x11 as the default, and also move the `kodi` binary
to it, as all it can do is launch the kodi-x11 backend.
2023-02-20 17:17:00 +01:00

28 lines
959 B
Diff

Patch-Source: https://github.com/xbmc/xbmc/commit/998f301e84a1e51e90be18ee52251733db01b295
--
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'))
{