[ 
https://issues.apache.org/jira/browse/PDFBOX-2941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18150764#comment-18150764
 ] 

Tilman Hausherr commented on PDFBOX-2941:
-----------------------------------------

Re the last 2 commits: Beads can be displayed in PDFDebugger. However there's a 
bug. This is in DebugTextStripper within the {{if 
(DebugTextOverlay.this.showTextStripperBeads)}} section. This is mostly fixed 
by switching the usage of flipAT and transAT, i.e. doing the flip first.  
However the bead in the 180° file of PDFBOX-6340 isn't displayed correctly. The 
suspicion is of course on {{transAT}} but this one is also used for the cyan 
shapes and these are properly placed. However the mouse coordinates are also 
not displayed properly for 180° (the top y coordinate is -10 but should be 10, 
so this is to blame and should be fixed first. Changing {{y1 = (int) (y - 
offsetY);}} to {{y1 = (int) (y + offsetY);}} in PagePane fixes it and now the 
bead in the 180° file appears correctly.

> Improve PDFDebugger (2)
> -----------------------
>
>                 Key: PDFBOX-2941
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2941
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Utilities
>    Affects Versions: 2.0.0
>            Reporter: Tilman Hausherr
>            Priority: Major
>         Attachments: gs-bugzilla694570.pdf, keep_zoom.diff, osx-tabs.png, 
> pdfdebugger-screenshot-reverted.png, pdfdebugger-screenshot-trunc.png, 
> screenshot_debugger_new.png, screenshot_debugger_not_aligned.png, 
> screenshot_debugger_old.png, screenshot_w7_fontsize.png, 
> separate_filter_choice_from_text_hex_views.diff, sonar_qube_resolve.diff, 
> sonar_qube_resolve_25_08.diff
>
>
> This is a follow-up issue to PDFBOX-2530 to implement extra ideas that came 
> up in GSoC2015, ideas that were not implemented due to lack of time, and new 
> ideas.
> *Viewing*
>  - refactor PDFDebugger.java
>  - ✓ render glyphs of fonts
>  - ✓ refactor StreamPane to share stream filtering among Text view and hex 
> view
>  - ✓ password dialog when hitting protected PDF
>  - show "pretty" XML
>  - display filtered streams even if the unfiltered stream is corrupt 
> (PDFBOX-2976)
>  - ✓ display the "caused by" part exception stack trace (nested exceptions)
>  - ✓ keep zoom
>  - ✓ integrate DrawPrintTextLocations into rendering
>  - integrate area text extraction with a mouse-created rectangle that shows 
> the coordinates in a status line
>  - ✓ show permission flags of {{Encrypt/P}} entry
>  - ✓ show signature flags of {{Root/AcroForm/SigFlags}} entry, see Table 219 
> in PDF spec
>  - ✓ show page labels additional to page number (see file from TIKA-2121 as 
> example)
>  - ✓ "reopen" menu item (useful when editing an existing PDF to create a 
> reduced PDF)
>  - choose zoom automatically so that PDF page can be seen in full
> *Editing*
>  - save modified PDFs
>  - editing in hex viewer
>  - remove nodes (e.g. elements from a COSDictionary)
>  - delete array or dictionary elements
>  - load content streams
>  - edit & keep content streams



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to