Am 14.06.2017 um 09:26 schrieb Bharat Bhatt:
Hi,

I am trying to calculate the width of text before writing in to PDF.
I am process the text from other locale i.e "Tipo Identificación".
To calculate the width of these text I have to create PDType0Font font
because default fonts throwing error while calculation.

While doing text width calculation I am not having PDDcoument and that is
required to load the font.
Please let me know how to create PDType0Font font without using PDDocument

Why not use a dummy PDDocument with "new PDDocument()"? Just make sure you're not using that PDType0Font object in your real PDDocument.

Tilman



Thanks,
Bharat

On Wed, Jun 14, 2017 at 12:42 PM, Maruan Sahyoun <[email protected]>
wrote:

Hi,

Am 14.06.2017 um 06:39 schrieb Bharat Bhatt <[email protected]>:

Hi,

How to create PDType0Font font object without loading PDDocument? Only
based on font details and ttf file?
Could you outline what you are trying to achieve?

BR
Maruan

Thanks,
Bharat

---------------------------------------------------------------------
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