< prev index next >

src/java.desktop/unix/classes/sun/font/X11GB18030_1.java

Print this page


   1 /*
   2  * Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any


5212             "\u996A\u996B\u996C\u996D\u996E\u996F\u9970\u9971"+
5213             "\u9972\u9973\u9974\u9975\u9976\u9977\u9978\u9979"+
5214             "\u997A\u997B\u997C\u997D\u997E\u997F\u9980\u9981"+
5215             "\u9982\u9983\u9984\u9985\u9986\u9987\u9988\u9989"+
5216             "\u998A\u998B\u998C\u998D\u998E\u998F\u9990\u9991"+
5217             "\u9992\u9993\u9994\u9995\u9996\u9997\u9998\u9999"+
5218             "\u999A\u999B\u999C\u999D\u999E\u999F\u99A0\u99A1"+
5219             "\u99A2\u99A3\u99A4\u99A5\u99A6\u99A7\u99A8\u99A9"+
5220             "\u99AA\u99AB\u99AC\u99AD\u99AE\u99AF\u99B0\u99B1"+
5221             "\u99B2\u99B3\u99B4\u99B5\u99B6\u99B7\u99B8\u99B9"+
5222             "\u99BA\u99BB\u99BC\u99BD\u99BE\u99BF\u99C0\u99C1"+
5223             "\u99C2\u99C3\u99C4\u99C5\u99C6\u99C7\u99C8\u99C9"+
5224             "\u99CA\u99CB\u99CC\u99CD\u99CE\u99CF\u99D0\u99D1"+
5225             "\u99D2\u99D3\u99D4\u99D5\u99D6\u99D7\u99D8\u99D9"+
5226             "\u99DA\u99DB\u99DC\u99DD\u99DE\u99DF\u99E0\u99E1"+
5227             "\u0000\u0000\u0000\u0000\u0000\u0000\u99E2\u99E3"+
5228             "\u99E4\u99E5\u99E6\u99E7\u99E8\u99E9\u99EA\u99EB"+
5229             "\u99EC\u99ED\u99EE\u99EF\u99F0\u99F1\u99F2\u99F3"+
5230             "\u99F4\u99F5\u99F6\u99F7\u99F8\u0000\u99FA\u99FB";
5231 
5232         private static final short index1[] = {
5233             1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
5234             17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
5235             33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
5236             49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
5237             65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 0, 0,
5238             0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5239             0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5240             0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5241             0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5242             0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 79,
5243             80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95,
5244             96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
5245             112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127,
5246             128, 129, 130, 131, 132, 133, 134, 135, 0, 0, 0, 0, 0, 0, 0, 0,
5247             0, 0, 0, 0, 0, 0, 0, 136, 137, 138, 139, 140, 141, 142, 143, 144,
5248             145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160
5249         };
5250 
5251         private static final String index2[] = {
5252             innerIndex0,
5253             innerIndex1,
5254             innerIndex2,
5255             innerIndex3,
5256             innerIndex4,
5257             innerIndex5,
5258             innerIndex6,
5259             innerIndex7,
5260             innerIndex8,
5261             innerIndex9,
5262             innerIndex10
5263         };
5264 
5265         /* The default implementation creates a decoder and we don't have one */
5266         public boolean isLegalReplacement(byte[] repl) {
5267             return true;
5268         }
5269     }
5270 }
   1 /*
   2  * Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any


5212             "\u996A\u996B\u996C\u996D\u996E\u996F\u9970\u9971"+
5213             "\u9972\u9973\u9974\u9975\u9976\u9977\u9978\u9979"+
5214             "\u997A\u997B\u997C\u997D\u997E\u997F\u9980\u9981"+
5215             "\u9982\u9983\u9984\u9985\u9986\u9987\u9988\u9989"+
5216             "\u998A\u998B\u998C\u998D\u998E\u998F\u9990\u9991"+
5217             "\u9992\u9993\u9994\u9995\u9996\u9997\u9998\u9999"+
5218             "\u999A\u999B\u999C\u999D\u999E\u999F\u99A0\u99A1"+
5219             "\u99A2\u99A3\u99A4\u99A5\u99A6\u99A7\u99A8\u99A9"+
5220             "\u99AA\u99AB\u99AC\u99AD\u99AE\u99AF\u99B0\u99B1"+
5221             "\u99B2\u99B3\u99B4\u99B5\u99B6\u99B7\u99B8\u99B9"+
5222             "\u99BA\u99BB\u99BC\u99BD\u99BE\u99BF\u99C0\u99C1"+
5223             "\u99C2\u99C3\u99C4\u99C5\u99C6\u99C7\u99C8\u99C9"+
5224             "\u99CA\u99CB\u99CC\u99CD\u99CE\u99CF\u99D0\u99D1"+
5225             "\u99D2\u99D3\u99D4\u99D5\u99D6\u99D7\u99D8\u99D9"+
5226             "\u99DA\u99DB\u99DC\u99DD\u99DE\u99DF\u99E0\u99E1"+
5227             "\u0000\u0000\u0000\u0000\u0000\u0000\u99E2\u99E3"+
5228             "\u99E4\u99E5\u99E6\u99E7\u99E8\u99E9\u99EA\u99EB"+
5229             "\u99EC\u99ED\u99EE\u99EF\u99F0\u99F1\u99F2\u99F3"+
5230             "\u99F4\u99F5\u99F6\u99F7\u99F8\u0000\u99FA\u99FB";
5231 
5232         private static final short[] index1 = {
5233             1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
5234             17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
5235             33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
5236             49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
5237             65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 0, 0,
5238             0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5239             0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5240             0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5241             0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5242             0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 79,
5243             80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95,
5244             96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
5245             112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127,
5246             128, 129, 130, 131, 132, 133, 134, 135, 0, 0, 0, 0, 0, 0, 0, 0,
5247             0, 0, 0, 0, 0, 0, 0, 136, 137, 138, 139, 140, 141, 142, 143, 144,
5248             145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160
5249         };
5250 
5251         private static final String[] index2 = {
5252             innerIndex0,
5253             innerIndex1,
5254             innerIndex2,
5255             innerIndex3,
5256             innerIndex4,
5257             innerIndex5,
5258             innerIndex6,
5259             innerIndex7,
5260             innerIndex8,
5261             innerIndex9,
5262             innerIndex10
5263         };
5264 
5265         /* The default implementation creates a decoder and we don't have one */
5266         public boolean isLegalReplacement(byte[] repl) {
5267             return true;
5268         }
5269     }
5270 }
< prev index next >