UFO:Alien Invasion

Technical support => Feature Requests => Topic started by: Arkblade on November 20, 2007, 12:16:14 pm

Title: Display error of Japanese sentence
Post by: Arkblade on November 20, 2007, 12:16:14 pm
This is the following continuation.
http://ufoai.ninex.info/forum/index.php?topic=3.120

I encountered the Display error of Japanese sentence.
It is can't be displaying Japanese sentence.
(eg. The sentence is interrupted, The sentence is not displayed, An endless scroll bar appears, and the speed of the game decreases greatly.

It happens by mainly long sentences.
(eg. tip of the day, Outline of campaign, Key setting list, UFO Paedia...

i wish early solution because this bug is related to the progress of the translation.
Title: Re: Display error of Japanese sentence
Post by: Arkblade on November 21, 2007, 06:03:22 am
New information was obtained about this bug.

This bug happens when the length of one line is long.
The error did not occur when putting a lot of EOL(\n) in line.

Therefore, this bug has happened because of possibility of the thing that the line wrapping doesn't work in 2-byte language.

Moreover, the display becomes interrupted in "show key binding" of option when the entire number of characters increases regardless of the length of line.
Title: Re: Display error of Japanese sentence
Post by: Mattn on November 21, 2007, 08:13:27 am
we have the same problems with fps drop in other multibyte character sets (i remember the russian translation here, too)

what we need is a new font renderer with multibyte support.
Title: Re: Display error of Japanese sentence
Post by: Arkblade on November 21, 2007, 10:23:57 am
Quote
what we need is a new font renderer with multibyte support.

like SDL_Pango ?
http://sdlpango.sourceforge.net/

I wish better multibyte support to come ;)
Title: Re: Display error of Japanese sentence
Post by: Mattn on November 21, 2007, 05:45:18 pm
Quote
I wish better multibyte support to come
so do i - now we only need someone who will do it - preferably someone who is using a multi byte language (resp. character set) - what about you? :-D

i looked at sdl_pango already, too - it's definitly an option
Title: Re: Display error of Japanese sentence
Post by: Arkblade on November 22, 2007, 07:58:00 am
Code: [Select]
what about you? :-DI don't know coding. Therefore, it cannot be done :'(
and there is little acquaintance of coder.  :-[
i look forward to the activities of wonderful coders.