Path: blob/master/src/java.desktop/share/classes/sun/font/Script.java
41155 views
/*1* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.2*3* This code is free software; you can redistribute it and/or modify it4* under the terms of the GNU General Public License version 2 only, as5* published by the Free Software Foundation. Oracle designates this6* particular file as subject to the "Classpath" exception as provided7* by Oracle in the LICENSE file that accompanied this code.8*9* This code is distributed in the hope that it will be useful, but WITHOUT10* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or11* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License12* version 2 for more details (a copy is included in the LICENSE file that13* accompanied this code).14*15* You should have received a copy of the GNU General Public License version16* 2 along with this work; if not, write to the Free Software Foundation,17* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.18*19* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA20* or visit www.oracle.com if you need additional information or have any21* questions.22*23*/2425/*26*27* (C) Copyright IBM Corp. 2003 - All Rights Reserved28*/2930package sun.font;3132public final class Script {3334public static final int INVALID_CODE = -1;35public static final int COMMON = 0; /* Zyyy */36public static final int INHERITED = 1; /* Qaai */3738public static final int ARABIC = 2; /* Arab */39public static final int ARMENIAN = 3; /* Armn */40public static final int BENGALI = 4; /* Beng */41public static final int BOPOMOFO = 5; /* Bopo */42public static final int CHEROKEE = 6; /* Cher */43public static final int COPTIC = 7; /* Qaac */44public static final int CYRILLIC = 8; /* Cyrl (Cyrs) */45public static final int DESERET = 9; /* Dsrt */46public static final int DEVANAGARI = 10; /* Deva */47public static final int ETHIOPIC = 11; /* Ethi */48public static final int GEORGIAN = 12; /* Geor (Geon; Geoa) */49public static final int GOTHIC = 13; /* Goth */50public static final int GREEK = 14; /* Grek */51public static final int GUJARATI = 15; /* Gujr */52public static final int GURMUKHI = 16; /* Guru */53public static final int HAN = 17; /* Hani */54public static final int HANGUL = 18; /* Hang */55public static final int HEBREW = 19; /* Hebr */56public static final int HIRAGANA = 20; /* Hira */57public static final int KANNADA = 21; /* Knda */58public static final int KATAKANA = 22; /* Kana */59public static final int KHMER = 23; /* Khmr */60public static final int LAO = 24; /* Laoo */61public static final int LATIN = 25; /* Latn (Latf; Latg) */62public static final int MALAYALAM = 26; /* Mlym */63public static final int MONGOLIAN = 27; /* Mong */64public static final int MYANMAR = 28; /* Mymr */65public static final int OGHAM = 29; /* Ogam */66public static final int OLD_ITALIC = 30; /* Ital */67public static final int ORIYA = 31; /* Orya */68public static final int RUNIC = 32; /* Runr */69public static final int SINHALA = 33; /* Sinh */70public static final int SYRIAC = 34; /* Syrc (Syrj; Syrn; Syre) */71public static final int TAMIL = 35; /* Taml */72public static final int TELUGU = 36; /* Telu */73public static final int THAANA = 37; /* Thaa */74public static final int THAI = 38; /* Thai */75public static final int TIBETAN = 39; /* Tibt */76public static final int CANADIAN_ABORIGINAL = 40; /* Cans */77public static final int UCAS = CANADIAN_ABORIGINAL; /* Cans */78public static final int YI = 41; /* Yiii */79public static final int TAGALOG = 42; /* Tglg */80public static final int HANUNOO = 43; /* Hano */81public static final int BUHID = 44; /* Buhd */82public static final int TAGBANWA = 45; /* Tagb */83public static final int CODE_LIMIT = 46;84}858687