Feature #2074

Updated by Sebastien Jacquot 7 months ago

Add font preference and default preference for chart rendering.

Currently the default font preference is set to "Lucida Sans Unicode" with a size of 11 pt for all OS.
Need to check that these default preferences works well on the three OS.

h3. Validation tests (step 1)

* launch TXM fresh install
* go to Preferences\TXM\Advanced\Charts Engine
* you should have a "Change" button that opens a font selection popup
* click on it
* the popup must open with the Lucida font selected:
* on Windows and Mac => "Lucida Sans Unicode"
* on Linux => "Lucida Sans"

h3. Validation tests (step 2)

These tests should be done on a Corpus using Unicode special range characters but at least on a Corpora containing accents.


* create some charts on Windows
* check the texts are well readable

* create some charts on OS X
* check the texts are well readable

* create some charts on Linux
* check the texts are well readable

If changes are needed, here is the location of the default preference: org.txm.chartsengine.core.preferences.ChartsEnginePreferences.initializeChartsEngineSharedPreferences(Preferences)

Back