|
|
Hello. I`m working in grails 3.1.9. I want to add dependency jasper jar that contains below (named -> 'time_new_roman.jar'):
time_new_roman.jar - Fonts - jasperreports_extension.properties fonts - directory contains - fontsfamily1482215644802.xml - file
<?xml version="1.0" encoding="UTF-8"?> <fontFamilies>
<fontFamily name="Times New Roman"> <normal><![CDATA[fonts/times.ttf]]></normal> <bold><![CDATA[fonts/timesbd.ttf]]></bold> <italic><![CDATA[fonts/timesi.ttf]]></italic> <boldItalic><![CDATA[fonts/timesbi.ttf]]></boldItalic> <pdfEmbedded><![CDATA[true]]></pdfEmbedded> </fontFamily> </fontFamilies>
2. times.ttf, timesbd.ttf, timesi.ttf
jasperreports_extension.properties contains net.sf.jasperreports.extension.registry.factory.fonts=net.sf.jasperreports.engine.fonts.SimpleFontExtensionsRegistryFactory net.sf.jasperreports.extension.simple.font.families.ireportfamily1482215644802=fonts/fontsfamily1482215644802.xml
then created 'lib' folder under webapp where copied 'time_new_roman.jar' into created directory.
in build.gradle added 'compile files("lib/times_new_roman.jar")'
but when running it coudln`t take that font. help me.
--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/238e7bd9-8b0d-407a-80b7-76fac7d4c688%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
|
|
Hi.
Did you try to unzip the generated war to confirm that the desired
jar was included?
Also did you check the structure of your jar file?
In my case I have a jar file with a fonts directory and the
jasperreports_extension.properties
file.
On 12/20/2016 07:04 AM, Erdi kh wrote:
Hello. I`m working in grails 3.1.9. I want to add
dependency jasper jar that contains below (named ->
'time_new_roman.jar'):
time_new_roman.jar
- Fonts
- jasperreports_extension.properties
fonts - directory contains
- fontsfamily1482215644802.xml - file
<?xml
version="1.0" encoding="UTF-8"?>
<fontFamilies>
<fontFamily name="Times New Roman">
<normal><![CDATA[fonts/times.ttf]]></normal>
<bold><![CDATA[fonts/timesbd.ttf]]></bold>
<italic><![CDATA[fonts/timesi.ttf]]></italic>
<boldItalic><![CDATA[fonts/timesbi.ttf]]></boldItalic>
<pdfEmbedded><![CDATA[true]]></pdfEmbedded>
</fontFamily>
</fontFamilies>
2. times.ttf, timesbd.ttf, timesi.ttf
jasperreports_extension.properties contains
net.sf.jasperreports.extension.registry.factory.fonts=net.sf.jasperreports.engine.fonts.SimpleFontExtensionsRegistryFactory
net.sf.jasperreports.extension.simple.font.families.ireportfamily1482215644802=fonts/fontsfamily1482215644802.xml
then created 'lib' folder under webapp where copied
'time_new_roman.jar' into created directory.
in build.gradle added 'compile files("lib/times_new_roman.jar")'
but when running it coudln`t
take that font. help me.
--
You received this message because you are subscribed to the Google
Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/238e7bd9-8b0d-407a-80b7-76fac7d4c688%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Assinatura Informal
--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/e92bd252-cd98-78f8-67f3-c810be363c77%40informal.com.br.
For more options, visit https://groups.google.com/d/optout.
|
|
Yes i checked structure of jar. in my opinion grails not compile it. i want to know is it correct way dependency external jar ? On Tuesday, December 20, 2016 at 5:04:38 PM UTC+8, Erdi kh wrote: Hello. I`m working in grails 3.1.9. I want to add dependency jasper jar that contains below (named -> 'time_new_roman.jar'):
time_new_roman.jar - Fonts - jasperreports_extension.properties fonts - directory contains - fontsfamily1482215644802.xml - file
<?xml version="1.0" encoding="UTF-8"?> <fontFamilies>
<fontFamily name="Times New Roman"> <normal><![CDATA[fonts/times.ttf]]></normal> <bold><![CDATA[fonts/timesbd.ttf]]></bold> <italic><![CDATA[fonts/timesi.ttf]]></italic> <boldItalic><![CDATA[fonts/timesbi.ttf]]></boldItalic> <pdfEmbedded><![CDATA[true]]></pdfEmbedded> </fontFamily> </fontFamilies>
2. times.ttf, timesbd.ttf, timesi.ttf
jasperreports_extension.properties contains net.sf.jasperreports.extension.registry.factory.fonts=net.sf.jasperreports.engine.fonts.SimpleFontExtensionsRegistryFactory net.sf.jasperreports.extension.simple.font.families.ireportfamily1482215644802=fonts/fontsfamily1482215644802.xml
then created 'lib' folder under webapp where copied 'time_new_roman.jar' into created directory.
in build.gradle added 'compile files("lib/times_new_roman.jar")'
but when running it coudln`t take that font. help me.
--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/8cfb2e40-b6ba-4e53-9752-a50e939d3a72%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
|
|
In reply to this post by José Vilmar Estácio de Souza
Yes i checked structure of jar. in my opinion grails not compile it. i want to know is it correct way dependency external jar ? On Tuesday, December 20, 2016 at 5:22:13 PM UTC+8, José Vilmar Estácio de Souza wrote:
Hi.
Did you try to unzip the generated war to confirm that the desired
jar was included?
Also did you check the structure of your jar file?
In my case I have a jar file with a fonts directory and the
jasperreports_extension. properties
file.
On 12/20/2016 07:04 AM, Erdi kh wrote:
Hello. I`m working in grails 3.1.9. I want to add
dependency jasper jar that contains below (named ->
'time_new_roman.jar'):
time_new_roman.jar
- Fonts
- jasperreports_extension.properties
fonts - directory contains
- fontsfamily1482215644802.xml - file
<?xml
version="1.0" encoding="UTF-8"?>
<fontFamilies>
<fontFamily name="Times New Roman">
<normal><![CDATA[fonts/times.ttf]]></normal>
<bold><![CDATA[fonts/timesbd.ttf]]></bold>
<italic><![CDATA[fonts/timesi.ttf]]></italic>
<boldItalic><![CDATA[fonts/timesbi.ttf]]></boldItalic>
<pdfEmbedded><![CDATA[true]]></pdfEmbedded>
</fontFamily>
</fontFamilies>
2. times.ttf, timesbd.ttf, timesi.ttf
jasperreports_extension.properties contains
net.sf.jasperreports.extension.registry.factory.fonts=net.sf.jasperreports.engine.fonts.SimpleFontExtensionsRegistryFactory
net.sf.jasperreports.extension.simple.font.families.ireportfamily1482215644802=fonts/fontsfamily1482215644802.xml
then created 'lib' folder under webapp where copied
'time_new_roman.jar' into created directory.
in build.gradle added 'compile files("lib/times_new_roman.jar")'
but when running it coudln`t
take that font. help me.
--
You received this message because you are subscribed to the Google
Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="kQHHL9ldDQAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">grails-dev-discuss+unsubscribe@....
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="kQHHL9ldDQAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">grails-de...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/grails-dev-discuss/238e7bd9-8b0d-407a-80b7-76fac7d4c688%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/msgid/grails-dev-discuss/238e7bd9-8b0d-407a-80b7-76fac7d4c688%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;" onclick="this.href='https://groups.google.com/d/msgid/grails-dev-discuss/238e7bd9-8b0d-407a-80b7-76fac7d4c688%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;">https://groups.google.com/d/msgid/grails-dev-discuss/238e7bd9-8b0d-407a-80b7-76fac7d4c688%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/optout.
--
--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/b87e1637-bf4a-43d4-b3e3-b9a958c7ee2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
|
|
In reply to this post by José Vilmar Estácio de Souza
Attached my pdf. On Tuesday, December 20, 2016 at 5:22:13 PM UTC+8, José Vilmar Estácio de Souza wrote:
Hi.
Did you try to unzip the generated war to confirm that the desired
jar was included?
Also did you check the structure of your jar file?
In my case I have a jar file with a fonts directory and the
jasperreports_extension. properties
file.
On 12/20/2016 07:04 AM, Erdi kh wrote:
Hello. I`m working in grails 3.1.9. I want to add
dependency jasper jar that contains below (named ->
'time_new_roman.jar'):
time_new_roman.jar
- Fonts
- jasperreports_extension.properties
fonts - directory contains
- fontsfamily1482215644802.xml - file
<?xml
version="1.0" encoding="UTF-8"?>
<fontFamilies>
<fontFamily name="Times New Roman">
<normal><![CDATA[fonts/times.ttf]]></normal>
<bold><![CDATA[fonts/timesbd.ttf]]></bold>
<italic><![CDATA[fonts/timesi.ttf]]></italic>
<boldItalic><![CDATA[fonts/timesbi.ttf]]></boldItalic>
<pdfEmbedded><![CDATA[true]]></pdfEmbedded>
</fontFamily>
</fontFamilies>
2. times.ttf, timesbd.ttf, timesi.ttf
jasperreports_extension.properties contains
net.sf.jasperreports.extension.registry.factory.fonts=net.sf.jasperreports.engine.fonts.SimpleFontExtensionsRegistryFactory
net.sf.jasperreports.extension.simple.font.families.ireportfamily1482215644802=fonts/fontsfamily1482215644802.xml
then created 'lib' folder under webapp where copied
'time_new_roman.jar' into created directory.
in build.gradle added 'compile files("lib/times_new_roman.jar")'
but when running it coudln`t
take that font. help me.
--
You received this message because you are subscribed to the Google
Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="kQHHL9ldDQAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">grails-dev-discuss+unsubscribe@....
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="kQHHL9ldDQAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">grails-de...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/grails-dev-discuss/238e7bd9-8b0d-407a-80b7-76fac7d4c688%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/msgid/grails-dev-discuss/238e7bd9-8b0d-407a-80b7-76fac7d4c688%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;" onclick="this.href='https://groups.google.com/d/msgid/grails-dev-discuss/238e7bd9-8b0d-407a-80b7-76fac7d4c688%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;">https://groups.google.com/d/msgid/grails-dev-discuss/238e7bd9-8b0d-407a-80b7-76fac7d4c688%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/optout.
--
--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/f7cc662e-1a9a-4460-81fd-e1c7ee171ccb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
|
|