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

Don't abort when there's not enough space in the left or right page margin #35

Merged
merged 1 commit into from
Feb 14, 2022

Conversation

bertfrees
Copy link
Contributor

@kalaspuffar @PaulRambags I've addressed an issue that was mentioned in #23, namely that when there is not enough space in left or right page margin to render content, there should be an option to handle it gracefully. It turned out there was already an option called "allowsTextOverflowTrimming" which I've used. What do you think?

Copy link
Collaborator

@kalaspuffar kalaspuffar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

> Task :checkstyleMain
[ant:checkstyle] [ERROR] /home/danielp/github/dotify.library/src/org/daisy/dotify/formatter/impl/page/PageImpl.java:30: Wrong order for 'java.util.Optional' import. [ImportOrder]
[ant:checkstyle] [ERROR] /home/danielp/github/dotify.library/src/org/daisy/dotify/formatter/impl/page/PageImpl.java:247: Line is longer than 120 characters (found 125). [LineLength]

…argin

(to render a marker-indicator) when the "allowsTextOverflowTrimming"
option is set. Instead show a warning.

This addresses Github issue
mtmse#23 about "handling
errors gracefully instead of aborting".
@bertfrees
Copy link
Contributor Author

Fixed it and rebase onto main.

@kalaspuffar
Copy link
Collaborator

PR approved, running regression tests.

@kalaspuffar
Copy link
Collaborator

Regression tests passed, merging.

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

Successfully merging this pull request may close these issues.

3 participants