2 Replies Latest reply on May 20, 2009 1:25 AM by mdesignz

    Modify p:font to create new fonts?

    mdesignz

      I needed to add an OCR A font to a PDF file, but couldn't see any obvious way of doing this.  I hacked a work around by adding a FontFactory.register to UIFont, but this isn't a long term solution.  Is there a solution that I'm just missing?
      Thanks.

        • 1. Re: Modify p:font to create new fonts?
          norman

          There's a JIRA request for embedding fonts in PDFs, so you are obviously not the only person to request this.  Perhaps you can contribute some ideas to that.  I've marked it for the next release since there's obviously interest in it.

          • 2. Re: Modify p:font to create new fonts?
            mdesignz

            I completely missed this JIRA, and ended up creating a similar solution!
            Modifying UIFont covers my cases (which is producing every single piece of paper that a large insurance company generates), so I don't know if there's anything else, but I'll certainly mention it if there is.  Thank you for the reply!