Title: RE: [iText-questions] Setting Font Width Tables.

setForceWidthsOutput only matters for the built-in fonts. All the others already have to produce the widths array. For this particular case with an Identity-H encoding it can only be done with the new version at itextpdf.sf.net. See BaseFont.setCharAdvance().

Leonard is right that the name should be changed. It will work correctly as a single document but it's bound to  break if the fonts are merged with other docs. I'll have a method to change the font name in the next release.

Best Regards,

Paulo Soares


    -----Original Message-----

    From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] On Behalf Of Leonard Rosenthol

    Sent:   Thursday, December 18, 2003 18:38

    To:     Jerold Sampson; [EMAIL PROTECTED]

    Subject:        Re: [iText-questions] Setting Font Width Tables.

    At 11:06 AM -0700 12/18/03, Jerold Sampson wrote:

    >Are there known restrictions in this function? For example, I am

    >trying to override the widths of an embedded TT fonts.

            NO!!!!!

            Do NOT do this, all hell will break loose - or at least you

    will NOT get the results you expect....

            If you want custom widths, then create your own font with

    your own name and embed that data.  Do NOT try to "hack" existing

    fonts - standard or otherwise.


    Leonard

    --

    ---------------------------------------------------------------------------

    Leonard Rosenthol                            <mailto:[EMAIL PROTECTED]>

    Chief Technical Officer                      <http://www.pdfsages.com>

    PDF Sages, Inc.                              215-629-3700 (voice)

                                                  215-629-0789 (fax)


    -------------------------------------------------------

    This SF.net email is sponsored by: IBM Linux Tutorials.

    Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's

    Free Linux Tutorials.  Learn everything from the bash shell to sys admin.

    Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

    _______________________________________________

    iText-questions mailing list

    [EMAIL PROTECTED]

    https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to