Hi
Udai,
I wanted to try out the process you explained below. But I find it too
complex to handle and felt. It is better if you can help us with some
detailed examples.
Please let us know.
Regards,
Nagananda Kumar. K.N
Deputy General Manager [Information Technology]
Grameen Financial Services Pvt. Ltd
Avalahalli, Anjanapura Post,
Bangalore
Karnataka
India
PinCode: 560062
Ph: 080-28436237, Fax: 080 28436577
Mob: 9845104252
Email:[email protected]
Website: <http://www.grameenkoota.org> www.grameenkoota.org
From: Udai Gupta [mailto:[email protected]]
Sent: 09 February 2010 17:32
To: A good place to start for users or folks new to Mifos.
Subject: Re: [Mifos-users] Grameen Koota - Loan passbook
Hi,
I haven't done much around BIRT, but I think this issue is far beyond just
installing the fonts on your system.
You might be able to see the report working in your browser or BIRT viewer,
but BIRT PDF generator might not be able to process the fonts (or it doesn't
even understand what font you are using).
If you look into this path
mifos-gazelle/application/reporting/BirtWebViewer-2_5_0/WEB-INF/platform/plu
gin/org.eclipse.birt.report.engine.fonts_2.5.0.v20090615
in Mifos 1.4 (somewhat similar but different version in Mifos 1.3).
You will find
fontsConfig.xml
fontsConfig_pdf.xml
fontsConfig_win32.xml
You can see how other fonts are mapped in these configuration, so I think
mapping your local font should make it work.
You should be able to see the mapping working in logs if you make
BIRT_VIEWER_LOG_LEVEL use INFO level logging in
mifos-gazelle/application/reporting/BirtWebViewer-2_5_0/WEB-INF/web.xml
INFO: register fonts in /
usr/openwin/lib/locale/iso_8859_2/X11/fonts/TrueType cost: 0ms
2009-2-20 15:47:56
org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory
registerFontPath 2009-2-20 15:47:56
org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory
registerFontPath
I guess this should work but I am not sure if BIRT_VIEWER_LOCALE = en_US
will have any effect (my guess is it should not).
But if it does you can also use __locale "kn_IN" to override global locale.
refer http://www.eclipse.org/birt/phoenix/deploy/viewerUsage2.2.php
I can't suggest the best path as I haven't tried these myself, but I think
you can try and let us know which configuration works.
As these changes will not be in WAR file and you will be adding them
explicitly, there are chances that you may loose them after a reload, so
keep them safe at other place for later use.
Udai Gupta
Mifos Developer
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Mifos-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-users