New Forum | Previous | Next | (P-PDF) Developers
Topic: Re: Help with PDF Encoding (Via Email)
Conf: (P-PDF) Developers, Msg: 142236
From: LeonardR
Date: 11/4/2005 07:05 AM
At 01:49 AM 11/4/2005, p-pdf-developers Listmanager wrote:
> i´m using PDFBox to modify the contents of a
> PDF(replace á´s for a´s, ú´s for u´s for
> example). It was all working fine, until i
> faced pdf´s with a different encoding.
Yes, Encoding is a MAJOR piece of
understanding text and fonts with PDF...
>I wish to know if there´s anyway i can figure
>out the font encoding for each part of the pdf.
First, you REALLY need to read the PDF
Reference about Fonts and Encoding - that is
going to help you better understand how Fonts,
Encoding and text in the content stream all work together.
Once you understand that, you'll see
that you need to know the TextState of each
operation in question to be able to make your determinations..
Leonard
---------------------------------------------------------------------------
Leonard Rosenthol
Chief Technical Officer
PDF Sages, Inc. 215-938-7080 (voice)
215-938-0880 (fax)