[jira] Created: (OFBIZ-1110) Default FOP Font

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
39 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-1110) Default FOP Font

Nicolas Malin (Jira)
Default FOP Font
----------------

                 Key: OFBIZ-1110
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1110
             Project: OFBiz
          Issue Type: Improvement
          Components: framework
    Affects Versions: SVN trunk
            Reporter: Krzysztof Podejma
             Fix For: SVN trunk


current ofbiz(OOTB) reporting does not support multilingual users. When you use non-english locale you get '#" characters.
additionally it is hard to track all changes in reports so here default font comes up.
it would be great to add fop.xcon file to trunk with UNICODE font that could print any characters in any languages.

I've made up two another solutions 1) is a property in general.properties that store default font
2) to associate font-family name  with locale as property (in property file) and use this font-family to print reports in user language properly.

with second solution users can define what fonts they have and want to use

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1110) Default FOP Font

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12508903 ]

David E. Jones commented on OFBIZ-1110:
---------------------------------------

One of the big design goals of OFBiz is to support larger and more varied organizations. In other words, we need ways that things can support different languages, fonts, locales, etc for the same artifacts. So, #2 would be better than #1, and as a general solution some variation of #2 might be better.

> Default FOP Font
> ----------------
>
>                 Key: OFBIZ-1110
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1110
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Krzysztof Podejma
>             Fix For: SVN trunk
>
>
> current ofbiz(OOTB) reporting does not support multilingual users. When you use non-english locale you get '#" characters.
> additionally it is hard to track all changes in reports so here default font comes up.
> it would be great to add fop.xcon file to trunk with UNICODE font that could print any characters in any languages.
> I've made up two another solutions 1) is a property in general.properties that store default font
> 2) to associate font-family name  with locale as property (in property file) and use this font-family to print reports in user language properly.
> with second solution users can define what fonts they have and want to use

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1110) Default FOP Font

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509224 ]

Oleg Andreyev commented on OFBIZ-1110:
--------------------------------------

A few comments to this topic.

I think we have to transfer tags page-width and page-height to configuration file as generally used paper formats differ in various countries. It would be better changing these parameters in one place. Of course this is applied to reports currently printed as Letter, or similar formats.

Inasmuch as class ApacheFopFactory  is using file fop.properties(at least envisage it), what about adding default font face to it instead of general.properties?  

I have attached patch with starting fop.xconf. To commiters. Please, apply it to trunk as starting point for further activity. This variant of the configuration file not impact current functionality.


> Default FOP Font
> ----------------
>
>                 Key: OFBIZ-1110
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1110
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Krzysztof Podejma
>             Fix For: SVN trunk
>
>
> current ofbiz(OOTB) reporting does not support multilingual users. When you use non-english locale you get '#" characters.
> additionally it is hard to track all changes in reports so here default font comes up.
> it would be great to add fop.xcon file to trunk with UNICODE font that could print any characters in any languages.
> I've made up two another solutions 1) is a property in general.properties that store default font
> 2) to associate font-family name  with locale as property (in property file) and use this font-family to print reports in user language properly.
> with second solution users can define what fonts they have and want to use

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-1110) Default FOP Font

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Andreyev updated OFBIZ-1110:
---------------------------------

    Attachment: widget.diff

> Default FOP Font
> ----------------
>
>                 Key: OFBIZ-1110
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1110
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Krzysztof Podejma
>             Fix For: SVN trunk
>
>         Attachments: widget.diff
>
>
> current ofbiz(OOTB) reporting does not support multilingual users. When you use non-english locale you get '#" characters.
> additionally it is hard to track all changes in reports so here default font comes up.
> it would be great to add fop.xcon file to trunk with UNICODE font that could print any characters in any languages.
> I've made up two another solutions 1) is a property in general.properties that store default font
> 2) to associate font-family name  with locale as property (in property file) and use this font-family to print reports in user language properly.
> with second solution users can define what fonts they have and want to use

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1110) Default FOP Font

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509226 ]

Krzysztof Podejma commented on OFBIZ-1110:
------------------------------------------

Additionally this issue should cover cases when reports are printed with different currency.
Currency abbreviations I mean. So when report is in English but uses polish currency, this currency should be printed well.

> Default FOP Font
> ----------------
>
>                 Key: OFBIZ-1110
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1110
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Krzysztof Podejma
>             Fix For: SVN trunk
>
>         Attachments: widget.diff
>
>
> current ofbiz(OOTB) reporting does not support multilingual users. When you use non-english locale you get '#" characters.
> additionally it is hard to track all changes in reports so here default font comes up.
> it would be great to add fop.xcon file to trunk with UNICODE font that could print any characters in any languages.
> I've made up two another solutions 1) is a property in general.properties that store default font
> 2) to associate font-family name  with locale as property (in property file) and use this font-family to print reports in user language properly.
> with second solution users can define what fonts they have and want to use

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (OFBIZ-1110) Default FOP Font

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacopo Cappellato reassigned OFBIZ-1110:
----------------------------------------

    Assignee: Jacopo Cappellato

> Default FOP Font
> ----------------
>
>                 Key: OFBIZ-1110
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1110
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Krzysztof Podejma
>            Assignee: Jacopo Cappellato
>             Fix For: SVN trunk
>
>         Attachments: widget.diff
>
>
> current ofbiz(OOTB) reporting does not support multilingual users. When you use non-english locale you get '#" characters.
> additionally it is hard to track all changes in reports so here default font comes up.
> it would be great to add fop.xcon file to trunk with UNICODE font that could print any characters in any languages.
> I've made up two another solutions 1) is a property in general.properties that store default font
> 2) to associate font-family name  with locale as property (in property file) and use this font-family to print reports in user language properly.
> with second solution users can define what fonts they have and want to use

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-1110) Default FOP Font

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacopo Cappellato closed OFBIZ-1110.
------------------------------------

    Resolution: Fixed

Thaks to all: the fop.xconf file is in rev. 564545
However the folder for the file is webapp/config and not in widget/config

> Default FOP Font
> ----------------
>
>                 Key: OFBIZ-1110
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1110
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Krzysztof Podejma
>            Assignee: Jacopo Cappellato
>             Fix For: SVN trunk
>
>         Attachments: widget.diff
>
>
> current ofbiz(OOTB) reporting does not support multilingual users. When you use non-english locale you get '#" characters.
> additionally it is hard to track all changes in reports so here default font comes up.
> it would be great to add fop.xcon file to trunk with UNICODE font that could print any characters in any languages.
> I've made up two another solutions 1) is a property in general.properties that store default font
> 2) to associate font-family name  with locale as property (in property file) and use this font-family to print reports in user language properly.
> with second solution users can define what fonts they have and want to use

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1110) Default FOP Font

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519049 ]

Oleg Andreyev commented on OFBIZ-1110:
--------------------------------------

Thanks Jacopo,

But please reopen this issue. Config file is first step only. Now it is on-site and we can go ahead.

> Default FOP Font
> ----------------
>
>                 Key: OFBIZ-1110
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1110
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Krzysztof Podejma
>            Assignee: Jacopo Cappellato
>             Fix For: SVN trunk
>
>         Attachments: widget.diff
>
>
> current ofbiz(OOTB) reporting does not support multilingual users. When you use non-english locale you get '#" characters.
> additionally it is hard to track all changes in reports so here default font comes up.
> it would be great to add fop.xcon file to trunk with UNICODE font that could print any characters in any languages.
> I've made up two another solutions 1) is a property in general.properties that store default font
> 2) to associate font-family name  with locale as property (in property file) and use this font-family to print reports in user language properly.
> with second solution users can define what fonts they have and want to use

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

Re: [jira] Closed: (OFBIZ-1110) Default FOP Font

guo weizhan
In reply to this post by Nicolas Malin (Jira)
It's interesting, It didn't work if placed in the webapp/config.
At first glance, I also want to place it in the webapp/config


2007/8/10, Jacopo Cappellato (JIRA) <[hidden email]>:

>
>     [ https://issues.apache.org/jira/browse/OFBIZ-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Jacopo Cappellato closed OFBIZ-1110.
> ------------------------------------
>
>    Resolution: Fixed
>
> Thaks to all: the fop.xconf file is in rev. 564545
> However the folder for the file is webapp/config and not in widget/config
>
> > Default FOP Font
> > ----------------
> >
> >                 Key: OFBIZ-1110
> >                 URL: https://issues.apache.org/jira/browse/OFBIZ-1110
> >             Project: OFBiz
> >          Issue Type: Improvement
> >          Components: framework
> >    Affects Versions: SVN trunk
> >            Reporter: Krzysztof Podejma
> >            Assignee: Jacopo Cappellato
> >             Fix For: SVN trunk
> >
> >         Attachments: widget.diff
> >
> >
> > current ofbiz(OOTB) reporting does not support multilingual users. When you use non-english locale you get '#" characters.
> > additionally it is hard to track all changes in reports so here default font comes up.
> > it would be great to add fop.xcon file to trunk with UNICODE font that could print any characters in any languages.
> > I've made up two another solutions 1) is a property in general.properties that store default font
> > 2) to associate font-family name  with locale as property (in property file) and use this font-family to print reports in user language properly.
> > with second solution users can define what fonts they have and want to use
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: [jira] Closed: (OFBIZ-1110) Default FOP Font

Jacopo Cappellato
Hi Guo,

are you sure to have updated and rebuilt all the classes involved in the
change?

Jacopo

guo weizhan wrote:
> It's interesting, It didn't work if placed in the webapp/config.
> At first glance, I also want to place it in the webapp/config
>
>
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1110) Default FOP Font

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519114 ]

Jacques Le Roux commented on OFBIZ-1110:
----------------------------------------

Should we reopen of create a new issue ?

> Default FOP Font
> ----------------
>
>                 Key: OFBIZ-1110
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1110
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Krzysztof Podejma
>            Assignee: Jacopo Cappellato
>             Fix For: SVN trunk
>
>         Attachments: widget.diff
>
>
> current ofbiz(OOTB) reporting does not support multilingual users. When you use non-english locale you get '#" characters.
> additionally it is hard to track all changes in reports so here default font comes up.
> it would be great to add fop.xcon file to trunk with UNICODE font that could print any characters in any languages.
> I've made up two another solutions 1) is a property in general.properties that store default font
> 2) to associate font-family name  with locale as property (in property file) and use this font-family to print reports in user language properly.
> with second solution users can define what fonts they have and want to use

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1110) Default FOP Font

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519199 ]

Jacopo Cappellato commented on OFBIZ-1110:
------------------------------------------

Oleg,

I'd say to create a new Jira issue (and maybe sub-tasks for it) to keep things cleaner.
It's great to know that you are interested in improving the current features: exactly, what are the next steps that you are planning to work?

In my opinion, in order to add flexibility for other properties (such as page-width and page-height ), we should set them in the "actions" section of the screen decorators for xsl-fo based reports; please, have a look at rev 564554 ( http://svn.apache.org/viewvc?view=rev&revision=564554 ) and how I set there the font-family property: we can do the same for other properies as pageWidth and pageHeight.



> Default FOP Font
> ----------------
>
>                 Key: OFBIZ-1110
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1110
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Krzysztof Podejma
>            Assignee: Jacopo Cappellato
>             Fix For: SVN trunk
>
>         Attachments: widget.diff
>
>
> current ofbiz(OOTB) reporting does not support multilingual users. When you use non-english locale you get '#" characters.
> additionally it is hard to track all changes in reports so here default font comes up.
> it would be great to add fop.xcon file to trunk with UNICODE font that could print any characters in any languages.
> I've made up two another solutions 1) is a property in general.properties that store default font
> 2) to associate font-family name  with locale as property (in property file) and use this font-family to print reports in user language properly.
> with second solution users can define what fonts they have and want to use

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

Re: [jira] Closed: (OFBIZ-1110) Default FOP Font

guo weizhan
In reply to this post by Jacopo Cappellato
ooops, I didn't know you update the java files, but after I updated
and rebuilt all, I placed the
metrics file in the webapp/config, I got those error
"javax.xml.transform.TransformerException: java.lang.RuntimeException:
Cannot load font: failed to create Source from metrics file
ttfSimHei.xml"  in pdf

the console  info:
:260:WARN ] Font 'chineseFont,normal,700' not found. Substituting with 'chineseF
ont,normal,400'.
2007-08-11 22:47:30,375 (http-0.0.0.0-8443-Processor4) [      FOURIResolver.java
:158:ERROR] Error with opening URL 'ttfSimHei.xml': D
java.net.UnknownHostException: D
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
        at java.net.Socket.connect(Socket.java:507)
        at java.net.Socket.connect(Socket.java:457)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
        at sun.net.NetworkClient.openServer(NetworkClient.java:118)
        at sun.net.ftp.FtpClient.openServer(FtpClient.java:488)
        at sun.net.ftp.FtpClient.openServer(FtpClient.java:475)
        at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.ja
va:270)
        at org.apache.fop.apps.FOURIResolver.resolve(FOURIResolver.java:152)
        at org.apache.fop.apps.FopFactory.resolveURI(FopFactory.java:638)
        at org.apache.fop.apps.FOUserAgent.resolveURI(FOUserAgent.java:421)
        at org.apache.fop.render.DefaultFontResolver.resolve(DefaultFontResolver
.java:44)
        at org.apache.fop.fonts.LazyFont.load(LazyFont.java:72)
        at org.apache.fop.fonts.LazyFont.getAscender(LazyFont.java:198)
        at org.apache.fop.fonts.Font.getAscender(Font.java:67)
        at org.apache.fop.layoutmgr.BlockLayoutManager.initialize(BlockLayoutMan
ager.java:84)
        at org.apache.fop.layoutmgr.AbstractLayoutManager.getChildLM(AbstractLay
outManager.java:117)
        at org.apache.fop.layoutmgr.table.TableCellLayoutManager.getNextKnuthEle
ments(TableCellLayoutManager.java:160)
        at org.apache.fop.layoutmgr.table.TableContentLayoutManager.createElemen
tsForRowGroup(TableContentLayoutManager.java:480)
        at org.apache.fop.layoutmgr.table.TableContentLayoutManager.getKnuthElem
entsForRowIterator(TableContentLayoutManager.java:243)
        at org.apache.fop.layoutmgr.table.TableContentLayoutManager.getNextKnuth
Elements(TableContentLayoutManager.java:147)
        at org.apache.fop.layoutmgr.table.TableLayoutManager.getNextKnuthElement
s(TableLayoutManager.java:229)
        at org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowL
ayoutManager.java:106)
        at org.apache.fop.layoutmgr.PageSequenceLayoutManager$PageBreaker.getNex
tKnuthElements(PageSequenceLayoutManager.java:272)
        at org.apache.fop.layoutmgr.AbstractBreaker.getNextBlockList(AbstractBre
aker.java:554)
        at org.apache.fop.layoutmgr.PageSequenceLayoutManager$PageBreaker.getNex
tBlockList(PageSequenceLayoutManager.java:264)
        at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.jav
a:301)
        at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.jav
a:263)
        at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(Pag
eSequenceLayoutManager.java:157)
        at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.j
ava:385)
        at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java
:148)
        at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilde
r.java:378)
        at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:194)
        at com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endElement
(ToXMLSAXHandler.java:262)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source
)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknow
n Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transfor
mIdentity(TransformerImpl.java:557)
        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transfor
m(TransformerImpl.java:638)
        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transfor
m(TransformerImpl.java:279)
        at org.ofbiz.widget.screen.ScreenFopViewHandler.render(ScreenFopViewHand
ler.java:118)
        at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.jav
a:641)
        at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java
:429)
        at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:193
)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
        at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:24
8)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:210)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:174)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:117)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:108)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
542)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:151)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:870)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:665)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:528)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:81)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:685)
        at java.lang.Thread.run(Thread.java:595)
错误:"Cannot load font: failed to create Source from metrics file ttfSimHei.xm
l"

2007/8/11, Jacopo Cappellato <[hidden email]>:

> Hi Guo,
>
> are you sure to have updated and rebuilt all the classes involved in the
> change?
>
> Jacopo
>
> guo weizhan wrote:
> > It's interesting, It didn't work if placed in the webapp/config.
> > At first glance, I also want to place it in the webapp/config
> >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: [jira] Closed: (OFBIZ-1110) Default FOP Font

Jacopo Cappellato
I Guo,

and thanks for your feedback. Are you sure you have moved all your font
files from widget/conf to webapp/conf? I really don't think that the
error can be caused by the changed folder... but maybe there is
something else (that I did?) that broke it and I'd like to fix it with
your help.
Could you also please send me your Chinese font and font metrics files
(you can send them directly to my mail address because the attachments
are not allowed in this list)? I would like to try to print Chinese
characters with your font setup.

Thanks,

Jacopo


guo weizhan wrote:
> ooops, I didn't know you update the java files, but after I updatedand rebuilt all, I placed themetrics file in the webapp/config, I got those error"javax.xml.transform.TransformerException: java.lang.RuntimeException:Cannot load font: failed to create Source from metrics filettfSimHei.xml"  in pdf
> the console  info::260:WARN ] Font 'chineseFont,normal,700' not found. Substituting with 'chineseFont,normal,400'.2007-08-11 22:47:30,375 (http-0.0.0.0-8443-Processor4) [      FOURIResolver.java:158:ERROR] Error with opening URL 'ttfSimHei.xml': Djava.net.UnknownHostException: D        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)        at java.net.Socket.connect(Socket.java:507)        at java.net.Socket.connect(Socket.java:457)        at sun.net.NetworkClient.doConnect(NetworkClient.java:157)        at sun.net.NetworkClient.openServer(NetworkClient.java:118)        at sun.net.ftp.FtpClient.openServer(FtpClient.java:488)        at sun.net.ftp.FtpClient.openServer(FtpClient.java:475)        at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:270)        at org.apache.fop.apps.FOURIResolver.resolve(FOURIResolver.java:152)        at org.apache.fop.apps.FopFactory.resolveURI(FopFactory.java:638)        at org.apache.fop.apps.FOUserAgent.
resolveURI(FOUserAgent.java:421)        at org.apache.fop.render.DefaultFontResolver.resolve(DefaultFontResolver.java:44)        at org.apache.fop.fonts.LazyFont.load(LazyFont.java:72)        at org.apache.fop.fonts.LazyFont.getAscender(LazyFont.java:198)        at org.apache.fop.fonts.Font.getAscender(Font.java:67)        at org.apache.fop.layoutmgr.BlockLayoutManager.initialize(BlockLayoutManager.java:84)        at org.apache.fop.layoutmgr.AbstractLayoutManager.getChildLM(AbstractLayoutManager.java:117)        at org.apache.fop.layoutmgr.table.TableCellLayoutManager.getNextKnuthElements(TableCellLayoutManager.java:160)        at org.apache.fop.layoutmgr.table.TableContentLayoutManager.createElementsForRowGroup(TableContentLayoutManager.java:480)        at org.apache.fop.layoutmgr.table.TableContentLayoutManager.getKnuthElementsForRowIterator(TableContentLayoutManager.java:243)        at org.apache.fop.layoutmgr.table.TableContentLayoutManager.getNextKnuthElements(TableConte
ntLayoutManager.java:147)        at org.apache.fop.layoutmgr.table.TableLayoutManager.getNextKnuthElements(TableLayoutManager.java:229)        at org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowLayoutManager.java:106)        at org.apache.fop.layoutmgr.PageSequenceLayoutManager$PageBreaker.getNextKnuthElements(PageSequenceLayoutManager.java:272)        at org.apache.fop.layoutmgr.AbstractBreaker.getNextBlockList(AbstractBreaker.java:554)        at org.apache.fop.layoutmgr.PageSequenceLayoutManager$PageBreaker.getNextBlockList(PageSequenceLayoutManager.java:264)        at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:301)        at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:263)        at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:157)        at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:385)        at org.apache.fop.fo.pa
gination.PageSequence.endOfNode(PageSequence.java:148)        at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:378)        at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:194)        at com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:262)        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)        at org.apache.xerces.parsers.AbstractSAXParser.parse(U
nknown Source)        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:557)        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:638)        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:279)        at org.ofbiz.widget.screen.ScreenFopViewHandler.render(ScreenFopViewHandler.java:118)        at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:641)        at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:429)        at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:193)        at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)        at org.apache.catalina.core.ApplicationFilte
rChain.doFilter(ApplicationFilterChain.java:188)        at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:542)        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)        at org.apache.coyo
te.http11.Http11Processor.process(Http11Processor.java:870)        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)        at java.lang.Thread.run(Thread.java:595)错误:"Cannot load font: failed to create Source from metrics file ttfSimHei.xml"
> 2007/8/11, Jacopo Cappellato <[hidden email]>:> Hi Guo,>> are you sure to have updated and rebuilt all the classes involved in the> change?>> Jacopo>> guo weizhan wrote:> > It's interesting, It didn't work if placed in the webapp/config.> > At first glance, I also want to place it in the webapp/config> >> >>

Reply | Threaded
Open this post in threaded view
|

Re: [jira] Closed: (OFBIZ-1110) Default FOP Font

Shi Yusen
Please be aware of the files which may contain Chinese fonts. AFAIK, it
may not be in open source license. As you see, there are over 10000
Chinese charactors in a Chinese font file. That makes the font still
under the copyright protection.

Please use the font files comes with your Linux. Or a document of how to
is enough.

The font legal problem is same for Japanese I guess.

Regards,

Shi Yusen/Beijing Langhua Ltd.

> I Guo,
>
> and thanks for your feedback. Are you sure you have moved all your font
> files from widget/conf to webapp/conf? I really don't think that the
> error can be caused by the changed folder... but maybe there is
> something else (that I did?) that broke it and I'd like to fix it with
> your help.
> Could you also please send me your Chinese font and font metrics files
> (you can send them directly to my mail address because the attachments
> are not allowed in this list)? I would like to try to print Chinese
> characters with your font setup.
>
> Thanks,
>
> Jacopo
>
>
> guo weizhan wrote:
> > ooops, I didn't know you update the java files, but after I updatedand rebuilt all, I placed themetrics file in the webapp/config, I got those error"javax.xml.transform.TransformerException: java.lang.RuntimeException:Cannot load font: failed to create Source from metrics filettfSimHei.xml"  in pdf
> > the console  info::260:WARN ] Font 'chineseFont,normal,700' not found. Substituting with 'chineseFont,normal,400'.2007-08-11 22:47:30,375 (http-0.0.0.0-8443-Processor4) [      FOURIResolver.java:158:ERROR] Error with opening URL 'ttfSimHei.xml': Djava.net.UnknownHostException: D        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)        at java.net.Socket.connect(Socket.java:507)        at java.net.Socket.connect(Socket.java:457)        at sun.net.NetworkClient.doConnect(NetworkClient.java:157)        at sun.net.NetworkClient.openServer(NetworkClient.java:118)        at sun.net.ftp.FtpClient.openServer(FtpClient.java:488)        at sun.net.ftp.FtpClient.openServer(FtpClient.java:475)        at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:270)        at org.apache.fop.apps.FOURIResolver.resolve(FOURIResolver.java:152)        at org.apache.fop.apps.FopFactory.resolveURI(FopFactory.java:638)        at org.apache.fop.apps.FOUserAgen
 t.
> resolveURI(FOUserAgent.java:421)        at org.apache.fop.render.DefaultFontResolver.resolve(DefaultFontResolver.java:44)        at org.apache.fop.fonts.LazyFont.load(LazyFont.java:72)        at org.apache.fop.fonts.LazyFont.getAscender(LazyFont.java:198)        at org.apache.fop.fonts.Font.getAscender(Font.java:67)        at org.apache.fop.layoutmgr.BlockLayoutManager.initialize(BlockLayoutManager.java:84)        at org.apache.fop.layoutmgr.AbstractLayoutManager.getChildLM(AbstractLayoutManager.java:117)        at org.apache.fop.layoutmgr.table.TableCellLayoutManager.getNextKnuthElements(TableCellLayoutManager.java:160)        at org.apache.fop.layoutmgr.table.TableContentLayoutManager.createElementsForRowGroup(TableContentLayoutManager.java:480)        at org.apache.fop.layoutmgr.table.TableContentLayoutManager.getKnuthElementsForRowIterator(TableContentLayoutManager.java:243)        at org.apache.fop.layoutmgr.table.TableContentLayoutManager.getNextKnuthElements(TableCon
 te
> ntLayoutManager.java:147)        at org.apache.fop.layoutmgr.table.TableLayoutManager.getNextKnuthElements(TableLayoutManager.java:229)        at org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowLayoutManager.java:106)        at org.apache.fop.layoutmgr.PageSequenceLayoutManager$PageBreaker.getNextKnuthElements(PageSequenceLayoutManager.java:272)        at org.apache.fop.layoutmgr.AbstractBreaker.getNextBlockList(AbstractBreaker.java:554)        at org.apache.fop.layoutmgr.PageSequenceLayoutManager$PageBreaker.getNextBlockList(PageSequenceLayoutManager.java:264)        at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:301)        at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:263)        at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:157)        at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:385)        at org.apache.fop.fo.
 pa
> gination.PageSequence.endOfNode(PageSequence.java:148)        at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:378)        at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:194)        at com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:262)        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)        at org.apache.xerces.parsers.AbstractSAXParser.parse
 (U
> nknown Source)        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:557)        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:638)        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:279)        at org.ofbiz.widget.screen.ScreenFopViewHandler.render(ScreenFopViewHandler.java:118)        at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:641)        at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:429)        at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:193)        at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)        at org.apache.catalina.core.ApplicationFil
 te
> rChain.doFilter(ApplicationFilterChain.java:188)        at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:542)        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)        at org.apache.co
 yo
> te.http11.Http11Processor.process(Http11Processor.java:870)        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)        at java.lang.Thread.run(Thread.java:595)错误:"Cannot load font: failed to create Source from metrics file ttfSimHei.xml"
> > 2007/8/11, Jacopo Cappellato <[hidden email]>:> Hi Guo,>> are you sure to have updated and rebuilt all the classes involved in the> change?>> Jacopo>> guo weizhan wrote:> > It's interesting, It didn't work if placed in the webapp/config.> > At first glance, I also want to place it in the webapp/config> >> >>
>


Reply | Threaded
Open this post in threaded view
|

Re: [jira] Closed: (OFBIZ-1110) Default FOP Font

guo weizhan
In reply to this post by Jacopo Cappellato
Hi Jacpopo,

I'm sure I have placed all of them in the webapp/config, and I have
send the Chinese font and font metrics files to your email.

Please let me know if there is any problem.

Thanks.

在 07-8-11,Jacopo Cappellato<[hidden email]> 写道:

> I Guo,
>
> and thanks for your feedback. Are you sure you have moved all your font
> files from widget/conf to webapp/conf? I really don't think that the
> error can be caused by the changed folder... but maybe there is
> something else (that I did?) that broke it and I'd like to fix it with
> your help.
> Could you also please send me your Chinese font and font metrics files
> (you can send them directly to my mail address because the attachments
> are not allowed in this list)? I would like to try to print Chinese
> characters with your font setup.
>
> Thanks,
>
> Jacopo
>
>
> guo weizhan wrote:
> > ooops, I didn't know you update the java files, but after I updatedand rebuilt all, I placed themetrics file in the webapp/config, I got those error"javax.xml.transform.TransformerException: java.lang.RuntimeException:Cannot load font: failed to create Source from metrics filettfSimHei.xml"  in pdf
> > the console  info::260:WARN ] Font 'chineseFont,normal,700' not found. Substituting with 'chineseFont,normal,400'.2007-08-11 22:47:30,375 (http-0.0.0.0-8443-Processor4) [      FOURIResolver.java:158:ERROR] Error with opening URL 'ttfSimHei.xml': Djava.net.UnknownHostException: D        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)        at java.net.Socket.connect(Socket.java:507)        at java.net.Socket.connect(Socket.java:457)        at sun.net.NetworkClient.doConnect(NetworkClient.java:157)        at sun.net.NetworkClient.openServer(NetworkClient.java:118)        at sun.net.ftp.FtpClient.openServer(FtpClient.java:488)        at sun.net.ftp.FtpClient.openServer(FtpClient.java:475)        at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:270)        at org.apache.fop.apps.FOURIResolver.resolve(FOURIResolver.java:152)        at org.apache.fop.apps.FopFactory.resolveURI(FopFactory.java:638)        at org.apache.fop.apps.FOUserAgent.
> resolveURI(FOUserAgent.java:421)        at org.apache.fop.render.DefaultFontResolver.resolve(DefaultFontResolver.java:44)        at org.apache.fop.fonts.LazyFont.load(LazyFont.java:72)        at org.apache.fop.fonts.LazyFont.getAscender(LazyFont.java:198)        at org.apache.fop.fonts.Font.getAscender(Font.java:67)        at org.apache.fop.layoutmgr.BlockLayoutManager.initialize(BlockLayoutManager.java:84)        at org.apache.fop.layoutmgr.AbstractLayoutManager.getChildLM(AbstractLayoutManager.java:117)        at org.apache.fop.layoutmgr.table.TableCellLayoutManager.getNextKnuthElements(TableCellLayoutManager.java:160)        at org.apache.fop.layoutmgr.table.TableContentLayoutManager.createElementsForRowGroup(TableContentLayoutManager.java:480)        at org.apache.fop.layoutmgr.table.TableContentLayoutManager.getKnuthElementsForRowIterator(TableContentLayoutManager.java:243)        at org.apache.fop.layoutmgr.table.TableContentLayoutManager.getNextKnuthElements(TableConte
> ntLayoutManager.java:147)        at org.apache.fop.layoutmgr.table.TableLayoutManager.getNextKnuthElements(TableLayoutManager.java:229)        at org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowLayoutManager.java:106)        at org.apache.fop.layoutmgr.PageSequenceLayoutManager$PageBreaker.getNextKnuthElements(PageSequenceLayoutManager.java:272)        at org.apache.fop.layoutmgr.AbstractBreaker.getNextBlockList(AbstractBreaker.java:554)        at org.apache.fop.layoutmgr.PageSequenceLayoutManager$PageBreaker.getNextBlockList(PageSequenceLayoutManager.java:264)        at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:301)        at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:263)        at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:157)        at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:385)        at org.apache.fop.fo.pa
> gination.PageSequence.endOfNode(PageSequence.java:148)        at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:378)        at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:194)        at com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:262)        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)        at org.apache.xerces.parsers.AbstractSAXParser.parse(U
> nknown Source)        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:557)        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:638)        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:279)        at org.ofbiz.widget.screen.ScreenFopViewHandler.render(ScreenFopViewHandler.java:118)        at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:641)        at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:429)        at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:193)        at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)        at org.apache.catalina.core.ApplicationFilte
> rChain.doFilter(ApplicationFilterChain.java:188)        at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:542)        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)        at org.apache.coyo
> te.http11.Http11Processor.process(Http11Processor.java:870)        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)        at java.lang.Thread.run(Thread.java:595)错误:"Cannot load font: failed to create Source from metrics file ttfSimHei.xml"
> > 2007/8/11, Jacopo Cappellato <[hidden email]>:> Hi Guo,>> are you sure to have updated and rebuilt all the classes involved in the> change?>> Jacopo>> guo weizhan wrote:> > It's interesting, It didn't work if placed in the webapp/config.> > At first glance, I also want to place it in the webapp/config> >> >>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: [jira] Closed: (OFBIZ-1110) Default FOP Font

guo weizhan
In reply to this post by Shi Yusen
If we just for test, I think it's ok, but we cann't upload this file
to CVS utill we figure out it's open or not.

2007/8/12, Shi Yusen <[hidden email]>:

> Please be aware of the files which may contain Chinese fonts. AFAIK, it
> may not be in open source license. As you see, there are over 10000
> Chinese charactors in a Chinese font file. That makes the font still
> under the copyright protection.
>
> Please use the font files comes with your Linux. Or a document of how to
> is enough.
>
> The font legal problem is same for Japanese I guess.
>
> Regards,
>
> Shi Yusen/Beijing Langhua Ltd.
>
> > I Guo,
> >
> > and thanks for your feedback. Are you sure you have moved all your font
> > files from widget/conf to webapp/conf? I really don't think that the
> > error can be caused by the changed folder... but maybe there is
> > something else (that I did?) that broke it and I'd like to fix it with
> > your help.
> > Could you also please send me your Chinese font and font metrics files
> > (you can send them directly to my mail address because the attachments
> > are not allowed in this list)? I would like to try to print Chinese
> > characters with your font setup.
> >
> > Thanks,
> >
> > Jacopo
> >
> >
> > guo weizhan wrote:
> > > ooops, I didn't know you update the java files, but after I updatedand rebuilt all, I placed themetrics file in the webapp/config, I got those error"javax.xml.transform.TransformerException: java.lang.RuntimeException:Cannot load font: failed to create Source from metrics filettfSimHei.xml"  in pdf
> > > the console  info::260:WARN ] Font 'chineseFont,normal,700' not found. Substituting with 'chineseFont,normal,400'.2007-08-11 22:47:30,375 (http-0.0.0.0-8443-Processor4) [      FOURIResolver.java:158:ERROR] Error with opening URL 'ttfSimHei.xml': Djava.net.UnknownHostException: D        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)        at java.net.Socket.connect(Socket.java:507)        at java.net.Socket.connect(Socket.java:457)        at sun.net.NetworkClient.doConnect(NetworkClient.java:157)        at sun.net.NetworkClient.openServer(NetworkClient.java:118)        at sun.net.ftp.FtpClient.openServer(FtpClient.java:488)        at sun.net.ftp.FtpClient.openServer(FtpClient.java:475)        at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:270)        at org.apache.fop.apps.FOURIResolver.resolve(FOURIResolver.java:152)        at org.apache.fop.apps.FopFactory.resolveURI(FopFactory.java:638)        at org.apache.fop.apps.FOUserAgen
>  t.
> > resolveURI(FOUserAgent.java:421)        at org.apache.fop.render.DefaultFontResolver.resolve(DefaultFontResolver.java:44)        at org.apache.fop.fonts.LazyFont.load(LazyFont.java:72)        at org.apache.fop.fonts.LazyFont.getAscender(LazyFont.java:198)        at org.apache.fop.fonts.Font.getAscender(Font.java:67)        at org.apache.fop.layoutmgr.BlockLayoutManager.initialize(BlockLayoutManager.java:84)        at org.apache.fop.layoutmgr.AbstractLayoutManager.getChildLM(AbstractLayoutManager.java:117)        at org.apache.fop.layoutmgr.table.TableCellLayoutManager.getNextKnuthElements(TableCellLayoutManager.java:160)        at org.apache.fop.layoutmgr.table.TableContentLayoutManager.createElementsForRowGroup(TableContentLayoutManager.java:480)        at org.apache.fop.layoutmgr.table.TableContentLayoutManager.getKnuthElementsForRowIterator(TableContentLayoutManager.java:243)        at org.apache.fop.layoutmgr.table.TableContentLayoutManager.getNextKnuthElements(TableCon
>  te
> > ntLayoutManager.java:147)        at org.apache.fop.layoutmgr.table.TableLayoutManager.getNextKnuthElements(TableLayoutManager.java:229)        at org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowLayoutManager.java:106)        at org.apache.fop.layoutmgr.PageSequenceLayoutManager$PageBreaker.getNextKnuthElements(PageSequenceLayoutManager.java:272)        at org.apache.fop.layoutmgr.AbstractBreaker.getNextBlockList(AbstractBreaker.java:554)        at org.apache.fop.layoutmgr.PageSequenceLayoutManager$PageBreaker.getNextBlockList(PageSequenceLayoutManager.java:264)        at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:301)        at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:263)        at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:157)        at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:385)        at org.apache.fop.fo.
>  pa
> > gination.PageSequence.endOfNode(PageSequence.java:148)        at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:378)        at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:194)        at com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:262)        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)        at org.apache.xerces.parsers.AbstractSAXParser.parse
>  (U
> > nknown Source)        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:557)        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:638)        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:279)        at org.ofbiz.widget.screen.ScreenFopViewHandler.render(ScreenFopViewHandler.java:118)        at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:641)        at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:429)        at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:193)        at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)        at org.apache.catalina.core.ApplicationFil
>  te
> > rChain.doFilter(ApplicationFilterChain.java:188)        at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:542)        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)        at org.apache.co
>  yo
> > te.http11.Http11Processor.process(Http11Processor.java:870)        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)        at java.lang.Thread.run(Thread.java:595)错误:"Cannot load font: failed to create Source from metrics file ttfSimHei.xml"
> > > 2007/8/11, Jacopo Cappellato <[hidden email]>:> Hi Guo,>> are you sure to have updated and rebuilt all the classes involved in the> change?>> Jacopo>> guo weizhan wrote:> > It's interesting, It didn't work if placed in the webapp/config.> > At first glance, I also want to place it in the webapp/config> >> >>
> >
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: [jira] Closed: (OFBIZ-1110) Default FOP Font

Jacopo Cappellato
In reply to this post by Shi Yusen
Hi Shi,

of course I will just use the fonts for my local tests and I will not
include them in the trunk.

Thanks,

Jacopo

Shi Yusen wrote:

> Please be aware of the files which may contain Chinese fonts. AFAIK, it
> may not be in open source license. As you see, there are over 10000
> Chinese charactors in a Chinese font file. That makes the font still
> under the copyright protection.
>
> Please use the font files comes with your Linux. Or a document of how to
> is enough.
>
> The font legal problem is same for Japanese I guess.
>
> Regards,
>
> Shi Yusen/Beijing Langhua Ltd.
>
>> I Guo,
>>
>> and thanks for your feedback. Are you sure you have moved all your font
>> files from widget/conf to webapp/conf? I really don't think that the
>> error can be caused by the changed folder... but maybe there is
>> something else (that I did?) that broke it and I'd like to fix it with
>> your help.
>> Could you also please send me your Chinese font and font metrics files
>> (you can send them directly to my mail address because the attachments
>> are not allowed in this list)? I would like to try to print Chinese
>> characters with your font setup.
>>
>> Thanks,
>>
>> Jacopo
>>
>>
>> guo weizhan wrote:
>>> ooops, I didn't know you update the java files, but after I updatedand rebuilt all, I placed themetrics file in the webapp/config, I got those error"javax.xml.transform.TransformerException: java.lang.RuntimeException:Cannot load font: failed to create Source from metrics filettfSimHei.xml"  in pdf
>>> the console  info::260:WARN ] Font 'chineseFont,normal,700' not found. Substituting with 'chineseFont,normal,400'.2007-08-11 22:47:30,375 (http-0.0.0.0-8443-Processor4) [      FOURIResolver.java:158:ERROR] Error with opening URL 'ttfSimHei.xml': Djava.net.UnknownHostException: D        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)        at java.net.Socket.connect(Socket.java:507)        at java.net.Socket.connect(Socket.java:457)        at sun.net.NetworkClient.doConnect(NetworkClient.java:157)        at sun.net.NetworkClient.openServer(NetworkClient.java:118)        at sun.net.ftp.FtpClient.openServer(FtpClient.java:488)        at sun.net.ftp.FtpClient.openServer(FtpClient.java:475)        at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:270)        at org.apache.fop.apps.FOURIResolver.resolve(FOURIResolver.java:152)        at org.apache.fop.apps.FopFactory.resolveURI(FopFactory.java:638)        at org.apache.fop.apps.FOUserAge
n
>  t.
>> resolveURI(FOUserAgent.java:421)        at org.apache.fop.render.DefaultFontResolver.resolve(DefaultFontResolver.java:44)        at org.apache.fop.fonts.LazyFont.load(LazyFont.java:72)        at org.apache.fop.fonts.LazyFont.getAscender(LazyFont.java:198)        at org.apache.fop.fonts.Font.getAscender(Font.java:67)        at org.apache.fop.layoutmgr.BlockLayoutManager.initialize(BlockLayoutManager.java:84)        at org.apache.fop.layoutmgr.AbstractLayoutManager.getChildLM(AbstractLayoutManager.java:117)        at org.apache.fop.layoutmgr.table.TableCellLayoutManager.getNextKnuthElements(TableCellLayoutManager.java:160)        at org.apache.fop.layoutmgr.table.TableContentLayoutManager.createElementsForRowGroup(TableContentLayoutManager.java:480)        at org.apache.fop.layoutmgr.table.TableContentLayoutManager.getKnuthElementsForRowIterator(TableContentLayoutManager.java:243)        at org.apache.fop.layoutmgr.table.TableContentLayoutManager.getNextKnuthElements(TableC
on
>  te
>> ntLayoutManager.java:147)        at org.apache.fop.layoutmgr.table.TableLayoutManager.getNextKnuthElements(TableLayoutManager.java:229)        at org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowLayoutManager.java:106)        at org.apache.fop.layoutmgr.PageSequenceLayoutManager$PageBreaker.getNextKnuthElements(PageSequenceLayoutManager.java:272)        at org.apache.fop.layoutmgr.AbstractBreaker.getNextBlockList(AbstractBreaker.java:554)        at org.apache.fop.layoutmgr.PageSequenceLayoutManager$PageBreaker.getNextBlockList(PageSequenceLayoutManager.java:264)        at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:301)        at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:263)        at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:157)        at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:385)        at org.apache.fop.f
o.
>  pa
>> gination.PageSequence.endOfNode(PageSequence.java:148)        at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:378)        at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:194)        at com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:262)        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)        at org.apache.xerces.parsers.AbstractSAXParser.par
se
>  (U
>> nknown Source)        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:557)        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:638)        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:279)        at org.ofbiz.widget.screen.ScreenFopViewHandler.render(ScreenFopViewHandler.java:118)        at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:641)        at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:429)        at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:193)        at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)        at org.apache.catalina.core.ApplicationF
il
>  te
>> rChain.doFilter(ApplicationFilterChain.java:188)        at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:542)        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)        at org.apache.
co
>  yo
>> te.http11.Http11Processor.process(Http11Processor.java:870)        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)        at java.lang.Thread.run(Thread.java:595)错误:"Cannot load font: failed to create Source from metrics file ttfSimHei.xml"
>>> 2007/8/11, Jacopo Cappellato <[hidden email]>:> Hi Guo,>> are you sure to have updated and rebuilt all the classes involved in the> change?>> Jacopo>> guo weizhan wrote:> > It's interesting, It didn't work if placed in the webapp/config.> > At first glance, I also want to place it in the webapp/config> >> >>
>


Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1110) Default FOP Font

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519281 ]

Oleg Andreyev commented on OFBIZ-1110:
--------------------------------------

Jacopo, Jacquals,

Really it's doesn't metter reopen this issue or make new one. On other hand Krzysztof is creator of it.

Jacopo,
I post my previous comment before have a chance to see your next patch. In general I dream about Ofbiz that can print correctly OOTB.
Last time ago I spend a few days to make it working and now this problem isn't mine but new customer's and developer's.
To archive this goal I plan add free truetype fonts and their metrics, make Arial as default font (now it's extremely easy, thanks Jacopo) and move page geometry settings from reports to config.

I am not in accord with you about placing page geometry in decorator. We have two alternatives as to configure FOP - programmatically or via configuration file. I vote second one.  This is more natural way. And I think this way don't mislead new customers.


> Default FOP Font
> ----------------
>
>                 Key: OFBIZ-1110
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1110
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Krzysztof Podejma
>            Assignee: Jacopo Cappellato
>             Fix For: SVN trunk
>
>         Attachments: widget.diff
>
>
> current ofbiz(OOTB) reporting does not support multilingual users. When you use non-english locale you get '#" characters.
> additionally it is hard to track all changes in reports so here default font comes up.
> it would be great to add fop.xcon file to trunk with UNICODE font that could print any characters in any languages.
> I've made up two another solutions 1) is a property in general.properties that store default font
> 2) to associate font-family name  with locale as property (in property file) and use this font-family to print reports in user language properly.
> with second solution users can define what fonts they have and want to use

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

Re: [jira] Closed: (OFBIZ-1110) Default FOP Font

Jacopo Cappellato
In reply to this post by Jacopo Cappellato
Guo, all,

I think that I have fixed the error you are reporting in rev. 565010

The path to the font folder was wrong (I introduced the bug in my last
commit) because it was missing a /.

Please, let me know if this resolves your last error.

Thanks,

Jacopo

Jacopo Cappellato wrote:
> Hi Shi,
>
> of course I will just use the fonts for my local tests and I will not
> include them in the trunk.
>
> Thanks,
>
> Jacopo

12