Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/dev/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ It is also possible to run it locally:
```

3. Run `doctest` build. It uses indirectly `sphinx-build` command line tool
installed with docs requrements. See
installed with docs requirements. See
[Sphinx's docs](https://www.sphinx-doc.org/en/master/usage/quickstart.html#running-the-build)
for details.

Expand Down
2 changes: 1 addition & 1 deletion pypdf/_font.py
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ def as_font_resource(self) -> DictionaryObject:
# If we have an embedded Truetype font, we assume that we need to produce a Type 2 CID font resource.
if self.font_descriptor.font_file and self.sub_type == "TrueType":
# Begin with creating the widths array (part of the descendant font) and the unicode cmap (part
# of the Type 0 font obect).
# of the Type 0 font object).
widths_list, to_unicode_stream = self._create_widths_list_and_unicode_stream()

# Create the descendant font object
Expand Down
2 changes: 1 addition & 1 deletion tests/test_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -1852,7 +1852,7 @@ def test_iss2761():

@pytest.mark.enable_socket
def test_iss2817():
"""Test for rebuiling Xref_ObjStm"""
"""Test for rebuilding Xref_ObjStm"""
url = "https://github.com/user-attachments/files/16764070/crash-7e1356f1179b4198337f282304cb611aea26a199.pdf"
name = "iss2817.pdf"
reader = PdfReader(BytesIO(get_data_from_url(url=url, name=name)))
Expand Down
2 changes: 1 addition & 1 deletion tests/test_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1705,7 +1705,7 @@ def test_merge_content_stream_to_page():
"""Test that new content data is correctly added to page contents
in the form of an ArrayObject or StreamObject. The
test_add_apstream_object code already correctly checks that
_merge_content_stream_to_page works for an emtpy page.
_merge_content_stream_to_page works for an empty page.
"""
writer = PdfWriter()
page = writer.add_blank_page(100, 100)
Expand Down
Loading