Browse Source

2022.11.0-alpha1

MarcinZiabek 3 years ago
parent
commit
d56117647b

+ 1 - 1
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})";
                         });
                     });
                 });

+ 2 - 2
QuestPDF/QuestPDF.csproj

@@ -3,11 +3,11 @@
         <Authors>MarcinZiabek</Authors>
         <Company>CodeFlint</Company>
         <PackageId>QuestPDF</PackageId>
-        <Version>2022.11.0-alpha0</Version>
+        <Version>2022.11.0-alpha1</Version>
         <PackageDescription>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.</PackageDescription>
         <PackageReleaseNotes>$([System.IO.File]::ReadAllText("$(MSBuildProjectDirectory)/Resources/ReleaseNotes.txt"))</PackageReleaseNotes>
         <LangVersion>9</LangVersion>
-        <GeneratePackageOnBuild>false</GeneratePackageOnBuild>
+        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
         <PackageIcon>Logo.png</PackageIcon>
         <PackageIconUrl>https://www.questpdf.com/images/package-logo.png</PackageIconUrl>
         <PackageProjectUrl>https://www.questpdf.com/</PackageProjectUrl>

+ 3 - 1
QuestPDF/Resources/ReleaseNotes.txt

@@ -1 +1,3 @@
-Added support for the right-to-left content direction.
+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.