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/plugin/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
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Mifos-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-users

Reply via email to