org.apache.fop.pdf

Class CMapBuilder


public class CMapBuilder
extends java.lang.Object

Fill in the specifics for the font's descriptor.

The given buffer already contains the fields common to all descriptors.

Field Summary

protected String
name
protected Writer
writer

Constructor Summary

CMapBuilder(Writer writer, String name)

Method Summary

protected void
writeBFEntries()
protected void
writeCIDInit()
protected void
writeCIDRange()
protected void
writeCIDSystemInfo()
protected void
writeCIDSystemInfo(String registry, String ordering, int supplement)
void
writeCMap()
Writes the CMap to a Writer.
protected void
writeCodeSpaceRange()
protected void
writeName(String name)
protected void
writePreStream()
protected void
writeStreamAfterComments()
protected void
writeStreamComments()
protected void
writeType(String type)
protected void
writeUseCMap()
protected void
writeVersion(String version)
protected void
writeWrapUp()

Field Details

name

protected String name

writer

protected Writer writer

Constructor Details

CMapBuilder

public CMapBuilder(Writer writer,
                   String name)

Method Details

writeBFEntries

protected void writeBFEntries()
            throws IOException

writeCIDInit

protected void writeCIDInit()
            throws IOException

writeCIDRange

protected void writeCIDRange()
            throws IOException

writeCIDSystemInfo

protected void writeCIDSystemInfo()
            throws IOException

writeCIDSystemInfo

protected void writeCIDSystemInfo(String registry,
                                  String ordering,
                                  int supplement)
            throws IOException

writeCMap

public void writeCMap()
            throws IOException
Writes the CMap to a Writer.

writeCodeSpaceRange

protected void writeCodeSpaceRange()
            throws IOException

writeName

protected void writeName(String name)
            throws IOException

writePreStream

protected void writePreStream()
            throws IOException

writeStreamAfterComments

protected void writeStreamAfterComments()
            throws IOException

writeStreamComments

protected void writeStreamComments()
            throws IOException

writeType

protected void writeType(String type)
            throws IOException

writeUseCMap

protected void writeUseCMap()

writeVersion

protected void writeVersion(String version)
            throws IOException

writeWrapUp

protected void writeWrapUp()
            throws IOException

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.