Look at the media.xml file on your device. It contains the prepagination information (hex encoded IIRC). LRF is a (partially) reflowable format. What the pre pagination does is tell the reader how many screens of text are there at a particular font size and where in the file each screen starts and ends. So to duplicate that, you have to layout the text on an in-memory screen exactly as the reader would. If you are a little off, that will result in missing lines of text, as you see when you replace the fonts on the reader with others that have different metrics and then try to use a pre paginated book
|