Thread: HTML books
View Single Post
Old 05-21-2008, 10:15 PM   #10
Jadon
Hermit
Jadon can eat soup with a fork.Jadon can eat soup with a fork.Jadon can eat soup with a fork.Jadon can eat soup with a fork.Jadon can eat soup with a fork.Jadon can eat soup with a fork.Jadon can eat soup with a fork.Jadon can eat soup with a fork.Jadon can eat soup with a fork.Jadon can eat soup with a fork.Jadon can eat soup with a fork.
 
Posts: 192
Karma: 9425
Join Date: Oct 2006
Device: Kindle Keyboard, Kobo Glo
Quote:
Originally Posted by James Bryant View Post
My old REB1100 allocated page numbers, and remembered them. [...] Moreover if you changed the font size you did not lose your place and the page numbers changed accordingly, so fast software techniques to do it must be available.
The REB didn't do such calculations of the fly. When the ebook was constructed, the creation program pre-paginated for two font sizes that you could switch between. So the logic was something like "page 123 in medium font is text-block 8764 which translates to page 495 in x-large font according to the lookup table". All the heavy lifting was done at creation time, and and depended on having only two fixed choices. If a unit lets one change fonts and select any size, that "figure it out ahead of time" ability is lost.
Jadon is offline   Reply With Quote