[prev in list] [next in list] [prev in thread] [next in thread]
List: fop-dev
Subject: [jira] [Closed] (FOP-2741) Exclamatory (!) symbol not being rendered properly in AFP
From: "Chris Bowditch (JIRA)" <jira () apache ! org>
Date: 2017-09-26 14:44:00
Message-ID: JIRA.13104886.1506369759000.205183.1506437040627 () Atlassian ! JIRA
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/FOP-2741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]
Chris Bowditch closed FOP-2741.
-------------------------------
Resolution: Not A Bug
This is not a bug, just an effect of the way the AFP Font is encoded.
The Exclamation Glyph (!) has GCGID of EX033000 in the Characterset file. This GCGID \
has a codepoint of x55 in the Codepage. Therefore you need to enter U in the \
XSL-FO. Please ask on the fop-users mailing list the next time you have a question \
before raising a bug. Thanks
> 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! !</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 "!" 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)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic