equal
deleted
inserted
replaced
1265 |
1265 |
1266 for (int i = 0; i < acs.length; i++){ |
1266 for (int i = 0; i < acs.length; i++){ |
1267 CharsetString cs = acs[i]; |
1267 CharsetString cs = acs[i]; |
1268 CharsetEncoder fontCS = cs.fontDescriptor.encoder; |
1268 CharsetEncoder fontCS = cs.fontDescriptor.encoder; |
1269 |
1269 |
1270 StringBuffer nativeStr = new StringBuffer(); |
1270 StringBuilder nativeStr = new StringBuilder(); |
1271 byte[] strSeg = new byte[cs.length * 2]; |
1271 byte[] strSeg = new byte[cs.length * 2]; |
1272 int len = 0; |
1272 int len = 0; |
1273 try { |
1273 try { |
1274 ByteBuffer bb = ByteBuffer.wrap(strSeg); |
1274 ByteBuffer bb = ByteBuffer.wrap(strSeg); |
1275 fontCS.encode(CharBuffer.wrap(cs.charsetChars, |
1275 fontCS.encode(CharBuffer.wrap(cs.charsetChars, |