Skip to content

Commit

Permalink
DOC: Add feature support by pypdf (#2738)
Browse files Browse the repository at this point in the history
  • Loading branch information
j-t-1 authored Jul 17, 2024
1 parent f6cdd7c commit 0da2f5d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions docs/user/pdf-version-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ all features of PDF 2.0.

## PDF Feature Support by pypdf

| Feature | PDF-Version | pypdf Support |
| --------------------------------------- | ----------- | -------------- |
| Transparent Graphics | 1.4 | ? |
| Feature | PDF Version | pypdf Support |
| --------------------------------------- |:-----------:|:--------------:|
| CMaps | 1.4 ||
| Object Streams | 1.5 | ? |
| Cross-reference Streams | 1.5 | ? |
| Optional Content Groups (OCGs) - Layers | 1.5 | ? |
| Content Stream Compression | 1.5 | ? |
| Transparent Graphics | 1.4 ||
| Content Stream Compression | 1.5 ||
| Cross-reference Streams | 1.5 ||
| Object Streams | 1.5 ||
| Optional Content Groups (OCGs) | 1.5 ||
| AES Encryption | 1.6 ||

See [History of PDF](https://en.wikipedia.org/wiki/History_of_PDF) for more
Expand Down
2 changes: 1 addition & 1 deletion tests/test_generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def test_name_object(caplog):
)
) == "/你好世界"

# to test latin-1 aka stdencoding
# to test PDFDocEncoding (latin-1)
assert (
NameObject.read_from_stream(BytesIO(b"/DocuSign\xae"), None)
) == "/DocuSign®"
Expand Down

0 comments on commit 0da2f5d

Please sign in to comment.