project-navigation
Personal tools

Author Topic: Display error of Japanese sentence  (Read 4115 times)

Offline Arkblade

  • Rookie
  • ***
  • Posts: 45
    • View Profile
Display error of Japanese sentence
« 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.

Offline Arkblade

  • Rookie
  • ***
  • Posts: 45
    • View Profile
Re: Display error of Japanese sentence
« Reply #1 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.
« Last Edit: November 21, 2007, 06:47:04 am by Arkblade »

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Display error of Japanese sentence
« Reply #2 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.

Offline Arkblade

  • Rookie
  • ***
  • Posts: 45
    • View Profile
Re: Display error of Japanese sentence
« Reply #3 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 ;)

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Display error of Japanese sentence
« Reply #4 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

Offline Arkblade

  • Rookie
  • ***
  • Posts: 45
    • View Profile
Re: Display error of Japanese sentence
« Reply #5 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.