Questions tagged [pdf-specification]

The Portable Document Format (PDF) has been standardized as several different ISO standards (ISO 32000, ISO 19005-1, ISO 15930, ...) Any question about how to interpret these standards should use this tag.

The PDF standard is quite ambiguous and can be interpreted in several ways. So use this tag for any question related to the actual ISO PDF standard. Questions about specific libraries should be tagged with that library name instead.

Related tags: , , ,

6 questions
3
votes
1 answer

PDF formfield radiobutton syntax latex3 generation

I stumbled over the following PDF since my PDF library has problems with it. It contains what I would call a peculiar interpretation of the PDF specification thus the radiobutton is not working correctly in most viewers. However a standard could be…
Lonzak
  • 9,334
  • 5
  • 57
  • 88
1
vote
1 answer

Manual creation of pdf files without using third party libs

I would like to create a pdf file manually without using any third-party libraries. I need to create a sample invoice format which will have some text, a table and an image with raw pdf objects. I looked into few pages but there is no proper data…
1
vote
2 answers

Adding certification / docMDP signature using openPDF

I just stumbled over the following code in openPDF while creating a docMDP: private void addDocMDP(PdfDictionary crypto) { PdfDictionary reference = new PdfDictionary(); PdfDictionary transformParams = new PdfDictionary(); …
Lonzak
  • 9,334
  • 5
  • 57
  • 88
0
votes
1 answer

How Adobe Acrobat does break words in PDF documents when copying text?

PDF documents don't require space characters to be present in the page content streams to visually break words. As a consequence, a glyph for the space character may be missing as well in font programs. PDF compliant viewers appear to use font…
ceztko
  • 14,736
  • 5
  • 58
  • 73
0
votes
1 answer

Detect PDF form field radio button (radiobutton) shape / style

I need to programmatically categorize which shape a pdf form field radiobutton has. Therefore I created a test pdf using *crobat. I added a radiobutton group where each widget is using a different style. One way could be to check the CA key of the…
Lonzak
  • 9,334
  • 5
  • 57
  • 88
0
votes
1 answer

PDF Formfield font size: Default appearance vs. appearance stream

I extract the font size of a form field to get the information about its size (using iText). This works well for most of the documents however for some I get a font size of 1 because in the appearance the font size is 1. However if I open the PDF in…
Lonzak
  • 9,334
  • 5
  • 57
  • 88