jdk/src/share/classes/sun/print/PSPrinterJob.java
changeset 25144 e2bf17cee34b
parent 25140 80e863984492
parent 24969 afa6934dd8e8
child 25774 21b78da4b2df
equal deleted inserted replaced
25143:aade36e70da0 25144:e2bf17cee34b
  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,