statistics and graphs in Arabic

More
4 years 6 months ago #87214 by DenisChenu
DenisChenu replied the topic: statistics and graphs in Arabic

DenisChenu wrote: PDF stats don't work.

For pdf stats with graph and tyext in arabic.

[code type=php-brief]$pdfdefaultfont = 'dejavusans';[/code]in config.php .

And see included files.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Attachments:

Please Log in to join the conversation.

More
4 years 6 months ago - 4 years 6 months ago #87215 by sukhon
sukhon replied the topic: statistics and graphs in Arabic
In the file config.php on the root has only 61 lines, which config.php
Last Edit: 4 years 6 months ago by sukhon.

Please Log in to join the conversation.

More
4 years 6 months ago - 4 years 6 months ago #87218 by DenisChenu
DenisChenu replied the topic: statistics and graphs in Arabic
The /limesurvey-install-directory/config.php

Where you have already something like this:
[code type=php-brief]$rootdir = dirname(__FILE__); // This is the physical disk location for your limesurvey installation. Normally you don't have to touch this[/code]

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Last Edit: 4 years 6 months ago by DenisChenu.

Please Log in to join the conversation.

More
4 years 6 months ago #87221 by sukhon
sukhon replied the topic: statistics and graphs in Arabic
I am going to switch to 2.0+, will import the database and see how things work on it, instead of wasting your time on the older version, after a while will get back to you with results. :(

Regards,

Please Log in to join the conversation.

More
4 years 4 months ago #89050 by sukhon
sukhon replied the topic: statistics and graphs in Arabic
We installed the new Version 2.00+ Build 121121 and worked out one survey, the Arabic fonts now appear in the chart but not attached for example

انا اسمي

looks like
ا ن ا ا س م ي

which is not readable any clue how to fix it


Arabic chart.png

Please Log in to join the conversation.

More
4 years 4 months ago - 4 years 4 months ago #89072 by DenisChenu
DenisChenu replied the topic: statistics and graphs in Arabic
It's difficult to patch arabic when don't read arabic ;).

First i think DejaVuSans arabic font are OK, seems not ...

Can you try, with the 2.0 version,
- Download KacstOffice.ttf github.com/LimeSurvey/LimeSurvey/tree/1.92/fonts
- Put the file in ./fonts
- Put in application/config.php :
[code type=php-brief] 'config'=>array(
'debug'=>0,
'debugsql'=>0,
'chartfontfile'=>'KacstOffice.ttf',
)[/code]And test again ?

Denis
PS: The writing direction is OK ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Last Edit: 4 years 4 months ago by DenisChenu. Reason: PS

Please Log in to join the conversation.

More
4 years 4 months ago - 4 years 4 months ago #89086 by sukhon
sukhon replied the topic: statistics and graphs in Arabic
Hi again,

the writing direction is not correct :ohmy: its reversed may be this is the problem :silly: . how to fix this.

Arabic direction is from right to left and Latin is from Left to right :woohoo:
Last Edit: 4 years 4 months ago by sukhon.

Please Log in to join the conversation.

More
4 years 4 months ago #89114 by DenisChenu
DenisChenu replied the topic: statistics and graphs in Arabic
Hello,

After a quick look , not trivial.

Please fill a bug report :|

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
4 years 4 months ago #89157 by sukhon
sukhon replied the topic: statistics and graphs in Arabic
Hi the bug report number is 06969

Please Log in to join the conversation.

More
4 years 4 months ago #89476 by sukhon
sukhon replied the topic: statistics and graphs in Arabic
bug was reported to bugs.limesurvey.org/view.php?id=6969#changesets

when will it be embedded in the new update

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now