Author |
Message |
captain_picard
Communications Officer
Joined: 21 Aug 2008, 16:59 Posts: 717 Location: On this multiverse: EU
|
I just started translating some of the strings of the game in Greek. However, the result (see the photo) is damn ugly . The letters are way bigger the are supposed to be. Any ideas? (I saved the file in UTF-8.)
Attachments:
trans.JPG [ 11.38 KiB | Viewed 8587 times ]
_________________"Never give up. Never surrender." -- Kenneth_of_Borg"Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again" -- Picard (The Inner Light)
|
11 Sep 2008, 22:57 |
|
|
Matress_of_evil
Evil Romulan Overlord of Evil - Now 100% Faster!
Joined: 02 Dec 2004, 01:00 Posts: 7392 Location: Returned to the previous place.
|
The letters might be bigger - but is it really a problem? If you're going to translate the whole thing, then all of the other writing would be made bigger accordingly, so it wouldn't look out of place.
...Of course, it would be a problem where the text barely fits in its current font. I don't know much about the different file and font encodings, so sorry if this sounds patronising, but have you tried reducing the size of the font? I know Notepad can handle both font sizes and UTF-8...
_________________"Anyone without a sense of humour is truly at the mercy of the rest of us."
|
11 Sep 2008, 23:07 |
|
|
captain_picard
Communications Officer
Joined: 21 Aug 2008, 16:59 Posts: 717 Location: On this multiverse: EU
|
Changing the font size was the first thing I changed, but to no avail. Quote: The letters might be bigger - but is it really a problem? Actually, it does... "Continue" is smaller than "Single player" and the greek translation ("monos paiktis") is still bigger. So, yes it is a problem
_________________"Never give up. Never surrender." -- Kenneth_of_Borg"Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again" -- Picard (The Inner Light)
|
11 Sep 2008, 23:23 |
|
|
captain_picard
Communications Officer
Joined: 21 Aug 2008, 16:59 Posts: 717 Location: On this multiverse: EU
|
Actually, I translated the whole column and it seems a bit weird... In the fourth line from the top Omega is totally squeezed (it's not supposed to be like this, see the photo: http://en.wikipedia.org/wiki/Omega) However, if there's no easy solution, I bet it doesn't matter that much
Attachments:
trans1.JPG [ 24.72 KiB | Viewed 8591 times ]
_________________"Never give up. Never surrender." -- Kenneth_of_Borg"Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again" -- Picard (The Inner Light)
|
11 Sep 2008, 23:48 |
|
|
mstrobel
Chief Software Engineer
Joined: 11 Aug 2005, 01:00 Posts: 2688
|
Unfortunately, the LCARS font does not include any Greek characters other than capital omega, small mu and small pi (hence the "squeezed" omega in your screenshot). The same goes for the other two compressed fonts I have. I'll have to provide a way to override the default fonts.
_________________ Lead Developer of Star Trek: Supremacy 253,658 lines of code and counting...
|
12 Sep 2008, 02:04 |
|
|
Matress_of_evil
Evil Romulan Overlord of Evil - Now 100% Faster!
Joined: 02 Dec 2004, 01:00 Posts: 7392 Location: Returned to the previous place.
|
Can't you just edit the font file and add in the characters that are needed? I've never made a font file before, but i've heard of people using editors to make their own fonts. There has to be some way that they make fonts afterall. If Supremacy had a font file that contained all the characters people need for their languages (Ok, maybe not Chinese ), then there wouldn't be a need for an override. Then again, an override might be useful to people who want to mod the game in future...
_________________"Anyone without a sense of humour is truly at the mercy of the rest of us."
|
12 Sep 2008, 10:33 |
|
|
captain_picard
Communications Officer
Joined: 21 Aug 2008, 16:59 Posts: 717 Location: On this multiverse: EU
|
_________________"Never give up. Never surrender." -- Kenneth_of_Borg"Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again" -- Picard (The Inner Light)
|
12 Sep 2008, 10:39 |
|
|
mstrobel
Chief Software Engineer
Joined: 11 Aug 2005, 01:00 Posts: 2688
|
Yes, it is possible to edit the font and add in missing characters, but somebody has to design those glyphs. It's not that straightforward--you need to provide hinting to ensure that they render properly at lower point sizes. It's quite a bit of work, and I have no experience in that area.
_________________ Lead Developer of Star Trek: Supremacy 253,658 lines of code and counting...
|
12 Sep 2008, 14:23 |
|
|
captain_picard
Communications Officer
Joined: 21 Aug 2008, 16:59 Posts: 717 Location: On this multiverse: EU
|
Actually, I just managed to have Fontforge up and running. I agree that creating fonts is tedious, but editing them, eg stretching say Omega, is veeeery easy with this program . So Mike, which is the font used that I should edit? (there's a whole bunch of them in \Resources\Fonts)
_________________"Never give up. Never surrender." -- Kenneth_of_Borg"Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again" -- Picard (The Inner Light)
|
17 Sep 2008, 09:03 |
|
|
mstrobel
Chief Software Engineer
Joined: 11 Aug 2005, 01:00 Posts: 2688
|
captain_picard wrote: Actually, I just managed to have Fontforge up and running. I agree that creating fonts is tedious, but editing them, eg stretching say Omega, is veeeery easy with this program . So Mike, which is the font used that I should edit? (there's a whole bunch of them in \Resources\Fonts) Helvetica Ultra Compressed is the LCARS font. But the problem is that it's missing nearly all of the Greek characters, so you would need to create new glyphs for them.
_________________ Lead Developer of Star Trek: Supremacy 253,658 lines of code and counting...
|
17 Sep 2008, 23:12 |
|
|
captain_picard
Communications Officer
Joined: 21 Aug 2008, 16:59 Posts: 717 Location: On this multiverse: EU
|
If it's missing nearly all of the Greek characters (besides Omega mu etc), then how did I write in Greek? Or perhaps in case some of the characters aren't there, it uses another font for them?
_________________"Never give up. Never surrender." -- Kenneth_of_Borg"Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again" -- Picard (The Inner Light)
|
18 Sep 2008, 08:58 |
|
|
mstrobel
Chief Software Engineer
Joined: 11 Aug 2005, 01:00 Posts: 2688
|
captain_picard wrote: If it's missing nearly all of the Greek characters (besides Omega mu etc), then how did I write in Greek? Or perhaps in case some of the characters aren't there, it uses another font for them? If a character is missing from a font, then it use the character the default font in its place. That's why the omega in your screenshot is very narrow while the rest of the characters are wide--the omega is the only greek character supported by the narrow LCARS font--the rest were being displayed in the default system font, which is much wider.
_________________ Lead Developer of Star Trek: Supremacy 253,658 lines of code and counting...
|
18 Sep 2008, 20:27 |
|
|
captain_picard
Communications Officer
Joined: 21 Aug 2008, 16:59 Posts: 717 Location: On this multiverse: EU
|
I edited the LCARS font with fontforge making Omega wider. Now it looks much better and I am happy! If you want the modified font I can upload it. Cheers
Attachments:
super.JPG [ 22.7 KiB | Viewed 8379 times ]
_________________"Never give up. Never surrender." -- Kenneth_of_Borg"Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again" -- Picard (The Inner Light)
Last edited by captain_picard on 18 Sep 2008, 23:36, edited 1 time in total.
|
18 Sep 2008, 23:29 |
|
|
mstrobel
Chief Software Engineer
Joined: 11 Aug 2005, 01:00 Posts: 2688
|
Unfortunately, there's a greater problem: the wider font will either screw up the layout of the main screens or cause text to be clipped. The LCARS interface was designed for a very narrow font.
_________________ Lead Developer of Star Trek: Supremacy 253,658 lines of code and counting...
|
18 Sep 2008, 23:34 |
|
|
captain_picard
Communications Officer
Joined: 21 Aug 2008, 16:59 Posts: 717 Location: On this multiverse: EU
|
Only Omega is now wider, the others are the same. I didn't see any problems in the menus of the game... (like screwed up layout of the main screens or clipped text). As soon as I havetranslated some more text I'll upload some photos
_________________"Never give up. Never surrender." -- Kenneth_of_Borg"Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again" -- Picard (The Inner Light)
|
18 Sep 2008, 23:59 |
|
|
captain_picard
Communications Officer
Joined: 21 Aug 2008, 16:59 Posts: 717 Location: On this multiverse: EU
|
Hmmm, a closer examination revealed that indeed these problems do occur... Any solutions?
_________________"Never give up. Never surrender." -- Kenneth_of_Borg"Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again" -- Picard (The Inner Light)
|
19 Sep 2008, 00:08 |
|
|
mstrobel
Chief Software Engineer
Joined: 11 Aug 2005, 01:00 Posts: 2688
|
captain_picard wrote: Hmmm, a closer examination revealed that indeed these problems do occur... Any solutions? The only solution is to find a compressed font that includes a full set of Greek glyphs, or to add Greek glyphs to the current LCARS font.
_________________ Lead Developer of Star Trek: Supremacy 253,658 lines of code and counting...
|
19 Sep 2008, 03:40 |
|
|
|