Skip to content

Commit

Permalink
PdfContentByte.ShowTextAligned rotation was ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
VahidN committed Jan 18, 2018
1 parent e05e615 commit adb2467
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/iTextSharp.LGPLv2.Core/iTextSharp.LGPLv2.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Description> iTextSharp.LGPLv2.Core is an unofficial port of the last LGPL version of the iTextSharp (V4.1.6) to .NET Core.</Description>
<VersionPrefix>1.4.0</VersionPrefix>
<VersionPrefix>1.4.1</VersionPrefix>
<LangVersion>latest</LangVersion>
<Authors>Vahid Nasiri</Authors>
<TargetFrameworks>net40;netstandard1.3;netstandard2.0</TargetFrameworks>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2748,7 +2748,7 @@ private void showTextAligned(int alignment, string text, float x, float y, float
{
if (State.FontDetails == null)
throw new Exception("Font and size must be set before writing any text");
if (rotation.ApproxNotEqual(0))
if (rotation.ApproxEquals(0))
{
switch (alignment)
{
Expand Down

0 comments on commit adb2467

Please sign in to comment.