[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [developers] convert HTML -> PS or PDF from shell prompt
- To: Development Discussions <developer at arabeyes dot org>
- Subject: Re: [developers] convert HTML -> PS or PDF from shell prompt
- From: Muayyad AlSadi <alsadi at gmail dot com>
- Date: Thu, 15 Apr 2010 23:13:45 +0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:content-type :content-transfer-encoding; bh=ziMLVDz8hkgm6dreKhYrziILioVNxUCNnskscNSLVEw=; b=QOWXftJE+GZuY5917ZmchyJyoL0dOWGcRlLEOBB+JgG5OLHb5gzHLP6PvFrzSGKesS KABXlmUSAFGdu+h1OZ3q9rGBaWHYfj+fuxtmwxd89pnmpHsZQDNgB3coJKuQ8MOmQSyM dIuW2z102LLb7hvrvfgNczJksCLi6sutMOAWk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ch+4ayyRWkSLjmIlu5FORPNd8pjKEaDD35MLT3GethCz/4/rYmkam2WefucJxpOj0M qEsvHujuNMAbGiZi9FOuApkjOnOen8Srax6Pm2ktmLs8kdxQLHkbZxouJVJPZJEhpIPW Epq/yiCPZvzP0JCZRUqR5is3SbymWqcXigFvg=
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