From f69d56e2abedf342316d6a0ea0fbece4b420cdf9 Mon Sep 17 00:00:00 2001 From: Claudia Murialdo Date: Mon, 4 Apr 2022 17:24:02 -0300 Subject: [PATCH] Downgrade itextasian.dll from 2.1.0 to 1.0.0 because the name space of the resources is not compatible with itextsharp 4. --- dotnet/src/dotnetcore/GxPdfReportsCS/GxPdfReportsCS.csproj | 1 - dotnet/src/dotnetframework/GxPdfReportsCS/PDFReportItext.cs | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/dotnet/src/dotnetcore/GxPdfReportsCS/GxPdfReportsCS.csproj b/dotnet/src/dotnetcore/GxPdfReportsCS/GxPdfReportsCS.csproj index b27f992e1..c059ad32b 100644 --- a/dotnet/src/dotnetcore/GxPdfReportsCS/GxPdfReportsCS.csproj +++ b/dotnet/src/dotnetcore/GxPdfReportsCS/GxPdfReportsCS.csproj @@ -14,7 +14,6 @@ - all diff --git a/dotnet/src/dotnetframework/GxPdfReportsCS/PDFReportItext.cs b/dotnet/src/dotnetframework/GxPdfReportsCS/PDFReportItext.cs index f33c1efc8..e8d09e4eb 100644 --- a/dotnet/src/dotnetframework/GxPdfReportsCS/PDFReportItext.cs +++ b/dotnet/src/dotnetframework/GxPdfReportsCS/PDFReportItext.cs @@ -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";