You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Justin LeFebvre (JIRA)" <ji...@apache.org> on 2009/02/02 22:55:59 UTC
[jira] Created: (PDFBOX-415) Errors when decomposing Arabic
Ligatures
Errors when decomposing Arabic Ligatures
----------------------------------------
Key: PDFBOX-415
URL: https://issues.apache.org/jira/browse/PDFBOX-415
Project: PDFBox
Issue Type: Bug
Components: Text extraction
Affects Versions: 0.7.3
Reporter: Justin LeFebvre
For arabic ligatures U+FC5E to U+FC63, the decomposition of each contains a space which causes a word to be broken up into two words. Also, the U+FDF2 ligature is handled differently by different fonts. Some encode it as U+0644 U+0644 U+0647 and add on an extra separate U+0627. U+FDF2 should be encoded as U+0627 U+0644 U+0644 U+0647.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PDFBOX-415) Errors when decomposing Arabic
Ligatures
Posted by "Justin LeFebvre (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin LeFebvre updated PDFBOX-415:
-----------------------------------
Attachment: ICU4JImpl.diff
> Errors when decomposing Arabic Ligatures
> ----------------------------------------
>
> Key: PDFBOX-415
> URL: https://issues.apache.org/jira/browse/PDFBOX-415
> Project: PDFBox
> Issue Type: Bug
> Components: Text extraction
> Affects Versions: 0.7.3
> Reporter: Justin LeFebvre
> Attachments: allah2.pdf, FC60_Times.pdf, ICU4JImpl.diff
>
>
> For arabic ligatures U+FC5E to U+FC63, the decomposition of each contains a space which causes a word to be broken up into two words. Also, the U+FDF2 ligature is handled differently by different fonts. Some encode it as U+0644 U+0644 U+0647 and add on an extra separate U+0627. U+FDF2 should be encoded as U+0627 U+0644 U+0644 U+0647.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PDFBOX-415) Errors when decomposing Arabic
Ligatures
Posted by "Justin LeFebvre (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin LeFebvre updated PDFBOX-415:
-----------------------------------
Attachment: FC60_Times.pdf
Contains the U+FC60 Ligature. When extracted it adds an extra space.
> Errors when decomposing Arabic Ligatures
> ----------------------------------------
>
> Key: PDFBOX-415
> URL: https://issues.apache.org/jira/browse/PDFBOX-415
> Project: PDFBox
> Issue Type: Bug
> Components: Text extraction
> Affects Versions: 0.7.3
> Reporter: Justin LeFebvre
> Attachments: FC60_Times.pdf
>
>
> For arabic ligatures U+FC5E to U+FC63, the decomposition of each contains a space which causes a word to be broken up into two words. Also, the U+FDF2 ligature is handled differently by different fonts. Some encode it as U+0644 U+0644 U+0647 and add on an extra separate U+0627. U+FDF2 should be encoded as U+0627 U+0644 U+0644 U+0647.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (PDFBOX-415) Errors when decomposing Arabic
Ligatures
Posted by "Justin LeFebvre (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669765#action_12669765 ]
Justin LeFebvre commented on PDFBOX-415:
----------------------------------------
The attached patch fixes these issues.
> Errors when decomposing Arabic Ligatures
> ----------------------------------------
>
> Key: PDFBOX-415
> URL: https://issues.apache.org/jira/browse/PDFBOX-415
> Project: PDFBox
> Issue Type: Bug
> Components: Text extraction
> Affects Versions: 0.7.3
> Reporter: Justin LeFebvre
> Attachments: allah2.pdf, FC60_Times.pdf
>
>
> For arabic ligatures U+FC5E to U+FC63, the decomposition of each contains a space which causes a word to be broken up into two words. Also, the U+FDF2 ligature is handled differently by different fonts. Some encode it as U+0644 U+0644 U+0647 and add on an extra separate U+0627. U+FDF2 should be encoded as U+0627 U+0644 U+0644 U+0647.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (PDFBOX-415) Errors when decomposing Arabic
Ligatures
Posted by "Brian Carrier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Carrier resolved PDFBOX-415.
----------------------------------
Resolution: Fixed
Fix Version/s: 0.8.0-incubator
Patch checked into trunk:
Sending trunk/src/main/java/org/apache/pdfbox/util/ICU4JImpl.java
Transmitting file data .
Committed revision 740130.
> Errors when decomposing Arabic Ligatures
> ----------------------------------------
>
> Key: PDFBOX-415
> URL: https://issues.apache.org/jira/browse/PDFBOX-415
> Project: PDFBox
> Issue Type: Bug
> Components: Text extraction
> Affects Versions: 0.7.3
> Reporter: Justin LeFebvre
> Fix For: 0.8.0-incubator
>
> Attachments: allah2.pdf, FC60_Times.pdf, ICU4JImpl.diff
>
>
> For arabic ligatures U+FC5E to U+FC63, the decomposition of each contains a space which causes a word to be broken up into two words. Also, the U+FDF2 ligature is handled differently by different fonts. Some encode it as U+0644 U+0644 U+0647 and add on an extra separate U+0627. U+FDF2 should be encoded as U+0627 U+0644 U+0644 U+0647.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PDFBOX-415) Errors when decomposing Arabic
Ligatures
Posted by "Justin LeFebvre (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin LeFebvre updated PDFBOX-415:
-----------------------------------
Attachment: allah2.pdf
Contains several examples of the U+FDF2 in different fonts.
> Errors when decomposing Arabic Ligatures
> ----------------------------------------
>
> Key: PDFBOX-415
> URL: https://issues.apache.org/jira/browse/PDFBOX-415
> Project: PDFBox
> Issue Type: Bug
> Components: Text extraction
> Affects Versions: 0.7.3
> Reporter: Justin LeFebvre
> Attachments: allah2.pdf, FC60_Times.pdf
>
>
> For arabic ligatures U+FC5E to U+FC63, the decomposition of each contains a space which causes a word to be broken up into two words. Also, the U+FDF2 ligature is handled differently by different fonts. Some encode it as U+0644 U+0644 U+0647 and add on an extra separate U+0627. U+FDF2 should be encoded as U+0627 U+0644 U+0644 U+0647.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.