Skip to content

Multi-Page cuts text/object #9

Description

@njcramsey

Screen Shot widget

Describe the bug

When Printing a multi-page class, the page split doesn't check for line fit and will split it at the pixel line vs the context. Result is that a label or attribute value gets cut with some percentage visible on the "top" page and the rest on the "bottom" page.

To Reproduce
Steps to reproduce the behavior:

  1. Create a page with many lines (labels, attributes, images, etc.) that will span content greater than a page type defined by the widget (A4/Letter/etc) so you create a multi-page scenario.
  2. Print the screenshot
  3. View the result as it will show the labels/attributes/images/etc. hard split on the page break

Expected behavior
Code provides adequate margin and padding and splits to a new page if there isn't enough vertical height remaining before the page break so the labels/attributes/images/etc. don't split.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Chromium (Edge but also Chrome/Brave, and Firefox separately)
  • Version [Edge is 106.0.1370.37]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions