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

Fix ruby alignment, fix one possible crash, ignore empty non-linear flows #565

Merged
merged 4 commits into from
May 20, 2024

Commits on May 20, 2024

  1. Configuration menu
    Copy the full SHA
    bc82da9 View commit details
    Browse the repository at this point in the history
  2. getRenderedWidths(): fix possible crash with 0-width images

    Coding error: images with width=0 in tables/floats would
    cause an infinite loop and a stack overflow.
    poire-z committed May 20, 2024
    Configuration menu
    Copy the full SHA
    f0c0ebb View commit details
    Browse the repository at this point in the history
  3. Page splitting: ignore empty non-linear flows

    If a non-linear flow was created, but we never got
    any "line" associated to it, just ignore it and reset
    the counter.
    (Otherwise, frontend would get holes/nil in the array
    of flows, and would get confused.)
    poire-z committed May 20, 2024
    Configuration menu
    Copy the full SHA
    db57a87 View commit details
    Browse the repository at this point in the history
  4. LvDocView header: allow overriding "page/total %"

    So frontend can build this bit of text and propagate
    it to crengine for it to display in place of its own
    computed text.
    poire-z committed May 20, 2024
    Configuration menu
    Copy the full SHA
    22e8ff3 View commit details
    Browse the repository at this point in the history