Bug #1768

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

Added by Sebastien Jacquot over 3 years ago. Updated over 1 year ago.

Status:Closed Start date:04/05/2016
Priority:High Due date:
Assignee:- % Done:

100%

Category:Charts Spent time: -
Target version: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.

History

#1 Updated by Sebastien Jacquot over 3 years ago

  • Description updated (diff)

#2 Updated by Sebastien Jacquot over 3 years ago

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 Updated by Sebastien Jacquot over 3 years ago

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 Updated by Matthieu Decorde over 3 years ago

  • Target version changed from TXM 0.7.8 to TXM 0.8.0a (split/restructuration)

#5 Updated by Sebastien Jacquot almost 3 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Fixed.

#6 Updated by Sebastien Jacquot over 1 year ago

  • Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0

Also available in: Atom PDF