< prev index next >

src/java.desktop/unix/classes/sun/font/X11GB18030_0.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


4217             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4218             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4219             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4220             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4221             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4222             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4223             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4224             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4225             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4226             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4227             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4228             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4229             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4230             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4231             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4232             "\uA1E9\uA1EA\uA956\uA3FE\uA957\uA3A4\u0000\u0000"+
4233             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4234             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4235             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000";
4236 
4237         private static final short index1[] = {
4238             1, 2, 3, 4, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
4239             0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
4240             6, 7, 8, 9, 10, 11, 12, 0, 0, 0, 0, 0, 0, 0, 13, 14,
4241             15, 16, 17, 18, 19, 20, 21, 0, 0, 22, 23, 24, 25, 0, 0, 0,
4242             26, 27, 0, 28, 29, 0, 30, 31, 0, 32, 0, 0, 33, 34, 35, 36,
4243             37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52,
4244             53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68,
4245             69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
4246             85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100,
4247             101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116,
4248             0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
4249             0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
4250             0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
4251             0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
4252             117, 118, 119, 120, 121, 122, 123, 124, 125, 0, 0, 0, 0, 0, 0, 0,
4253             0, 0, 0, 0, 0, 0, 0, 0, 0, 126, 127, 0, 0, 0, 128, 129
4254         };
4255 
4256         private static final String index2[] = {
4257             innerIndex0,
4258             innerIndex1,
4259             innerIndex2,
4260             innerIndex3,
4261             innerIndex4,
4262             innerIndex5,
4263             innerIndex6,
4264             innerIndex7,
4265             innerIndex8
4266         };
4267 
4268         /* The default implementation creates a decoder and we don't have one */
4269         public boolean isLegalReplacement(byte[] repl) {
4270             return true;
4271         }
4272     }
4273 }
   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


4217             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4218             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4219             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4220             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4221             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4222             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4223             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4224             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4225             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4226             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4227             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4228             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4229             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4230             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4231             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4232             "\uA1E9\uA1EA\uA956\uA3FE\uA957\uA3A4\u0000\u0000"+
4233             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4234             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+
4235             "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000";
4236 
4237         private static final short[] index1 = {
4238             1, 2, 3, 4, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
4239             0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
4240             6, 7, 8, 9, 10, 11, 12, 0, 0, 0, 0, 0, 0, 0, 13, 14,
4241             15, 16, 17, 18, 19, 20, 21, 0, 0, 22, 23, 24, 25, 0, 0, 0,
4242             26, 27, 0, 28, 29, 0, 30, 31, 0, 32, 0, 0, 33, 34, 35, 36,
4243             37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52,
4244             53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68,
4245             69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
4246             85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100,
4247             101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116,
4248             0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
4249             0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
4250             0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
4251             0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
4252             117, 118, 119, 120, 121, 122, 123, 124, 125, 0, 0, 0, 0, 0, 0, 0,
4253             0, 0, 0, 0, 0, 0, 0, 0, 0, 126, 127, 0, 0, 0, 128, 129
4254         };
4255 
4256         private static final String[] index2 = {
4257             innerIndex0,
4258             innerIndex1,
4259             innerIndex2,
4260             innerIndex3,
4261             innerIndex4,
4262             innerIndex5,
4263             innerIndex6,
4264             innerIndex7,
4265             innerIndex8
4266         };
4267 
4268         /* The default implementation creates a decoder and we don't have one */
4269         public boolean isLegalReplacement(byte[] repl) {
4270             return true;
4271         }
4272     }
4273 }
< prev index next >