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

Luis Bernardo commented on FOP-2250:
------------------------------------

partial implementation applied: 
http://svn.apache.org/viewvc?view=revision&revision=1495898.

both the drawTextAsBitmap() and drawTextNative() of PCLPainter have been 
updated but only the bitmap path has been tested. it would be good to have a 
font that causes the code to take the other path.

the drawtTextAsBitmap() path seems to work well with fonts like Simplified 
Arabic and Traditional Arabic; it does not work well with a font like Lateef or 
Sheherazade. I think the problem is due to the fact that the 
Java2DPainter.drawText() relies on java.awt.Font.createGlyphVector(), which 
cannot be relied upon for complex scripts, as mentioned in a comment in the JDK 
source.
                
> Arabic characters are not connected on PCL
> ------------------------------------------
>
>                 Key: FOP-2250
>                 URL: https://issues.apache.org/jira/browse/FOP-2250
>             Project: Fop
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Windows 7, x64
>            Reporter: Konrad Gajewski
>         Attachments: arabic.fo, arabic.pcl, arabic.pcl.pdf, fop.xconf, 
> PCL_issue.jpg, test2.pdf
>
>
> Hi, 
> When I try to print document on HP printer, Arabic characters are not printed 
> correctly.
> They should be connected.
> regards,
> Konrad Gajewski

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to