danfickle / danfickle/openhtmltopdf

dir="auto" does not affect the table tag

Open
#123 9 comments 0 reactions 1 assignee Claimed by @danfickle View on GitHub
Dominant language
Java
Stars
2.2k
Forks
423
PR merge metrics
No merged PRs in 30d

Description

It does not cause the table column itself to be rendered from Right to Left. Because of which the layout in the browser and the PDF differs a lot.

Consider a cell which appears on the left side for English. Now when the pdf language changes to Arabic the cell must come on the right and the text within that should be RTL.

But what actually happens is the cell stays left and the text within the cell is RTL.

i.e., The columns do not run from right to left in tables when the tag is dir="auto"/"rtl"

HTML
![image](https://user-images.githubusercontent.com/11254787/30107658-120106ca-931d-11e7-9b87-b33caf89df11.png)
PDF
![image](https://user-images.githubusercontent.com/11254787/30107703-28c3110a-931d-11e7-9163-484662258af3.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.