public OpenTypeParser(String name) throws java.io.IOException { String ttcName = getTTCName(name); this.fileName = ttcName; if (ttcName.length() < name.length()) { ttcIndex = Integer.parseInt(name.substring(ttcName.length() + 1)); } raf = new RandomAccessFileOrArray(new RandomAccessSourceFactory().createBestSource(fileName)); initializeSfntTables(); }
public OpenTypeParser(String name) throws java.io.IOException { String ttcName = getTTCName(name); this.fileName = ttcName; if (ttcName.length() < name.length()) { ttcIndex = Integer.parseInt(name.substring(ttcName.length() + 1)); } raf = new RandomAccessFileOrArray(new RandomAccessSourceFactory().createBestSource(fileName)); initializeSfntTables(); }
public OpenTypeParser(byte[] ttc, int ttcIndex) throws java.io.IOException { this.ttcIndex = ttcIndex; raf = new RandomAccessFileOrArray(new RandomAccessSourceFactory().createSource(ttc)); initializeSfntTables(); }
public OpenTypeParser(String ttcPath, int ttcIndex) throws java.io.IOException { this.ttcIndex = ttcIndex; raf = new RandomAccessFileOrArray(new RandomAccessSourceFactory().createBestSource(ttcPath)); initializeSfntTables(); }
public OpenTypeParser(String ttcPath, int ttcIndex) throws java.io.IOException { this.ttcIndex = ttcIndex; raf = new RandomAccessFileOrArray(new RandomAccessSourceFactory().createBestSource(ttcPath)); initializeSfntTables(); }
public OpenTypeParser(byte[] ttc, int ttcIndex) throws java.io.IOException { this.ttcIndex = ttcIndex; raf = new RandomAccessFileOrArray(new RandomAccessSourceFactory().createSource(ttc)); initializeSfntTables(); }
public OpenTypeParser(byte[] ttf) throws java.io.IOException { raf = new RandomAccessFileOrArray(new RandomAccessSourceFactory().createSource(ttf)); initializeSfntTables(); }
public OpenTypeParser(byte[] ttf) throws java.io.IOException { raf = new RandomAccessFileOrArray(new RandomAccessSourceFactory().createSource(ttf)); initializeSfntTables(); }