diff --git a/Library/PdfSharp.Droid/PdfSharp.Droid.csproj b/Library/PdfSharp.Droid/PdfSharp.Droid.csproj index c5db0e0..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 - v6.0 + v8.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 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() { 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;