Repository navigation
1.2.0 #76
gvreddy04
announced in
Announcements
1.2.0
#76
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
UnlimitedPDF 1.2.0 adds right-to-left documents and 13 more scripts. Arabic, Persian, Urdu, Hebrew, Dhivehi, and other right-to-left languages read from the right, with English words, numbers, and brackets in place, and tables that start at the right. Bengali-Assamese, Gujarati, Gurmukhi, Odia, Kannada, Malayalam, Greek, Cyrillic, Armenian, and Georgian join Latin, Devanagari, Telugu, and Tamil, for 17 scripts in all. Code that works with 1.1.x compiles and runs as is, and left-to-right text keeps its direction and alignment.
What's New
PdfDocument.TextDirection = PdfTextDirection.RightToLeftonce. Text starts at the right edge, and a right-to-left table draws its first column at the right. Override the direction for one call with aPdfTextOptionsargument, for one table withPdfTable.Direction, or for one cell withPdfCellText.Direction.PdfTextAlignment,PdfCellHorizontalAlignment) follow the text's direction.dirattribute (ltr,rtl,auto), CSSdirection,<bdi>, and<bdo>set direction;text-align: startandend, table columns, and list markers follow it.What's Changed
Startinstead ofLeft. Left-to-right text draws byte for byte as before, and right-to-left text lands at the right edge without an argument.text-transformfollows thelangattribute for Turkish and Azerbaijani (istanbulin uppercase isİSTANBUL), and uppercase turns dotlessıintoIin every language.Known limits
Right-to-left scripts other than Arabic, Hebrew, and Thaana aren't shaped. Chinese, Japanese, and Korean aren't supported. HTML
unicode-bidiis ignored, and Arabic is justified by widening spaces, not by stretching letters.Demos
The demo site adds a Right-to-left documents demo (Arabic, Persian, Urdu, Hebrew, and Dhivehi invoices, drawn with text calls or HTML), 24 languages and a mixed-script invoice in the Fonts and languages demo, six free PDF tools that run on your own files in the browser, and a PDF and C# code view with a complete console program for every demo.
Links
This discussion was created from the release 1.2.0.
All reactions