Skip to content

Commit

Permalink
README screenshot fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
ashariyar committed Sep 20, 2022
1 parent 82a06bf commit c2de4fc
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ Things like, say, a hidden binary `/F` (PDF instruction meaning "URL") followed

[^3]: At least they weren't catching it as of September 2022.

![Node Summary](doc/svgs/svgs_rendered_as_png/font_checking_dangerous_instructions.png)
![Node Summary](doc/svgs/svgs_rendered_as_png/font29.js.1.png)

## Compute Summary Statistics About A PDF's Inner Structure
Some simple counts of some properties of the internal PDF objects. Not the most exciting but sometimes helpful. `pdfid.py` also does something much like this.
Expand Down
Binary file added doc/svgs/svgs_rendered_as_png/font29.js.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
2 changes: 1 addition & 1 deletion lib/data_stream_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def _print_surrounding_bytes(self, around_idx: int, size: int, highlighted_bytes

# Print the output
size_str = f"({size} bytes before and {size} bytes after [error]{clean_byte_string(highlighted_bytes)}[/error] at position {around_idx})"
console.print(f"Surrounding bytes {size_str}: ")
console.print(f"Surrounding raw bytes {size_str}: ")
console.print(section)

for encoding in ENCODINGS_TO_ATTEMPT:
Expand Down

0 comments on commit c2de4fc

Please sign in to comment.