@ -1535,15 +1535,88 @@ Add a 'Find Previous' entry
<para>
<para>
Drawing lines in &okular; is implemented in two steps: generation of the clipping path and filling this clipping path. When the line in the original document is less than one pixel this two step implementation could cause problems. For those lines, the clipping path is filled with the filling color that depends on the thickness of the line part inside the clipping area. If the part of the line inside the clipping area gets very small the contrast between the shape and the background color can become too low for the line to be recognizable. The grids of such lines then looks very unpretty.
Drawing lines in &okular; is implemented in two steps: generation of the clipping path and filling this clipping path. When the line in the original document is less than one pixel this two step implementation could cause problems. For those lines, the clipping path is filled with the filling color that depends on the thickness of the line part inside the clipping area. If the part of the line inside the clipping area gets very small the contrast between the shape and the background color can become too low for the line to be recognizable. The grids of such lines then looks very unpretty.
<entry>Thin line (red), its clipping path (dashed line) and pixel boundaries (black solid lines)</entry>
<entry>Thin line shown at a low contrast</entry>
</row>
</tbody>
</tgroup>
</informaltable>
<para>
<para>
To enhance the look of the thin lines &okular; implements two options.
To enhance the look of the thin lines &okular; implements two options.
</para>
</para>
<para>
<para>
The first option is <guimenuitem>Solid</guimenuitem>. With this option &okular; adjusts clipping path and line position so that clipping path and line are on the same pixel boundary, &ie; &okular; enlarges the thin lines to one pixel on the output device. This mode is similar to the <guilabel>Enhance thin lines</guilabel> in <trademark class="registered">Adobe</trademark> <trademark class="registered">Reader</trademark>. If this option is chosen, the thin lines are always enlarged.
The first option is <guimenuitem>Solid</guimenuitem>. With this option &okular; adjusts clipping path and line position so that clipping path and line are on the same pixel boundary, &ie; &okular; enlarges the thin lines to one pixel on the output device. This mode is similar to the <guilabel>Enhance thin lines</guilabel> in <trademark class="registered">Adobe</trademark>
<trademark class="registered">Reader</trademark>. If this option is chosen, the thin lines are always enlarged.
<phrase>Thin line with <guimenuitem>Solid</guimenuitem> enhancement</phrase>
</textobject>
<caption>
<para>Thin line with <guimenuitem>Solid</guimenuitem> enhancement</para>
</caption>
</mediaobject>
</screenshot>
</para>
</para>
<para>
<para>
The second option is <guimenuitem>Shape</guimenuitem>. With this option the clipping path and line are adjusted to pixel boundary as well, but the line intensity is corrected according to its width.
The second option is <guimenuitem>Shape</guimenuitem>. With this option the clipping path and line are adjusted to pixel boundary as well, but the line intensity is corrected according to its width.