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

SVG graphics cannot use FOP custom fonts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 0.95
    • None
    • renderer/svg
    • None
    • Operating System: Windows 2000
      Platform: PC
    • 46371

    Description

      I configured FOP to use custom fonts with their TTF files being in a custom directory - and not C:\WINNT\Fonts (reason: license restrictions only allows usage of some fonts in the FOP application and not in any other Windows applications, like e.g. Word). This works flawlessly for FOP texts.

      However, SVGs are also included (referenced/linked) in the XSLs. And for texts in these SVGs, the fonts are only used/found if they are stored in C:\WINNT\Fonts! It seems that FOP doesn't tell its SVG engine (Batik) where to find the fonts, as FOP itself knows it from its configuration XML. Is Batik using the font configuartion of FOP at all or is there some additional configuration possible to tell FOP to set its font configuration also for Batik?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mhilpert@gmx.de M.H.
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: