> On 7 May 2015, at 09:04, [email protected] wrote:
> 
> I would like to generate a barcode, then embed it in the PDF.
> 
> The O'Reilly 'Developing with PDF' book says that you can use XObjects to 
> embed vectorial images (such as, perhaps, EPS). Has anyone here ever tried it?

I have that book too, it actually says "PDF doesn't really have the concept of 
a vector image such as an EPS or EMF" (p58). It's description of what an Form 
XObject is is rather brief though. To clarify, it's a way of embedding an 
existing PDF content stream, e.g. perhaps a diagram or a page from another PDF. 
It does not provide support for any other file formats.

Most barcodes I've encountered in PDFs use special fonts, rather than graphics.

-- John

> ----- Mail original -----
> De: "Maruan Sahyoun" <[email protected]>
> À: [email protected]
> Envoyé: Jeudi 7 Mai 2015 17:38:54
> Objet: Re: Embedding an EPS
> 
> Hi,
> 
>> Am 07.05.2015 um 17:36 schrieb Tilman Hausherr <[email protected]>:
>> 
>> Am 07.05.2015 um 09:15 schrieb [email protected]:
>>> Hello,
>>> 
>>> is it possible to embed an EPS in a PDF, with PDFBox?
>> 
>> No because PDF doesn't support it:
>> https://forums.adobe.com/thread/285464
>> https://stackoverflow.com/questions/2029700/how-do-i-embed-eps-into-a-pdf-with-pdfapi2
> 
> or did you mean to embed the EPS file as an attachment to the PDF?
> 
> BR
> Maruan
> 
>> 
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to