Toon posts:

[PHP] GD symbol fonts werken niet

Pagina: 1
Acties:
  • 69 views sinds 30-01-2008

Verwijderd

Topicstarter
Ik gebruik een gecompileerde (dus niet zelf gecompileerd) versie van PHP 4 en GD 2.01 op een windows machine. De functie ImageTTFText werkt goed voor lettertypes als verdana.ttf maar niet voor wingding.ttf of een font dat ik graag wil gebruiken 04b_09.ttf. Deze fonts worden als blokjes getoond. Is het wel mogelijk om deze fonts te gebruiken?

[ Voor 9% gewijzigd door Verwijderd op 03-03-2003 10:37 ]


  • Janoz
  • Registratie: Oktober 2000
  • Laatst online: 23-08 10:39

Janoz

Moderator Devschuur®

!litemod

2e comment in de PHP-manual bij imagettftext()
TTF fonts that don't contain a Unicode mapping table won't work. E.g. wingdings... Overall, if your images don't show up and you can't figure out what it is, it's a good idea to quote out Header("Content-type: image/gif") to see if any error information is generated.
Volgende keer dus ff iets beter je best doen....

Ken Thompson's famous line from V6 UNIX is equaly applicable to this post:
'You are not expected to understand this'


Dit topic is gesloten.