From 537fc43d356e210737b8c773d60d6249de385288 Mon Sep 17 00:00:00 2001 From: Harald Schaffernak Date: Wed, 28 Jun 2017 10:09:06 +0200 Subject: [PATCH 1/4] Bug fix: Not compiling with iOS SDK 10.3. --- Library/PdfSharp.Shared/Fonts/PlatformFontResolver.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/PdfSharp.Shared/Fonts/PlatformFontResolver.cs b/Library/PdfSharp.Shared/Fonts/PlatformFontResolver.cs index d26a5f4..4f8df10 100644 --- a/Library/PdfSharp.Shared/Fonts/PlatformFontResolver.cs +++ b/Library/PdfSharp.Shared/Fonts/PlatformFontResolver.cs @@ -481,7 +481,7 @@ internal unsafe static XFontSource CreateFontSource(string familyName, FontResol UInt16 entrySelector = 0; UInt16 searchRange = 1; - while (searchRange < tableCount >> 1) + while (searchRange < (tableCount >> 1)) { entrySelector++; searchRange <<= 1; From 3755f4c26cde1bf20c5d6dc50aed88191fdcbbfe Mon Sep 17 00:00:00 2001 From: Harald Schaffernak Date: Mon, 27 Nov 2017 11:03:45 +0100 Subject: [PATCH 2/4] Target framework changed. --- Library/PdfSharp.Droid/PdfSharp.Droid.csproj | 2 +- .../PdfSharp.Droid/PdfSharp.Droid.csproj.bak | 65 +++++++++++++++++++ 2 files changed, 66 insertions(+), 1 deletion(-) create mode 100644 Library/PdfSharp.Droid/PdfSharp.Droid.csproj.bak diff --git a/Library/PdfSharp.Droid/PdfSharp.Droid.csproj b/Library/PdfSharp.Droid/PdfSharp.Droid.csproj index c5db0e0..bc6e5de 100644 --- a/Library/PdfSharp.Droid/PdfSharp.Droid.csproj +++ b/Library/PdfSharp.Droid/PdfSharp.Droid.csproj @@ -15,7 +15,7 @@ Resources\Resource.Designer.cs Off True - v6.0 + v7.1 true diff --git a/Library/PdfSharp.Droid/PdfSharp.Droid.csproj.bak b/Library/PdfSharp.Droid/PdfSharp.Droid.csproj.bak new file mode 100644 index 0000000..c5db0e0 --- /dev/null +++ b/Library/PdfSharp.Droid/PdfSharp.Droid.csproj.bak @@ -0,0 +1,65 @@ + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + {F5F8D409-71B2-4E01-9313-19CBDF3D07FB} + {EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Library + Properties + PdfSharp + PdfSharp + 512 + Resources\Resource.Designer.cs + Off + True + v6.0 + + + true + full + false + bin\Debug\ + TRACE;DEBUG;__ANDROID__; + prompt + 4 + true + + + pdbonly + true + bin\Release\ + TRACE;__ANDROID__; + prompt + 4 + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file From e62a5bbdeba769a235daacb30263cac326645ee8 Mon Sep 17 00:00:00 2001 From: Harald Schaffernak Date: Fri, 22 Mar 2019 18:43:09 +0100 Subject: [PATCH 3/4] Target version changed. --- Library/PdfSharp.Droid/PdfSharp.Droid.csproj | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/PdfSharp.Droid/PdfSharp.Droid.csproj b/Library/PdfSharp.Droid/PdfSharp.Droid.csproj index bc6e5de..4367ef9 100644 --- a/Library/PdfSharp.Droid/PdfSharp.Droid.csproj +++ b/Library/PdfSharp.Droid/PdfSharp.Droid.csproj @@ -14,8 +14,7 @@ 512 Resources\Resource.Designer.cs Off - True - v7.1 + v8.1 true From a25409e45aea685b5eeca80a652bf657c0bc27a7 Mon Sep 17 00:00:00 2001 From: Harald Schaffernak Date: Tue, 12 Nov 2019 19:06:06 +0100 Subject: [PATCH 4/4] VS2019 update. --- Library/PdfSharp.Droid/Resources/Resource.Designer.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Library/PdfSharp.Droid/Resources/Resource.Designer.cs b/Library/PdfSharp.Droid/Resources/Resource.Designer.cs index 5aa0582..95f7efe 100644 --- a/Library/PdfSharp.Droid/Resources/Resource.Designer.cs +++ b/Library/PdfSharp.Droid/Resources/Resource.Designer.cs @@ -40,11 +40,11 @@ private Attribute() public partial class String { - // aapt resource value: 0x7f020001 - public static int ApplicationName = 2130837505; + // aapt resource value: 0x7F010000 + public static int ApplicationName = 2130771968; - // aapt resource value: 0x7f020000 - public static int Hello = 2130837504; + // aapt resource value: 0x7F010001 + public static int Hello = 2130771969; static String() {