pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re[2]: gd, locales, special characters
Hello,
Am Mittwoch, 27. Juni 2007 um 20:28 schrieben Sie:
> Can you double-check the gd version? There is a note in the changelog:
> Version 2.0.32 restores correct detection of Unicode character sets
> for freetype fonts, which repairs a bug that prevented umlauts from
> displaying properly.
The gd Version is 2.0.34.
I found out, if i seperate the characters with blanks, the picture
with text renders. Without blanks its the old problem.
http://heisenberg.rmroppert.com/test/gd_test.php
###
....
setlocale(LC_CTYPE,'de_DE.ISO8859-1');
DEFINE("TTF_TEXT","mit leerzeichen: ä ü ö xx Ä Ü Ö ß ohne leerzeichen
äüöxxÄÜÖ");
$im = imagecreate (1810, 100);
....
imagettftext ($im, 30, 0, 10, 40, $black, TTF_DIR.TTF_FONTFILE,TTF_TEXT);
header ("Content-type: image/png");
imagepng ($im);
....
#####
--
RM.ROPPERT, it management agentur
Reinhold Roppert
Muehlstrasse 6 89077 Ulm
tel: +49.7319386495 fax: +49.7319386496
Home |
Main Index |
Thread Index |
Old Index