CFFExpertCharset
, CFFExpertSubsetCharset
, CFFISOAdobeCharset
public abstract class CFFCharset
extends java.lang.Object
Modifier and Type | Class | Description |
---|---|---|
static class |
CFFCharset.Entry |
This class represents a single SID/name mapping of the charset.
|
Constructor | Description |
---|---|
CFFCharset() |
Modifier and Type | Method | Description |
---|---|---|
void |
addEntry(CFFCharset.Entry entry) |
Add a single entry.
|
java.util.List<CFFCharset.Entry> |
getEntries() |
A list of all entries within this charset.
|
java.lang.String |
getName(int sid) |
Returns the name corresponding to the given SID.
|
int |
getSID(java.lang.String name) |
Returns the SID corresponding to the given name.
|
boolean |
isFontSpecific() |
Determines if the charset is font specific or not.
|
void |
register(int sid,
java.lang.String name) |
Adds a new SID/name combination to the charset.
|
public boolean isFontSpecific()
public int getSID(java.lang.String name)
name
- the given SIDpublic java.lang.String getName(int sid)
sid
- the given SIDpublic void register(int sid, java.lang.String name)
sid
- the given SIDname
- the given namepublic void addEntry(CFFCharset.Entry entry)
entry
- the entry to be addedpublic java.util.List<CFFCharset.Entry> getEntries()
Copyright © 2008–2018. All rights reserved.