Thread: Layout format?
View Single Post
Old 05-12-2008, 06:10 PM   #3
Seligman
Junior Member
Seligman began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2008
Device: PRS-505
Quote:
Originally Posted by igorsk View Post
It's pretty complex and it's specific to a file format (i.e., txt, rtf, lrf all use it differently). Basically it describes the position in file at which every page starts. Naturally, it depends on the actual font and rendering algorithm used. Even a slight disrepancy can lead to the "missing lines" problem that many people had when replacing fonts on the device but forgetting to replace them on the PC.
If you still want to know the details I will try to describe them. I don't really see how it will be useful to you since you'll need to reproduce the LRF rendering very closely to how Reader does it and that's not trivial...
Yeah, I assumed it wouldn't be enough to recreate the output. Basically, in my project it would be useful if I could get at "page x starts at y bytes into the file".

Any hints as to the format you could give would be much appreciated. If it makes your life any easier, I really only care about the lrf format.
Seligman is offline   Reply With Quote