Skip to content

Commit

Permalink
Bump iTextSharp to 3.4.9 (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane32 committed Apr 6, 2024
1 parent dd500ce commit 9d89dc4
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 21 deletions.
2 changes: 1 addition & 1 deletion src/EasyPDF/Shane32.EasyPDF.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="iTextSharp.LGPLv2.Core" Version="3.3.2" />
<PackageReference Include="iTextSharp.LGPLv2.Core" Version="3.4.9" />
<PackageReference Include="QRCoder" Version="1.4.3" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="7.0.0" />
</ItemGroup>
Expand Down
38 changes: 19 additions & 19 deletions src/Tests/BasicTests.ItWorks.approved.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ x\x9C\xEDV]LTG\x14\xFEf\xEE\xDC]\xB0\x06\x97\x1FE-+\x0B\x0B\xCB_\x17\xB2,,kVh\x0
endstream
endobj
20 0 obj
<</Type/FontDescriptor/Ascent 984/CapHeight 700/Descent -256/FontBBox[-147 -256 1092 984]/FontName/Dummy/ItalicAngle 0/StemV 80/FontFile2 19 0 R/Flags 32>>
<</Type/FontDescriptor/Ascent 984/CapHeight 700/Descent -256/FontBBox[-147.95 -256.84 1092.77 984.86]/FontName/Dummy/ItalicAngle 0/StemV 80/FontFile2 19 0 R/Flags 32>>
endobj
21 0 obj
<</Type/Font/Subtype/CIDFontType2/BaseFont/Dummy/FontDescriptor 20 0 R/CIDToGIDMap/Identity/CIDSystemInfo<</Registry(Adobe)/Ordering(Identity)/Supplement 0>>/DW 1000/W [3[279]31[578]41[607]45[524]48[562 235]59[523 437]]>>
Expand Down Expand Up @@ -117,27 +117,27 @@ xref
0000000000 65535 f
0000003659 00000 n
0000003745 00000 n
0000006228 00000 n
0000006367 00000 n
0000006457 00000 n
0000006546 00000 n
0000006637 00000 n
0000006732 00000 n
0000006825 00000 n
0000006921 00000 n
0000007022 00000 n
0000007114 00000 n
0000007209 00000 n
0000007308 00000 n
0000007369 00000 n
0000006240 00000 n
0000006379 00000 n
0000006469 00000 n
0000006558 00000 n
0000006649 00000 n
0000006744 00000 n
0000006837 00000 n
0000006933 00000 n
0000007034 00000 n
0000007126 00000 n
0000007221 00000 n
0000007320 00000 n
0000007381 00000 n
0000000015 00000 n
0000007436 00000 n
0000007448 00000 n
0000003361 00000 n
0000003833 00000 n
0000005451 00000 n
0000005642 00000 n
0000005899 00000 n
0000007503 00000 n
0000007550 00000 n
0000005654 00000 n
0000005911 00000 n
0000007515 00000 n
0000007562 00000 n
trailer
<</Size 25/Root 23 0 R/Info 24 0
Expand Down
8 changes: 7 additions & 1 deletion src/Tests/TestExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,13 @@ public static string RemoveID(this string data)
// Replace all instances of the font name in the input string with "Dummy"
data = data.Replace(fontName, "Dummy");
}


// Define the regular expression pattern for ITXT version numbers
string itxtPattern = @"ITXT\(\d+\.\d+\.\d+\.\d+\)";

// Replace all matches of the ITXT version pattern in the input string with "ITXT(3.3.2.0)"
data = Regex.Replace(data, itxtPattern, "ITXT(3.3.2.0)");

return data;
}

Expand Down

0 comments on commit 9d89dc4

Please sign in to comment.