How can I check text rotation when extracting text from pdf file?
If there are rotated text in pdf file how can I detect this rotation in the output stream??
View ArticleProblem in displaying image contained in a pdf file
I am reading a PDF file that contains an image, color space used in image is CMYK, when I read the image and output it into my own viewer (not pdf reader) I have to subtract each component of each...
View ArticleUsage Rights question
Hi, I'm working on a product which allows to generate PDF files. One of our customers has asked about enabling Usage Rights in Abode Reader for the generated documents. So I'm currently investigating...
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 ArticleReading PDF using PHP
Is there any way to read PDFs using PHP? Would appreciate the help. Thanks,Jyotsna
View Articlehow to map from cid to unicode
Hello.I'm now trying to convert cid to unicode by using the toUnicode cmap.The toUnicode cmap I extracted is as follows: /CIDInit /ProcSet findresource begin12 dict beginbegincmap/CIDSystemInfo<<...
View ArticleObject reference in the xref table is in offset to the actual reference of...
Hi Im trying to parse a PDF file. The goal is to automatically mark sections of the document to make it easier for a reader to spot the important sections of the document. I read the PDF file by making...
View ArticleHow to find decoder name from decoded stream?
Hey, 177 0 obj^M<</Length 110 /Filter /FlateDecode >>^Mstream^Mx<9c>3´Ô30P0^@^Q<86> B^WÂ4^C<91>Fæ 2ÅP¡^P"^@Q^G#Á²^P]0¡ä\^E'O^Eýp...
View ArticleHow to download Adobe-UCS-0 cmap?
Guys, I have pdf, there the CID font is embedded. But I can't able to extract the glyph. The font is encoded using Identity-H and using the Adobe-UCS-0 character map to decode. The details are given...
View Articlepage height is zero
We're building a pre-flight tool to check page orientation and auto-rotate to consistantly build right reading books whether or not the page is landscape or portait but we're coming up with pdfs with...
View ArticleSimple Text String Example in specification broken.
I am a fortran programmer, contemplating writing a simple PDF creator. Like a previous poster, I am trying to get a handle on the PDF spec by typing in the examples from appendix G. I understand I need...
View ArticleBaseFont and FontName must be equals?
I have trouble with an PDF/A document and some readers we are using: - Acrobat (Reader) 9.X works fine- Acrobat (Reader) 6.X and our own inhouse reader have problems I tracked it down to the following...
View ArticleHow large can a PDF file be?
This question is not just strictly about the spec, it's also about what the most common readers will accept. So the file offsets are 10-digit numbers, is the maximum safe offset 2,147,483647 or...
View ArticleFont type Identity-H not recognized
Hello guys, I have question and challenge with Font type identity-H. Actually i am tryping to convert PDF file to TIF using 3rd party tool called Ghostscript v.9. When pdf input stream comes in as a...
View ArticleHow to embed an image with transparent background
Not sure if this is the right forum, but I'd be grateful for any advice available. I am not a heavy PDF user, but 2 or 3 times a year I have to create a handbill for an amateur concert. The output...
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 ArticleSemi-transparent image
Hi, I'm working on a small and simple pdf generator (just for simple drawing purpose), and I'm trying to manage semi-transparent image (like png).I've successfully managed non semi transparent image...
View ArticleAdobe Acrobat Reader want to modify my pdf when closing it. Why?
Hi, I'm working on a small and simple pdf generator (as said in my previous question).When opening my generated pdf with Adobe Acrobat Reader, all is OK.But when I'm closing it, Adobe Reader popup a...
View ArticleSimple pdf file leads to wrong output color, whats wrong?
Hello, i have a simple pdf file that just draws a rectangle filled with cmyk 1.0,0.35,0,0.28,but the problem is, that this is not the color thats printed. Inkscape and gimp showthe wrong color too.In...
View ArticlePDF Stream Extent?
Hello everyone. I'm trying to interpret exacty what is and isn't included in a PDF stream and to date am still confused. I'll paste a section of the ISO3200 - 1 PDF reference below. I'm not sure, but...
View Article