[Qgis-community-team] User Manual figures sizes in PDF and website
Alexandre Neto
senhor.neto at gmail.com
Tue Oct 29 05:11:19 PDT 2013
Hello all,
I have been doing some tests myself. Without width constraints (in the rst
file or max size allowed), the images are created at 72 pixels per inch
(PPI). This is ok for web, but very low for printing in a A4. And that's
why re-sizing via rst file makes it look better in PDF.
I believe that this also affects the small icons like the "check icon" I
mentioned before, that are being printed at 72dpi. They look too big and a
bit unsharpened in the PDF.
In the following
PDF<https://dl.dropboxusercontent.com/u/110618644/Image%20dpi%20tests.pdf>you
can see the same image (measure line) at different ppi. The first one
is at 90ppi, the second is at 108ppi, the third is at 135ppi, and the last
one is at 180ppi. If you can, please print it. I tend to prefer the 135ppi
version. It's small enough to reduce the blur effect, but the fonts are
still readable.
The question is, is there a way to reduce all original images during pdf
creation? To get preferable ppi value?
I have read here <http://rst2pdf.googlecode.com/svn/trunk/doc/manual.txt> this:
"The rst2pdf default is 300DPI, but you can change it using the
--default-dpi option
or the default_dpi setting in the config file.". If I'm correct, we do not
use rst2pdf, but maybe this can be configured in texi2pdf also. If someone
point me to the configuration files, I won't mind doing some tests.
Best regards,
Alexandre Neto
On Mon, Oct 28, 2013 at 12:59 PM, Alexandre Neto <senhor.neto at gmail.com>wrote:
> One more thing,
>
> How can we do something about the "check icon" ([image: checkbox]) in
> the PDF output, it looks huge!
>
> Thanks!
>
> Alexandre
>
>
> On Mon, Oct 28, 2013 at 12:20 PM, Alexandre Neto <senhor.neto at gmail.com>wrote:
>
>> Hello,
>>
>> On Mon, Oct 28, 2013 at 11:24 AM, Richard Duivenvoorde <richard at duif.net>wrote:
>>
>>>
>>> not sure about the pdf's, but I mentioned earlier that all images in the
>>> website have a size of 30em (or 40em). Then when you click on them they
>>> open in the same window, and resize to their 'natural/native' size. You
>>> have to go back to come into the docs again.
>>>
>>
>> I know nothing about website creation and even less about bootstrap
>> itself, but could we eliminate the "go back to the docs again" step by
>> opening the image in some kind of frame without existing the current page?
>>
>> So my bed would be: make it look good in pdf first (without special size
>>> constraints in the rst). If the images are not too big, they will then
>>> show up at their native image size in the html anyway. (or resized to
>>> 100% of the data column by bootstrap), AND still clickable to see them
>>> in the native size anyway.
>>>
>>> Can we keep the ":width: %%em" constraints in the rst files for pdf
>> creation sake and just ignore them in the Website creation? (using original
>> size or resizing to 100% of the data column). For what I can see, not
>> having a width constraint in rst, create unsharped\ugly images in the pdf
>> output (and will waste lots of paper :-P). I guess all the images need a
>> bit size reducing to look well.
>>
>>
>>> But: you can also claim that all the (smaller) images of 30em make the
>>> html and pdf look good and neat, because all images are the same size.
>>>
>>> Regards,
>>>
>>> Richard
>>>
>>>
>>> Best Regards,
>>
>> Alexandre
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-community-team/attachments/20131029/044635ea/attachment.html>
More information about the Qgis-community-team
mailing list