Skip to content

Commit

Permalink
Downgrade itextasian.dll from 2.1.0 to 1.0.0 because the name space o…
Browse files Browse the repository at this point in the history
…f the resources is not compatible with itextsharp 4. (#582)
  • Loading branch information
claudiamurialdo authored Apr 4, 2022
1 parent e568c50 commit 0fe1176
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion dotnet/src/dotnetcore/GxPdfReportsCS/GxPdfReportsCS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

<ItemGroup>
<PackageReference Include="iTextSharp-LGPL" Version="4.1.6" />
<PackageReference Include="Portable.iTextAsian" Version="2.1.0" />
<PackageReference Include="log4net" Version="2.0.11" />
<PackageReference Include="Microsoft.DotNet.Analyzers.Compatibility" Version="0.2.12-alpha">
<PrivateAssets>all</PrivateAssets>
Expand Down
6 changes: 3 additions & 3 deletions dotnet/src/dotnetframework/GxPdfReportsCS/PDFReportItext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2772,9 +2772,9 @@ public class Const
new string[]{"Script", "Helvetica"},
new string[]{"System", "Helvetica"},
new string[]{"Times New Roman", "Times"},
new string[]{"\uff2d\uff33 \u660e\u671d", "Japanese"},
new string[]{"\uff2d\uff33 \u30b4\u30b7\u30c3\u30af", "Japanese2"}};
new string[]{"\uff2d\uff33 \u660e\u671d", "Japanese"}, //(MS Mincho)
new string[]{"\uff2d\uff33 \u30b4\u30b7\u30c3\u30af", "Japanese2"}};//(MS Gothic)


public static String REGISTRY_FONT_SUBSTITUTES_ENTRY = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\FontSubstitutes";
public static String REGISTRY_FONT_SUBSTITUTES_ENTRY_NT = "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\FontSubstitutes";
Expand Down

0 comments on commit 0fe1176

Please sign in to comment.