#1 2014-01-27 13:37:35

hthvdmeer
Member
Registered: 2014-01-27
Posts: 1

Question about TPdfEnum.TextOut and scaling

I am trying to use synpdf for saving pdf's from FastReport (because FastReport itself gives problems and no solution).

When I am saving one of the reports some lines are not shown completely because the line gets scaled to big and cut off (clipped). When I change the line:
hscale := (W * 100) / measW; to
hscale := (measW * 100) / W;
the line is displayed completely, but it might be it’s a bit too small; I am not really sure.

In the first case hscale is 102.12. In the second case 97.92. I tried hardcoding 100%, that is too much.
Could it be the original division is wrong?

Offline

Board footer

Powered by FluxBB