Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000146 [1. XAMPP for Windows] PHP5 minor always 2010-01-02 15:04 2010-01-02 15:21
Reporter wiedmann View Status public  
Assigned To wiedmann
Priority normal Resolution open  
Status confirmed   Product Version 1.7.3
Summary 0000146: GD Extension - Fehlerhafte Umlaute
Description Die Funktionen imagefttext() und imagettftext() liefern keine Umlaute mehr. Die übergebenen Texte sind nach wie vor in utf-8 codiert.

via Forum:
http://www.apachefriends.org/f/viewtopic.php?f=4&t=38683 [^]
Additional Information Beispiel - Skript:

<?php
$im = imagecreatetruecolor(300, 100);
$red = imagecolorallocate($im, 0xFF, 0x00, 0x00);
$black = imagecolorallocate($im, 0x00, 0x00, 0x00);

imagefilledrectangle($im, 0, 0, 299, 99, $red);

$font_file = 'c:/windows/fonts/arial.ttf';
imagefttext($im, 13, 0, 105, 55, $black, $font_file, utf8_encode('äöüß'));

header('Content-Type: image/png');
imagepng($im);
imagedestroy($im);
?>
Tags No tags attached.
Attached Files zip file icon php_gd2.zip [^] (596,216 bytes) 2010-01-02 15:09

- Relationships

-  Notes
(0000239)
wiedmann (manager)
2010-01-02 15:21

Die GD Extension wurde diesmal mit Japanese Font Support gebaut. Anscheinend hat das zur Folge, dass dann UTF-8 bei Fonts nicht mehr funktioniert.

Die Extension im angehängten ZIP php_gd2.zip sollte das korrigieren (ist ohne JIS-Support).

- Issue History
Date Modified Username Field Change
2010-01-02 15:04 wiedmann New Issue
2010-01-02 15:09 wiedmann File Added: php_gd2.zip
2010-01-02 15:21 wiedmann Note Added: 0000239
2010-01-02 15:21 wiedmann Assigned To => wiedmann
2010-01-02 15:21 wiedmann Status new => confirmed


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker