Skip to content

Commit 7b70773

Browse files
committed
Applied the patches of pymupdf4llm updates
1 parent 8ed5b50 commit 7b70773

373 files changed

Lines changed: 1853 additions & 511 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ mono_crash.*
1818

1919
# Build results
2020
docs/build/
21-
TestDocuments/_Output/
21+
TestDocuments/MuPDF.NET.Test/_Output/
22+
TestDocuments/PDF4LLM.Test/_Output/
2223
[Dd]ebug/
2324
[Dd]ebugPublic/
2425
[Rr]elease/

Demo/SampleMenu.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ private sealed record Sample(string Category, string Name, string Description, A
5454
new("Image filters (Skia)", "image-filter-ocr", "Pixmap OCR with filter pipeline", _ => Program.TestImageFilterOcr()),
5555

5656
// —— Barcodes —— Samples/Barcodes
57-
new("Barcodes", "read-barcode", "Read barcodes from image and PDF", a => Program.TestReadBarcode(a)),
58-
new("Barcodes", "read-datamatrix", "Read Data Matrix from PDF", _ => Program.TestReadDataMatrix()),
57+
//new("Barcodes", "read-barcode", "Read barcodes from image and PDF", a => Program.TestReadBarcode(a)),
58+
//new("Barcodes", "read-datamatrix", "Read Data Matrix from PDF", _ => Program.TestReadDataMatrix()),
5959
//new("Barcodes", "read-qrcode", "Render PDF page and read QR from PNG", a => Program.TestReadQrCode(a)),
6060
new("Barcodes", "write-barcode", "Write many barcode types to PDF and PNG", a => Program.TestWriteBarcode(a)),
6161
new("Barcodes", "write-barcode1", "Write CODE39/CODE128/DM with Units rects", _ => Program.TestWriteBarcode1()),

MuPDF.NET.Test/Test2548.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Port of PyMuPDF-1.27.2.2/tests/test_2548.py
1+
// Port of PyMuPDF/tests/test_2548.py
22
using System;
33
using System.Linq;
44
using Xunit;

MuPDF.NET.Test/Test2634.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Port of PyMuPDF-1.27.2.2/tests/test_2634.py
1+
// Port of PyMuPDF/tests/test_2634.py
22
using System;
33
using System.Collections.Generic;
44
using System.Globalization;

MuPDF.NET.Test/Test2904.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Port of PyMuPDF-1.27.2.2/tests/test_2904.py
1+
// Port of PyMuPDF/tests/test_2904.py
22
using System;
33
using Xunit;
44

MuPDF.NET.Test/Test2907.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Port of PyMuPDF-1.27.2.2/tests/test_2907.py
1+
// Port of PyMuPDF/tests/test_2907.py
22
using System;
33
using System.IO;
44
using System.Linq;

MuPDF.NET.Test/Test4141.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Port of PyMuPDF-1.27.2.2/tests/test_4141.py
1+
// Port of PyMuPDF/tests/test_4141.py
22
using System;
33
using Xunit;
44

MuPDF.NET.Test/Test4503.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Port of PyMuPDF-1.27.2.2/tests/test_4503.py
1+
// Port of PyMuPDF/tests/test_4503.py
22
//
33
// Test for issue #4503 in pymupdf:
44
// Correct recognition of strikeout and underline styles in text spans.

MuPDF.NET.Test/Test4505.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Port of PyMuPDF-1.27.2.2/tests/test_4505.py
1+
// Port of PyMuPDF/tests/test_4505.py
22
using System.Collections.Generic;
33
using Xunit;
44

MuPDF.NET.Test/Test4520.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Port of PyMuPDF-1.27.2.2/tests/test_4520.py
1+
// Port of PyMuPDF/tests/test_4520.py
22
using Xunit;
33

44
namespace MuPDF.NET.Test

0 commit comments

Comments
 (0)