Repository navigation
1.1.0 #54
gvreddy04
announced in
Announcements
1.1.0
#54
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.1.0 adds your own fonts and more languages, and extract and remove pages. Load a
.ttfor.otffont and write Hindi, Telugu, Tamil, French, and other languages written in Latin letters, each shaped the way its script needs, in every text call and in HTML. Take the pages you want out of a PDF, or leave out the ones you don't, in one call. It also fixes two issues. Code written for 1.0.x works as is, except for one call pattern described under Upgrading from 1.0.x.What's New
Fonts and languages
PdfFont.FromFile,FromFileAsync,FromStream,FromStreamAsync, andFromBytesload TrueType and CFF fonts, including variable fonts at any weight. PDFs embed only the glyphs they use, and copied or searched text reads back as written.PdfPage.AddText, headers and footers, the body flow, flow blocks, table cells (PdfCellText,PdfTable.SetText), and HTML (PdfHtmlLoadOptions.Fonts, matched by CSSfont-family, weight, and style).PdfDocument.FontFallbacktries fonts in order for each character, so one line can mix scripts.FindMissingCharacterslists what no font has, andFailOnMissingCharactersmakesSavethrowPdfTextExceptioninstead of drawing?.Extract and remove pages
PdfOperations.ExtractandExtractAsyncwrite the pages you choose to a new PDF, in the order you give. A page can be chosen more than once.PdfOperations.RemoveandRemoveAsyncwrite the PDF without the pages you choose. The pages left keep their order.PdfPageRange.Parsereads lists such as2, 5, 7-9or9-7, so text your users type can go straight toExtract,Remove, andSplit.PdfDocument.AddPages(file, ranges, bookmarkTitle)adds the chosen pages under one bookmark.What's Changed
é,ü,€, dashes, and curly quotes instead of?. Documents with only ASCII text are written exactly as before.?with aMissingCharacterwarning (soFailOnWarningfails on it), and reports@font-faceasFontFaceIgnored.THIRD-PARTY-NOTICES.txt, the license of the Unicode data the script tables are built from. It includes no fonts.What's Fixed
1E-05, which PDF readers don't accept.Upgrading from 1.0.x
nullas a page number by position, such asAddPages(file, null, 7), no longer compiles because of the newAddPagesoverload. Name the argument instead:AddPages(file, lastPage: 7). Apps that are already built keep working.Demos
The demo site is redesigned. It has a scenario gallery with search and 25 scenarios across finance, HR, legal, healthcare, retail, logistics, and management, with every PDF drawn in the page next to its C# code. New demos include Fonts and languages (an invoice in Hindi, Telugu, Tamil, French, or a mix), Extract pages, and Remove pages.
Links
This discussion was created from the release 1.1.0.
All reactions