[jira] [Commented] (FOP-2534) Image disappears if its AFP file uses True Type fonts

2015-11-11 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15000272#comment-15000272
 ] 

simon steiner commented on FOP-2534:


I view using firefox plugin:
http://support.rpp.ricoh-usa.com/internet/dcfdata.nsf/vwweb/p4000233

or
http://www.afp-lookup.com/downloads/

> Image disappears if its AFP file uses True Type fonts
> -
>
> Key: FOP-2534
> URL: https://issues.apache.org/jira/browse/FOP-2534
> Project: FOP
>  Issue Type: Bug
>  Components: renderer/afp
>Affects Versions: trunk
> Environment: Operating System: Windows XP Service Pack 3
> Platform: PC
>Reporter: Le Duy Nhac
> Attachments: AFP_issue_2015.png, bgimg72dpi.gif, 
> fop-trunk-20151013.jar, fop.xconf, fop_with_TrueTypeFonts.modif.xconf, 
> fop_with_TrueTypeFonts.xconf, test.out.afp, test.out.fo, test.out.modif.afp, 
> trebuc.ttf, trebucbd.ttf, trebucbi.ttf, trebucit.ttf
>
>
> Hello,
> In the latest FOP 2.0 Release, it does not support True Type fonts (ex: 
> Trebuchet MS) in AFP and could not display special characters (ex: Euro sign 
> ) or barcodes. Then we tried with FOP Trunk - a version more recent than the 
> latest release - and it supports well True Type fonts and can display Euro 
> sign character in AFP output. But this Trunk version throws the other issue: 
> "Gif images cannot display if its AFP file uses True Type fonts".
> Could you please have a look? and How can I work around this?
> Thank you!
> An example to reproduce the issue:
> Run test: >fop -fo test.out.fo -afp test.out.afp -c 
> fop_with_TrueTypeFonts.xconf
> ---Start: test.out.fo---
> 
> http://www.w3.org/1999/XSL/Format; 
> xmlns:ext="http://exslt.org/common;>
>   
>  page-height="301.98mm" margin-top="4.59mm" 
> margin-left="5mm"
>   margin-right="10mm" master-name="0">
>   
>   
>   
>   
>   
>  left="10mm" top="19.91mm">
>   
>src="file:./bgimg72dpi.gif" />
>   
>   
>  font-family="Trebuchet MS">
>  left="15.17mm" top="29.18mm">
>   
>   Euro Sign: 
> €
>   
>   
>
>   
>   
> 
> ---End: test.out.fo---
> ---Start: fop_with_TrueTypeFonts.xconf---
> 
> ...
> 
> 
>name="Trebuchet MS">
>weight="normal"/>
>   
>name="Trebuchet MS Bold">
>weight="bold"/>
>   
>name="Trebuchet MS Italic">
>weight="normal"/>
>   
>name="Trebuchet MS Bold Italic">
>weight="bold"/>
>   
> 
> 
> ---End: fop_with_TrueTypeFonts.xconf---



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2534) Image disappears if its AFP file uses True Type fonts

2015-11-11 Thread Le Duy Nhac (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15000267#comment-15000267
 ] 

Le Duy Nhac commented on FOP-2534:
--

Hello Simon,

Thank you for your quick response!
I tried with your configuration but the issue is still there (see the 
attachment: AFP_issue_2015.png)

I replaced the default fop.jar in the fop-2.0 distribution by the fop-trunk 
that I downloaded at 20151013 (see the attachment: fop-trunk-20151013.jar).
Then run the command: E:\fop-2.0-bin\fop-2.0>fop -fo test.out.fo -afp 
test.out.modif.afp -c fop_with_TrueTypeFonts.modif.xconf

Could you please advice what i am wrong or missing something?

Thank you!

> Image disappears if its AFP file uses True Type fonts
> -
>
> Key: FOP-2534
> URL: https://issues.apache.org/jira/browse/FOP-2534
> Project: FOP
>  Issue Type: Bug
>  Components: renderer/afp
>Affects Versions: trunk
> Environment: Operating System: Windows XP Service Pack 3
> Platform: PC
>Reporter: Le Duy Nhac
> Attachments: AFP_issue_2015.png, bgimg72dpi.gif, 
> fop-trunk-20151013.jar, fop.xconf, fop_with_TrueTypeFonts.modif.xconf, 
> fop_with_TrueTypeFonts.xconf, test.out.afp, test.out.fo, test.out.modif.afp, 
> trebuc.ttf, trebucbd.ttf, trebucbi.ttf, trebucit.ttf
>
>
> Hello,
> In the latest FOP 2.0 Release, it does not support True Type fonts (ex: 
> Trebuchet MS) in AFP and could not display special characters (ex: Euro sign 
> ) or barcodes. Then we tried with FOP Trunk - a version more recent than the 
> latest release - and it supports well True Type fonts and can display Euro 
> sign character in AFP output. But this Trunk version throws the other issue: 
> "Gif images cannot display if its AFP file uses True Type fonts".
> Could you please have a look? and How can I work around this?
> Thank you!
> An example to reproduce the issue:
> Run test: >fop -fo test.out.fo -afp test.out.afp -c 
> fop_with_TrueTypeFonts.xconf
> ---Start: test.out.fo---
> 
> http://www.w3.org/1999/XSL/Format; 
> xmlns:ext="http://exslt.org/common;>
>   
>  page-height="301.98mm" margin-top="4.59mm" 
> margin-left="5mm"
>   margin-right="10mm" master-name="0">
>   
>   
>   
>   
>   
>  left="10mm" top="19.91mm">
>   
>src="file:./bgimg72dpi.gif" />
>   
>   
>  font-family="Trebuchet MS">
>  left="15.17mm" top="29.18mm">
>   
>   Euro Sign: 
> €
>   
>   
>
>   
>   
> 
> ---End: test.out.fo---
> ---Start: fop_with_TrueTypeFonts.xconf---
> 
> ...
> 
> 
>name="Trebuchet MS">
>weight="normal"/>
>   
>name="Trebuchet MS Bold">
>weight="bold"/>
>   
>name="Trebuchet MS Italic">
>weight="normal"/>
>   
>name="Trebuchet MS Bold Italic">
>weight="bold"/>
>   
> 
> 
> ---End: fop_with_TrueTypeFonts.xconf---



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2534) Image disappears if its AFP file uses True Type fonts

2015-11-11 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15000157#comment-15000157
 ] 

simon steiner commented on FOP-2534:


try using:














> Image disappears if its AFP file uses True Type fonts
> -
>
> Key: FOP-2534
> URL: https://issues.apache.org/jira/browse/FOP-2534
> Project: FOP
>  Issue Type: Bug
>  Components: renderer/afp
>Affects Versions: trunk
> Environment: Operating System: Windows XP Service Pack 3
> Platform: PC
>Reporter: Le Duy Nhac
> Attachments: bgimg72dpi.gif, fop.xconf, fop_with_TrueTypeFonts.xconf, 
> test.out.afp, test.out.fo, trebuc.ttf, trebucbd.ttf, trebucbi.ttf, 
> trebucit.ttf
>
>
> Hello,
> In the latest FOP 2.0 Release, it does not support True Type fonts (ex: 
> Trebuchet MS) in AFP and could not display special characters (ex: Euro sign 
> ) or barcodes. Then we tried with FOP Trunk - a version more recent than the 
> latest release - and it supports well True Type fonts and can display Euro 
> sign character in AFP output. But this Trunk version throws the other issue: 
> "Gif images cannot display if its AFP file uses True Type fonts".
> Could you please have a look? and How can I work around this?
> Thank you!
> An example to reproduce the issue:
> Run test: >fop -fo test.out.fo -afp test.out.afp -c 
> fop_with_TrueTypeFonts.xconf
> ---Start: test.out.fo---
> 
> http://www.w3.org/1999/XSL/Format; 
> xmlns:ext="http://exslt.org/common;>
>   
>  page-height="301.98mm" margin-top="4.59mm" 
> margin-left="5mm"
>   margin-right="10mm" master-name="0">
>   
>   
>   
>   
>   
>  left="10mm" top="19.91mm">
>   
>src="file:./bgimg72dpi.gif" />
>   
>   
>  font-family="Trebuchet MS">
>  left="15.17mm" top="29.18mm">
>   
>   Euro Sign: 
> €
>   
>   
>
>   
>   
> 
> ---End: test.out.fo---
> ---Start: fop_with_TrueTypeFonts.xconf---
> 
> ...
> 
> 
>name="Trebuchet MS">
>weight="normal"/>
>   
>name="Trebuchet MS Bold">
>weight="bold"/>
>   
>name="Trebuchet MS Italic">
>weight="normal"/>
>   
>name="Trebuchet MS Bold Italic">
>weight="bold"/>
>   
> 
> 
> ---End: fop_with_TrueTypeFonts.xconf---



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2534) Image disappears if its AFP file uses True Type fonts

2015-11-11 Thread Le Duy Nhac (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15001657#comment-15001657
 ] 

Le Duy Nhac commented on FOP-2534:
--

Hello Simon,

your firefox plugin has fixed the issue.

Thank you!

> Image disappears if its AFP file uses True Type fonts
> -
>
> Key: FOP-2534
> URL: https://issues.apache.org/jira/browse/FOP-2534
> Project: FOP
>  Issue Type: Bug
>  Components: renderer/afp
>Affects Versions: trunk
> Environment: Operating System: Windows XP Service Pack 3
> Platform: PC
>Reporter: Le Duy Nhac
> Attachments: AFP_issue_2015.png, bgimg72dpi.gif, 
> fop-trunk-20151013.jar, fop.xconf, fop_with_TrueTypeFonts.modif.xconf, 
> fop_with_TrueTypeFonts.xconf, test.out.afp, test.out.fo, test.out.modif.afp, 
> trebuc.ttf, trebucbd.ttf, trebucbi.ttf, trebucit.ttf
>
>
> Hello,
> In the latest FOP 2.0 Release, it does not support True Type fonts (ex: 
> Trebuchet MS) in AFP and could not display special characters (ex: Euro sign 
> ) or barcodes. Then we tried with FOP Trunk - a version more recent than the 
> latest release - and it supports well True Type fonts and can display Euro 
> sign character in AFP output. But this Trunk version throws the other issue: 
> "Gif images cannot display if its AFP file uses True Type fonts".
> Could you please have a look? and How can I work around this?
> Thank you!
> An example to reproduce the issue:
> Run test: >fop -fo test.out.fo -afp test.out.afp -c 
> fop_with_TrueTypeFonts.xconf
> ---Start: test.out.fo---
> 
> http://www.w3.org/1999/XSL/Format; 
> xmlns:ext="http://exslt.org/common;>
>   
>  page-height="301.98mm" margin-top="4.59mm" 
> margin-left="5mm"
>   margin-right="10mm" master-name="0">
>   
>   
>   
>   
>   
>  left="10mm" top="19.91mm">
>   
>src="file:./bgimg72dpi.gif" />
>   
>   
>  font-family="Trebuchet MS">
>  left="15.17mm" top="29.18mm">
>   
>   Euro Sign: 
> €
>   
>   
>
>   
>   
> 
> ---End: test.out.fo---
> ---Start: fop_with_TrueTypeFonts.xconf---
> 
> ...
> 
> 
>name="Trebuchet MS">
>weight="normal"/>
>   
>name="Trebuchet MS Bold">
>weight="bold"/>
>   
>name="Trebuchet MS Italic">
>weight="normal"/>
>   
>name="Trebuchet MS Bold Italic">
>weight="bold"/>
>   
> 
> 
> ---End: fop_with_TrueTypeFonts.xconf---



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)