- Timestamp:
- 2007/09/06 20:18:34 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/graph/SC_GraphBase.php
r15598 r15636 261 261 imagefilledrectangle($this->image, $left - 2, $top - 2, $left + $text_width + 2, $top + $font_size + 2, $this->labelbg_color); 262 262 } 263 //$text = mb_convert_encoding($text, "UTF-8", CHAR_CODE); 264 $text = mb_convert_encoding($text, CHAR_CODE); 263 /* 264 * XXX EUC-JP にしないと Warning がでる. 265 * --enable-gd-jis-conv も関係していそうだが, このオプションを 266 * つけなくても出る. 267 * 268 * Warning: imagettftext() [function.imagettftext]: 269 * any2eucjp(): something happen in 270 * 271 * http://www.php.net/imagettftext を見ると, UTF-8 にしろと 272 * 書いてあるのに何故? 273 */ 274 $text = mb_convert_encoding($text, "EUC-JP", CHAR_CODE); 275 //$text = mb_convert_encoding($text, CHAR_CODE); 265 276 if($color != NULL) { 266 277 ImageTTFText($this->image, $font_size, $angle, $left, $top + $font_size, $color, FONT_PATH, $text);
Note: See TracChangeset
for help on using the changeset viewer.