tallforasmurf / PPQT

A post-processing tool for PGDP written in Python, PyQt4, and Qt
GNU General Public License v3.0
4 stars 2 forks source link

Guiguts import page positions off by one? #156

Closed tallforasmurf closed 10 years ago

tallforasmurf commented 10 years ago

The imported page position ends up on the first text character of the page, which is one line down from where PPQT puts the page anchor, at the head of the ----- separator line. If the imported book still retains its ----- separator lines, the imported anchor should go back one line. But if the separator lines are gone, the position is correct.

Also check that bookmark positions are correct.

bibimbop commented 10 years ago

easy to reproduce:

Load an existing document in PPQT. Export it to guiguts, quit ppqt and remove the meta file. Re-open ppqt, open the document and select import from guiguts -> lines are off by one.

(the document is properly imported by guiguts, so export is working fine).

I'm not sure why the separator lines would make a difference, but in my example, there were gone a long time ago.