postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.83k stars 839 forks source link

PDF viewer shows overflowed/truncated text #10154

Open marioaae opened 3 years ago

marioaae commented 3 years ago

Is there an existing issue for this?

Describe the Issue

In PDF documents I have generated, when text overflows a specific field/cell of the PDF, the overflowed text is not rendered in order to not go beyond the limits/margins, instead, the overflowed text is hidden/truncated. That works properly when the PDF is opened in Adobe Acrobat Reader.

When the same PDF is visualized with Postaman's PDF pre-viewer, I can still see rendered the overflowed text which should not be the case. This makes me believe there's a bug in the implementation of the PDF viewer as it doesn't comply with overflow text.

Steps To Reproduce

  1. Open a PDF with text that overflows a cell with Acrobat Adobe Reader. You will observe that the overflowed text is not rendered and that is correct.
  2. Open the same PDF with PDF viewer from Postman and you will see the overflowed text is actually rendered. You can see screenshots below.

Screenshots or Videos

Opened with Postman: overflow_render

Opened with Adobe Acrobat Reader overflow_no_render

Environment Information

- Operating System: Windows 10
- Platform Type: Native App
- Postman Version: Postman for Windows Version 8.9.0 | win32 10.0.19042 / x64

Additional Context?

No response

timbochamp commented 3 years ago

Thanks for the report, @marioaae ! I'm able to reproduce this on Windows and will log something to be addressed to not have that text overflow problem

marioaae commented 3 years ago

Thanks for the report, @marioaae ! I'm able to reproduce this on Windows and will log something to be addressed to not have that text overflow problem

Thanks, @timbochamp! if there's a place where I can follow up on this issue, please let me know.

timbochamp commented 3 years ago

@marioaae you can follow the resolution here when we have updates. I logged the severity of this as relatively low, but we'll report back as we address this!