mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
44ae9f85b0
commit
527bce3e5e
@ -33,7 +33,7 @@ class APNXBuilder(object):
|
|||||||
method to calculate the page length would be to parse
|
method to calculate the page length would be to parse
|
||||||
the uncompressed text. For each paragraph we would
|
the uncompressed text. For each paragraph we would
|
||||||
want to find how many lines it would occupy in a paper
|
want to find how many lines it would occupy in a paper
|
||||||
back book. 70 charaters per line and 32 lines per page.
|
back book. 70 characters per line and 32 lines per page.
|
||||||
So divide the number of characters (minus markup) in
|
So divide the number of characters (minus markup) in
|
||||||
each paragraph by 70. If there are less than 70
|
each paragraph by 70. If there are less than 70
|
||||||
characters in the paragraph then it is 1 line. Then,
|
characters in the paragraph then it is 1 line. Then,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user