1 18 package org.apache.batik.svggen.font.table; 19 20 import java.io.IOException ; 21 import java.io.RandomAccessFile ; 22 23 28 public class KerningPair { 29 30 private int left; 31 private int right; 32 private short value; 33 34 35 protected KerningPair(RandomAccessFile raf) throws IOException { 36 left = raf.readUnsignedShort(); 37 right = raf.readUnsignedShort(); 38 value = raf.readShort(); 39 } 40 41 public int getLeft() { 42 return left; 43 } 44 45 public int getRight() { 46 return right; 47 } 48 49 public short getValue() { 50 return value; 51 } 52 53 } 54 | Popular Tags |