Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tuespetre committed Jun 3, 2014
2 parents c16f002 + 7e5de29 commit d877050
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Pechkin/GlobalSettings.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
using System.Globalization;

namespace TuesPechkin
{
Expand Down Expand Up @@ -235,7 +236,7 @@ private string GetMarginValue(double value)
break;
}

return String.Format("{0}{1}", value.ToString("0.##"), strUnit);
return String.Format("{0}{1}", value.ToString("0.##", CultureInfo.InvariantCulture), strUnit);
}
}
}
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ The unmanaged DLLs that TuesPechkin depends upon have been packaged as *embedded

### Release notes

#### 1.0.2
- Revert to process identity within the synchronized thread, see issue #14

#### 1.0.1
- Corrected an issue with the AppDomain hanging on unload; introduced unit test to cover this scenario

#### 1.0.0 - HUGE changes
- Began to use semantic versioning.
- Removed ```ExtendedQtAvailable``` and ```Version``` properties from ```Factory```.
Expand Down Expand Up @@ -72,12 +78,12 @@ var document = new HtmlToPdfDocument
GlobalSettings = {
ProduceOutline = true,
DocumentTitle = "Pretty Websites",
PaperSize = PaperKind.A4, // Implicit conversion to PechkinPaperSize
PaperSize = PaperKind.A4, // Implicit conversion to PechkinPaperSize
Margins =
{
All = 1.375,
Unit = Unit.Centimeters
}
}
},
Objects = {
new ObjectSettings { HtmlText = "<h1>Pretty Websites</h1><p>This might take a bit to convert!</p>" },
Expand Down

0 comments on commit d877050

Please sign in to comment.