iText HTML->PDF Problems

Discussion in 'Java' started by Chris, Apr 16, 2004.

  1. Chris

    Chris Guest

    I'm using the itext pdf generation tools and running into a few
    stumbling blocks.. I've got a html document that we would like to
    convert into a PDF... Most of it works good.. For some reason i'm
    having problems w/ certain tags such as <HR /> and <ol></ol> &
    <ul></ul>...

    <hr /> tags throw a element not supported 39 error... and ol, ul say
    they're supported but seem a little flakey to me...

    also in the html document we're specifying times new roman font but
    for some reason the pdf doesn't print that font.


    does anybody know of any work-arounds for these problems? or having
    problems with this????
    Chris, Apr 16, 2004
    #1
    1. Advertising

  2. Chris

    Roedy Green Guest

    On 16 Apr 2004 08:47:00 -0700, (Chris)
    wrote or quoted :

    ><hr /> tags throw a element not supported 39 error... and ol, ul say
    >they're supported but seem a little flakey to me...


    you could try replacing them with <hr> or <hr/> tags and see if it
    like them better. Funduc Search and Replace scripts are great for this
    sort of job. see http://mindprod.com/jgloss/funduc.html


    --
    Canadian Mind Products, Roedy Green.
    Coaching, problem solving, economical contract programming.
    See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
    Roedy Green, Apr 17, 2004
    #2
    1. Advertising

  3. Chris

    Chris Guest

    i'm still searching for help on this...

    thanks.

    > I'm using the itext pdf generation tools and running into a few
    > stumbling blocks.. I've got a html document that we would like to
    > convert into a PDF... Most of it works good.. For some reason i'm
    > having problems w/ certain tags such as <HR /> and <ol></ol> &
    > <ul></ul>...
    >
    > <hr /> tags throw a element not supported 39 error... and ol, ul say
    > they're supported but seem a little flakey to me...
    >
    > also in the html document we're specifying times new roman font but
    > for some reason the pdf doesn't print that font.
    >
    >
    > does anybody know of any work-arounds for these problems? or having
    > problems with this????
    Chris, Apr 19, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Daniel

    pdf-forms using iText

    Daniel, Jun 9, 2005, in forum: Java
    Replies:
    0
    Views:
    494
    Daniel
    Jun 9, 2005
  2. Tim
    Replies:
    6
    Views:
    11,505
  3. Jack
    Replies:
    0
    Views:
    808
  4. Aaron
    Replies:
    1
    Views:
    1,698
    Ingo R. Homann
    Oct 4, 2007
  5. Toni Pohl
    Replies:
    1
    Views:
    928
    Toni Pohl
    Aug 10, 2008
Loading...

Share This Page