Page 1 of 1
GT font render problem
Posted: Mon 28. Mar 2005, 22:31
by Paal
Hello,
I try Polo-Regular font, but rendered img have some problem...
The GT mod rendered img
and Photoshop out:
Why? ("g" spell, and "őű")
I use ISO-8859-2 caracter encoding in html pages.
Thx, Paul
Posted: Tue 29. Mar 2005, 13:23
by isac
I think the problem is that photoshop render type at 72dpi and gd/php at 96dpi or vice-versa(?) to workaround this problem increase margin in file
gt.func.inc.php at lines
Code: Select all
//$im = imagecreate ($font_width + 5, $font_height + 5);
$im = imagecreate ($font_width+2, $font_height);
please correct me if i'm wrong
Posted: Tue 29. Mar 2005, 14:28
by Paal
isac wrote:I think the problem is that photoshop render type at 72dpi and gd/php at 96dpi or vice-versa(?) to workaround this problem increase margin in file
gt.func.inc.php at lines
Code: Select all
//$im = imagecreate ($font_width + 5, $font_height + 5);
$im = imagecreate ($font_width+2, $font_height);
please correct me if i'm wrong
Correct!
Code: Select all
//$im = imagecreate ($font_width + 5, $font_height + 5);
$im = imagecreate ($font_width+2, $font_height+5);
Thx, Paul
But the charset error still exist:
in iso-8859-1 charset:
in iso-8859-2 charcet (Central European):
but rendered character constain "curly accent"
like ~ not "
Why?
Thx, Paul
and sorry my bad english...