Bug #3369

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

TXM 0.8.3, 0.8.3 alpha, JFC Charts, unbreakble space as thousands separator is not managed by most of physical fonts
Most of
the fonts displays 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.
Same problem on the CA title.

h3.


h1.
Notes and tests

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

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

After some tests, it seems in Java 16, Locale.getDefault()).format(value) uses now an unbreakable space as French thousands separator.
Most of the physical fonts selectable in expert mode from editor rendering tool bar shows the problem. The charts engine default AWT Font doesn't seems to manage unbreakable space.

h1. Temporary workaround

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


Retour