Namespace: BitMiracle.Docotic.Pdf
Assembly: BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)
public bool PreferFontEncodings { get; set; }
Public Property PreferFontEncodings As Boolean Get Set
Every font in a PDF document has associated encoding which is defined in corresponding PDF structure.
Some PDF generators might create PDF documents with incorrect PDF encodings. For such documents text is usually displayed properly, but can not be properly extracted even by Adobe tools. However, embedded font bytes might specify proper encoding in such documents.
Setting this property to true might help to extract text properly even if document is created with incorrect PDF structures.
Default value: false.