Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Graphs Fonts

Graphs Fonts 3 Jahre 7 Monate her #56310

  • michelk
  • michelks Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 2
  • Karma: 0
I have search the forum to solve this and I have performed all action but I still can not fix this. My survey is in Greek and all characters are shown ok EXCEPT the graphs characters in the statistics.
I have put the arail.ttf in the fonts directory, I have set the arial.ttf in the config.php file with $chartfontfile = 'arial.ttf'; and still, as you can see in the attachment, I can not get them to display correctly. Any other ideas?
Thanks.


GraphFonts_2011-02-04.jpg
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Graphs Fonts 3 Jahre 1 Monat her #64552

  • sp00ky
  • sp00kys Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 25
  • Dank erhalten: 2
  • Karma: 4
Hello michelk,

I had this same issue. The resolve is to edit classes\pchart\pchart\pChart.class.

$this->setFontProperties("tahoma.ttf",8);
to
$this->setFontProperties("arial.ttf",8);

It worked form me.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Graphs Fonts 2 Jahre 11 Monate her #67254

  • sp00ky
  • sp00kys Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 25
  • Dank erhalten: 2
  • Karma: 4
But first of all, clear your browser cache and limesurvey/temp dir (chart pngs are stored there).
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Graphs Fonts 2 Jahre 11 Monate her #67256

  • Mazi
  • Mazis Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 5325
  • Dank erhalten: 296
  • Karma: 249
Please also check that the font type you chose exists.

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'"
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Graphs Fonts 2 Jahre 10 Monate her #68691

  • pirna
  • pirnas Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 2
  • Karma: 0
I' have same problem with spanish characters.

sshot-1.png


C:\fakepath\sshot-2.png

I've cleaned all temporary folders (windows,user,limesurvey)
I've copyed arial.ttf, tahoma.ttf and verdana.ttf to /fonts folder in limesurvey.
I've changed chartfontfile from "auto" to those in config.php.
I've changed $this->setFontProperties("tahoma.ttf",8); to arial and verdana in classes\pchart\pchart\pChart.class
I've stopped and restarted Apache, and did not works.
Any other idea?
Thanks in advance.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Graphs Fonts 2 Jahre 10 Monate her #68889

  • Mazi
  • Mazis Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 5325
  • Dank erhalten: 296
  • Karma: 249
I remember that this problem could also be related to some server setting or a server bug but I don't remember the details :-(

Maybe updating your PHP version could also solve the problem.

Maybe Google knows more details?!

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'"
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.138 Sekunden
Donation Image