edgetx icon indicating copy to clipboard operation
edgetx copied to clipboard

Loss of Chinese characters

Open norulers opened this issue 4 years ago • 8 comments

20210713100236 20210713101006

General information

  • EdgeTX version (2.4.0 RC4)
  • Hardware (T18)

norulers avatar Jul 13 '21 02:07 norulers

This is quite unfortunate, but the biggest fonts do not include the localized characters. This is more or less on purpose to avoid blowing the flash memory up. The best fix would be to use a smaller font.

raphaelcoeffic avatar Jul 13 '21 06:07 raphaelcoeffic

Would not blowing up the flash memory be also an issue of the huge number of characters need in some languages even despite using a smaller font?

MervDale avatar Jul 19 '21 23:07 MervDale

Would not blowing up the flash memory be also an issue of the huge number of characters need in some languages even despite using a smaller font?

ATM, only the characters used in translations are included in the font, thus massively reducing the size of the fonts. But there are still quite a few left.

raphaelcoeffic avatar Jul 19 '21 23:07 raphaelcoeffic

This is quite unfortunate, but the biggest fonts do not include the localized characters. This is more or less on purpose to avoid blowing the flash memory up. The best fix would be to use a smaller font.

But if you only include those characters that is required in big font, then it will not blow up memory. I think in general, both translations size should be used to select what characters are required and included during build. I think this will works.

richardclli avatar Aug 06 '21 06:08 richardclli

This is quite unfortunate, but the biggest fonts do not include the localized characters. This is more or less on purpose to avoid blowing the flash memory up. The best fix would be to use a smaller font.

But if you only include those characters that is required in big font, then it will not blow up memory. I think in general, both translations size should be used to select what characters are required and included during build. I think this will works.

We cannot afford to have a mapping that depends on font size, really, nor can we safely detect which characters are used in which font size.

raphaelcoeffic avatar Aug 06 '21 07:08 raphaelcoeffic

Or can we make use of images instead.

richardclli avatar Aug 14 '21 00:08 richardclli

Chinese problems:

  • character missing, wrong encoding, etc.

Will work on a fix.

richardclli avatar Dec 16 '21 06:12 richardclli

@richardclli is this still a problem in the current nightlies?

gagarinlg avatar Sep 17 '22 06:09 gagarinlg