View Issue Details

IDProjectCategoryView StatusLast Update
0000133FSSCPuser interfacepublic2006-11-01 04:59
ReporterCabinet Assigned Totaylor  
PrioritynormalSeveritytextReproducibilityrandom
Status resolvedResolutionfixed 
Summary0000133: Sometimes the first digit of all numbers disappear (for example 026 instead of 1026)
DescriptionSometimes the first digit of all numbers disappear (for example 026 instead of 1026).
TagsNo tags attached.

Activities

taylor

2004-03-07 04:39

administrator   ~0000357

I've seen this with a language/data mismatch. Are you using an English build with English data files or something else? Is it always the same digits that don't show? I've seen this exact problem when using German data files with an English build and language setting. This could be something altogether different though.

Cabinet

2004-03-07 12:21

reporter   ~0000359

Yeah right, German FS2 with English language setting and English build.

Any way to fix this?

kasperl

2004-03-07 15:37

developer   ~0000377

http://mgo.maxgaming.net/mantis/bug_view_page.php?bug_id=0000096

could this be related?

Cabinet

2004-03-07 16:16

reporter   ~0000378

No. It happens with every number (range and so on) not only in the loadout screen.

taylor

2004-03-07 18:40

administrator   ~0000381

For now you've got two options to fix it. One is to use a German build (-DGERMAN_BUILD=1) of FSO but if you can't build that from source yourself then try asking in the forums. Otherwise, a partial fix is to specify the correct Language setting in the registry. If you're using a current Laucher then click on the Registry tab and scroll down to Language. Change English to German and that should fix the font problem. This isn't the same as a German build however so you'll notice some problems on the HUD and other minor things.

I had so many complaints about this same thing with the icculus.org version that I coded a quick little check to checksum the font files and use them to guess the correct language. It could change itself at runtime without any build or registry changes. This has worked out well and this same code is currently in the Linux test version of FSO. I'll take it out of the Linux version and try to get it approved for CVS inclusion.

Lightspeed

2004-03-08 16:50

reporter   ~0000390

Ive had the same problem. Get an english font file (FS2 fonts are stored as files in the VPs) and it will work. you'll lose "ü" "ä" etc (they get some cool arrows and stuff instead), but digits will show up properly.

The files are in root.vp if I remember correctly.

RandomTiger

2004-03-11 21:02

developer   ~0000416

Is this language stuff something I should add to the launcher?

taylor

2004-03-12 00:03

administrator   ~0000417

It can be added to the launcher for French easily but for German it's a build option and a language setting. Just setting the language in that case isn't enough since there are some HUD layout changes and at least one mission specific change that needs the build option. There are keyboard layout issues for the Linux version as well. Having the game set this automatically at runtime was the only way I could come up with to fix this in a way that made everyone happy last year. I'll make a post in the forum and see if anyone would mind if this got put in CVS now or whether it should wait.

taylor

2004-03-28 17:57

administrator   ~0000599

finally applied the patch

taylor

2004-03-31 19:09

administrator   ~0000616

it be fix'ed

taylor

2004-04-14 23:02

administrator   ~0000784

This should be resolved rather than closed. Also it might be a good idea to have the Language reg setting override auto-detection. Easy enough to fix.

taylor

2004-04-14 23:19

administrator   ~0000785

If a reg setting exists then it will pass back to lcl_init() rather than attempting auto-detection. lcl_init() will go through the motions of figuring out if the setting is valid or not, just like before.

fix'ed - again

Cabinet

2005-10-20 21:13

reporter   ~0003604

Last edited: 2005-10-21 00:16

This bug is back since the latest builds. Most of the displays are okay except the distance display.

bearbeitet am: 10-20-05 20:16

taylor

2005-10-21 13:19

administrator   ~0003610

Which build was the last one that worked?

Cabinet

2005-10-21 15:43

reporter   ~0003611

Last edited: 2005-10-21 19:26

I don't know, had a long Away-from-FS break.

It got lost somewhere between December '04 (maybe earlier) and May '05.

The build from the Babylon Project (file date December 26th 2004) works fine.


ps: The problem occurs only for the first and last digit of the distance display.

bearbeitet am: 10-21-05 15:26

taylor

2005-10-22 03:31

administrator   ~0003621

There doesn't appear to be any code change that would affect this. The only other thing that would happen is if your language setting in the registry didn't match your font. A German language setting can't be used with an English font and vise versa. TBP only has an English font as far as I know so if you registry setting is set for English then it would work fine. If you are using a German font otherwise however then an English language setting would cause it to use an incorrect letter (normally blank).

If you have it set to English in the registry and set it to German and see if that fixes it. If so then just completely remove the language setting from the registry and let the game decide which language it should use. That way TBP will be allowed to use English and the normal game can still use German without you having to change it every time.

Cabinet

2005-10-22 11:25

reporter   ~0003623

So there's no code fixing possible.

Okay I'll replace the font files.

taylor

2005-10-22 11:42

administrator   ~0003624

The code isn't broken, it's doing exactly what it's supposed to do. This is just how Volition chose the create the font files, in language specific layouts. The only way to fix this is to create a new font file that works for all languages but that file wouldn't work properly in any older version of FS2_Open or in the retail version. So that's unlikely to happen.

taylor

2005-10-22 12:32

administrator   ~0003627

RE-resolved. Not a code problem.

Issue History

Date Modified Username Field Change
2004-03-07 02:41 Cabinet New Issue
2004-03-07 04:39 taylor Note Added: 0000357
2004-03-07 12:21 Cabinet Note Added: 0000359
2004-03-07 15:37 kasperl Note Added: 0000377
2004-03-07 16:16 Cabinet Note Added: 0000378
2004-03-07 18:40 taylor Note Added: 0000381
2004-03-08 16:50 Lightspeed Note Added: 0000390
2004-03-09 07:52 Rga_Noris Summary Disappearing Digits => Sometimes the first digit of all numbers disappear (for example 026 instead of 1026)
2004-03-11 21:02 RandomTiger Note Added: 0000416
2004-03-12 00:03 taylor Note Added: 0000417
2004-03-13 23:03 taylor Status new => assigned
2004-03-13 23:03 taylor Assigned To => taylor
2004-03-28 17:57 taylor Status assigned => resolved
2004-03-28 17:57 taylor Resolution open => fixed
2004-03-28 17:57 taylor Note Added: 0000599
2004-03-31 19:09 taylor Status resolved => closed
2004-03-31 19:09 taylor Note Added: 0000616
2004-04-14 23:02 taylor Status closed => feedback
2004-04-14 23:02 taylor Resolution fixed => reopened
2004-04-14 23:02 taylor Note Added: 0000784
2004-04-14 23:19 taylor Status feedback => resolved
2004-04-14 23:19 taylor Resolution reopened => fixed
2004-04-14 23:19 taylor Note Added: 0000785
2005-10-20 21:13 Cabinet Status resolved => feedback
2005-10-20 21:13 Cabinet Resolution fixed => reopened
2005-10-20 21:13 Cabinet Note Added: 0003604
2005-10-21 00:16 Cabinet Note Edited: 0003604
2005-10-21 13:19 taylor Note Added: 0003610
2005-10-21 13:20 taylor Status feedback => assigned
2005-10-21 15:43 Cabinet Note Added: 0003611
2005-10-21 15:49 Cabinet Note Edited: 0003611
2005-10-21 16:33 Cabinet Note Edited: 0003611
2005-10-21 19:26 Cabinet Note Edited: 0003611
2005-10-22 03:31 taylor Note Added: 0003621
2005-10-22 11:25 Cabinet Note Added: 0003623
2005-10-22 11:42 taylor Note Added: 0003624
2005-10-22 12:32 taylor Note Added: 0003627
2005-10-22 12:32 taylor Status assigned => resolved
2006-11-01 04:59 taylor Resolution reopened => fixed