We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 370b7e9 commit a23e53aCopy full SHA for a23e53a
src/Smalot/PdfParser/PDFObject.php
@@ -788,8 +788,9 @@ public function getTextArray(?Page $page = null): array
788
break;
789
}
790
791
- // If the PDFObject is an image, do nothing, as images aren't text.
792
- if ($xobject instanceof Image) {
+ // If the PDFObject is an Image or a Form, do nothing as
+ // neither of these XObject types are text.
793
+ if ($xobject instanceof Image || $xobject instanceof Form) {
794
795
796
0 commit comments