<?php
$fnt = imlib_psloadfont("ariam___.pfb");
$im = imlib_create_image(800,100);
imlib_image_fill_rectangle($im,1,1,798,98,0,150,150,255);
imlib_pstext($im,'Text String with some polish ISO-8859-2 characters:',$fnt,30,5,20,255,255,0,255,100,100,-5,16);
imlib_pstext($im,'±ê¶æ¼³',$fnt,60,5,80,255,255,0,255,100,100,0,16);
header('Content-type: image/png');
imlib_dump_image($im);
?>