Skip to content

Commit 0fe1176

Browse files
Downgrade itextasian.dll from 2.1.0 to 1.0.0 because the name space of the resources is not compatible with itextsharp 4. (#582)
1 parent e568c50 commit 0fe1176

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

dotnet/src/dotnetcore/GxPdfReportsCS/GxPdfReportsCS.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
<ItemGroup>
1616
<PackageReference Include="iTextSharp-LGPL" Version="4.1.6" />
17-
<PackageReference Include="Portable.iTextAsian" Version="2.1.0" />
1817
<PackageReference Include="log4net" Version="2.0.11" />
1918
<PackageReference Include="Microsoft.DotNet.Analyzers.Compatibility" Version="0.2.12-alpha">
2019
<PrivateAssets>all</PrivateAssets>

dotnet/src/dotnetframework/GxPdfReportsCS/PDFReportItext.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2772,9 +2772,9 @@ public class Const
27722772
new string[]{"Script", "Helvetica"},
27732773
new string[]{"System", "Helvetica"},
27742774
new string[]{"Times New Roman", "Times"},
2775-
new string[]{"\uff2d\uff33 \u660e\u671d", "Japanese"},
2776-
new string[]{"\uff2d\uff33 \u30b4\u30b7\u30c3\u30af", "Japanese2"}};
2777-
2775+
new string[]{"\uff2d\uff33 \u660e\u671d", "Japanese"}, //(MS Mincho)
2776+
new string[]{"\uff2d\uff33 \u30b4\u30b7\u30c3\u30af", "Japanese2"}};//(MS Gothic)
2777+
27782778

27792779
public static String REGISTRY_FONT_SUBSTITUTES_ENTRY = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\FontSubstitutes";
27802780
public static String REGISTRY_FONT_SUBSTITUTES_ENTRY_NT = "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\FontSubstitutes";

0 commit comments

Comments
 (0)