diff options
| author | Georg Gadinger <nilsding@nilsding.org> | 2021-05-09 21:08:04 +0200 |
|---|---|---|
| committer | Georg Gadinger <nilsding@nilsding.org> | 2021-11-26 21:01:42 +0100 |
| commit | 816780e80943ef0ae6e645c1f912a5575fca9770 (patch) | |
| tree | 7521c95b449c0dd73dca0c89c560165fc544d8f9 /src/plugins/Ui/skinned/textscroller.cpp | |
| parent | 596e820fa0e8bca3c53a00481c34ac6f047160ee (diff) | |
| download | qmmp-patches.tar.gz qmmp-patches.tar.bz2 qmmp-patches.zip | |
This makes tracks from e.g. "Turmion Kätilöt" or "Die Ärzte" display
using the bitmap font. Since the characters seem to be UTF-8 anyway, it
seems to be fine in my initial tests...
Diffstat (limited to 'src/plugins/Ui/skinned/textscroller.cpp')
| -rw-r--r-- | src/plugins/Ui/skinned/textscroller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/Ui/skinned/textscroller.cpp b/src/plugins/Ui/skinned/textscroller.cpp index b41041985..b114fbdfa 100644 --- a/src/plugins/Ui/skinned/textscroller.cpp +++ b/src/plugins/Ui/skinned/textscroller.cpp @@ -263,7 +263,7 @@ void TextScroller::processMetaData() void TextScroller::preparePixmap(const QString &text, bool scrollable) { m_scroll = scrollable; - bool bitmap = m_bitmap && (text.toLatin1() == text.toLocal8Bit()); //use bitmap font if possible + bool bitmap = m_bitmap && m_skin->canUseBitmapFont(text); // use bitmap font if possible if(scrollable) { int textWidth = m_bitmap ? QString(text + SCROLL_SEP).size() * 5 |
