private short readShort(RandomAccessFileOrArray stream) throws java.io.IOException { if (isBigEndian) { return stream.readShort(); } else { return stream.readShortLE(); } }
private short readShort(RandomAccessFileOrArray stream) throws java.io.IOException { if (isBigEndian) { return stream.readShort(); } else { return stream.readShortLE(); } }
private void openpfm() throws java.io.IOException { input.seek(0); vers = input.readShortLE(); h_len = input.readIntLE(); copyright = readString(60); type = input.readShortLE(); points = input.readShortLE(); verres = input.readShortLE(); horres = input.readShortLE(); ascent = input.readShortLE(); intleading = input.readShortLE(); extleading = input.readShortLE(); italic = (byte)input.read(); uline = (byte)input.read(); overs = (byte)input.read(); weight = input.readShortLE(); charset = (byte)input.read(); pixwidth = input.readShortLE(); pixheight = input.readShortLE(); kind = (byte)input.read(); avgwidth = input.readShortLE(); maxwidth = input.readShortLE(); firstchar = input.read(); lastchar = input.read(); defchar = (byte)input.read(); brkchar = (byte)input.read(); widthby = input.readShortLE(); device = input.readIntLE(); face = input.readIntLE(); bits = input.readIntLE();
private void openpfm() throws java.io.IOException { input.seek(0); vers = input.readShortLE(); h_len = input.readIntLE(); copyright = readString(60); type = input.readShortLE(); points = input.readShortLE(); verres = input.readShortLE(); horres = input.readShortLE(); ascent = input.readShortLE(); intleading = input.readShortLE(); extleading = input.readShortLE(); italic = (byte)input.read(); uline = (byte)input.read(); overs = (byte)input.read(); weight = input.readShortLE(); charset = (byte)input.read(); pixwidth = input.readShortLE(); pixheight = input.readShortLE(); kind = (byte)input.read(); avgwidth = input.readShortLE(); maxwidth = input.readShortLE(); firstchar = input.read(); lastchar = input.read(); defchar = (byte)input.read(); brkchar = (byte)input.read(); widthby = input.readShortLE(); device = input.readIntLE(); face = input.readIntLE(); bits = input.readIntLE();
kerns[k++] = input.read(); kerns[k++] = input.read(); if ((kerns[k++] = input.readShortLE()) != 0) { ++nzero;
kerns[k++] = input.read(); kerns[k++] = input.read(); if ((kerns[k++] = input.readShortLE()) != 0) { ++nzero;