Thread: Layout format?
View Single Post
Old 05-12-2008, 05:59 PM   #2
igorsk
Wizard
igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.
 
Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
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...
igorsk is offline   Reply With Quote