From d56117647b7c46c1fcbef7c7b6ca8d2252f356e7 Mon Sep 17 00:00:00 2001 From: MarcinZiabek Date: Tue, 1 Nov 2022 21:51:45 +0100 Subject: [PATCH] 2022.11.0-alpha1 --- QuestPDF.ReportSample/Layouts/TableOfContentsTemplate.cs | 2 +- QuestPDF/QuestPDF.csproj | 4 ++-- QuestPDF/Resources/ReleaseNotes.txt | 4 +++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/QuestPDF.ReportSample/Layouts/TableOfContentsTemplate.cs b/QuestPDF.ReportSample/Layouts/TableOfContentsTemplate.cs index bb8c933..a6060b2 100644 --- a/QuestPDF.ReportSample/Layouts/TableOfContentsTemplate.cs +++ b/QuestPDF.ReportSample/Layouts/TableOfContentsTemplate.cs @@ -71,7 +71,7 @@ namespace QuestPDF.ReportSample.Layouts text.TotalPagesWithinSection(locationName).Style(lengthStyle).Format(x => { var formatted = x == 1 ? "1 page long" : $"{x} pages long"; - return $"({formatted})"; + return $" ({formatted})"; }); }); }); diff --git a/QuestPDF/QuestPDF.csproj b/QuestPDF/QuestPDF.csproj index 0229842..4e39dc4 100644 --- a/QuestPDF/QuestPDF.csproj +++ b/QuestPDF/QuestPDF.csproj @@ -3,11 +3,11 @@ MarcinZiabek CodeFlint QuestPDF - 2022.11.0-alpha0 + 2022.11.0-alpha1 QuestPDF is an open-source, modern and battle-tested library that can help you with generating PDF documents by offering friendly, discoverable and predictable C# fluent API. $([System.IO.File]::ReadAllText("$(MSBuildProjectDirectory)/Resources/ReleaseNotes.txt")) 9 - false + true Logo.png https://www.questpdf.com/images/package-logo.png https://www.questpdf.com/ diff --git a/QuestPDF/Resources/ReleaseNotes.txt b/QuestPDF/Resources/ReleaseNotes.txt index 647db26..577cb62 100644 --- a/QuestPDF/Resources/ReleaseNotes.txt +++ b/QuestPDF/Resources/ReleaseNotes.txt @@ -1 +1,3 @@ -Added support for the right-to-left content direction. \ No newline at end of file +Added support for the right-to-left content direction. +Fixed: word-wrapping algorithm does not work correctly with right-to-left languages. +Fixed: Page.Size() API incorrectly uses Unit.Inch as default unit. Replaced with Unit.Point for consistency. \ No newline at end of file