Skip to content

Commit d877050

Browse files
author
tuespetre
committed
2 parents c16f002 + 7e5de29 commit d877050

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

Pechkin/GlobalSettings.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System;
2+
using System.Globalization;
23

34
namespace TuesPechkin
45
{
@@ -235,7 +236,7 @@ private string GetMarginValue(double value)
235236
break;
236237
}
237238

238-
return String.Format("{0}{1}", value.ToString("0.##"), strUnit);
239+
return String.Format("{0}{1}", value.ToString("0.##", CultureInfo.InvariantCulture), strUnit);
239240
}
240241
}
241242
}

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ The unmanaged DLLs that TuesPechkin depends upon have been packaged as *embedded
2828

2929
### Release notes
3030

31+
#### 1.0.2
32+
- Revert to process identity within the synchronized thread, see issue #14
33+
34+
#### 1.0.1
35+
- Corrected an issue with the AppDomain hanging on unload; introduced unit test to cover this scenario
36+
3137
#### 1.0.0 - HUGE changes
3238
- Began to use semantic versioning.
3339
- Removed ```ExtendedQtAvailable``` and ```Version``` properties from ```Factory```.
@@ -72,12 +78,12 @@ var document = new HtmlToPdfDocument
7278
GlobalSettings = {
7379
ProduceOutline = true,
7480
DocumentTitle = "Pretty Websites",
75-
PaperSize = PaperKind.A4, // Implicit conversion to PechkinPaperSize
81+
PaperSize = PaperKind.A4, // Implicit conversion to PechkinPaperSize
7682
Margins =
7783
{
7884
All = 1.375,
7985
Unit = Unit.Centimeters
80-
}
86+
}
8187
},
8288
Objects = {
8389
new ObjectSettings { HtmlText = "<h1>Pretty Websites</h1><p>This might take a bit to convert!</p>" },

0 commit comments

Comments
 (0)