I just embed images, generated from iText

On Thu, May 7, 2015 at 1:07 PM, Tilman Hausherr <[email protected]>
wrote:

> Am 07.05.2015 um 18:59 schrieb John Hewson:
>
>> 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.
>>
>
> 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" <[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]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to