Reflow can be configured to use bbox which could remove
side comments and defects in the margin and get much better reflowed
page in some documents. Currently the bbox is only set in PDFReader or
DJVUReader reader. But eventually there will be bbox setting routines in
KOPTReader.
Thirdparty should be cleaned and refetched and remake to get
this feature in operation.
Many users complained that the reflowing process is too slow. This is
rather a speed-quality dilemma. Trade-off can be made by decreasing the
dpi of source page. And by default quality is prefered.
Each option can be configured to show or not and the height of the
config dialog is updated accordingly. By default the page margin and
line spacing is not drawn to save dialog space. Because these two
options just make minorest differences to the view of reflowed pages and
the default medium values should work in most case. Even so users can
still change the visibility of these two options by editing this file.
By default the indentaion detection is enabled in K2pdfopt. This will
sometimes generate very poor reflowed page when there are sidenotes on
the page which would be treated as indentation. Disabling indentaion
detection will rescue the reflowed page from this situation.
Otherwise when call Koptconfig again option names and items will not be
drawn. And some variables' name are changed from 'value' to 'item' which
are consistent across this module now.
For now only line spaceing and word spaceing are configurable with
'F'/'Aa' commands. And device size are passed to k2pdfopt in place of
the hard-coded default width and height(via @dpavlin).