Katakana does not show up correctly in QT5

4 replies [Last post]
megurineturilli
Offline
Joined: 01/10/2012

I'm currently writing a free software replacement for UTAU, that program needs to handle Japanese characters correctly.
But it seems that there is a race condition in QT, in some cases Katakana is not displayed, but Kanji is always displayed.
I used the version of QtCreator that comes with Trisquel, and I did install the Japanese language pack. The system language is English.

Qt Creator 3.0.1
Based on Qt 5.2.1 (GCC 4.8.2, 64 bit)
Built on Apr 9 2014 at 09:12:59
No Third party repository is enabled.

AttachmentSize
qt_kakakana.png7.73 KB
qt_squares.png7.66 KB
moxalt
Offline
Joined: 06/19/2015

On Sun, 11 Oct 2015 21:30:19 +0200 (CEST), name at domain wrote:

> I'm currently writing a free software replacement for UTAU, that program
> needs to handle Japanese characters correctly.
> But it seems that there is a race condition in QT, in some cases Katakana is
> not displayed, but Kanji is always displayed.
> I used the version of QtCreator that comes with Trisquel, and I did install
> the Japanese language pack. The system language is English.
>
> Qt Creator 3.0.1
> Based on Qt 5.2.1 (GCC 4.8.2, 64 bit)
> Built on Apr 9 2014 at 09:12:59
> No Third party repository is enabled.

What is the first image of? It seems to be working fine. Could you explain the
difference between the two? What did you change that caused the bug?

megurineturilli
Offline
Joined: 01/10/2012

the second one (qt_squares) is broken, and the result is not predictable. I could try to use a newer version of Qt on debian in a vm for a quick test, or test on ubuntu and file the bug to ubuntu.

onpon4
Offline
Joined: 05/30/2012

The first thing I would check is the font being used. Perhaps, for example, you're using a font that supports traditional Chinese but doesn't have proper Japanese support. Or perhaps you're accidentally switching between different fonts, and one of them doesn't work.

quantumgravity
Offline
Joined: 04/22/2013

Does the problem only occur with katakana or also with hiragana?