cmap for this font is missing
I wrote some code using the following PDF API call encoding = PDSysEncodingCreateFromCMapName(cmapAtom);This throws an exceptionThe CMAP for the existing font is missing or something that...
View ArticleParent/child fonts problem
Hi all I'm developing a program which has been writing out servicable PDF files for a few months, with embedded Truetype fonts; the files open without problem and display correctly. However, I am now...
View ArticleInverse y axis and text
When we draw in windows the origin is at the upper left point.I tranform it to the lower left with matrix M=[sc, 0, 0, -sc, 0, y] where sc is some scaling and y the height of the window.The result...
View ArticleFind the tx position from operator TJ
Hi, I am a beginner in PDF and have read the PDF reference a few times.however, I still have some questions on the positioning of x, y in Operator TJ. Hopefully, there are many masters here that can...
View ArticleCID to Unicode Value
Hi,I've got a new question, that is how could I get the corresponding unicode value if I have only the CID value?Thanks.
View ArticleWith which dpi value are PDF documents encoded ?
How do I find out with which dpi a certain pdf document is encoded?Is the dpi standardized among pdf versions? If yes, what is the dpi for pdf docs from v1.2 ?If I print a pdf doc into a new pdf doc...
View ArticlePublic Key Encryption data extraction from a PDF file
Greetings I'm trying to extract the cryptographic key and access permission from a string that is the PKCS#7 object for a PDF I created with Public Key security. I'm new to understanding PKCS#7 format,...
View ArticleTm operator
Hi, I have line like this: 11.5 0 0 10.925 213.138 352.5073 Tm I know, it's explained inside PDF 32000-1:2008 on page 250, but I still don't know how to read from this. Can someone explained this to me...
View ArticleAdd / Save paragraph and characters styles in PDF
Hi all, We recently did some tests with PDF to ePub export (different settings, different tools). What we saw is that none of the tools were able to respect paragraph and text styles. They just threw...
View Articlexref with object number greater than trailer's size value
Hello, a client sent to us a PDF with a strange xref table. Here is what it looks like: xref0 55%% standart xref entries200001 50000052507 00000 n 0000052793 00000 n 0000053079 00000 n 0000053365...
View ArticleMac PDF files look entirely different on PC
I am designing som educational material in Word (version 14.0.2 ) on my Mac (OSX version 10.8.3 ). The document contains al lot of boxes and shapes with text in them. When i "print to PDF" from Word,...
View Article"There was an error processing a page. Invalid Function resource."
I've got a PDF file that I'm trying to split up its pages. The resulting page gives the error: "There was an error processing a page. Invalid Function resource." I've looked at each object, and other...
View Article"To view the full contents of this document..."
Hi All, I am working on a PDF parser and while parsing PDF file I am able to parse the document catalog & cross reference table but when it comes to content I get a message "To view the full...
View Articlepassword encryption with 256 bit AES algorithm...???
I have an application for the decryption of pdf passwords for 128 bit Rc4 and 128 AES. In this, i am doing 50 times MD5 using an encryption key. Its working well with this approach. But in case of 256...
View Articlehow to decode the cross-reference stream?
6 0 obj<</DecodeParms<</Columns 4/Predictor 12>>/Filter/FlateDecode/ID[<275EB65AA3259D4FB5B288864AD5DDFC><3476ED2 4B8B8844D840F1CF1600D5665>]/Info 23 0 R/Length 59/Root 25...
View Articlecross-reference stream
<>/Filter/FlateDecode/ID[]/Info 23 0 R/Length 59/Root 25 0 R/Size 24/Type/XRef/W[1 2 1]>> I use zlib to inflate the data,the use png filter arithmetic to reverse the decompressed data:...
View ArticleFont Type 3 examples?
Hello,reading chapter 5 of the specification my understanding is that:- to support Unicode text in a PDF it looks useful to use a CIDFont.- CIDFonts can be constructed with some TTF or Type-3-Fonts.-...
View ArticleGetting more detailed error messages from Adobe Acrobat
Hi Is there a way to get more detailed error messages from Adobe Acrobat reader when he detecs an error in a PDF file?My program generates PDF files. There is one that throws an error in Acrobat while...
View ArticleDecoding (...)Tj - what todo with "backslash" in hex encoded ToUnicode indices
Hello @all, I'm currently getting into details about PDF. My current problem is, that I have a PDFwith exactly one font. This font is CMAP font with ToUnicode encoding. I've got the CMAP table - all in...
View Articlecan't find Page Tree Nodes?
I have read the pdf reference 1.6 carefully,i have decompress an decode the cross-reference stream.then i try to get the page tree nodes,i can't find it in a pdf of version 1.6for example:I get the...
View Article