Load font by relative path instead of full path for birt 3.7.2 [message #856330] |
Wed, 25 April 2012 11:12  |
Eclipse User |
|
|
|
I use custom fontsCondfig.xml in reports/. Can I configure fontsConfig.xml to load fonts from relative path or from jars?
for example
Here is folder structure.
reports/fontsConfig.xml
reports/fonts/fonta.ttf.
If i use full path on my system, it works fine, but it doesn't work if i use relative path:
likes:
<font-paths>
<path path="fonts"/>
</font-paths>
Config2:
<font-paths>
<path path="classpath:reports/fonts"/>
</font-paths>
thanks,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Load font by relative path instead of full path for birt 3.7.2 [message #893803 is a reply to message #893621] |
Thu, 05 July 2012 10:21  |
Eclipse User |
|
|
|
If you are using the osgi runtime all the required jars for it should be
in the runtime/reportengine/lib directory.
Jason
On 7/4/2012 8:02 PM, M H wrote:
> Hi Jason, I solved the problem now by using the osgi runtime, and put
> some missing jars for org.eclipse.datatools.*..jar from the designer
> plugins.
> I had error earlier (before putting all the missing jars) like "Cannot
> find or process the ODA data source extension configuration..."
> So I tried to copied the missing jar, and errors are all gone.
> Does the osgi package miss any jars?
>
>
> I did not try on EngineConfig.setFontConfig(URL) because my customer
> does not like the idea on putting the fonts separately.
> So, I guess it is fine for now..
>
|
|
|
Powered by
FUDForum. Page generated in 0.28033 seconds