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

Chris Bowditch commented on FOP-2741:
-------------------------------------

Well that's the problem the x is required before 55 to represent Hex code. AFP 
is all done in Hexadecimal. Please if you have follow up questions related to 
this please ask them on the fop-user mailing list. The bug tracker is supposed 
to be used for reporting defects

> Exclamatory (!) symbol not being rendered properly in AFP
> ---------------------------------------------------------
>
>                 Key: FOP-2741
>                 URL: https://issues.apache.org/jira/browse/FOP-2741
>             Project: FOP
>          Issue Type: Bug
>          Components: renderer/afp
>    Affects Versions: 2.1, 2.2
>         Environment: OS: Windows 7 Enterprise
> Java : jdk1.8.0_101
> Encoding: ISO-8859-1
>            Reporter: Vikas
>            Priority: Blocker
>         Attachments: C0EX0BG0, Exclamatory.afp, Exclamatory.fo, Font.JPG, 
> fopTest.xconf, T1EX0000
>
>
> I am not able to render exclamatory ("!") symbol in a AFP file. It is 
> rendered as a Pipe (|) character instead. There are no FOP warning/error 
> messages. Corresponding Font does has the required Character/Glyph.
> *Below is the test fo file content,*
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
>       <!-- defines the layout master -->
>       <fo:layout-master-set>
>               <fo:simple-page-master master-name="first" page-height="29.7cm" 
> page-width="21cm" margin-top="1cm" margin-bottom="2cm" margin-left="2.5cm" 
> margin-right="2.5cm">
>                       <fo:region-body margin-top="1cm"/>
>                       <fo:region-before extent="1cm"/>
>                       <fo:region-after extent="1.5cm"/>
>               </fo:simple-page-master>
>       </fo:layout-master-set>
>       <!-- starts actual layout -->
>       <fo:page-sequence master-reference="first">
>               <fo:flow flow-name="xsl-region-body">
>                       <fo:block role="p" >
>                               <fo:inline font-family="Humnst777 BT">Surprise! 
>    &#33;</fo:inline>                            
>                       </fo:block>
>               </fo:flow>
>       </fo:page-sequence>
> </fo:root>
> *Below is the command used to generate afp file,*
>   fop -c fopTest.xconf -fo Exclamatory.fo -afp Exclamatory.afp
> *Below is the FOP output,*
> Sep 25, 2017 3:31:03 PM org.apache.fop.apps.FopConfParser configure
> INFO: Default page-height set to: 11.00in
> Sep 25, 2017 3:31:03 PM org.apache.fop.apps.FopConfParser configure
> INFO: Default page-width set to: 8.50in
> Sep 25, 2017 3:31:05 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> INFO: Rendered page #1.
> *I have tried below options, but could not get it to work*
>  1. Tried with different font family (ex: Arial, Helvetica, Symbol)
>   2. Used corresponding unicode "&#33" instead of !
>   3. Tried versions 2.1 & 2.2
> *Please find attached,*
>  1. Test fo file
>  2. FOP config file
>  3. Afp output file
>  4. Humnst BT 777 char set file
>  5. T1EX0000 codepage
>  6. Screen shot of the Font file with AFP Font viewer
> Appreciate your help on this blocking issue.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to