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

simon steiner edited comment on FOP-2534 at 11/11/15 11:38 AM:
---------------------------------------------------------------

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

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


was (Author: ssteiner1):
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_20151111.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---
> <?xml version="1.0" encoding="UTF-8"?>
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"; 
> xmlns:ext="http://exslt.org/common";>
>       <fo:layout-master-set>
>               <fo:simple-page-master page-width="209.90mm"
>                       page-height="301.98mm" margin-top="4.59mm" 
> margin-left="5mm"
>                       margin-right="10mm" master-name="0">
>                       <fo:region-body />
>               </fo:simple-page-master>
>       </fo:layout-master-set>
>       <fo:page-sequence master-reference="0">
>               <fo:flow flow-name="xsl-region-body">
>                       <fo:block-container absolute-position="absolute"
>                               left="10mm" top="19.91mm">
>                               <fo:block>
>                                       <fo:external-graphic 
> src="file:./bgimg72dpi.gif" />
>                               </fo:block>
>                       </fo:block-container>
>                       <fo:block font-size="12pt"
>                               font-family="Trebuchet MS">
>                               <fo:block-container absolute-position="absolute"
>                                       left="15.17mm" top="29.18mm">
>                                       <fo:block text-align="center">
>                                               <fo:inline>Euro Sign: 
> €</fo:inline>
>                                       </fo:block>
>                               </fo:block-container>
>                       </fo:block>                     
>               </fo:flow>
>       </fo:page-sequence>
> </fo:root>
> ---End: test.out.fo---
> ---Start: fop_with_TrueTypeFonts.xconf---
> <renderer mime="application/x-afp">
> ...
> <fonts>
>             <!-- declare TrueType fonts: Trebuchet MS font family-->
>                       <font kerning="yes" embed-url="file:./TREBUC.TTF" 
> name="Trebuchet MS">
>                           <font-triplet name="Trebuchet MS" style="normal" 
> weight="normal"/>
>                       </font>
>                       <font kerning="yes" embed-url="file:./TREBUCBD.TTF" 
> name="Trebuchet MS Bold">
>                           <font-triplet name="Trebuchet MS" style="normal" 
> weight="bold"/>
>                       </font>
>                       <font kerning="yes" embed-url="file:./TREBUCIT.TTF" 
> name="Trebuchet MS Italic">
>                           <font-triplet name="Trebuchet MS" style="italic" 
> weight="normal"/>
>                       </font>
>                       <font kerning="yes" embed-url="file:./TREBUCBI.TTF" 
> name="Trebuchet MS Bold Italic">
>                           <font-triplet name="Trebuchet MS" style="italic" 
> weight="bold"/>
>                       </font>
> </fonts>
> </renderer>
> ---End: fop_with_TrueTypeFonts.xconf---



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

Reply via email to