pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Douglas <edoug...@blockhouse.com>
Subject Re: Embedding an EPS
Date Thu, 07 May 2015 17:13:59 GMT
I just embed images, generated from iText

On Thu, May 7, 2015 at 1:07 PM, Tilman Hausherr <THausherr@t-online.de>
wrote:

> Am 07.05.2015 um 18:59 schrieb John Hewson:
>
>> On 7 May 2015, at 09:04, phiroc@free.fr 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.
>>
>
> Can't remember if the 1.8.9 version can work properly, i.e. embed the
> font. And yes, a dedicated font best. There are some "3 of 9" fonts
> available on the web. With the font I use at work, one has to include the
> text wwith "*", i.e. *12345678*  .
>
> Tilman
>
>
>
>> -- John
>>
>>  ----- Mail original -----
>>> De: "Maruan Sahyoun" <sahyoun@fileaffairs.de>
>>> À: users@pdfbox.apache.org
>>> Envoyé: Jeudi 7 Mai 2015 17:38:54
>>> Objet: Re: Embedding an EPS
>>>
>>> Hi,
>>>
>>>  Am 07.05.2015 um 17:36 schrieb Tilman Hausherr <THausherr@t-online.de>:
>>>>
>>>> Am 07.05.2015 um 09:15 schrieb phiroc@free.fr:
>>>>
>>>>> 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: users-unsubscribe@pdfbox.apache.org
>>>> For additional commands, e-mail: users-help@pdfbox.apache.org
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
>>> For additional commands, e-mail: users-help@pdfbox.apache.org
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
>>> For additional commands, e-mail: users-help@pdfbox.apache.org
>>>
>>>  ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
>> For additional commands, e-mail: users-help@pdfbox.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message