From 3ea59b0f89527ccc626a05e9000b944f130bfc33 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Thu, 5 Feb 2015 20:07:20 +0100 Subject: [PATCH] Debugging Mono font metrics --- Site5/Plugins-Stock/TaxForms/SE/MonthlyTaxForm-SE.aspx.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Site5/Plugins-Stock/TaxForms/SE/MonthlyTaxForm-SE.aspx.cs b/Site5/Plugins-Stock/TaxForms/SE/MonthlyTaxForm-SE.aspx.cs index 58aa9b16..71d87fa5 100644 --- a/Site5/Plugins-Stock/TaxForms/SE/MonthlyTaxForm-SE.aspx.cs +++ b/Site5/Plugins-Stock/TaxForms/SE/MonthlyTaxForm-SE.aspx.cs @@ -155,7 +155,7 @@ namespace Swarmops.Plugins.Stock.TaxForms graphics.DrawString (data.TaxSubtractiveTotal.ToString ("F0"), _fontHandwriting, _brushHandwriting, 1510, 1726, rightAlign); // Deducted total - DrawWrittenNumber (data.TaxTotal, 1510, 1793, graphics); + DrawWrittenNumber (data.TaxTotal, 1485, 1793, graphics); } using (Stream responseStream = Response.OutputStream) @@ -170,12 +170,12 @@ namespace Swarmops.Plugins.Stock.TaxForms { // This inserts spaces between every other character string numberString = number.ToString ("F0"); - char thinSpace = ' '; // this is a UNICODE THIN SPACE character (U+2009) + char space = ' '; string drawString = string.Empty + numberString[0]; for (int loop = 1; loop < numberString.Length; loop++) { - drawString += thinSpace; + drawString += space; drawString += numberString[loop]; }