Hello From Japan

New users please post here first and let us know a little bit about yourself.
JE4SMQ
Posts: 8
Joined: Wed Dec 23, 2020 12:28 pm

Hello From Japan

Post by JE4SMQ » Wed Dec 23, 2020 12:48 pm

Hello,I'm JE4SMQ Masa from Japan.
I had made Japanese screen for OpenGD77 CPS.
I want contribute this community.
Image
http://893.pgw.jp/Japanese.xml

VK3KYY
Posts: 5131
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia
Contact:

Re: Hello From Japan

Post by VK3KYY » Thu Dec 24, 2020 2:07 am

Hi,

Thanks, I'll add your xml file to the installer.

FYI.

It will not be possible to directly translate the firmware into Japanese, because the radio uses a custom 8 bit , bitmap character data images.
The only way to support Japanese would be to have a completely separate build of the firmware, using Japanese character images, and the total number of images can't exceed 256, as the character data are single character (like ASCII).

I know some Chinese Ham's wanted to translate to Chinese, but they have not been able to reduce the total number of character symbols down to below 256.

Also, some Russian Hams wanted to translate to Russian, but they have also not managed to do this, because of the same limitations.


BTW.
The official firmware has some fonts in firmware ROM, and some in external Flash, but the OpenGD77 stores all fonts into the program ROM.
And there is not enough space to store multiple language fonts in ROM.

VK3KYY
Posts: 5131
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia
Contact:

Re: Hello From Japan

Post by VK3KYY » Thu Dec 24, 2020 2:25 am

OK.

I built a new installer etc

https://github.com/rogerclarkmelbourne/ ... 0.12.24.01

I don't have time to update the sources at the moment, but I will update them when I have some spare time.

JE4SMQ
Posts: 8
Joined: Wed Dec 23, 2020 12:28 pm

Re: Hello From Japan

Post by JE4SMQ » Thu Dec 24, 2020 11:22 am

Thank you migration.
I'm Happy.
-------------
Image

Many Japanese understand English.
It is okay to display HT's LCD in English.

HT's LCD's very low resolution(128x64px).
Japanese kanji(漢字) is very complex letter,then need more than 12*12px above.
Chinese too.
But Japanese has very simplize letter such as katakana(カタカナ).
This letters are needs enough to 5*7px and all as 64 letters.
for example)
YES,NO|ハイ,イイエ
On,Off|オン,オフ
Left,Right|ヒダリ,ミギ
enable,disable|ユウコウ,ムコウ
Up,Down|ウエ,シタ
Power|パワー

User avatar
F1RMB
Posts: 1626
Joined: Sat Nov 16, 2019 5:42 am
Location: Grenoble, France
Contact:

Re: Hello From Japan

Post by F1RMB » Thu Dec 24, 2020 12:12 pm

Hi,

Could you provide some extra informations about the katakana list, as I checked the Wikipedia page and list is a bit longer that 64.
If the list is around 70 glyphs, that could fit (in a specific Japanese only version), but there are two 6x8 fonts (normal and bold).


Cheers.
---
Daniel

JE4SMQ
Posts: 8
Joined: Wed Dec 23, 2020 12:28 pm

Re: Hello From Japan

Post by JE4SMQ » Thu Dec 24, 2020 4:18 pm

Katakana is a phonetic character.
Origin kanji simplized a part.
ex)伊 > イ (i),宇 > ウ(u)
for use kids(easy writing),Foreign language(ex:Ice cream:アイス クリーム),low resolution environment.
Katakana means male(Straight font face) letters.
Hiragana (such phonetic character too) means female(roundy font face ex:イ=い,ウ=う) letters,little complex glyphs.

Modrern Japanese katakana chart below.
https://hire39.com/wp-content/uploads/2 ... T_2019.pdf

5x5px katakana example;
https://sanuki-tech.net/micro-bit/appen ... kana-font/

Tradithonal(missing now)katakana below no need use.
ヰヱ

Small letters(アイウエオツヤユヨ,ァィゥェォッャュョ) are different use.

VK3KYY
Posts: 5131
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia
Contact:

Re: Hello From Japan

Post by VK3KYY » Fri Dec 25, 2020 12:08 am

Japanese looks more feasible than Chinese.

I'm not sure if we have space for both latin and European bitmap fonts in the program ROM.
Possibly..., but potentially at the expense of other features.

The other option is to load the fonts from Flash memory into RAM, but again, there isn't much RAM available, and a lot of it would be used.
And I'd also have to write something in the CPS to upload a font - which is additional complication

Probably a separate Japanese version (for each radio) would be needed

User avatar
F1RMB
Posts: 1626
Joined: Sat Nov 16, 2019 5:42 am
Location: Grenoble, France
Contact:

Re: Hello From Japan

Post by F1RMB » Fri Dec 25, 2020 6:18 am

Hi,
VK3KYY wrote:
Fri Dec 25, 2020 12:08 am
Japanese looks more feasible than Chinese.

I'm not sure if we have space for both latin and European bitmap fonts in the program ROM.
Possibly..., but potentially at the expense of other features.

The other option is to load the fonts from Flash memory into RAM, but again, there isn't much RAM available, and a lot of it would be used.
And I'd also have to write something in the CPS to upload a font - which is additional complication

Probably a separate Japanese version (for each radio) would be needed
Yes, to do that, we have to remove all accented character, keeping the latin one (part of the ASCII). This is why it could only be a specific build as we can't store twice the set of fonts.


Cheers.
---
Daniel.

JE4SMQ
Posts: 8
Joined: Wed Dec 23, 2020 12:28 pm

Re: Hello From Japan

Post by JE4SMQ » Fri Dec 25, 2020 1:55 pm

I try make Japanese(katakana) language header.
encoding:SHIFT-JIS(https://en.wikipedia.org/wiki/Shift_JIS)
Image

below file can open notepad.exe(windows10)
http://893.pgw.jp/japanese.h

VK3KYY
Posts: 5131
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia
Contact:

Re: Hello From Japan

Post by VK3KYY » Fri Dec 25, 2020 9:42 pm

There isn't enough space for to add these Kanji characters.

Take a look at the existing bitmap font declarations in the code

https://github.com/rogerclarkmelbourne/ ... _charset.h

and you'll see only a very small number of the characters have not already been assigned

e.g.
This group of 14 characters is free

https://github.com/rogerclarkmelbourne/ ... #L274-L287

Plus this small group

https://github.com/rogerclarkmelbourne/ ... #L289-L303

But I'm sure this won't be enough for the entire character set you would require, as it looks like you need 64 characters.

Post Reply