Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
1.1
-
None
-
Windows 7, 2 GBram
Description
We are generating a ps and pdf Arabic output using Apache FOP 1.1. We are using .ttf fonts for the same. PDF output seems to be fine but we are getting some garbage text while generation ps output. As per Apache documentation, ps output format only supports type 1 fonts so we have tried using .pfb fonts but problem has not resolved. When we tried generating output, text on first page of output is fine but from page 2 onward we are getting garbage text. Observation was that if some text is outputted on first page and again on next pages it displays fine but when we try to output something directly on second page or on wards we are facing this issue. Below is the entry that we are using in our .xconf file.
<renderer mime="application/postscript">
<!-- This option forces the PS renderer to rotate landscape pages -->
<!-auto-rotate-landscape>true</auto-rotate-landscape->
<!-- This option lets you specify additional options on an XML handler -->
<!--xml-handler namespace="http://www.w3.org/2000/svg">
<stroke-text>false</stroke-text>
</xml-handler-->
<filterList>
<value>null</value>
</filterList>
<filterList type="image">
<value>flate</value>
<value>ascii-85</value>
</filterList>
<fonts>&tripleFilepfb;</fonts>
<disable-srgb-colorspace>true</disable-srgb-colorspace>
</renderer>
where tripleFilepfb points refers to .XML file containing .ttf fonts.
Could you please help here? Please let me know if you need any more information.
Thanks and regards,
Swapnil
Attachments
Issue Links
- duplicates
-
FOP-2376 PS rendering does not support complex scripts
- Resolved