Semi-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 ArticleCMaps and ToUnicode CMaps
I'm looking through a couple documents: 5014.CIDFont_Spec.pdf and 5411.ToUnicode.pdf. My ultimate goal is basically text extraction that includes the positions of the characters.So in a CMap file the...
View ArticleStructure of an Embedded TrueType Font
Hi, I read the PDF Reference document and other one about Font Programs.I have a question about the Embedded font program and more precisely about the embedded subset TrueType font program... Does an...
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 ArticleRadial gradients with tangent circles
I'm trying to implement radial gradients in some open-source projects (cairo and pixman), based on the PDF specification. The specification does not say explicitly how to handle the case when the start...
View Articlehow to insert png to pdf?
I have readed the pdf reference 1.6,i want to insert png to pdf.i konw that the png consits of alpha and RGB,31 0 obj<</BitsPerComponent 8/ColorSpace/DeviceRGB/Filter/DCTDecode/Height 154/Length...
View ArticleExamples of Soft Mask images
Hi, I need to implement Soft Mask image support for a PDF generator (specifically we need to be able to embed PNG images with transparency), read the relevant sections in the PDF specs (sections 8.9.5,...
View ArticlePDF Encryption
Reading through the 1.7 PDF Reference guide looking at the "Computing an encryption key" and I'm not sure how to translate step 7 to code. It says: "Finish the hash". Can anyone shed some light as to...
View ArticleDynamic digital signature appearance
I searched but it seems like the subject hasn't been treated. Ok, I've read "Digital Signature Appearance" by Adobe, and find out how to put my own image when displaying digital signatures.Looking at...
View Articlereuse embedded objects like images in pdf
Hello! I was just wondering, if there is a way of reusing embedded objects inside a PDF (like images.)?So let's say, I have a graphic on the first page and I want to use the same graphic on the third...
View Articlecmap 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 ArticleFile attachment only AES 128 encryption
Hi all, I am trying to decrypt pdfs, encrypted using AES 128 "Encrypt only File Attachments" option in Acrobat. My code so far is working fine with fully encrypted files(decrypts all strings streams as...
View ArticleFast web view & Tagged PDF
Hi eveyone, when we right click on PDF and go to Document Property and then I found that in Description tab at botton side is their are two Line 1st is Tagged PDF : Yes2nd is Fast Web View : Yes how...
View ArticleHow to create a pdf file from multiple images ?
Dear All, I want to create a SINGLE page pdf file from two or more page size images that are combined to make a single page pdf. Again, this question is on pdfs that are made out of several, atleast...
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 Articleconversion to pdf/a archive format
I know that pdf/a archive format is made according to ISO 19005 standard and it is based on pdf 1.4 version. I plan (for my agency) to use pdf/a format because it is suitable for long-term preservation...
View ArticleHow best to find syntax errors in a PDF
Hi, I want to find out the best way for an end user to identify syntax errors in a PDF, such as "expected a dict object", which might occur when a user opens the PDF. I usually find these when using...
View ArticleObject stream and Cross reference stream
Hi, I am creating a simple pdf which just displays letter 'A'. I created width array of Font object, as compressed object inside object stream.I am also creating cross ref. stream which has 30 objects....
View Articleincorrect checkbox appearance
Hello everyone, I'm working on a program that generates interactive forms in PDF. I'd like to add a checkbox on the page but there is problem. When the checbox has focus, everything works ok. When the...
View ArticleRotating text in PDF
Hi there,For some of my work, I'm trying to create a bunch of diagrams and graphics of different kinds directly in PDF. I've written a little Python library to help me do this. The spec is very easy to...
View Article