pdfparser
pdfparser copied to clipboard
DescendantFonts will never be used in Font::decodeContent()
https://github.com/smalot/pdfparser/blob/e056671d50b31d6320a26aa8fbfafd2c02e6bff1/src/Smalot/PdfParser/Font.php#L393-L395
Because Font::translateChar() will never return false:
https://github.com/smalot/pdfparser/blob/e056671d50b31d6320a26aa8fbfafd2c02e6bff1/src/Smalot/PdfParser/Font.php#L92-L118
Seems that translateChar()
must not return self::MISSING and possible $fallbackDecoded if char not fount in $this->table
map.
Is it an encoding issue too?
Is it an encoding issue too?
@k00ni Yep