[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fop-dev
Subject:    [jira] [Commented] (FOP-2250) Arabic characters are not connected on PCL
From:       "Luis Bernardo (JIRA)" <jira () apache ! org>
Date:       2013-06-23 23:18:20
Message-ID: JIRA.12648571.1369120276846.163119.1372029500237 () arcas
[Download RAW message or body]


    [ 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic