export-margin-options implementation #33

Merged
fierke merged 4 commits from export-margin-options into main 2026-04-23 14:22:58 +00:00
Showing only changes of commit 98b5198f6f - Show all commits
+4 -3
View File
@@ -27,6 +27,7 @@ public class PdfBuilder
// Font settings // Font settings
private readonly double _fontSize = 9; private readonly double _fontSize = 9;
private readonly double _smallFontSize = 6;
private readonly double _marginBottom = 1; // mm private readonly double _marginBottom = 1; // mm
@@ -57,9 +58,9 @@ public class PdfBuilder
chosenFamily = "Arial"; chosenFamily = "Arial";
} }
_boldFont = new XFont(chosenFamily, 9, XFontStyleEx.Bold); _boldFont = new XFont(chosenFamily, _fontSize, XFontStyleEx.Bold);
_regularFont = new XFont(chosenFamily, 9, XFontStyleEx.Regular); _regularFont = new XFont(chosenFamily, _fontSize, XFontStyleEx.Regular);
_smallFont = new XFont(chosenFamily, 6, XFontStyleEx.Regular); _smallFont = new XFont(chosenFamily, _smallFontSize, XFontStyleEx.Regular);
} }
private static void EnsureFontResolverRegistered() private static void EnsureFontResolverRegistered()