multivalent.std.adaptor.pdf
public class Encoding extends Object
Version: $Revision: 1.25 $ $Date: 2003/08/29 03:59:31 $
Method Summary | |
---|---|
static Encoding | getInstance(Dict fontdict, PDFReader pdfr)
Handles built-in encodings (defaults to StandardEncoding), tweaks according to differences if any. |
String | translate(StringBuffer sb, boolean basetoo)
Return Unicode translation of passed StringBuffer . |
Parameters: font - actual font constructed from same font dictionary. As of this writing, the core 14 fonts aren't bundled in the JAR, so embedded metadata can differ from actual font. The encoding vector for TrueType TeX fonts has to be determined from examination of the actual font.
StringBuffer
.Parameters: basetoo Mutate passed StringBuffer according to differences table, if any, to match Adobe standard encoding.