Current Position:Home > Form XObject not displaying in Acrobat Reader

Form XObject not displaying in Acrobat Reader

Update:10-11Source: network consolidation
Advertisement
I've written a PDF library that from what I can tell follows the PDF Specification. However no matter how hard I try, I can't figure out why I'm not getting Form XObject with a content stream to display inside another page. There isn't really a good example in the PDF Specification, and i've been unable to locate a PDF online that uses this feature.
The only reference I am aware of having required to the XObject is in the page's resources, where it is given a name. I then just apply a transform and then perform a Do graphics operation. Everything in the specification states that should do the job; BUT the specification never actually shows the complete use of a form, just how its created. The rest I have peiced together from using Image XObjects.
Any ideas as to what is wrong? Acrobat displays no error messages, just an empty page.
Here are snipets of what my library generates.:
%form xobject
12 0 obj
<< /Type /XObject
/Subtype /Form
/FormType 1
/BBox [ 0 0 1100 850]
/Resources << /ProcSet [ /PDF ] >>
/Length 75 >>
stream
10 10 m
990 10 l
0 0 0 RG
S
0 0 0 RG
0.5 0 0 rg
100 100 50 50 re
B
endstream
endobj
% page object
8 0 obj
<< /Type /Page
/Parent 1 0 R
/Resources << /XObject << /XOBJF1 12 0 R >> >>
/MediaBox [ 0 0 1100 850 ]
/Contents 7 0 R
/PZ 100 >>
endobj
%page content stream object
7 0 obj
<< /Length 63 >>
stream
q
816 0 0 612 100 100 cm %transform ignored
Q
1100 0 0 850 0 0 cm
/XOBJF1 Do
endstream
endobj

The Best Answer

Advertisement
Wow, thanks guys.
Leonard, amazing. I had tried a 1 0 0 1 0 0 matrix before with no success, but changing that this time worked. I'm stumped, of course when you change alot of things at once to try to find a problem you can often overlook a fix.
The first transform actually is ignored, now that its fixed i tried it with and without that transform; its ignored because I push and pop the stack (normally I display a test image xobject in there, but while trying to figure out this form problem I disabled the image output)
Thanks again, I spent several days looking over the insides of countless PDFs trying to find a good example of form xobjects.
Dan
  • Form XObject not displaying in Acrobat Reader Update:10-11

    I've written a PDF library that from what I can tell follows the PDF Specification. However no matter how hard I try, I can't figure out why I'm not getting Form XObject with a content stream to display inside another page. There isn't really a good

  • How to open PDF in Acrobat 9 without displaying the Acrobat window Update:10-11

    Am using IAC in Windows XP via VC++ to open and modify PDFs in memory without displaying the Acrobat window so as to the PDF Processing in the background. To open the PDF, have to call the method PDDoc.OpenAVDoc which opens the Acrobat window for dis

  • Reducing size of .pdf image prior to displaying by Acrobat Reader Update:10-11

    I scanned a newspaper article to a .pdf file and when Iit was displayed by Acrobat Reader the image was at 290%.  I would prefer a 100% readable image.  Is there an option to reduce the image size to say 100 or 75% prior to displaying it in Acrobat? 

  • Wrong display  of Acrobat XI Pro Update:11-30

    Hi, the Acrobat XI Pro app display look is kind of weird. Like as if it's not optimized for retina display or something. It seems to have a low res. apparence. All my others products from CC are fine, the problem is only with Acobat. How can I resolv

  • 2-Page display in Acrobat 9.1.2 Update:10-11

    I have a document created in ID CS4, of multiple facing pages, and exported to PDF.  But when I open it in Acrobat 9.1.2, and switch to 2-Page view, it displays with page one (a right-hand page) moved to the left of the screen, and page 2 (a left-han

  • Poor font display in Acrobat X Update:10-11

    When I view many PDF files in Acrobat Pro X (10.1.9) in Windows 7, the font displays poorly: The same file appears fine in the Firefox viewer: Any idea how I can fix the issue?A couple of questions about the displays above. What are your Page Display

  • Properties Toolbar not displaying in Acrobat Standard 9.0 Update:10-11

    In editing an Adobe document the Properties Toolbar does not display even though the Toolbar is checked.     The Toolbar will not display unless the document is exited and all Adobe documents are closed and Adobe is opened again.    Is this a known b

  • Help: Crappy font display in Acrobat 9, Windows 7 x64 Update:10-11

    I have build a new Windows 7 x64 machine. Nice and fast. Unfortunately, Adobe Acrobat 9.2 is playing up. The fonts in a number of PDFs from different sources do not display correctly; the letters are far too thin and coarsely pixelated. The same file

  • QR Barcode displays in Acrobat X Pro but converts data to graphic in Reader 8.  How to fix? Update:10-11

    The QR barcode, which displays 3 items, works perfectly in Pro X but changes from graphic to text when form completed by "user" in Reader 8.  How do I prevent this happening.George,       Just to clarify, did you extend with Acrobat or LiveCycle

  • Why does the Harvey Balls font print differently than it displays in Acrobat? Update:11-30

    I used the Harvey Balls font (harvey_balls.ttf) to populate a table in a PowerPoint 2007 document. I saved the document as a PDF using the Save As - Adobe PDF function in PowerPoint. When the document displays on my screen, it looks normal. Please se