You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2014/12/21 11:43:13 UTC

[jira] [Created] (OFBIZ-5917) Improve the way FOP handles fonts notably for currency symbols

Jacques Le Roux created OFBIZ-5917:
--------------------------------------

             Summary: Improve the way FOP handles fonts notably for currency symbols
                 Key: OFBIZ-5917
                 URL: https://issues.apache.org/jira/browse/OFBIZ-5917
             Project: OFBiz
          Issue Type: Improvement
          Components: framework
    Affects Versions: Trunk
            Reporter: Jacques Le Roux
            Assignee: Jacques Le Roux
            Priority: Minor
             Fix For: Upcoming Branch


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
* http://www.google.com/fonts/specimen/Noto+Sans
* https://www.google.com/get/noto/#/

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




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)