<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.idempiere.org/w-en/index.php?action=history&amp;feed=atom&amp;title=JasperReport_Font_Extensions</id>
	<title>JasperReport Font Extensions - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.idempiere.org/w-en/index.php?action=history&amp;feed=atom&amp;title=JasperReport_Font_Extensions"/>
	<link rel="alternate" type="text/html" href="https://wiki.idempiere.org/w-en/index.php?title=JasperReport_Font_Extensions&amp;action=history"/>
	<updated>2026-05-05T08:50:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://wiki.idempiere.org/w-en/index.php?title=JasperReport_Font_Extensions&amp;diff=23216&amp;oldid=prev</id>
		<title>CarlosRuiz at 13:55, 26 May 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.idempiere.org/w-en/index.php?title=JasperReport_Font_Extensions&amp;diff=23216&amp;oldid=prev"/>
		<updated>2025-05-26T13:55:32Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:55, 26 May 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l65&quot; &gt;Line 65:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 65:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= creating an iDempiere plugin =&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= creating an iDempiere plugin =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You can use my standard plugin '''[https://github.com/bxservice/de.bayen.freibier/tree/master/de.bayen.freibier.report.fontsfragment de.bayen.freibier.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;repfontsfragmentort&lt;/del&gt;.fontsfragment]''' as an example point to extend or you can create an own plugin for that. Create a new plugin project and declare it as a Fragment. A Fragment is an extension to one single parent plugin - the so-called &amp;quot;host bundle&amp;quot;. Our host bundle is '''[https://github.com/bxservice/de.bayen.freibier/tree/master/de.bayen.freibier.report.libraries de.bayen.freibier.report.libraries]'''. More is not needed to set up the plugin.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You can use my standard plugin '''[https://github.com/bxservice/de.bayen.freibier/tree/master/de.bayen.freibier.report.fontsfragment de.bayen.freibier.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;report&lt;/ins&gt;.fontsfragment]''' as an example point to extend or you can create an own plugin for that. Create a new plugin project and declare it as a Fragment. A Fragment is an extension to one single parent plugin - the so-called &amp;quot;host bundle&amp;quot;. Our host bundle is '''[https://github.com/bxservice/de.bayen.freibier/tree/master/de.bayen.freibier.report.libraries de.bayen.freibier.report.libraries]'''. More is not needed to set up the plugin.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Then I created a directory &amp;quot;lib&amp;quot; and copied all my font extension jar-files into it. In the manifest definition editor I added them all to the &amp;quot;binary build&amp;quot; set (in the &amp;quot;build&amp;quot; tab).&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Then I created a directory &amp;quot;lib&amp;quot; and copied all my font extension jar-files into it. In the manifest definition editor I added them all to the &amp;quot;binary build&amp;quot; set (in the &amp;quot;build&amp;quot; tab).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key idempiere-en-:diff::1.12:old-23215:rev-23216 --&gt;
&lt;/table&gt;</summary>
		<author><name>CarlosRuiz</name></author>
	</entry>
	<entry>
		<id>https://wiki.idempiere.org/w-en/index.php?title=JasperReport_Font_Extensions&amp;diff=23215&amp;oldid=prev</id>
		<title>CarlosRuiz: add links</title>
		<link rel="alternate" type="text/html" href="https://wiki.idempiere.org/w-en/index.php?title=JasperReport_Font_Extensions&amp;diff=23215&amp;oldid=prev"/>
		<updated>2025-05-26T13:54:19Z</updated>

		<summary type="html">&lt;p&gt;add links&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:54, 26 May 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This page is about using fonts in iDempiere reports using the [[JasperReports]] report engine. I did this with my own replacement &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Japser &lt;/del&gt;plugin (JasperReportsFreiBier) but some things written here may also count for the old standard plugin. ''(If you are interested in the old standard plugin you should be aware that there is an example font plugin in the iDempiere source trunk.)''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This page is about using fonts in iDempiere reports using the [[JasperReports]] report engine. I did this with my own replacement &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Jasper &lt;/ins&gt;plugin (&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[https://github.com/bxservice/de.bxservice.report.jasper &lt;/ins&gt;JasperReportsFreiBier&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]&lt;/ins&gt;) but some things written here may also count for the old standard plugin. ''(If you are interested in the old standard plugin you should be aware that there is an example font plugin in the iDempiere source trunk.)''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot; &gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you create your report with iReport it gives you the possibility to use all fonts that are installed on your local system. But that does not mean that these fonts are available on your server or on a swing client's machine. It does not even guarantee that the created pdf document can be shown on these other machines.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you create your report with iReport it gives you the possibility to use all fonts that are installed on your local system. But that does not mean that these fonts are available on your server or on a swing client's machine. It does not even guarantee that the created pdf document can be shown on these other machines.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For the first part there is a way to create a so called &amp;quot;font extension&amp;quot; for &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;JapserReports&lt;/del&gt;. Our goal is to create an iDempiere plugin to be added to an iDempiere installation which includes the needed font. Another goal is to have a standard plugin with a useful collection of fonts so most users would not need to do it themself.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For the first part there is a way to create a so called &amp;quot;font extension&amp;quot; for &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;JasperReports&lt;/ins&gt;. Our goal is to create an iDempiere plugin to be added to an iDempiere installation which includes the needed font. Another goal is to have a standard plugin with a useful collection of fonts so most users would not need to do it themself.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l65&quot; &gt;Line 65:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 65:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= creating an iDempiere plugin =&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= creating an iDempiere plugin =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You can use my standard plugin '''de.bayen.freibier.report.fontsfragment''' as an example point to extend or you can create an own plugin for that. Create a new plugin project and declare it as a Fragment. A Fragment is an extension to one single parent plugin - the so-called &amp;quot;host bundle&amp;quot;. Our host bundle is '''de.bayen.freibier.report.libraries'''. More is not needed to set up the plugin.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You can use my standard plugin '''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[https://github.com/bxservice/de.bayen.freibier/tree/master/&lt;/ins&gt;de.bayen.freibier.report.fontsfragment &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;de.bayen.freibier.repfontsfragmentort.fontsfragment]&lt;/ins&gt;''' as an example point to extend or you can create an own plugin for that. Create a new plugin project and declare it as a Fragment. A Fragment is an extension to one single parent plugin - the so-called &amp;quot;host bundle&amp;quot;. Our host bundle is '''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[https://github.com/bxservice/de.bayen.freibier/tree/master/de.bayen.freibier.report.libraries &lt;/ins&gt;de.bayen.freibier.report.libraries&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]&lt;/ins&gt;'''. More is not needed to set up the plugin.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Then I created a directory &amp;quot;lib&amp;quot; and copied all my font extension jar-files into it. In the manifest definition editor I added them all to the &amp;quot;binary build&amp;quot; set (in the &amp;quot;build&amp;quot; tab).&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Then I created a directory &amp;quot;lib&amp;quot; and copied all my font extension jar-files into it. In the manifest definition editor I added them all to the &amp;quot;binary build&amp;quot; set (in the &amp;quot;build&amp;quot; tab).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key idempiere-en-:diff::1.12:old-20472:rev-23215 --&gt;
&lt;/table&gt;</summary>
		<author><name>CarlosRuiz</name></author>
	</entry>
	<entry>
		<id>https://wiki.idempiere.org/w-en/index.php?title=JasperReport_Font_Extensions&amp;diff=20472&amp;oldid=prev</id>
		<title>Diego.ruiz: Categorize and tag</title>
		<link rel="alternate" type="text/html" href="https://wiki.idempiere.org/w-en/index.php?title=JasperReport_Font_Extensions&amp;diff=20472&amp;oldid=prev"/>
		<updated>2022-09-12T14:28:25Z</updated>

		<summary type="html">&lt;p&gt;Categorize and tag&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:28, 12 September 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l88&quot; &gt;Line 88:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 88:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: Development]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: Development]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: Developer documentation]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: Developer documentation]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:NeedsToBeUpdated]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:HowTo]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key idempiere-en-:diff::1.12:old-9260:rev-20472 --&gt;
&lt;/table&gt;</summary>
		<author><name>Diego.ruiz</name></author>
	</entry>
	<entry>
		<id>https://wiki.idempiere.org/w-en/index.php?title=JasperReport_Font_Extensions&amp;diff=9260&amp;oldid=prev</id>
		<title>Thomas Thießen: Add category</title>
		<link rel="alternate" type="text/html" href="https://wiki.idempiere.org/w-en/index.php?title=JasperReport_Font_Extensions&amp;diff=9260&amp;oldid=prev"/>
		<updated>2015-10-26T17:21:21Z</updated>

		<summary type="html">&lt;p&gt;Add category&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:21, 26 October 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l81&quot; &gt;Line 81:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 81:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* http://fonts.debian.net/ - Shows all Fonts that are included in Debian Linux&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* http://fonts.debian.net/ - Shows all Fonts that are included in Debian Linux&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* http://dejavu-fonts.org - good Font Family for most uses. This is used in many JasperReports examples&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* http://dejavu-fonts.org - good Font Family for most uses. This is used in many JasperReports examples&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category: JasperReports]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category: Issue (print)]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category: Development]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category: Developer documentation]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key idempiere-en-:diff::1.12:old-5949:rev-9260 --&gt;
&lt;/table&gt;</summary>
		<author><name>Thomas Thießen</name></author>
	</entry>
	<entry>
		<id>https://wiki.idempiere.org/w-en/index.php?title=JasperReport_Font_Extensions&amp;diff=5949&amp;oldid=prev</id>
		<title>TBayen: Build a font extension fragment for iDempiere</title>
		<link rel="alternate" type="text/html" href="https://wiki.idempiere.org/w-en/index.php?title=JasperReport_Font_Extensions&amp;diff=5949&amp;oldid=prev"/>
		<updated>2014-08-31T15:30:09Z</updated>

		<summary type="html">&lt;p&gt;Build a font extension fragment for iDempiere&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This page is about using fonts in iDempiere reports using the [[JasperReports]] report engine. I did this with my own replacement Japser plugin (JasperReportsFreiBier) but some things written here may also count for the old standard plugin. ''(If you are interested in the old standard plugin you should be aware that there is an example font plugin in the iDempiere source trunk.)''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= What is the problem? =&lt;br /&gt;
&lt;br /&gt;
If you create your report with iReport it gives you the possibility to use all fonts that are installed on your local system. But that does not mean that these fonts are available on your server or on a swing client's machine. It does not even guarantee that the created pdf document can be shown on these other machines.&lt;br /&gt;
&lt;br /&gt;
For the first part there is a way to create a so called &amp;quot;font extension&amp;quot; for JapserReports. Our goal is to create an iDempiere plugin to be added to an iDempiere installation which includes the needed font. Another goal is to have a standard plugin with a useful collection of fonts so most users would not need to do it themself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= find a good font =&lt;br /&gt;
&lt;br /&gt;
There are some places on the internet to find good fonts. I first use a search engine and then find one of the specialized font search engines. You can also use a page where all debian fonts are shown: http://fonts.debian.net. Personally I prefer fonts that are available in debian linux. But in some cases I found a font through one of the font search pages, went to the font's home page and only then found out that it has a debian package.&lt;br /&gt;
&lt;br /&gt;
At the end we just need some *.ttf files. So it is possible to just download these. For a perfect result it would be good if we have different font files for bold and italic versions (if not then they are calculated from the base font).&lt;br /&gt;
&lt;br /&gt;
For my example I found a font via http://www.fontspace.com, found the home page at http://mplus-fonts.sourceforge.jp/mplus-outline-fonts/design/index-en.html and found the debian package '''fonts-mplus'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= create a font extension =&lt;br /&gt;
&lt;br /&gt;
I first install the debian package. Then I look where the font files are.&lt;br /&gt;
&lt;br /&gt;
  tbayen@laptop:~$ sudo aptitude install fonts-mplus&lt;br /&gt;
  ...&lt;br /&gt;
&lt;br /&gt;
  tbayen@laptop:~$ dpkg -L fonts-mplus&lt;br /&gt;
  /.&lt;br /&gt;
  /usr&lt;br /&gt;
  /usr/share&lt;br /&gt;
  /usr/share/fonts&lt;br /&gt;
  /usr/share/fonts/truetype&lt;br /&gt;
  /usr/share/fonts/truetype/mplus&lt;br /&gt;
  /usr/share/fonts/truetype/mplus/mplus-1mn-regular.ttf&lt;br /&gt;
  /usr/share/fonts/truetype/mplus/mplus-2m-regular.ttf&lt;br /&gt;
  /usr/share/fonts/truetype/mplus/mplus-2c-regular.ttf&lt;br /&gt;
  /usr/share/fonts/truetype/mplus/mplus-2m-medium.ttf&lt;br /&gt;
  /usr/share/fonts/truetype/mplus/mplus-2p-thin.ttf&lt;br /&gt;
  /usr/share/fonts/truetype/mplus/mplus-2c-light.ttf&lt;br /&gt;
  ...&lt;br /&gt;
&lt;br /&gt;
After that I open JasperStudio (This should also work with the iReport application). I open the preferences and open the Tab for &amp;quot;Jaspersoft Studio&amp;quot; -&amp;gt; &amp;quot;Fonts&amp;quot;. There I press the &amp;quot;add&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
In the font definition window I first set the name of the Font to &amp;quot;MPlus M1&amp;quot;. Then I go to every tab (&amp;quot;Normal&amp;quot;, &amp;quot;Bold&amp;quot;, etc.) and create an entry for the font files I have. Every tab needs only one filename entry. In my case I set the TrueType filename on the tabs &amp;quot;Normal&amp;quot; and &amp;quot;Bold&amp;quot;. I let the italic tabs alone because I have no italic font files. On every used font file tab I check &amp;quot;Embed this font in PDF document&amp;quot;. That makes the resulting PDF file a bit bigger but it guarantees that the file looks the same everywhere. (btw: Only the used characters are embedded, not the whole font. Don't be afraid!) You can end this window by using the &amp;quot;Finish&amp;quot; button. (Some pages are available through &amp;quot;Next&amp;quot; but we I didn't need them for my case.)&lt;br /&gt;
&lt;br /&gt;
Back in the Preferences Window you can select the new created font and press &amp;quot;Export&amp;quot;. With that you create a JapserReports font extension file (ending with *.jar).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= using the selected fonts in JasperReports studio or iReport =&lt;br /&gt;
&lt;br /&gt;
You can use a font for every text field in JasperReports Studio in the field preferences. The combobox to choose the font contains (in my case) a very lot of fonts. Most of them are not prefered to use. The fonts that are installed as font extensions are at the very top of the list. You should always use one of them.&lt;br /&gt;
&lt;br /&gt;
== using Font Styles ==&lt;br /&gt;
&lt;br /&gt;
You can create a style to to a collection of some output configurations that can be applies to many different fields. You can create a style for using a font and use that style instead. That allows a later change of the used font with one single setting. See the JasperReports documentation if you have more questions.&lt;br /&gt;
&lt;br /&gt;
== using Font Style Templates ==&lt;br /&gt;
&lt;br /&gt;
You can even use Font Style Templates. That is a file with font (and other style) definitions that can be included in your report. This allows to use one set of font and style definitions to define a whole set of reports.&lt;br /&gt;
&lt;br /&gt;
The actual JasperReports version in iDempiere 2.0 does not allow Style Templates (they are rather new). If you use JasperReportsFreibier that is no problem.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= creating an iDempiere plugin =&lt;br /&gt;
&lt;br /&gt;
You can use my standard plugin '''de.bayen.freibier.report.fontsfragment''' as an example point to extend or you can create an own plugin for that. Create a new plugin project and declare it as a Fragment. A Fragment is an extension to one single parent plugin - the so-called &amp;quot;host bundle&amp;quot;. Our host bundle is '''de.bayen.freibier.report.libraries'''. More is not needed to set up the plugin.&lt;br /&gt;
&lt;br /&gt;
Then I created a directory &amp;quot;lib&amp;quot; and copied all my font extension jar-files into it. In the manifest definition editor I added them all to the &amp;quot;binary build&amp;quot; set (in the &amp;quot;build&amp;quot; tab).&lt;br /&gt;
&lt;br /&gt;
That's it. Create the bundle file with Menu &amp;quot;Export...&amp;quot; -&amp;gt; &amp;quot;Deployable Plug-ins and Fragments&amp;quot;, set some name values and the new plugin is ready to test with your report.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= useful links =&lt;br /&gt;
&lt;br /&gt;
* http://jasperforge.org/uploads/publish/jasperreportswebsite/trunk/sample.reference/fonts/index.html - official Fonts-Example&lt;br /&gt;
* http://www.alexander-merz.com/print_43.html - Quite old article but still a bit useful (explains the basics)&lt;br /&gt;
* http://mdahlman.wordpress.com/2010/05/28/jaspersoft-v3-7-font-extensions/ - description of the new font handling mechanisms (sind JasperReports version 3.7)&lt;br /&gt;
* http://www.faqs.org/docs/Linux-mini/TT-Debian.html - Quite old HOWTO document about true type fonts and debian linux&lt;br /&gt;
* http://wiki.debian.org/Fonts - actual informations about Debian and Fonts&lt;br /&gt;
* http://fonts.debian.net/ - Shows all Fonts that are included in Debian Linux&lt;br /&gt;
* http://dejavu-fonts.org - good Font Family for most uses. This is used in many JasperReports examples&lt;/div&gt;</summary>
		<author><name>TBayen</name></author>
	</entry>
</feed>