project-navigation
Personal tools

Author Topic: Translation: about fonts  (Read 21626 times)

Offline Arkblade

  • Rookie
  • ***
  • Posts: 45
    • View Profile
Translation: about fonts
« on: June 11, 2006, 10:47:34 pm »
I started Translation UFOAI.
but, UFOAI seem to don't have my Country Language's font.
and Translation text can't show(change Square) in the game.

I need generate my Country Language's font for UFOAI?

Virtul

  • Guest
Translation: about fonts
« Reply #1 on: June 12, 2006, 09:28:58 am »
umh... what language?


try revision 1393 (or later =) ) it has updated font versions
or if don't use SVN try to download fonts manually from http://dejavu.sourceforge.net/ and http://savannah.nongnu.org/projects/freefont/

Offline Arkblade

  • Rookie
  • ***
  • Posts: 45
    • View Profile
Translation: about fonts
« Reply #2 on: June 12, 2006, 02:38:01 pm »
Japanese.

When I know, Free UCS Outline Fonts and DejaVu fonts don't contain CJK codes.

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
Translation: about fonts
« Reply #3 on: June 12, 2006, 02:47:46 pm »
That's probably a tough one. On Linux, Japanese characters are encoded with the EUC-JP charset, and on Windows, it's SHIFT-JIS. That makes it hard to add support for Japanese to the engine.

Offline Arkblade

  • Rookie
  • ***
  • Posts: 45
    • View Profile
Translation: about fonts
« Reply #4 on: June 12, 2006, 04:04:54 pm »
UTF-8 can't be used?

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
Translation: about fonts
« Reply #5 on: June 12, 2006, 04:09:24 pm »
That would be the solution, yes. You should add it to the feature request tracker.

Offline Arkblade

  • Rookie
  • ***
  • Posts: 45
    • View Profile

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Translation: about fonts
« Reply #7 on: June 12, 2006, 04:29:32 pm »
there is also utf-8 support...

SDL_ttf has utf-8 support

...or did i miss something?

Offline Arkblade

  • Rookie
  • ***
  • Posts: 45
    • View Profile
Translation: about fonts
« Reply #8 on: June 12, 2006, 04:40:22 pm »
Quote from: "Mattn"
there is also utf-8 support...

SDL_ttf has utf-8 support

...or did i miss something?


hmm...
can enable japanese if there is font?

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
Translation: about fonts
« Reply #9 on: June 12, 2006, 04:41:14 pm »
You'll also need to put all your data files in utf-8, and read them correctly (so gettext needs to support it too; don't know if it does already). It's not just a matter of supporting it font-side.

And then you need the glyphs, of course. If Arkblade is right, and the current fonts don't have the Japanese character glyphs, then you'll have to find a font that does.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Translation: about fonts
« Reply #10 on: June 12, 2006, 05:37:30 pm »
that's right - we maybe need another font - but everything else should already be included.

Offline Arkblade

  • Rookie
  • ***
  • Posts: 45
    • View Profile
Translation: about fonts
« Reply #11 on: June 12, 2006, 08:37:05 pm »
Ok, i tested some japanese fonts (and changed ufos/fonts.ufo) and it's work fine.
so we've fonts problem only.:)

Quote

that's right - we maybe need another font - but everything else should already be included.


hmm...
What font do I have to look for?

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Translation: about fonts
« Reply #12 on: June 12, 2006, 08:41:34 pm »
sorry, i can't answer this question - never get in touch with a japanese font.

but it needs to be gpled to get included in the official release.

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
Translation: about fonts
« Reply #13 on: June 12, 2006, 08:55:42 pm »
I know that Windows has the MS Gothic and MS Mincho fonts for Japanese text. They're not GPL, obviously, but I do believe you can download them from the MS website for free.

They don't look appropriate for UFO:AI at all, though.

Offline Arkblade

  • Rookie
  • ***
  • Posts: 45
    • View Profile
Translation: about fonts
« Reply #14 on: June 12, 2006, 09:20:41 pm »
Quote from: "Mattn"
sorry, i can't answer this question - never get in touch with a japanese font.

but it needs to be gpled to get included in the official release.


gpled only?
How about PD and right free?