RT-27199: HTML Editor, in ja and ko locales, can't open "Font Size" menu. diff -r 3911a222bf96 modules/web/src/main/java/com/sun/javafx/scene/web/skin/HTMLEditorSkin.java --- a/modules/web/src/main/java/com/sun/javafx/scene/web/skin/HTMLEditorSkin.java Mon Sep 16 20:11:55 2013 -0700 +++ b/modules/web/src/main/java/com/sun/javafx/scene/web/skin/HTMLEditorSkin.java Wed Sep 18 13:20:15 2013 -0700 @@ -696,7 +696,9 @@ super.updateItem(item, empty); if (item != null) { setText(item); - setFont(new Font((String)fontFamilyComboBox.getValue(), Double.valueOf(item.substring(0, item.indexOf(" "))))); + // Remove trailing non-digits to get the size (don't assume there's a space). + String size = item.replaceFirst("[^0-9.]*$", ""); + setFont(new Font((String)fontFamilyComboBox.getValue(), Double.valueOf(size))); } } };