From f2701af41d72f646853495b7227c159227297f1a Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Mon, 2 Oct 2017 17:25:24 +0200 Subject: [PATCH] This is not necessary with dual rasterization --- Backend/BackendLoop.cs | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/Backend/BackendLoop.cs b/Backend/BackendLoop.cs index 0ac83151..6d46b54b 100644 --- a/Backend/BackendLoop.cs +++ b/Backend/BackendLoop.cs @@ -51,20 +51,6 @@ namespace Swarmops.Backend DatabaseMaintenance.UpgradeSchemata(); - if (startupDbVersion < 37) - { - // In versions below 37, there was a bug in the PDF rasterization - // (not in the database, we're just using the dbschema as a versioning - // tool) that requires re-rasterization of uploaded PDFs. Specifically, - // transparent-background PDFs were all black (black text on black bg). - - /* - Console.WriteLine("We need to regenerate all bitmaps from vector PDFs because of a now-fixed bug."); - Console.WriteLine("This will take a few hours, but only needs to be done once."); - - PdfProcessor.RegenerateAll();*/ - } - testMode = false; SystemSettings.BackendHostname = Dns.GetHostName();