You need to sign in to do that
Don't have an account?
eto
PDF generation: no support for right-to-left languages?
hi,
we tried to create an arabic PDF and thought we succeded. Unfortunately it turned out, the content was written left-to-right and the PDF generator ignores the right-toleft-commands.
any ideas on how to enable right-to-left languages in pdf generation?
Here is an example which demonstrates, that RTL is ignored:
<apex:page renderAs="PDF">
<head>
<style type="text/css">
body{
font-family:Arial Unicode MS;
font-size: 10pt;
}
</style>
</head>
<body>
LTR:
<p>الإقتص:
<br/>1234
</p>
RTL:
<p dir="ltr">الإقتص
<br/>1234
</p>
RTL (CSS):
<p style="direction:rtl;">الإقتص:
<br/>1234
</p>
</body>
</apex:page>
dchasman
Right-to-left languages are not currently supported in PDF generation. Please create an idea on IdeaExchange and get the community to vote for it.