Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-5917

Improve the way FOP handles fonts notably for currency symbols

    XMLWordPrintableJSON

Details

    Description

      In the dev ML I suggested we could add
      <auto-detect/>
      in the fonts section of our fop.xconf

      We can do more than that. For instance currently there are no easy ways to render the "new" (since 2010) rupee symbol: ₹.

      One is to use the Google NotoSans font which is Apache licensed

      We need also to

      • Add the rupee symbol (₹) to antisamy-esapi.xml file like we have the euro symbol (€)
      • Use NotoSans as the default FOP font. For that we can put the NotoSans font 4 files in framework/resources/fonts and add <directory>framework/resources/fonts/NotoSansFonts</directory> in our fop.xconf
      • Render ₹ in content/control/fonts.pdf as we do for €. Other symbols could be added later when needed, backed by Google NotoSans font...

      Attachments

        Issue Links

          Activity

            People

              jleroux Jacques Le Roux
              jleroux Jacques Le Roux
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: