Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: statistics and graphs in Arabic

statistics and graphs in Arabic 3 years 2 months ago #89072

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 8229
  • Thank you received: 1122
  • Karma: 333
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 ?
Last Edit: 3 years 2 months ago by DenisChenu. Reason: PS
The administrator has disabled public write access.

statistics and graphs in Arabic 3 years 2 months ago #89086

  • sukhon
  • sukhon's Avatar
  • Offline
  • Junior Lime
  • Posts: 21
  • Karma: 0
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: 3 years 2 months ago by sukhon.
The administrator has disabled public write access.

statistics and graphs in Arabic 3 years 2 months ago #89114

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 8229
  • Thank you received: 1122
  • Karma: 333
Hello,

After a quick look , not trivial.

Please fill a bug report :|
The administrator has disabled public write access.

statistics and graphs in Arabic 3 years 2 months ago #89157

  • sukhon
  • sukhon's Avatar
  • Offline
  • Junior Lime
  • Posts: 21
  • Karma: 0
Hi the bug report number is 06969
The administrator has disabled public write access.

statistics and graphs in Arabic 3 years 2 months ago #89476

  • sukhon
  • sukhon's Avatar
  • Offline
  • Junior Lime
  • Posts: 21
  • Karma: 0
bug was reported to bugs.limesurvey.org/view.php?id=6969#changesets

when will it be embedded in the new update
The administrator has disabled public write access.

statistics and graphs in Arabic 3 years 2 months ago #89484

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5841
  • Thank you received: 347
  • Karma: 261
The statistics issue was fixed, thanks to c_schmitz, and the fix is available in the next bugfix release which should be released within the next 48-72h.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

statistics and graphs in Arabic 3 years 2 months ago #89545

  • sukhon
  • sukhon's Avatar
  • Offline
  • Junior Lime
  • Posts: 21
  • Karma: 0
Looking forward to see it working and I promise to put another donation if it works
Last Edit: 3 years 2 months ago by sukhon.
The administrator has disabled public write access.

statistics and graphs in Arabic 3 years 1 month ago #90330

  • sukhon
  • sukhon's Avatar
  • Offline
  • Junior Lime
  • Posts: 21
  • Karma: 0
Hi again,

the charts in Arabic are working fine if i Select output format in HTML mode but when we Select output format in PDF the problem still persists not in charts but in the header and footer and legend that is exported in text




Last Edit: 3 years 1 month ago by sukhon.
The administrator has disabled public write access.

statistics and graphs in Arabic 3 years 1 month ago #90486

  • sukhon
  • sukhon's Avatar
  • Offline
  • Junior Lime
  • Posts: 21
  • Karma: 0
Hi anyone can answer me on this
The administrator has disabled public write access.

statistics and graphs in Arabic 3 years 1 month ago #90538

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5841
  • Thank you received: 347
  • Karma: 261
I have re-opened the bug report. Please attach your files there and provide additional information.

Thanks!

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

statistics and graphs in Arabic 3 years 1 month ago #90553

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 8229
  • Thank you received: 1122
  • Karma: 333
Yep,
Think you can fix with "pdfdefaultfont" in config.php .

But it's not the same bug : here it's for pdf.

ltr/rtl are already set with $lg .

But, here the automatic system don't choose font according to language.

Try:
'config'=>array(
		'debug'=>0,
		'debugsql'=>0,
		'pdfdefaultfont'=>'auto',
	)

Or
'config'=>array(
		'debug'=>0,
		'debugsql'=>0,
		'pdfdefaultfont'=>'dejavusans',
	)

Denis
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.607 seconds