Leonard,

Thank you for the pointer.  I am going through the API docs and could not
find how I might go about scaling the glyph.  Can you point me to the right
direction?  Your help is much appreciated.

Kit

-----Original Message-----
From: Leonard Rosenthol [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 8:37 AM
To: Kit Hsu; '[EMAIL PROTECTED]'
Subject: Re: [iText-questions] Create scaled font


At 11:39 AM 6/17/2003 -0400, Kit Hsu wrote:
>I am using a fixed-width font (courier) and I want to calculate the font
>size I should use such that the width of a character is exactly XXX points.
>How can this be achieved?  (without trials and errors)  Thanks in advance.

         Instead of changing the font size, you should scale the glyphs 
horizontally.


Leonard

---------------------------------------------------------------------------
Leonard Rosenthol                            <mailto:[EMAIL PROTECTED]>
Chief Technical Officer                      <http://www.pdfsages.com>
PDF Sages, Inc.                              215-629-3700 (voice)


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to