[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [developers] convert HTML -> PS or PDF from shell prompt



mpdf supports arabic
see the two samples named RTL and Arabic

http://mpdf1.com/common/mpdf/examples/

On Thu, Apr 15, 2010 at 10:46 PM, Bashar <big at kuwaitnet dot net> wrote:
> what a waste of 3 hours with this pisa
>
> the beautiful http://code.google.com/p/wkhtmltopdf/ does arabic out of the
> box for those who might search in future
> as simple as: $ wkhtmltopdf file.html file.pdf
> and watch the magic
>
> تحويل
> html
> الى
> pdf
> http://code.google.com/p/wkhtmltopdf/
>
> so it get indexed in google and other search engines
>
> Bashar wrote, On 04/15/2010 10:03 PM:
>>
>> Meitham Jamaa wrote, On 04/15/2010 07:51 PM:
>>>>
>>>> I was wondering if you come to know a way to convert HTML to PS or PDF
>>>> from shell?
>>>
>>> Take a look at http://www.xhtml2pdf.com/doc/pisa-en.html
>>> It uses reportlab under the hood for the conversion. If your HTML have
>>> Arabic characters then you need the RTL reportlab branch.
>>>
>>> I hope that helps
>>> Meitham
>>>
>> i've copied the reportlab folder into src folder and reinstalled, yet i
>> get black blocks for arabic text
>>
>> would this be font issue ?
>> _______________________________________________
>> Developer mailing list
>> Developer at arabeyes dot org
>> http://lists.arabeyes.org/mailman/listinfo/developer
>
> _______________________________________________
> Developer mailing list
> Developer at arabeyes dot org
> http://lists.arabeyes.org/mailman/listinfo/developer