public class CMapBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
name
name
|
protected Writer |
writer
writer
|
| Constructor and Description |
|---|
CMapBuilder(Writer writer,
String name)
Construct cmap builder.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
writeCodeSpaceRange(boolean singleByte) |
protected void |
writeName(String name) |
protected void |
writePreStream() |
protected void |
writeStreamAfterComments() |
protected void |
writeStreamComments() |
protected void |
writeType(String type) |
protected void |
writeUseCMap()
does nothing
|
protected void |
writeVersion(String version) |
protected void |
writeWrapUp() |
public void writeCMap()
throws IOException
IOException - if an I/O error occursprotected void writePreStream()
throws IOException
IOException - if i/o exceptionprotected void writeStreamComments()
throws IOException
IOException - if i/o exceptionprotected void writeCIDInit()
throws IOException
IOException - if i/o exceptionprotected void writeCIDSystemInfo(String registry, String ordering, int supplement) throws IOException
registry - stringordering - stringsupplement - stringIOException - if i/o exceptionprotected void writeCIDSystemInfo()
throws IOException
IOException - if i/o exceptionprotected void writeVersion(String version) throws IOException
version - a versionIOException - if i/o exceptionprotected void writeType(String type) throws IOException
type - a typeIOException - if i/o exceptionprotected void writeName(String name) throws IOException
name - a nameIOException - if i/o exceptionprotected void writeCodeSpaceRange()
throws IOException
IOException - if i/o exceptionprotected void writeCodeSpaceRange(boolean singleByte)
throws IOException
singleByte - true if single byte rangeIOException - if i/o exceptionprotected void writeCIDRange()
throws IOException
IOException - if i/o exceptionprotected void writeBFEntries()
throws IOException
IOException - if i/o exceptionprotected void writeWrapUp()
throws IOException
IOException - if i/o exceptionprotected void writeStreamAfterComments()
throws IOException
IOException - if i/o exceptionprotected void writeUseCMap()
Copyright © 2025 Apache Software Foundation. All rights reserved.