--- old/buildSrc/android.gradle 2017-10-20 15:03:51.508552022 -0700 +++ new/buildSrc/android.gradle 2017-10-20 15:03:51.340552027 -0700 @@ -351,7 +351,7 @@ "com/oracle/dalvik" ] -def text = (compileNativeText) ? "native" : "t2k" +def text = (compileNativeText) ? "native" : "" ANDROID.javafxPlatformProperties = """ javafx.platform=android @@ -566,20 +566,6 @@ ANDROID.font.linkFlags = [linkFlags].flatten() ANDROID.font.lib = "javafx_font" -if (BUILD_CLOSED) { - ANDROID.fontT2K = [:] - ANDROID.fontT2K.javahInclude = ["com/sun/javafx/font/t2k/**/*"] - ANDROID.fontT2K.nativeSource = [ - file("$closedDir/javafx-font-t2k-native/src"), - file("$closedDir/javafx-font-t2k-native/src/layout")] - ANDROID.fontT2K.compiler = compiler - ANDROID.fontT2K.ccFlags = [ccFlags, "-DLE_STANDALONE", "-fno-exceptions", "-fno-rtti", ccWarnFlags, - ccArchFlags, ccOptFlags, ccDebugFlags, ccDefaultIncludeFlags].flatten() - ANDROID.fontT2K.linker = linker - ANDROID.fontT2K.linkFlags = [linkFlags, "-lstdc++"].flatten() - ANDROID.fontT2K.lib = "javafx_font_t2k" -} - if (compileNativeText) { ANDROID.fontNativeFreetype = [:] ANDROID.fontNativeFreetype.javahInclude = [ --- old/buildSrc/armv6hf.gradle 2017-10-20 15:03:51.900552011 -0700 +++ new/buildSrc/armv6hf.gradle 2017-10-20 15:03:51.732552016 -0700 @@ -346,17 +346,6 @@ ARMV6HF.font.linkFlags = fontLFlags ARMV6HF.font.lib = "javafx_font" -ARMV6HF.fontT2K = [:] -ARMV6HF.fontT2K.javahInclude = ["com/sun/javafx/font/t2k/**/*"] -ARMV6HF.fontT2K.nativeSource = [ - file("$closedDir/javafx-font-t2k-native/src"), - file("$closedDir/javafx-font-t2k-native/src/layout")] -ARMV6HF.fontT2K.compiler = compiler -ARMV6HF.fontT2K.ccFlags = [fontCFlags, "-DLE_STANDALONE"].flatten() -ARMV6HF.fontT2K.linker = linker -ARMV6HF.fontT2K.linkFlags = fontLFlags -ARMV6HF.fontT2K.lib = "javafx_font_t2k" - ARMV6HF.fontFreetype = [:] ARMV6HF.fontFreetype.javahInclude = ["com/sun/javafx/font/freetype/OSFreetype.class*"] ARMV6HF.fontFreetype.nativeSource = ["src/main/native-font/freetype.c"] --- old/buildSrc/dalvik.gradle 2017-10-20 15:03:52.260552001 -0700 +++ new/buildSrc/dalvik.gradle 2017-10-20 15:03:52.096552006 -0700 @@ -491,7 +491,7 @@ "com/sun/javafx/tk/Print*" ] -def text = (compileNativeText) ? "native" : "t2k" +def text = (compileNativeText) ? "native" : "" DALVIK.javafxPlatformProperties = """ javafx.platform=android @@ -749,21 +749,6 @@ DALVIK.font.linkFlags = [linkFlags].flatten() DALVIK.font.lib = "javafx_font" -if (BUILD_CLOSED) { - DALVIK.fontT2K = [:] - DALVIK.fontT2K.javahInclude = ["com/sun/javafx/font/t2k/**/*"] - DALVIK.fontT2K.nativeSource = [ - file("$closedDir/javafx-font-t2k-native/src"), - file("$closedDir/javafx-font-t2k-native/src/layout"), - file("$closedDir/javafx-font-t2k-native/src/layoutfx")] - DALVIK.fontT2K.compiler = compiler - DALVIK.fontT2K.ccFlags = [ccFlags, "-fno-exceptions", "-fno-rtti", ccWarnFlags, - ccArchFlags, ccOptFlags, ccDebugFlags, ccDefaultIncludeFlags].flatten() - DALVIK.fontT2K.linker = linker - DALVIK.fontT2K.linkFlags = [linkFlags, "-lstdc++"].flatten() - DALVIK.fontT2K.lib = "javafx_font_t2k" -} - if (compileNativeText) { DALVIK.fontNativeFreetype = [:] DALVIK.fontNativeFreetype.javahInclude = [ --- old/buildSrc/ios.gradle 2017-10-20 15:03:52.624551991 -0700 +++ new/buildSrc/ios.gradle 2017-10-20 15:03:52.456551996 -0700 @@ -419,45 +419,6 @@ IOS.font.x86_64.linkFlags = ["-arch_only", archX86_64, "-syslibroot", sdkPath(iPhoneSim), linkFlags].flatten() IOS.font.x86_64.lib = "javafx_font_${archX86_64}" -IOS.fontT2K = [:] -IOS.fontT2K.lib = "javafx_font_t2k" -IOS.fontT2K.javahInclude = ["com/sun/javafx/font/t2k/**/*"] -IOS.fontT2K.variants = ["arm", "arm64", "x86", "x86_64"]; - -IOS.fontT2K.arm = [:] -IOS.fontT2K.arm.nativeSource = [ - file("$closedDir/javafx-font-t2k-native/src"), - file("$closedDir/javafx-font-t2k-native/src/layout")] -IOS.fontT2K.arm.compiler = compiler -IOS.fontT2K.arm.ccFlags = ["-DJFXFONT_PLUS", "-DLE_STANDALONE", ccFlags, "-arch", archArm, "-isysroot", sdkPath(iPhoneOS)].flatten() -IOS.fontT2K.arm.linker = linker -IOS.fontT2K.arm.linkFlags = ["-arch_only", archArm, "-syslibroot", sdkPath(iPhoneOS), linkFlags].flatten() -IOS.fontT2K.arm.lib = "javafx_font_t2k_${archArm}" - -IOS.fontT2K.arm64 = [:] -IOS.fontT2K.arm64.nativeSource = [IOS.fontT2K.arm.nativeSource].flatten() -IOS.fontT2K.arm64.compiler = compiler -IOS.fontT2K.arm64.ccFlags = ["-DJFXFONT_PLUS", "-DLE_STANDALONE", ccFlags, "-arch", archArm64, "-isysroot", sdkPath(iPhoneOS)].flatten() -IOS.fontT2K.arm64.linker = linker -IOS.fontT2K.arm64.linkFlags = ["-arch_only", archArm64, "-syslibroot", sdkPath(iPhoneOS), linkFlags].flatten() -IOS.fontT2K.arm64.lib = "javafx_font_t2k_${archArm64}" - -IOS.fontT2K.x86 = [:] -IOS.fontT2K.x86.nativeSource = [IOS.fontT2K.arm.nativeSource].flatten() -IOS.fontT2K.x86.compiler = compiler -IOS.fontT2K.x86.ccFlags = ["-DJFXFONT_PLUS", "-DLE_STANDALONE", ccFlags, "-arch", archX86, "-isysroot", sdkPath(iPhoneSim)].flatten() -IOS.fontT2K.x86.linker = linker -IOS.fontT2K.x86.linkFlags = ["-arch_only", archX86, "-syslibroot", sdkPath(iPhoneSim), linkFlags].flatten() -IOS.fontT2K.x86.lib = "javafx_font_t2k_${archX86}" - -IOS.fontT2K.x86_64 = [:] -IOS.fontT2K.x86_64.nativeSource = [IOS.fontT2K.arm.nativeSource].flatten() -IOS.fontT2K.x86_64.compiler = compiler -IOS.fontT2K.x86_64.ccFlags = ["-DJFXFONT_PLUS", "-DLE_STANDALONE", ccFlags, "-arch", archX86_64, "-isysroot", sdkPath(iPhoneSim)].flatten() -IOS.fontT2K.x86_64.linker = linker -IOS.fontT2K.x86_64.linkFlags = ["-arch_only", archX86_64, "-syslibroot", sdkPath(iPhoneSim), linkFlags].flatten() -IOS.fontT2K.x86_64.lib = "javafx_font_t2k_${archX86_64}" - IOS.webview = [:] IOS.webview.lib = "javafx_ios_webnode" IOS.webview.javahInclude = ["javafx/scene/web/*"] --- old/buildSrc/linux.gradle 2017-10-20 15:03:52.988551981 -0700 +++ new/buildSrc/linux.gradle 2017-10-20 15:03:52.824551986 -0700 @@ -289,16 +289,6 @@ LINUX.font.linkFlags = [linkFlags].flatten() LINUX.font.lib = "javafx_font" -LINUX.fontT2K = [:] -LINUX.fontT2K.nativeSource = [ - file("$closedDir/javafx-font-t2k-native/src"), - file("$closedDir/javafx-font-t2k-native/src/layout")] -LINUX.fontT2K.compiler = compiler -LINUX.fontT2K.ccFlags = ["-DJFXFONT_PLUS", "-DLE_STANDALONE", ccFlags].flatten() -LINUX.fontT2K.linker = linker -LINUX.fontT2K.linkFlags = [linkFlags].flatten() -LINUX.fontT2K.lib = "javafx_font_t2k" - LINUX.fontFreetype = [:] LINUX.fontFreetype.nativeSource = ["src/main/native-font/freetype.c"] LINUX.fontFreetype.compiler = compiler --- old/buildSrc/mac.gradle 2017-10-20 15:03:53.348551972 -0700 +++ new/buildSrc/mac.gradle 2017-10-20 15:03:53.184551976 -0700 @@ -226,17 +226,6 @@ MAC.font.linkFlags = [linkFlags].flatten() MAC.font.lib = "javafx_font" -MAC.fontT2K = [:] -MAC.fontT2K.javahInclude = ["com/sun/javafx/font/t2k/**/*"] -MAC.fontT2K.nativeSource = [ - file("$closedDir/javafx-font-t2k-native/src"), - file("$closedDir/javafx-font-t2k-native/src/layout")] -MAC.fontT2K.compiler = compiler -MAC.fontT2K.ccFlags = ["-DJFXFONT_PLUS", "-DLE_STANDALONE", ccFlags].flatten() -MAC.fontT2K.linker = linker -MAC.fontT2K.linkFlags = [linkFlags].flatten() -MAC.fontT2K.lib = "javafx_font_t2k" - MAC.media = [:] MAC.media.compiler = "${compiler} ${ccBaseFlags.join(" ")}" //MAC.media.ccFlags = ccBaseFlags --- old/buildSrc/win.gradle 2017-10-20 15:03:53.716551962 -0700 +++ new/buildSrc/win.gradle 2017-10-20 15:03:53.544551966 -0700 @@ -446,20 +446,6 @@ WIN.font.rcSource = defaultRcSource WIN.font.rcFlags = ["/d", "JFX_FNAME=javafx_font.dll", "/d", "JFX_INTERNAL_NAME=font", rcFlags].flatten(); -WIN.fontT2K = [:] -WIN.fontT2K.javahInclude = ["com/sun/javafx/font/t2k/**/*"] -WIN.fontT2K.nativeSource = [ - file("$closedDir/javafx-font-t2k-native/src"), - file("$closedDir/javafx-font-t2k-native/src/layout")] -WIN.fontT2K.compiler = compiler -WIN.fontT2K.ccFlags = ["/DJFXFONT_PLUS", "/DLE_STANDALONE", ccFlags].flatten() -WIN.fontT2K.linker = linker -WIN.fontT2K.linkFlags = [linkFlags, "advapi32.lib", "gdi32.lib", "user32.lib"].flatten() -WIN.fontT2K.lib = "javafx_font_t2k" -WIN.fontT2K.rcCompiler = rcCompiler; -WIN.fontT2K.rcSource = defaultRcSource -WIN.fontT2K.rcFlags = ["/d", "JFX_FNAME=javafx_font_t2k.dll", "/d", "JFX_INTERNAL_NAME=fontT2K", rcFlags].flatten(); - WIN.media = [:] WIN.media.rcCompiler = rcCompiler WIN.media.rcSource = defaultRcSource --- old/modules/javafx.graphics/src/main/java/com/sun/javafx/font/AndroidFontFinder.java 2017-10-20 15:03:54.096551951 -0700 +++ new/modules/javafx.graphics/src/main/java/com/sun/javafx/font/AndroidFontFinder.java 2017-10-20 15:03:53.928551956 -0700 @@ -49,7 +49,7 @@ /** * Class AndroidFontFinder reads font descriptor from * /system/etc/system_fonts.xml. If that file doesn't exist it is replaced by - * embedded font descriptor {@link com/sun/t2k/android_system_fonts.xml} which + * embedded font descriptor {@link com/sun/javafx/font/android_system_fonts.xml} which * defines some basic mappings based on best guess which fonts are mandatory on * platforms lower than 4.0 and how they map to typefaces. */ --- old/modules/javafx.graphics/src/main/java/com/sun/javafx/font/MacFontFinder.java 2017-10-20 15:03:54.460551941 -0700 +++ new/modules/javafx.graphics/src/main/java/com/sun/javafx/font/MacFontFinder.java 2017-10-20 15:03:54.296551946 -0700 @@ -80,16 +80,6 @@ String family = fontData[i++]; String file = fontData[i++]; - if (!PrismFontFactory.useNativeRasterizer) { - /* Skip OTF/CID keyed fonts for T2K (RT-15755) */ - if (file.endsWith(".otf")) { - if (name.indexOf(" Pro W") != -1) continue; - if (name.indexOf(" ProN W") != -1) continue; - if (name.indexOf(" Std W") != -1) continue; - if (name.indexOf(" StdN W") != -1) continue; - if (name.indexOf("Hiragino") != -1) continue; - } - } if (PrismFontFactory.debugFonts) { System.err.println("[MacFontFinder] Name=" + name); System.err.println("\tFamily=" + family); --- old/modules/javafx.graphics/src/main/java/com/sun/javafx/font/PrismFontFactory.java 2017-10-20 15:03:54.824551931 -0700 +++ new/modules/javafx.graphics/src/main/java/com/sun/javafx/font/PrismFontFactory.java 2017-10-20 15:03:54.656551936 -0700 @@ -56,7 +56,6 @@ public static final boolean isAndroid; public static final boolean isEmbedded; public static final int cacheLayoutSize; - static boolean useNativeRasterizer; private static int subPixelMode; public static final int SUB_PIXEL_ON = 1; public static final int SUB_PIXEL_Y = 2; @@ -69,7 +68,6 @@ private static final String jreDefaultFont = "Lucida Sans Regular"; private static final String jreDefaultFontLC = "lucida sans regular"; private static final String jreDefaultFontFile = "LucidaSansRegular.ttf"; - private static final String T2K_FACTORY = "com.sun.javafx.font.t2k.T2KFactory"; private static final String CT_FACTORY = "com.sun.javafx.font.coretext.CTFactory"; private static final String DW_FACTORY = "com.sun.javafx.font.directwrite.DWFactory"; private static final String FT_FACTORY = "com.sun.javafx.font.freetype.FTFactory"; @@ -134,17 +132,7 @@ } } - useNativeRasterizer = isMacOSX || isWindows || isLinux; - String defPrismText = useNativeRasterizer ? "native" : "t2k"; - String prismText = System.getProperty("prism.text", defPrismText); - if (useNativeRasterizer) { - useNativeRasterizer = !prismText.equals("t2k"); - } else { - useNativeRasterizer = prismText.equals("native"); - } - - boolean lcdTextOff = (isMacOSX && !useNativeRasterizer) || - isIOS || isAndroid || isEmbedded; + boolean lcdTextOff = isIOS || isAndroid || isEmbedded; String defLCDProp = lcdTextOff ? "false" : "true"; String lcdProp = System.getProperty("prism.lcdtext", defLCDProp); lcdEnabled = lcdProp.equals("true"); @@ -201,13 +189,9 @@ if (theFontFactory != null) { return theFontFactory; } - String factoryClass = null; - if (useNativeRasterizer) { - factoryClass = getNativeFactoryName(); - } + String factoryClass = getNativeFactoryName(); if (factoryClass == null) { - useNativeRasterizer = false; - factoryClass = T2K_FACTORY; + throw new InternalError("cannot find a native font factory"); } if (debugFonts) { System.err.println("Loading FontFactory " + factoryClass); @@ -224,22 +208,7 @@ } theFontFactory = getFontFactory(factoryClass); if (theFontFactory == null) { - if (useNativeRasterizer) { - // If native failed use T2K (i.e. Windows Vista) - useNativeRasterizer = false; - factoryClass = T2K_FACTORY; - } else { - // If T2K failed use native (i.e. OpenJFX build) - useNativeRasterizer = true; - factoryClass = getNativeFactoryName(); - } - if (factoryClass != null) { - theFontFactory = getFontFactory(factoryClass); - } - if (debugFonts) { - System.err.println("*** Loading primary font factory failed. ***"); - System.err.println("*** Fallbacking to " + factoryClass + " ***"); - } + throw new InternalError("cannot load font factory: "+ factoryClass); } return theFontFactory; } @@ -526,10 +495,6 @@ continue; } storeInMap(lcFontName, fr); -// if (wantComp) { -// // wrap with fallback support -// fr = new T2KCompositeFontResource(fr, lcFontName); -// } } if (bold == fr.isBold() && italic == fr.isItalic()) { storeInMap(lcFamilyName+styleStr, fr); @@ -2043,6 +2008,6 @@ } } - /* Called from T2KFontFile which caches the return value */ + /* Called from PrismFontFile which caches the return value */ static native short getSystemLCID(); } --- old/modules/javafx.graphics/src/main/java/com/sun/javafx/font/PrismFontStrike.java 2017-10-20 15:03:55.204551921 -0700 +++ new/modules/javafx.graphics/src/main/java/com/sun/javafx/font/PrismFontStrike.java 2017-10-20 15:03:55.040551925 -0700 @@ -85,9 +85,6 @@ fontResource.getStrikeMap().remove(desc); // Native resources are freed via a disposer once we are sure // all references are cleared. It also ensures we don't leak. - // So this is approach is not used right now, in favour of a disposer. - //T2KFontFile.freePointer(pScalerContext); - //pScalerContext = 0L; } /** --- old/modules/javafx.graphics/src/main/java/com/sun/javafx/font/directwrite/DWFactory.java 2017-10-20 15:03:55.704551907 -0700 +++ new/modules/javafx.graphics/src/main/java/com/sun/javafx/font/directwrite/DWFactory.java 2017-10-20 15:03:55.536551912 -0700 @@ -48,7 +48,7 @@ */ if (getDWriteFactory() == null) { /* Returning null here indicates to the PrismFontFactory - * to fallback to T2K. */ + * to throw an Error . */ return null; } return new DWFactory(); --- old/modules/javafx.graphics/src/main/java/com/sun/javafx/font/directwrite/DWFontFile.java 2017-10-20 15:03:56.204551893 -0700 +++ new/modules/javafx.graphics/src/main/java/com/sun/javafx/font/directwrite/DWFontFile.java 2017-10-20 15:03:56.036551898 -0700 @@ -118,7 +118,7 @@ } RectBounds getBBox(int glyphCode, float size) { - /* In coretext and t2k this is the bounds for the path of the glyph */ + /* In coretext this is the bounds for the path of the glyph */ float[] bb = new float[4]; getGlyphBoundingBox(glyphCode, size, bb); return new RectBounds(bb[0], bb[1], bb[2], bb[3]); --- old/modules/javafx.graphics/src/test/java/test/com/sun/javafx/font/PrismFontFactoryTest.java 2017-10-20 15:03:56.572551883 -0700 +++ new/modules/javafx.graphics/src/test/java/test/com/sun/javafx/font/PrismFontFactoryTest.java 2017-10-20 15:03:56.408551888 -0700 @@ -64,7 +64,7 @@ } /** - * Test of getFontFactory method, of class T2KFontFactory. + * Test of getFontFactory method. */ @Test public void testGetFontFactory() { --- old/modules/javafx.graphics/src/main/legal/icu_v51.md 2017-10-20 15:03:56.928551874 -0700 +++ /dev/null 2017-08-10 09:28:49.381064065 -0700 @@ -1,325 +0,0 @@ -## IBM International Components for Unicode (ICU4C) v51.2 - -### ICU License -
-ICU License - ICU 1.8.1 and later - -COPYRIGHT AND PERMISSION NOTICE - -Copyright (c) 1995-2013 International Business Machines Corporation and others - -All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, and/or sell copies of the -Software, and to permit persons to whom the Software is furnished to do so, -provided that the above copyright notice(s) and this permission notice appear -in all copies of the Software and that both the above copyright notice(s) and -this permission notice appear in supporting documentation. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN -NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE -LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY -DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN -CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -Except as contained in this notice, the name of a copyright holder shall not be -used in advertising or otherwise to promote the sale, use or other dealings in -this Software without prior written authorization of the copyright holder. - - - All trademarks and registered trademarks mentioned herein are the property of - their respective owners. - - -Third-Party Software Licenses -This section contains third-party software notices and/or additional terms for -licensed third-party software components included within ICU libraries. -1. Unicode Data Files and Software - -EXHIBIT 1 - UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE - - -Unicode Data Files include all data files under the directories -http://www.unicode.org/Public/, http://www.unicode.org/reports/, and -http://www.unicode.org/cldr/data/. Unicode Data Files do not include PDF online -code charts under the directory http://www.unicode.org/Public/. Software -includes any source code published in the Unicode Standard or under the -directories http://www.unicode.org/Public/, http://www.unicode.org/reports/, and -http://www.unicode.org/cldr/data/. - -NOTICE TO USER: Carefully read the following legal agreement. BY DOWNLOADING, -INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S DATA FILES ("DATA FILES"), -AND/OR SOFTWARE ("SOFTWARE"), YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND -BY, ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, -DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. - -COPYRIGHT AND PERMISSION NOTICE - -Copyright © 1991-2013 Unicode, Inc. All rights reserved. Distributed under the -Terms of Use in http://www.unicode.org/copyright.html. - -Permission is hereby granted, free of charge, to any person obtaining a copy of -the Unicode data files and any associated documentation (the "Data Files") or -Unicode software and any associated documentation (the "Software") to deal in -the Data Files or Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, and/or sell copies of -the Data Files or Software, and to permit persons to whom the Data Files or -Software are furnished to do so, provided that (a) the above copyright notice(s) -and this permission notice appear with all copies of the Data Files or Software, -(b) both the above copyright notice(s) and this permission notice appear in -associated documentation, and (c) there is clear notice in each modified Data -File or in the Software as well as in the documentation associated with the -Data File(s) or Software that the data or software has been modified. - -THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD -PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN -THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL -DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, -WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING -OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR -SOFTWARE. - -Except as contained in this notice, the name of a copyright holder shall not be -used in advertising or otherwise to promote the sale, use or other dealings in -these Data Files or Software without prior written authorization of the -copyright holder. - - -Unicode and the Unicode logo are trademarks of Unicode, Inc. in the United -States and other countries. All third party trademarks referenced herein are the -property of their respective owners. - -2. Chinese/Japanese Word Break Dictionary Data (cjdict.txt) - # The Google Chrome software developed by Google is licensed under the BSD - # license. Other software included in this distribution is provided under other - # licenses, as set forth below. - # - # The BSD License - # http://opensource.org/licenses/bsd-license.php - # Copyright (C) 2006-2008, Google Inc. - # - # All rights reserved. - # - # Redistribution and use in source and binary forms, with or without - # modification, are permitted provided that the following conditions are met: - # - # Redistributions of source code must retain the above copyright notice, this - # list of conditions and the following disclaimer. - # Redistributions in binary form must reproduce the above copyright notice, - # this list of conditions and the following disclaimer in the documentation - # and/or other materials provided with the distribution. - # Neither the name of Google Inc. nor the names of its contributors may be used - # to endorse or promote products derived from this software without specific - # prior written permission. - # - # - # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - # POSSIBILITY OF SUCH DAMAGE. - # - # - # The word list in cjdict.txt are generated by combining three word lists - # listed below with further processing for compound word breaking. The - # frequency is generated - # with an iterative training against Google web corpora. - # - # * Libtabe (Chinese) - # - https://sourceforge.net/project/?group_id=1519 - # - Its license terms and conditions are shown below. - # - # * IPADIC (Japanese) - # - http://chasen.aist-nara.ac.jp/chasen/distribution.html - # - Its license terms and conditions are shown below. - # - # ---------COPYING.libtabe ---- BEGIN-------------------- - # - # /* - # * Copyrighy (c) 1999 TaBE Project. - # * Copyright (c) 1999 Pai-Hsiang Hsiao. - # * All rights reserved. - # * - # * Redistribution and use in source and binary forms, with or without - # * modification, are permitted provided that the following conditions - # * are met: - # * - # * . Redistributions of source code must retain the above copyright - # * notice, this list of conditions and the following disclaimer. - # * . Redistributions in binary form must reproduce the above copyright - # * notice, this list of conditions and the following disclaimer in - # * the documentation and/or other materials provided with the - # * distribution. - # * . Neither the name of the TaBE Project nor the names of its - # * contributors may be used to endorse or promote products derived - # * from this software without specific prior written permission. - # * - # * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - # * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - # * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS - # * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - # * REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, - # * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - # * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - # * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - # * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, - # * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - # * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - # * OF THE POSSIBILITY OF SUCH DAMAGE. - # */ - # - # /* - # * Copyright (c) 1999 Computer Systems and Communication Lab, - # * Institute of Information Science, Academia Sinica. - # * All rights reserved. - # * - # * Redistribution and use in source and binary forms, with or without - # * modification, are permitted provided that the following conditions - # * are met: - # * - # * . Redistributions of source code must retain the above copyright - # * notice, this list of conditions and the following disclaimer. - # * . Redistributions in binary form must reproduce the above copyright - # * notice, this list of conditions and the following disclaimer in - # * the documentation and/or other materials provided with the - # * distribution. - # * . Neither the name of the Computer Systems and Communication Lab - # * nor the names of its contributors may be used to endorse or - # * promote products derived from this software without specific - # * prior written permission. - # * - # * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - # * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - # * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS - # * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - # * REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, - # * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - # * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - # * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - # * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, - # * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - # * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - # * OF THE POSSIBILITY OF SUCH DAMAGE. - # */ - # - # Copyright 1996 Chih-Hao Tsai @ Beckman Institute, University of Illinois - # c-tsai4@uiuc.edu http://casper.beckman.uiuc.edu/~c-tsai4 - # - # ---------------COPYING.libtabe-----END------------------------------------ - # - # - # ---------------COPYING.ipadic-----BEGIN------------------------------------ - # - # Copyright 2000, 2001, 2002, 2003 Nara Institute of Science - # and Technology. All Rights Reserved. - # - # Use, reproduction, and distribution of this software is permitted. - # Any copy of this software, whether in its original form or modified, - # must include both the above copyright notice and the following - # paragraphs. - # - # Nara Institute of Science and Technology (NAIST), - # the copyright holders, disclaims all warranties with regard to this - # software, including all implied warranties of merchantability and - # fitness, in no event shall NAIST be liable for - # any special, indirect or consequential damages or any damages - # whatsoever resulting from loss of use, data or profits, whether in an - # action of contract, negligence or other tortuous action, arising out - # of or in connection with the use or performance of this software. - # - # A large portion of the dictionary entries - # originate from ICOT Free Software. The following conditions for ICOT - # Free Software applies to the current dictionary as well. - # - # Each User may also freely distribute the Program, whether in its - # original form or modified, to any third party or parties, PROVIDED - # that the provisions of Section 3 ("NO WARRANTY") will ALWAYS appear - # on, or be attached to, the Program, which is distributed substantially - # in the same form as set out herein and that such intended - # distribution, if actually made, will neither violate or otherwise - # contravene any of the laws and regulations of the countries having - # jurisdiction over the User or the intended distribution itself. - # - # NO WARRANTY - # - # The program was produced on an experimental basis in the course of the - # research and development conducted during the project and is provided - # to users as so produced on an experimental basis. Accordingly, the - # program is provided without any warranty whatsoever, whether express, - # implied, statutory or otherwise. The term "warranty" used herein - # includes, but is not limited to, any warranty of the quality, - # performance, merchantability and fitness for a particular purpose of - # the program and the nonexistence of any infringement or violation of - # any right of any third party. - # - # Each user of the program will agree and understand, and be deemed to - # have agreed and understood, that there is no warranty whatsoever for - # the program and, accordingly, the entire risk arising from or - # otherwise connected with the program is assumed by the user. - # - # Therefore, neither ICOT, the copyright holder, or any other - # organization that participated in or was otherwise related to the - # development of the program and their respective officials, directors, - # officers and other employees shall be held liable for any and all - # damages, including, without limitation, general, special, incidental - # and consequential damages, arising out of or otherwise in connection - # with the use or inability to use the program or any product, material - # or result produced or otherwise obtained by using the program, - # regardless of whether they have been advised of, or otherwise had - # knowledge of, the possibility of such damages at any time during the - # project or thereafter. Each user will be deemed to have agreed to the - # foregoing by his or her commencement of use of the program. The term - # "use" as used herein includes, but is not limited to, the use, - # modification, copying and distribution of the program and the - # production of secondary products from the program. - # - # In the case where the program, whether in its original form or - # modified, was distributed or delivered to or received by a user from - # any person, organization or entity other than ICOT, unless it makes or - # grants independently of ICOT any specific warranty to the user in - # writing, such person, organization or entity, will also be exempted - # from and not be held liable to the user for any such damages as noted - # above as far as the program is concerned. - # - # ---------------COPYING.ipadic-----END------------------------------------ - - -3. Time Zone Database - -ICU uses the public domain data and code derived from Time Zone Database for -its time zone support. The ownership of the TZ database is explained in -BCP 175: Procedure for Maintaining the Time Zone Database section 7. - - -7. Database Ownership - - The TZ database itself is not an IETF Contribution or an IETF - document. Rather it is a pre-existing and regularly updated work - that is in the public domain, and is intended to remain in the public - domain. Therefore, BCPs 78 [RFC5378] and 79 [RFC3979] do not apply - to the TZ Database or contributions that individuals make to it. - Should any claims be made and substantiated against the TZ Database, - the organization that is providing the IANA Considerations defined in - this RFC, under the memorandum of understanding with the IETF, - currently ICANN, may act in accordance with all competent court - orders. No ownership claims will be made by ICANN or the IETF Trust - on the database or the code. Any person making a contribution to the - database or code waives all rights to future claims in that - contribution or in the TZ Database. - -