I built a online image designer and i have a problem with the pointsize. I have a little preview with a text and a image and i want
to scale the preview in a variable size.
My preview has a fixed width of 370px and i will resize the image to eg. 750px. i use $faktor to calculate the new image:
$faktor = 750 / 370;
$width = $width * $faktor;
$height = $height * $faktor;
$x = $x * $faktor;
$y = $y * $faktor;
$pointsize = $pointsize * $faktor;
This works fine with a image, but when i calculate the pointsize with my $faktor is my text not exactly the same as my preview. The problem ist not directly the pointsize,
because the first line is on the left and the right side okay. At the last line you can the the problem ...
You can see the result on my images:
crop width: 370px

crop width: 750px
