From 962cd502224f7750cbf16bc676367ebab6ab35bc Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Mon, 21 Aug 2017 11:54:24 +0200 Subject: [PATCH] remove LC_ALL and LC_NUMERIC workaround for chrome issue of fat SVGs --- src/main.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/main.js b/src/main.js index 0f17a6da554..3c6611e36aa 100644 --- a/src/main.js +++ b/src/main.js @@ -12,15 +12,6 @@ if (process.argv.indexOf('--prof-startup') >= 0) { profiler.startProfiling('main', true); } -// Workaround for https://github.com/electron/electron/issues/9225. Chrome has an issue where -// in certain locales (e.g. PL), image metrics are wrongly computed. We explicitly set the -// LC_NUMERIC to prevent this from happening (selects the numeric formatting category of the -// C locale, http://en.cppreference.com/w/cpp/locale/LC_categories). TODO@Ben temporary. -if (process.env.LC_ALL) { - process.env.LC_ALL = 'C'; -} -process.env.LC_NUMERIC = 'C'; - // Perf measurements global.perfStartTime = Date.now();