Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2035

[PATCH] National characters in PDF base fonts

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Resolution: Unresolved
    • 1.0
    • None
    • renderer/pdf
    • None
    • Operating System: Windows Vista
      Platform: PC
    • 52992

    Description

      I've modified FOP to support national characters in base 14 fonts (namely in Helvetica), using /BaseEncoding /WinAnsiEncoding /Differences [...] mechanism. It's rather cracking than improvement - because of my very limited time I was not able to code it better as I don't know FOP well enough. I hope that FOP developers will implement that solution making it more universal.

      Find attached modifications. I've used proper metric (src/codegen/fonts/Helvetica*.xml) provided by Bogusław Fries (he accept this contribution) and altered some source files from src/java/org/apache/fop/pdf, all modifications are surrounded by:
      // <tjudycki>
      // </tjudycki>
      The last modified file is build.xml - parameter encoding is set to CEEncoding instead of WinAnsiEncoding.

      The solution is described here http://tv.com.pl/stepbystep/fop_pdf/

      Regards,

      Tomasz Judycki

      Attachments

        1. fop-1.0-tj.zip
          53 kB
          Tomasz Judycki

        Activity

          People

            Unassigned Unassigned
            tjudycki@tv.com.pl Tomasz Judycki
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: