From 146a83804d3ec0b46918fbaec262a4235c5ce34a Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Sun, 8 May 2016 14:54:58 -0400 Subject: [PATCH] todo notes and clean up #4348 --- app/src/processing/app/ui/Toolkit.java | 19 +++++++------------ todo.txt | 12 ++++++++++-- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/app/src/processing/app/ui/Toolkit.java b/app/src/processing/app/ui/Toolkit.java index 88573dcd4..483716a2b 100644 --- a/app/src/processing/app/ui/Toolkit.java +++ b/app/src/processing/app/ui/Toolkit.java @@ -882,7 +882,6 @@ public class Toolkit { if (monoFont == null) { try { monoFont = createFont("SourceCodePro-Regular.ttf", size); - //monoBoldFont = createFont("SourceCodePro-Semibold.ttf", size); monoBoldFont = createFont("SourceCodePro-Bold.ttf", size); // additional language constraints @@ -893,15 +892,13 @@ public class Toolkit { monoBoldFont = createFont("AnonymousPro-Bold.ttf", size); } } - // issue2886 - // follback for Chinese, Korean, Japanese. + // https://github.com/processing/processing/issues/2886 String lang = Language.getLanguage(); if (Locale.CHINESE.getLanguage().equals(lang) || - Locale.JAPANESE.getLanguage().equals(lang) || - Locale.KOREAN.getLanguage().equals(lang)) { + Locale.JAPANESE.getLanguage().equals(lang) || + Locale.KOREAN.getLanguage().equals(lang)) { sansFont = new Font("Monospaced", Font.PLAIN, size); sansBoldFont = new Font("Monospaced", Font.BOLD, size); - Messages.log("load Monospaced font for CJK."); } } catch (Exception e) { Messages.loge("Could not load mono font", e); @@ -939,16 +936,14 @@ public class Toolkit { sansBoldFont = createFont("Carlito-Bold.ttf", size); } } - - // issue2886 - // follback for Chinese, Korean, Japanese. + + // https://github.com/processing/processing/issues/2886 String lang = Language.getLanguage(); if (Locale.CHINESE.getLanguage().equals(lang) || - Locale.JAPANESE.getLanguage().equals(lang) || - Locale.KOREAN.getLanguage().equals(lang)) { + Locale.JAPANESE.getLanguage().equals(lang) || + Locale.KOREAN.getLanguage().equals(lang)) { sansFont = new Font("SansSerif", Font.PLAIN, size); sansBoldFont = new Font("SansSerif", Font.BOLD, size); - Messages.log("load sans font for CJK."); } } catch (Exception e) { Messages.loge("Could not load sans font", e); diff --git a/todo.txt b/todo.txt index 335a106e9..293c4b0f6 100644 --- a/todo.txt +++ b/todo.txt @@ -17,6 +17,16 @@ X https://github.com/processing/processing/pull/4311 X processing-java output as UTF-8 makes Windows unhappy X https://github.com/processing/processing/issues/1633 X https://github.com/processing/processing/pull/4350 +X Add support for symlinks to exported applications in linux +X https://github.com/processing/processing/issues/4318 +X https://github.com/processing/processing/pull/4319 +X Added Ukrainian localization +X https://github.com/processing/processing/pull/4343 +X Non-western language hint text for toolbar buttons not correctly displayed +X https://github.com/processing/processing/issues/2886 +X load fallback font for CJK (Chinese, Japanese and Korean) +X https://github.com/processing/processing/pull/4348 + jakub X Update app to Java 8 @@ -187,8 +197,6 @@ _ how are we going to handle fonts for other languages? _ two new fonts have been added, other languages will need more _ need a decent sans with with Unicode coverage _ i.e. https://github.com/processing/processing/pull/3025 -_ Non-western language hint text for toolbar buttons not correctly displayed -_ https://github.com/processing/processing/issues/2886 pde/build