07-19-2006, 04:15 AM
As an experiment I tried encoding the lang file in Shift-JIS (the non-Unicode standard for a Japanese Windows environment) and replacing the Verdana font file with a Japanese font. Unfortunately, it doesn't work. Penumbra still tries to interpret the double-byte characters as two single-byte characters.
Here's how it was supposed to look (not an actual screen):
![[Image: sample1fc2.png]](http://img118.imageshack.us/img118/4774/sample1fc2.png)
This is what actually happened with most Japanese fonts:
![[Image: sample2by1.png]](http://img118.imageshack.us/img118/8154/sample2by1.png)
This is what happened with Kochi Gothic, a freeware font that has some bitmaps:
![[Image: sample3vw0.png]](http://img80.imageshack.us/img80/4666/sample3vw0.png)
Taking out the bitmaps with a font editor returned it to the 2nd example.
Also, it would be helpful if you added a way for the language file to specify the font for each script item or something, like:
...because Japanese font files are very large (Kochi Gothic is 5-8 MB depending on bitmaps) and it would make sense to only use one of them in place of all 5 current fonts.
Here's how it was supposed to look (not an actual screen):
![[Image: sample1fc2.png]](http://img118.imageshack.us/img118/4774/sample1fc2.png)
This is what actually happened with most Japanese fonts:
![[Image: sample2by1.png]](http://img118.imageshack.us/img118/8154/sample2by1.png)
This is what happened with Kochi Gothic, a freeware font that has some bitmaps:
![[Image: sample3vw0.png]](http://img80.imageshack.us/img80/4666/sample3vw0.png)
Taking out the bitmaps with a font editor returned it to the 2nd example.
Also, it would be helpful if you added a way for the language file to specify the font for each script item or something, like:
Code:
<Entry Name="CokeCan" Font="kochi-gothic.ttf">コカコーラ缶</Entry>