You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2018/12/10 07:25:00 UTC

[jira] [Commented] (PDFBOX-4402) Write RTL text in reversed order

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

Tilman Hausherr commented on PDFBOX-4402:
-----------------------------------------

PDFBox doesn't support RTL text. At this time all you can do is to reverse the string and use that one. Does that work or does it look weird?

> Write RTL text in reversed order
> --------------------------------
>
>                 Key: PDFBOX-4402
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4402
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.13
>            Reporter: steve neo
>            Priority: Major
>         Attachments: Screen Shot 2018-12-10 at 2.03.46 pm.png
>
>
> I use PDPageContentStream.showText() to write string to PDF.  It doesn't work for RTL text, for example Hebrew, all text are written in reversed order.  See attached example screenshot. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org