You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by arun segar <ar...@gmail.com> on 2010/12/09 06:47:59 UTC
Choose and remove font in PDF
Hi Guys,
Is there any option available in PDFBox to choose and remove the font in
already build PDF.
Please tell and suggest me if there is any thing like that.
Thanks,
Arun Segar
RES: Choose and remove font in PDF
Posted by José Rodolfo Carrijo de Freitas <jo...@softplan.com.br>.
Not directly,
I think you have to remove the operator within the stream and the resource.
-----Mensagem original-----
De: arun segar [mailto:arunsegar@gmail.com]
Enviada em: quinta-feira, 9 de dezembro de 2010 03:48
Para: users@pdfbox.apache.org; users-help@pdfbox.apache.org
Assunto: Choose and remove font in PDF
Hi Guys,
Is there any option available in PDFBox to choose and remove the font in
already build PDF.
Please tell and suggest me if there is any thing like that.
Thanks,
Arun Segar
RES: Choose and remove font in PDF
Posted by José Rodolfo Carrijo de Freitas <jo...@softplan.com.br>.
You might wanna try see some examples that uses PDFStreamParser(there are
some in the examples package) to iterate over the tokens that forms the pdf.
Look for the tokens related to Fonts, and remove them from the stream.
TO remove the font from the resource, I believe you can just remove it from
the resources map.
-----Mensagem original-----
De: arun segar [mailto:arunsegar@gmail.com]
Enviada em: quinta-feira, 9 de dezembro de 2010 09:23
Para: users@pdfbox.apache.org
Assunto: Re: Choose and remove font in PDF
Hi Jose,
Could you explain to me more briefly...
Thanks,
Arun Segar
On Thu, Dec 9, 2010 at 3:50 PM, José Rodolfo Carrijo de Freitas <
jose.freitas@softplan.com.br> wrote:
> Not directly,
> I think you have to remove the operator within the stream and the
resource.
>
> -----Mensagem original-----
> De: arun segar [mailto:arunsegar@gmail.com]
> Enviada em: quinta-feira, 9 de dezembro de 2010 03:48
> Para: users@pdfbox.apache.org; users-help@pdfbox.apache.org
> Assunto: Choose and remove font in PDF
>
> Hi Guys,
>
> Is there any option available in PDFBox to choose and remove the font in
> already build PDF.
>
> Please tell and suggest me if there is any thing like that.
>
> Thanks,
> Arun Segar
>
>
Re: Choose and remove font in PDF
Posted by arun segar <ar...@gmail.com>.
Hi Jose,
Could you explain to me more briefly...
Thanks,
Arun Segar
On Thu, Dec 9, 2010 at 3:50 PM, José Rodolfo Carrijo de Freitas <
jose.freitas@softplan.com.br> wrote:
> Not directly,
> I think you have to remove the operator within the stream and the resource.
>
> -----Mensagem original-----
> De: arun segar [mailto:arunsegar@gmail.com]
> Enviada em: quinta-feira, 9 de dezembro de 2010 03:48
> Para: users@pdfbox.apache.org; users-help@pdfbox.apache.org
> Assunto: Choose and remove font in PDF
>
> Hi Guys,
>
> Is there any option available in PDFBox to choose and remove the font in
> already build PDF.
>
> Please tell and suggest me if there is any thing like that.
>
> Thanks,
> Arun Segar
>
>