This is not necessary with dual rasterization

This commit is contained in:
Rick Falkvinge
2017-10-02 17:25:24 +02:00
parent 20ee50dcf9
commit f2701af41d
-14
View File
@@ -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();