Problem Export PDF With Lang Arabic
Problem Export PDF With Lang Arabic
marwene8
Posts: 5Questions: 1Answers: 0
i have problem when i export my table to pdf all the arabic cartcter remplaced by anther carcter
This discussion has been closed.
Answers
Please start by posting your Datatables code so we can see what you are doing.
Kevin
thx for answer of my question
this is my data table i need to export pdf
That means your code, not a screenshot of a table.
This is almost certainly due to the fact that the default font pdfmake comes with does not include the characters you require. Their Wiki contains information on how to create your own font that it can use with the characters you need.
Allan
allan
thx for repons
i cannot fix the problem
my projetect is to parse arabic data json file in data table and make pdf
if i can i send the page who conten the problem and help me to fixed please
pleas help me
Have you read the pdfmake wiki page that I linked to above? That gives the instructions for how to create your own font file.
Allan
in vfs_fonts.js :
{
trado: {
normal: 'trado.ttf',
}
};
in pdfmake.min.js :
defaultStyle: {
font: 'trado'
}
not work
This is really a question for the pdfmake people.