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

Improve the way FOP handles fonts notably for currency symbols

    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...

        Issue Links

          Activity

          Hide
          jacques.le.roux Jacques Le Roux added a comment -

          A I forgot one thing (more a reminder for myself), the LICENSE file should be updated about the NotoSans font.

          Show
          jacques.le.roux Jacques Le Roux added a comment - A I forgot one thing (more a reminder for myself), the LICENSE file should be updated about the NotoSans font.
          Hide
          jacques.le.roux Jacques Le Roux added a comment -

          Commited in trunk at revision: 1647782

          Show
          jacques.le.roux Jacques Le Roux added a comment - Commited in trunk at revision: 1647782
          Show
          jacques.le.roux Jacques Le Roux added a comment - - edited http://svn.apache.org/viewvc?view=revision&revision=1646781 is related
          Hide
          jacques.le.roux Jacques Le Roux added a comment - - edited

          I have improved a bit more, for examples, at revision: 1675061 + 1678290

          Show
          jacques.le.roux Jacques Le Roux added a comment - - edited I have improved a bit more, for examples, at revision: 1675061 + 1678290

            People

            • Assignee:
              jacques.le.roux Jacques Le Roux
              Reporter:
              jacques.le.roux Jacques Le Roux
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development