Bug #1768

Progression chart, SVG exported file with JFC engine can not be open in Firefox or Inkscape

Ajouté par Sebastien Jacquot il y a plus de 9 ans. Mis à jour il y a plus de 7 ans.

Statut:Closed Début:05/04/2016
Priorité:High Echéance:
Assigné à:- % réalisé:

100%

Catégorie:Charts Temps passé: -
Version cible:TXM 0.8.0

Description

Progression chart, SVG exported file (from Export view) with JFC engine can not be open in Firefox or Inkscape.

The bug is linked to the character xA0 that sometimes appears in the generated SVG file.

Historique

#1 Mis à jour par Sebastien Jacquot il y a plus de 9 ans

  • Description mis à jour (diff)

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

More infos:
After checking, the last 0.7.8 alpha has the property file.encoding=Cp1252 set in About/config.
The bug is not reproducible when launching from Eclipse excepted if we add this -Dfile.encoding=Cp1252 to the VM args.
It only happens when the TXM language is FR and there are some numbers as "10 000", 5 000", etc. in chart axes, the non-breakable space is then not well encoded in the UTF-8 SVG file. This bug can impact all the charts that contain non-breakable spaces in some units or labels.

#3 Mis à jour par Sebastien Jacquot il y a plus de 9 ans

This bug is a side effect of wrong path of TXM.ini in TXM.bat, the location has changed and now it should be called like this:

"%installdir%\TXM\TXM.ini"

#4 Mis à jour par Matthieu Decorde il y a plus de 9 ans

  • Version cible changé de TXM 0.7.8 à TXM 0.8.0a (split/restructuration)

#5 Mis à jour par Sebastien Jacquot il y a plus de 8 ans

  • Statut changé de New à Closed
  • % réalisé changé de 0 à 100

Fixed.

#6 Mis à jour par Sebastien Jacquot il y a plus de 7 ans

  • Version cible changé de TXM 0.8.0a (split/restructuration) à TXM 0.8.0

Formats disponibles : Atom PDF