Automatic scaling of PDF output
Hi, I am sure this must have been asked before, but was not able to find anything in the mailing list archives or wiki... Our survey is going to be published in a magazine. The magazine has very strict limits on the survey size; 28 cm x 18 cm max, with limits on line thickness as well. Making the final PDF survey the right size is done with the layout "scale" definition, but this means I need to very carefully (painfully) recalculate it whenever an extension changes the size of the survey. Main question; Is there a way to make Therion automatically calculate the correct scale to fit certain dimensions? (I do understand that this might be impossible, since the output can change based on the scale, so it would become an iterative process. I am just hoping there might be some magic.) <aside> For those interested, I have used code metapost to set the line thicknesses so that they work according to the minimum line thickness: def minimumpen = 0.18pt enddef; def PenA = pencircle scaled (minimumpen*1/0.35) enddef; def PenB = pencircle scaled (minimumpen*0.7/0.35) enddef; def PenC = pencircle scaled (minimumpen*0.5/0.35) enddef; def PenD = pencircle scaled (minimumpen) enddef; def PenX = pencircle scaled (minimumpen*1.2/0.35) enddef; </aside> Thanks for any assistance. Tarquin
Take care that softwares used for preparation of data for printing (RIP) may have problems with rasterisation of vector data - from there is limit for line width. More secure way is to rasterize pdf to bitmap with high resolution, let’s say 600 dpi, and send such file to magazine. Martin Sluka Odesláno z iPhonu 24. 5. 2019 v 10:59, Tarquin Wilton-Jones via Therion <therion@speleo.sk>:
Hi,
I am sure this must have been asked before, but was not able to find anything in the mailing list archives or wiki...
Our survey is going to be published in a magazine. The magazine has very strict limits on the survey size; 28 cm x 18 cm max, with limits on line thickness as well. Making the final PDF survey the right size is done with the layout "scale" definition, but this means I need to very carefully (painfully) recalculate it whenever an extension changes the size of the survey.
Main question; Is there a way to make Therion automatically calculate the correct scale to fit certain dimensions?
(I do understand that this might be impossible, since the output can change based on the scale, so it would become an iterative process. I am just hoping there might be some magic.)
<aside>
For those interested, I have used code metapost to set the line thicknesses so that they work according to the minimum line thickness:
def minimumpen = 0.18pt enddef; def PenA = pencircle scaled (minimumpen*1/0.35) enddef; def PenB = pencircle scaled (minimumpen*0.7/0.35) enddef; def PenC = pencircle scaled (minimumpen*0.5/0.35) enddef; def PenD = pencircle scaled (minimumpen) enddef; def PenX = pencircle scaled (minimumpen*1.2/0.35) enddef;
</aside>
Thanks for any assistance.
Tarquin _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Take care that softwares used for preparation of data for printing (RIP) may have problems with rasterisation of vector data - from there is limit for line width. More secure way is to rasterize pdf to bitmap with high resolution, let’s say 600 dpi, and send such file to magazine.
Thanks very much for the advice :) In this case, I know the publisher personally, and I know he uses vector graphics for preparation. He has specifically asked for the PDF output, so we're all good. But yes, it was worth checking, for the reason you stated :)
I apologize myself, I forgot to add: Don’t use loss compresion format as JPEG! Martin Odesláno z iPhonu 24. 5. 2019 v 12:49, Tarquin Wilton-Jones via Therion <therion@speleo.sk>:
Take care that softwares used for preparation of data for printing (RIP) may have problems with rasterisation of vector data - from there is limit for line width. More secure way is to rasterize pdf to bitmap with high resolution, let’s say 600 dpi, and send such file to magazine.
Thanks very much for the advice :)
In this case, I know the publisher personally, and I know he uses vector graphics for preparation. He has specifically asked for the PDF output, so we're all good. But yes, it was worth checking, for the reason you stated :) _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Hi unfortunately Therion doesn't support this. It would be actually quite complicated to implement it, as map symbols are scale-dependent so to know the exact size of the output drawing (not just the centreline), you have to draw it first in the selected scale. Martin On Fri, May 24, 2019 at 11:00 AM Tarquin Wilton-Jones via Therion < therion@speleo.sk> wrote:
Hi,
I am sure this must have been asked before, but was not able to find anything in the mailing list archives or wiki...
Our survey is going to be published in a magazine. The magazine has very strict limits on the survey size; 28 cm x 18 cm max, with limits on line thickness as well. Making the final PDF survey the right size is done with the layout "scale" definition, but this means I need to very carefully (painfully) recalculate it whenever an extension changes the size of the survey.
Main question; Is there a way to make Therion automatically calculate the correct scale to fit certain dimensions?
(I do understand that this might be impossible, since the output can change based on the scale, so it would become an iterative process. I am just hoping there might be some magic.)
<aside>
For those interested, I have used code metapost to set the line thicknesses so that they work according to the minimum line thickness:
def minimumpen = 0.18pt enddef; def PenA = pencircle scaled (minimumpen*1/0.35) enddef; def PenB = pencircle scaled (minimumpen*0.7/0.35) enddef; def PenC = pencircle scaled (minimumpen*0.5/0.35) enddef; def PenD = pencircle scaled (minimumpen) enddef; def PenX = pencircle scaled (minimumpen*1.2/0.35) enddef;
</aside>
Thanks for any assistance.
Tarquin _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
participants (3)
-
Martin Budaj -
Martin Sluka -
Tarquin Wilton-Jones