Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize page breaking by varying line height #45

Open
bertfrees opened this issue Jun 9, 2015 · 1 comment
Open

Optimize page breaking by varying line height #45

bertfrees opened this issue Jun 9, 2015 · 1 comment

Comments

@bertfrees
Copy link
Member

@dkager wrote:

To be clear: this is a "nice to have", we don't currently do this. So it would be a prio 3 issue. Due to the complexity (i.e. you need information about the print text) I'm wondering if we should put this into the optional features for post-processing editing. I don't see an easy way to automate this unless you mark the ends of print pages (which is also required to show the print page numbers in braille). Then you could calculate the optimal line heights. But again this calculation depends on the size of the top and bottom margins of blocks, and you need a way to specify minimum height, i.e. always at least half a line.

See also: #25

@bertfrees
Copy link
Member Author

To me this really sounds like something that you can automate, and we want to avoid post-processing as much as possible. It's not going to be easy but you have everything you need:

  • Marking up the boundaries of print pages: AFAIK it's not hard to do, and at least for school books it's done anyway.
  • The size top and bottom margins: you have that information.
  • Minimum height: easy enough to specify.

Anyway, priority 3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant