Page MenuHomePhabricator

Books have problem on rtl languages
Closed, ResolvedPublic

Description

output of a page of Persian wikibook

The PDF file that atteched is output of this page:
http://fa.wikibooks.org/wiki/%D8%A7%D9%88%D8%A8%D9%88%D9%86%D8%AA%D9%88
AS you see the PDF file is ltr(Persian is rtl) and all of character is separated(In Persian and Arabic languages separated and connected character have different form)

I saw this bug on Arabic and Hebrew languages

I have a propose:you can use wkhtmltopdf instead http://www.reportlab.com ,wkhtmltopdf is a open source and linux-based program that Google use it.

Thanks


Version: unspecified
Severity: major

Attached:

Details

Reference
bz23893

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 11:01 PM
bzimport added projects: Collection, I18n.
bzimport set Reference to bz23893.

wkhtmltopdf was quite broken when i tested it...

volker.haas wrote:

Unfortunately currently RTL languages are not supported. The reason is that the PDF toolkit we are using (reportlab) does not support RTL languages properly. I don't know if the state of wkhtmltopdf has improved. Using wkthmltopdf is no option at the moment anyways since it uses html as the input, but the base for the PDFs we are generating is mediawiki markup.

  • This bug has been marked as a duplicate of bug 17766 ***