Code example for PrintStream

Methods: flush, print, println

0
        int llx = (int) Math.round(boundingBox.getX());
        int lly = (int) Math.round(boundingBox.getY());
        int urx = (int) Math.round(boundingBox.getX() + boundingBox.getWidth());
        int ury = (int) Math
                .round(boundingBox.getY() + boundingBox.getHeight());
        fontFile.println("/FontBBox {" + llx + " " + lly + " " + urx + " "
                + ury + "} readonly def");
 
        fontFile.println("currentdict end");
 
        // begin encrypted portion 
        if (ENCRYPT) {
            fontFile.print("currentfile eexec ");
            asciiEnd = byteCounter.getCount();
        } 
        fontFile.flush();
    } 
 
    protected void openGlyphs() throws IOException { 
        // begin encryption 
        if (ENCRYPT) {