You need to sign in to do that
Don't have an account?

pdf generation with arabic content --> no output rendered
hi,
we have an arabic client and try to generate a document with both english and arabic content. in our browsers, we can see both languages, however the generated PDF only contains the english content, whereas the arabic content is empty.
this happens in both cases, when using arabic text directly (copy paste from a text editor) or when converting the arabic text first to html entities.
is arabic not supported or do we have to instruct the renderer in some special way to support arabic?
<apex:page renderAs="PDF">
<head>
<style type="text/css">
@page {
size: 21.0cm 29.7cm;
margin-top: 2.0cm;
margin-left: 0cm;
margin-right: 1.5cm;
margin-bottom: 2cm;
}
</style>
</head>
<body>
Copy paste:<br/>
غير ذلك(الرجاء التوضيح)
<br/><br/>
HTML Entities:<br/>
غيرذلك
</body>
</apex:page>
got it...
body{
font-family:Arial Unicode MS;
}
All Answers
got it...
body{
font-family:Arial Unicode MS;
}
Good day Eto,
I am facing a problem in generating arabic pdf. I got the letters inverted that is to say
أهلا
Appears as
ا ل ه أ
Can you tell me the procedure you used to generate the arabic pdf.
Thanks,
Amr
We recognized later that the PDF renderer does not support right to left languages. I'm not sure if something has changed since then, but I assume it still does not work.
We then just rendered HTML and let th customer pint the HTML instead of a PDF document.
https://success.salesforce.com/ideaView?id=08730000000beQ4AAI&sort=2