Bug #3369

Mis à jour par Sebastien Jacquot il y a plus de 2 ans

TXM 0.8.3 alpha, JFC Charts, most of the fonts, included the default one, display the missing glyph white square instead of spaces and maybe some others characters.
e.g. see Y axis labels in partition dimensions bar chart, in windows with Lucida Sans Console.
5□000
10□000
etc.

h1. Notes and tests

1) Upgrading to JFreeChart 1.5.4 doesn't seem to solve the problem.

2) For information, current Current default fonts are :
- Linux: Lucida Sans
- Windows: Lucida Sans Unicode
- Mac OS: Lucida Sans Unicode

After some tests, tests in Windows 10 with TXM 0.8.3 it appears "Lucida Sans Unicode" doesn't embed the Japanese unicode range.

A better solution
seems in Java 16, Locale.getDefault()).format(value) uses now an unbreakable space to use these fonts as French thousands separator. default:

- Linux: Dialog

The charts engine default AWT Font doesn't seems - Windows: Dialog
- Mac OS: LucidaSans (without space)

but need
to manage unbreakable space. test on the 3 OS.

h1. Temporary workaround

a) Use another default font.
b) Force a normal space rather than an unbreakable space


Retour