Add PDFDocEncoding implementation.